Remove MIPS32 accept4, recvmmsg, sendmmsg implementations.
[glibc.git] / ChangeLog
bloba772fce69fbfc34f8f38feeb3720b80d95c7d78b
1 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
4         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
8         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
9         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
10         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
11         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
12         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
13         * sysdeps/unix/sysv/linux/kernel-features.h
14         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
15         socket syscalls.
16         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
20         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
23         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
28         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34         * posix/Makefile (headers): Add pthreadtypes-arch.h and
35         thread-shared-types.h.
36         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
37         specific thread definition.
38         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
39         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
40         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
41         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
42         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
43         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
44         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
45         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
46         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
47         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
48         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
49         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
50         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
51         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
52         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
53         thread definition between POSIX and C11.
54         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
55         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
56         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
57         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
58         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
59         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
60         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
61         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
62         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
63         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
64         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
65         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
66         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
67         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
68         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
69         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
70         definitions shared across all architectures.
72 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
74         * sysdeps/unix/sysv/linux/kernel-features.h
75         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
76         (__ASSUME_SENDMMSG): Likewise.
77         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
78         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
79         sendmmsg syscall if that can be assumed to be present, socketcall
80         otherwise, with no fallback for runtime failure.
82         * sysdeps/unix/sysv/linux/kernel-features.h
83         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
84         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
85         (__ASSUME_RECVMMSG): Likewise.
86         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
87         recvmmsg syscall if it can be assumed to be present, socketcall
88         otherwise, with no fallback for runtime failure.
90 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
91             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
93         * bits/libc-header-start.h:
94         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
95         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
96         * manual/creature.texi: Likewise.
98 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
99             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
101         * math/Makefile:
102         (type-float128-suffix): New variable
103         (type-float128-routines): Likewise
104         (type-float128-yes): Likewise
105         (types): Append float128 if supported
106         (types-basic): New variable to control the use of templates for
107         float, double, and long double, but not for float128 or newer types.
108         (type-basic-foreach): Likewise.
110         * sysdeps/ieee754/float128/Makeconfig: New file.
111         * sysdeps/ieee754/float128/Versions: New file.
113 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
115         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
116         Remove macro.
117         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
118         prlimit64 is always available and does not give an ENOSYS error.
119         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
120         unconditional.
121         [!__NR_prlimit64]: Remove conditional code.
122         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
123         prlimit64 is always available and does not give an ENOSYS error.
124         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
126 2017-05-09  Zack Weinberg  <zackw@panix.com>
128         * sunrpc/tst-xdrmem2.c: Include stdint.h.
130 2017-05-09  Florian Weimer  <fweimer@redhat.com>
132         [BZ #21474]
133         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
134         (__res_maybe_init): Likewise.
136 2017-05-09  Zack Weinberg  <zackw@panix.com>
138         * extra-modules.mk: Delete file.
139         * cppflags-iterator.mk: Rename to ...
140         * libof-iterator.mk: ...this.  Adjust comments.
142         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
143         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
144         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
145         Use libof-iterator.mk instead of cppflags-iterator.mk or
146         extra-modules.mk.
148         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
149         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
151 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
153         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
155 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
157         * stdio-common/vfprintf.c (EXTSIZ): Define.
158         (vfprintf): Use EXTSIZ.
159         (printf_positional): Likewise.
161 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
163         * sysdeps/unix/sysv/linux/kernel-features.h
164         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
165         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
166         <kernel-features.h>.
167         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
169         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
170         (__ASSUME_GETCPU_SYSCALL): Remove macro.
172 2017-05-08  Florian Weimer  <fweimer@redhat.com>
174         Prevent multiple deletion of temporary files.
175         * support/temp_file.c (struct temp_name_list): Add owner member.
176         (add_temp_file): Record owner.
177         (support_delete_temp_files): Delete file only if owner matches.
178         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
179         (do_prepare): Use create_temp_file instead of add_temp_file.
180         Initialize temp_fd1, temp_fd2.
181         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
182         framework remove the temporary files.
183         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
184         (do_prepare): Use create_temp_file instead of add_temp_file.
185         Initialize temp_fd1, temp_fd2, temp_fd3.
186         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
187         the test framework remove the temporary files.
188         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
189         deletion.
190         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
191         temporary directory.  It is removed by the test framework.
192         * dirent/tst-scandir.c (do_test): Likewise.
194 2017-05-08  Florian Weimer  <fweimer@redhat.com>
196         Delete temporary files in LIFO order.
197         * support/temp_file.c (struct temp_name_list): Replace q member
198         with next.
199         (add_temp_file): Add new file to front of linked list.
200         (support_delete_temp_files): Use next member.
201         (support_print_temp_files): Likewise.
203 2017-05-08  Florian Weimer  <fweimer@redhat.com>
205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
206         sys/ultrasound.h.
207         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
209 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
211         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
212         Remove.
213         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
214         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
215         (arch_minimum_kernel): Remove.
216         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
217         * README: Update statement about Linux kernel requirements.
219 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
221         * manual/llio.texi: Add preadv and pwritev documentation.
223 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
225         [BZ #21455]
226         * bits/stdint-intn.h: New file.
227         * bits/stdint-uintn.h: Likewise.
228         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
229         bits/stdint-uintn.h.
230         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
231         <stdint.h>.
232         * posix/sys/types.h: Include <bits/stdint-intn.h>.
233         (__int8_t_defined): Do not define here.
234         (int8_t): Likewise.
235         (int16_t): Likewise.
236         (int32_t): Likewise.
237         (int64_t): Likewise.
238         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
239         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
240         <stdint.h>.
241         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
242         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
243         <bits/stdint-uintn.h>.
244         (int8_t): Do not define here.
245         (int16_t): Likewise.
246         (int32_t): Likewise.
247         (int64_t): Likewise.
248         (uint8_t): Likewise.
249         (uint16_t): Likewise.
250         (uint32_t): Likewise.
251         (uint64_t): Likewise.
252         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
253         variable.
254         (test-xfail-XPG42/netdb.h/conform): Likewise.
255         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
256         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
257         (test-xfail-UNIX98/netdb.h/conform): Likewise.
258         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
260 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
262         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
263         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
264         the above.
265         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
266         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
268 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
270         [BZ #21445]
271         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
273         [BZ #21457]
274         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
275         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
276         __glibc_reserved1.
277         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
278         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
279         (struct _fpxreg): Likewise.
280         [!__x86_64__] (struct _fpstate): Rename field reserved to
281         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
282         [__x86_64__] (struct _fpstate): Rename field padding to
283         __glibc_reserved1.
284         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
285         Rename field reserved2 to __glibc_reserved2.
286         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
287         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
288         __glibc_reserved1.
289         [__x86_64__] (struct _libc_fpstate): Rename field padding to
290         __glibc_reserved1.
292 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
294         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
295         variable name.
297 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
299         [BZ #21391]
300         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
301         Only call init_cpu_features.
302         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
303         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
304         * sysdeps/i386/dl-procinfo.h: Removed.
305         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
306         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
307         <sysdeps/x86/dl-procinfo.h>.
308         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
309         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
310         Include <sysdeps/x86/dl-procinfo.h> instead of
311          <sysdeps/generic/dl-procinfo.h>.
312         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
313         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
314         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
315         (bit_cpu_MOVBE): Likewise.
316         (bit_cpu_BMI1): Likewise.
317         (bit_cpu_BMI2): Likewise.
318         (index_cpu_BMI1): Likewise.
319         (index_cpu_BMI2): Likewise.
320         (index_cpu_LZCNT): Likewise.
321         (index_cpu_MOVBE): Likewise.
322         (index_cpu_POPCNT): Likewise.
323         (reg_BMI1): Likewise.
324         (reg_BMI2): Likewise.
325         (reg_LZCNT): Likewise.
326         (reg_MOVBE): Likewise.
327         (reg_POPCNT): Likewise.
328         * sysdeps/x86/dl-hwcap.h: New file.
329         * sysdeps/x86/dl-procinfo.h: Likewise.
330         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
331         (_dl_x86_platforms): Likewise.
333 2017-05-03  DJ Delorie  <dj@redhat.com>
335         [BZ #21411]
336         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
338 2017-05-03  Phil Blundell  <pb@pbcl.net>
340         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
341         comments.
343 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
345         [BZ #20116]
346         * nptl/pthread_create.c: Expand comments to describe
347         semaphore-like and mutex-like uses of PD->lock.
349 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
351         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
352         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
353         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
354         auto-generation list.
355         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
356         epoll_wait.
357         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
358         Remove epoll_wait.
360         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
361         osf_select.
362         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
363         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
364         osf_select from auto-generation list.
365         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
366         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
367         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
368         * sysdeps/unix/sysv/linux/select.c: New file.
370         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
371         * sysdeps/unix/sysv/linux/poll.c: New file.
372         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
373         auto-generation list.
375 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
377         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
378         New macro.
380 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
382         [BZ #21179]
383         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
384         R_SPARC_REGISTER relocations.
386 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
388         * include/unistd.h (__pread): Add libc_hidden_proto.
389         (__pread64): Likewise.
390         (__pwrite): Likewise.
391         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
392         (__pread64): Remove.
393         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
394         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
395         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
397 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
401 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
403         * nptl/tst-cancel4-common.c: Use libsupport.
404         * nptl/tst-cancel4-common.h: Likewise.
405         * nptl/tst-cancel4.c (tf_read): Likewise.
406         (tf_readv): Likewise.
407         (tf_write): Likewise.
408         (tf_writev): Likewise.
409         (tf_sleep): Likewise.
410         (tf_usleep): Likewise.
411         (tf_nanosleep): Likewise.
412         (tf_select): Likewise.
413         (tf_pselect): Likewise.
414         (tf_poll): Likewise.
415         (tf_ppoll): Likewise.
416         (tf_wait): Likewise.
417         (tf_waitpid): Likewise.
418         (tf_waitid): Likewise.
419         (tf_sigpause): Likewise.
420         (tf_sigsuspend): Likewise.
421         (tf_sigwait): Likewise.
422         (tf_sigwaitinfo): Likewise.
423         (tf_sigtimedwait): Likewise.
424         (tf_pause): Likewise.
425         (tf_accept): Likewise.
426         (tf_send): Likewise.
427         (tf_recv): Likewise.
428         (tf_recvfrom): Likewise.
429         (tf_recvmsg): Likewise.
430         (tf_open): Likewise.
431         (tf_close): Likewise.
432         (tf_pread): Likewise.
433         (tf_pwrite): Likewise.
434         (tf_preadv): Likewise.
435         (tf_pwritev): Likewise.
436         (tf_fsync): Likewise.
437         (tf_fdatasync): Likewise.
438         (tf_msync): Likewise.
439         (tf_sendto): Likewise.
440         (tf_sendmsg): Likewise.
441         (tf_creat): Likewise.
442         (tf_connect): Likewise.
443         (tf_tcdrain): Likewise.
444         (tf_msgrcv): Likewise.
445         (tf_msgsnd): Likewise.
446         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
447         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
449         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
450         expected arguments.
451         (do_test): Adapt to use libsupport.
453 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
455         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
457         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
458         (PF_MAX): Set to 44.
459         (AF_SMC): New macro.
461         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
462         kernel version to 4.11.
464 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
466         [BZ #21280]
467         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
468         signal of subnormals and adjust the exponent of power of 2 down
469         when low part has opposite sign.
471 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
473         * sysdeps/powerpc/powerpc64le/Implies: New file.
474         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
475         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
476         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
477         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
478         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
479         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
480         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
481         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
482         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
483         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
484         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
485         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
486         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
487         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
488         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
489         * sysdeps/powerpc/preconfigure: New file.
490         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
493 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
495         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
496         inclusion.
497         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
498         Remove.
500 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
502         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
503         (XPG3): Rename standard to XPG4.
504         * conform/Makefile: Likewise.
505         * conform/list-header-symbols.pl: Likewise.
506         * conform/data/aio.h-data: Likewise.
507         * conform/data/arpa/inet.h-data: Likewise.
508         * conform/data/complex.h-data: Likewise.
509         * conform/data/ctype.h-data: Likewise.
510         * conform/data/dlfcn.h-data: Likewise.
511         * conform/data/fcntl.h-data: Likewise.
512         * conform/data/fenv.h-data: Likewise.
513         * conform/data/float.h-data: Likewise.
514         * conform/data/fmtmsg.h-data: Likewise.
515         * conform/data/ftw.h-data: Likewise.
516         * conform/data/grp.h-data: Likewise.
517         * conform/data/inttypes.h-data: Likewise.
518         * conform/data/iso646.h-data: Likewise.
519         * conform/data/langinfo.h-data: Likewise.
520         * conform/data/libgen.h-data: Likewise.
521         * conform/data/limits.h-data: Likewise.
522         * conform/data/locale.h-data: Likewise.
523         * conform/data/math.h-data: Likewise.
524         * conform/data/mqueue.h-data: Likewise.
525         * conform/data/ndbm.h-data: Likewise.
526         * conform/data/net/if.h-data: Likewise.
527         * conform/data/netdb.h-data: Likewise.
528         * conform/data/netinet/in.h-data: Likewise.
529         * conform/data/poll.h-data: Likewise.
530         * conform/data/pthread.h-data: Likewise.
531         * conform/data/pwd.h-data: Likewise.
532         * conform/data/sched.h-data: Likewise.
533         * conform/data/search.h-data: Likewise.
534         * conform/data/semaphore.h-data: Likewise.
535         * conform/data/signal.h-data: Likewise.
536         * conform/data/spawn.h-data: Likewise.
537         * conform/data/stdbool.h-data: Likewise.
538         * conform/data/stdint.h-data: Likewise.
539         * conform/data/stdio.h-data: Likewise.
540         * conform/data/stdlib.h-data: Likewise.
541         * conform/data/string.h-data: Likewise.
542         * conform/data/strings.h-data: Likewise.
543         * conform/data/stropts.h-data: Likewise.
544         * conform/data/sys/mman.h-data: Likewise.
545         * conform/data/sys/resource.h-data: Likewise.
546         * conform/data/sys/select.h-data: Likewise.
547         * conform/data/sys/socket.h-data: Likewise.
548         * conform/data/sys/stat.h-data: Likewise.
549         * conform/data/sys/statvfs.h-data: Likewise.
550         * conform/data/sys/time.h-data: Likewise.
551         * conform/data/sys/timeb.h-data: Likewise.
552         * conform/data/sys/types.h-data: Likewise.
553         * conform/data/sys/uio.h-data: Likewise.
554         * conform/data/sys/un.h-data: Likewise.
555         * conform/data/sys/wait.h-data: Likewise.
556         * conform/data/syslog.h-data: Likewise.
557         * conform/data/termios.h-data: Likewise.
558         * conform/data/tgmath.h-data: Likewise.
559         * conform/data/time.h-data: Likewise.
560         * conform/data/ucontext.h-data: Likewise.
561         * conform/data/unistd.h-data: Likewise.
562         * conform/data/utmpx.h-data: Likewise.
563         * conform/data/varargs.h-data: Likewise.
564         * conform/data/wchar.h-data: Likewise.
565         * conform/data/wctype.h-data: Likewise.
567 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
569         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
570         version to 7 branch.
572 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
574         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
575         earlyclobber to output operand of sqrt insn.
576         (__ieee754_sqrtf): Ditto.
578 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
580         [BZ #21426]
581         * misc/bits/types/struct_iovec.h: New file.
582         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
583         * include/bits/types/struct_iovec.h: New file.
584         * bits/uio.h (struct iovec): Replace by inclusion of
585         <bits/types/struct_iovec.h>.
586         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
587         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
588         of <sys/uio.h>.
589         * nptl/tst-cancel4.c: Include <sys/uio.h>
590         * posix/test-errno.c: Likewise.
591         * support/resolv_test.c: Likewise.
592         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
593         Remove.
594         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
595         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
596         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
598         * conform/data/sys/socket.h-data (*_t): Allow.
600 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
602         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
603         assignment.
605 2017-04-24  Daurnimator  <quae@daurnimator.com>
606             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
608         [BZ #21340]
609         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
610         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
611         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
612         valid flags.
613         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
614         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
615         POSIX_SPAWN_SETSID.
616         * sysdeps/posix/spawni.c (__spawni): Likewise.
617         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
618         * NEWS: Add note about POSIX_SPAWN_SETSID support.
620 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
622         * sysdeps/generic/math_private.h: Move the declaration of many
623         functions to sysdeps/generic/math_private_calls.h.
624         * sysdeps/generic/math_private_calls.h: New file with the
625         declarations of the functions removed from math_private.h
626         macroized by floating-point type.
628 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
630         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
631         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
632         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
633         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
634         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
635         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
637 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
639         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
640         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
641         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
642         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
643         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
644         New Define.
646 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
648         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
649         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
650         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
651         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
652         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
653         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
655 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
657         * sysdeps/s390/multiarch/ifunc-resolve.h
658         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
659         * sysdeps/s390/multiarch/8bit-generic.c
660         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
661         define ifunc resolvers.
663 2017-04-21  Florian Weimer  <fweimer@redhat.com>
665         [BZ #20424]
666         * manual/memory.texi (Replacing malloc): New section.
667         (Allocating Storage For Program Data): Reference it.
668         (The GNU Allocator): Likewise.
670 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
672         * stdlib/Versions (__strtod_internal): List explicitly, not as
673         wildcard.
674         (__strtof_internal): Likewise.
675         (__strtold_internal): Likewise.
676         (__strtol_internal): Likewise.
677         (__strtoll_internal): Likewise.
678         (__strtoul_internal): Likewise.
679         (__strtoull_internal): Likewise.
680         (__strtoq_internal): Likewise.
681         (__strtouq_internal): Likewise.
682         * wcsmbs/Versions (__wcstod_internal): Likewise.
683         (__wcstof_internal): Likewise.
684         (__wcstold_internal): Likewise.
685         (__wcstol_internal): Likewise.
686         (__wcstoll_internal): Likewise.
687         (__wcstoul_internal): Likewise.
688         (__wcstoull_internal): Likewise.
690 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
692         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
693         struct timespec definition.
695 2017-04-19  Florian Weimer  <fweimer@redhat.com>
697         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
699 2017-04-19  Florian Weimer  <fweimer@redhat.com>
701         * inet/rcmd.c (rresvport_af): Fix typo in comment.
702         * inet/rexec.c (rexec_af): Likewise.
704 2017-04-19  Zack Weinberg  <zackw@panix.com>
706         * posix/tst-mmap-offset.c: Include stdint.h.
707         * resolv/tst-ns_name_compress.c: Include string.h.
708         * resolv/tst-resolv-edns.c: Include resolv.h.
710 2017-04-19  Florian Weimer  <fweimer@redhat.com>
712         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
713         with __glibc_likely.
714         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
715         Replace __builtin_expect with __glibc_unlikely.
716         * resolv/res_init.c (__res_vinit): Likewise.
717         * resolv/res_query.c (__libc_res_nquery): Likewise.
718         * resolv/res_send.c (__libc_res_nsend): Likewise.
720 2017-04-19  Florian Weimer  <fweimer@redhat.com>
722         [BZ #15722]
723         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
724         with SOCK_CLOEXEC.
725         * resolv/res_send.c (send_vc, reopen): Likewise.
726         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
727         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
728         Likewise.
729         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
730         * inet/rexec.c (rexec_af): Add comment.
731         * inet/rcmd.c (rresvport_af): Likewise.
733 2017-04-19  Florian Weimer  <fweimer@redhat.com>
735         * nscd/connections.c (have_accept4): Removed definition.
736         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
737         accept4 works.
738         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
739         ia64 because that was the first version with accept4 support.
740         * support/Makefile (libsupport-routines): Add xaccept4.
741         * support/xsocket.h (xaccept4): Declare.
742         * support/xaccept4.c: New file.
743         * socket/tst-accept4.c: New file.
744         * socket/Makefile (tests): Add tst-accept4.
745         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
746         definition.
747         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
748         comment.
749         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
750         implementation is available.
751         (accept4): Use the system call if available, otherwise use the
752         socket call.
753         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
754         Set to 3.2.18.
755         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
756         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
757         accept4 is unconditionally available in later 3.2 stable kernels.
758         (__ASSUME_ACCEPT4_SYSCALL): Define.
759         * sysdeps/unix/sysv/linux/kernel-features.h
760         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
761         definitions.
762         * sysdeps/unix/sysv/linux/i386/kernel-features.h
763         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
765 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
767         * conform/Makefile (tests-special): Do not make addition of
768         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
769         (generated): Do not make addition of $(conformtest-header-base)
770         conditional on [$(cross-compiling) = no].
772         [BZ #21267]
773         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
774         if defined by <asm/socket.h> and not previously defined.
775         (IOCSIZE_SHIFT): Likewise.
776         (IOC_IN): Likewise.
777         (IOC_INOUT): Likewise.
778         (IOC_OUT): Likewise.
780 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
782         [BZ #21396]
783         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
784         Prefer_No_AVX512 if AVX512ER isn't available.
785         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
786         (index_arch_Prefer_No_AVX512): Likewise.
787         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
788         AVX512 version if Prefer_No_AVX512 is set.
789         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
790         Likewise.
791         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
792         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
793         Likewise.
794         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
795         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
796         Likewise.
797         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
798         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
799         Likewise.
801 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
803         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
804         Prefer_No_VZEROUPPER if AVX512ER is available.
805         * sysdeps/x86/cpu-features.h
806         (bit_cpu_AVX512PF): New.
807         (bit_cpu_AVX512ER): Likewise.
808         (bit_cpu_AVX512CD): Likewise.
809         (bit_cpu_AVX512BW): Likewise.
810         (bit_cpu_AVX512VL): Likewise.
811         (index_cpu_AVX512PF): Likewise.
812         (index_cpu_AVX512ER): Likewise.
813         (index_cpu_AVX512CD): Likewise.
814         (index_cpu_AVX512BW): Likewise.
815         (index_cpu_AVX512VL): Likewise.
816         (reg_AVX512PF): Likewise.
817         (reg_AVX512ER): Likewise.
818         (reg_AVX512CD): Likewise.
819         (reg_AVX512BW): Likewise.
820         (reg_AVX512VL): Likewise.
822 2017-04-18  Florian Weimer  <fweimer@redhat.com>
824         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
825         O_CLOEXEC is defined.
826         * include/fcntl.h (__have_o_cloexec): Remove declaration.
827         * io/Makefile (aux): Remove.
828         * io/have_o_cloexec.c: Remove file.
829         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
830         defined and works.
831         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
832         defined.
833         * login/utmp_file.c (O_flags): Remove definition.
834         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
835         O_CLOEXEC works.
836         (pututline_file): Likewise.
837         * malloc/mtrace.c: Assume that O_CLOEXEC works.
838         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
839         definition.
840         (internal_setgrent): Assume that O_CLOEXEC works.
841         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
842         Remove definition.
843         (internal_setgrent): Assume that O_CLOEXEC works.
844         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
845         definition.
846         (internal_setpwent): Assume that O_CLOEXEC works.
847         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
848         definition.
849         (internal_setspent): Assume that O_CLOEXEC works.
850         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
851         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
852         O_CLOEXEC is defined and works.
853         * nss/Makefile (libnss_files-routines): Remove
854         files-have_o_cloexec.
855         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
856         defined.
857         * nss/nss_files/files-XXX.c (internal_setent): Assume that
858         O_CLOEXEC is defined and works.
859         * nss/nss_files/files-alias.c (internal_setent): Likewise.
860         * nss/nss_files/files-have_o_cloexec.c: Remove.
861         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
862         defined.
863         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
864         and works.
865         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
866         definition.
867         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
868         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
869         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
870         (__opendirat, __opendir): Adjust opendir_oflags call.
871         (check_have_o_cloexec): Remove.
872         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
873         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
874         defined.
875         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
876         Remove definition.
878 2017-04-18  Florian Weimer  <fweimer@redhat.com>
880         * include/unistd.h (__have_dup3): Remove declaration.
881         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
882         dup3 is available.
883         * libio/freopen64.c (freopen64): Likewise.
884         * socket/Makefile (aux): Remove have_sock_cloexec.
885         * socket/have_sock_cloexec.c: Remove file.
886         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
887         definition.
888         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
889         Likewise.
890         * sysdeps/nacl/kernel-features.h: Update comment.
892 2017-04-18  Florian Weimer  <fweimer@redhat.com>
894         * include/unistd.h (__have_pipe2): Remove declaration.
895         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
896         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
897         available.
898         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
899         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
900         Remove definition.
902 2017-04-18  Florian Weimer  <fweimer@redhat.com>
904         * malloc/malloc.c (cfree): Turn into compat symbol.
905         (__cfree): Remove alias.
906         * stdlib/stdlib.h (cfree): Remove declaration.
907         * malloc/malloc.h (cfree): Likewise.
908         * manual/memory.texi (Freeing after Malloc): Remove cfree.
909         * malloc/Versions (GLIBC_2.26): Add.
911 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
913         * sysdeps/powerpc/powerpc64/multiarch/Makefile
914         (sysdep_routines): Add strrchr-power8.
915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
916         (strrchr): Add __strrchr_power8 to list of strrchr functions.
917         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
918         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
919         (strrchr): Add __strrchr_power8 to ifunc list.
920         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
922 2017-04-17  Rabin Vincent  <rabinv@axis.com>
924         [BZ #21357]
925         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
926         Call free() outside of mutex.
928 2017-04-13  Florian Weimer  <fweimer@redhat.com>
930         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
931         is defined.
932         * elf/rtld.c (process_envvars): Likewise.
933         * sysdeps/posix/shm_open.c (shm_open): Likewise.
934         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
935         O_NOFOLLOW directly.
936         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
938 2017-04-13  Florian Weimer  <fweimer@redhat.com>
940         [BZ #21369]
941         Remove EDNS fallback.
942         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
943         handling.
944         * resolv/res_send.c (send_dg): Likewise.
945         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
946         "tcp." prefixes.
947         (do_test): Send a "formerr."-prefixed query in an attempt to
948         trigger EDNS fallback.
950 2017-04-13  Florian Weimer  <fweimer@redhat.com>
952         [BZ #21361]
953         Limit EDNS buffer size to 1200 bytes.
954         * include/resolv.h (__res_nopt): Remove declaration.
955         * resolv/Makefile (tests): tst-resolv-edns.
956         (tst-resolv-edns): Link with -lresolv, -lpthread.
957         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
958         interval [512, 1200].
959         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
960         we can resize the buffer.
961         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
962         (__res_nopt): Declare.
963         * resolv/tst-resolv-edns.c: New file.
964         * resolv/resolv_test.h (struct resolv_edns_info): Define.
965         (struct resolv_response_context): Add edns member.
966         * resolv/resolv_test.c (struct query_info): Add edns member.
967         (parse_query): Extract EDNS information from the query.
968         (server_thread_udp_process_one): Propagate EDNS data.
969         (server_thread_tcp_client): Likewise.
971 2017-04-13  Florian Weimer  <fweimer@redhat.com>
973         [BZ #21359]
974         * resolv/ns_name.c (ns_name_pack): Do not require an additional
975         byte in the destination buffer.  Avoid out-of-bounds pointer
976         arithmetic.
977         * resolv/Makefile (tests): Add tst-ns_name_compress.
978         (tst-ns_name_compress): Link with -lresolv.
979         * resolv/tst-ns_name_compress.c: New file.
980         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
981         (response): Recognize LONG_NAME.
982         (do_test): Add LONG_NAME tests.
983         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
984         for ns_name_unpack.  Add tests for ns_name_pton and
985         ns_name_compress.
987 2017-04-13  Florian Weimer  <fweimer@redhat.com>
989         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
990         (res_nisourserver): Remove definition.
991         (p_section, res_npquery, res_nisourserver): Remove declaration.
992         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
993         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
994         ... here.
995         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
996         <resolv.h>.
997         * resolv/res_query.c: Likewise.
998         * resolv/res_debug.c (p_section): Define as static.
1000 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1002         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
1003         strncat-power8.
1004         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
1005         __strncat_power8 to ifunc list.
1006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1007         (strncat): Add __strncat_power8 to list of strncat functions.
1008         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
1010 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1012         [BZ #21270]
1013         * posix/tst-mmap-offset.c (do_prepare): New function.
1014         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
1015         (do_test_bz21270): New function.
1016         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
1017         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
1018         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
1019         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
1020         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
1021         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1022         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
1023         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
1024         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
1025         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
1026         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
1027         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1028         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1029         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1030         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
1031         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
1032         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1033         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
1034         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
1035         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
1036         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
1037         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
1038         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
1039         from auto-generation list.
1040         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
1041         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1042         * sysdeps/unix/sysv/linux/mmap.c: New file.
1043         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
1044         offsets and support for mmap2 syscall.
1046         * posix/globtest.sh: Add cleanup routine on trap 0.
1048 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1050         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
1051         implementation-specific function name and remove unneeded
1052         macros definition.
1053         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1054         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1055         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
1056         name if not defined and pass as parameter to macros accordingly.
1057         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1058         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1060         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
1061         implementation-specific function name and remove unneeded
1062         macros definition.
1063         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1064         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1065         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1066         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1067         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1068         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1069         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
1070         name if not defined and pass as parameter to macros accordingly.
1071         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1072         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1073         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1074         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1075         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1076         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1078         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
1079         implementation-specific function name and remove unneeded macros
1080         definition.
1081         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1082         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1083         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
1084         function name if not defined and pass as parameter to macros
1085         accordingly.
1086         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1087         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1089         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
1090         implementation-specific function name and remove unneeded macros
1091         definition.
1092         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1093         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1094         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1095         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1096         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
1097         not defined and pass as parameter to macros accordingly.
1098         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1100         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1101         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1103         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
1104         strcasestr implementation name and remove unneeded macros definition.
1105         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1106         strstr implementation name and remove unneeded macros definition.
1107         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
1108         name if not defined and pass as parameter to macros accordingly.
1109         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1111         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
1112         implementation-specific function name and remove unneeded macros
1113         definition.
1114         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1115         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1116         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1117         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1118         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
1120         function name if not defined and pass as parameter to macros
1121         accordingly.
1122         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1123         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1124         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1125         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1127         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
1128         the strlen implementation name and remove unneeded macros definition.
1129         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1130         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1131         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
1132         the strnlen implementation name and remove unneeded macros definition.
1133         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
1134         name if not defined and pass as parameter to macros accordingly.
1135         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1136         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1139         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
1140         the implementation-specific function name and remove unneeded
1141         macros definition.
1142         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
1144         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1145         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1146         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1147         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1148         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1149         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1150         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1151         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
1152         name if not defined and pass as parameter to macros accordingly.
1153         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1154         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1155         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1156         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1157         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1158         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1159         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1160         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1162         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
1163         implementation-specific function name and remove unneeded macros
1164         definition.
1165         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1166         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1167         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1168         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1169         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1170         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
1171         function name if not defined.
1172         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1173         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1175 2017-04-11  Paul Clarke  <pc@us.ibm.com>
1177         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
1178         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
1179         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
1180         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
1182 2017-04-11  Florian Weimer  <fweimer@redhat.com>
1183             Zack Weinberg  <zackw@panix.com>
1185         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
1186         readdir64 as thread-safe.  Update warning about readdir_r.
1188 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1190         * sysdeps/unix/sysv/linux/x86/Implies: New file.
1191         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
1192         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
1193         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
1194         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
1195         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
1196         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1198 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1200         * sysdeps/i386/dl-procinfo.c: Include
1201         <sysdeps/x86/dl-procinfo.c>.
1202         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1203         * sysdeps/x86/dl-procinfo.c: New file.
1205 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1207         * sysdeps/generic/math_private.h: Remove declarations of
1208         many functions that are already declared in math.h.
1209         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
1210         declaration for __frexpl.
1211         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
1212         the declarations for __scalbnl and fabsl.
1214 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
1216         [BZ #20831]
1217         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
1218         of __mprotect to change protection on the excess portion
1219         to disallow all access.
1221 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1223         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
1224         HAS_CPU_FEATURE to check for SSE.
1225         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1226         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1227         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
1228         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
1229         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
1230         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
1231         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
1232         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
1233         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1234         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
1235         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1236         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1237         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
1238         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
1239         (index_cpu_SSE): Likewise.
1240         (reg_SSE): Likewise.
1242 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1244         * posix/getopt1.c: Include <config.h>, not "config.h".
1246 2017-04-07  Zack Weinberg  <zackw@panix.com>
1248         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
1249         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
1250         Mention in top-of-file boilerplate that these files are shared
1251         with gnulib.
1252         * posix/getopt.h, posix/bits/getopt_posix.h:
1253         Mention in top-of-file boilerplate that these files are NOT shared
1254         with gnulib, unlike the rest of the getopt implementation.
1256         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
1257         New files, intended to be shared with gnulib.
1258         * posix/bits/getopt_posix.h:
1259         New file, not intended to be shared with gnulib.
1260         * posix/getopt.h: Now just includes features.h,
1261         bits/getopt_core.h, and bits/getopt_ext.h.  Will
1262         no longer be shared with gnulib.
1263         * include/bits/getopt_core.h, include/bits/getopt_ext.h
1264         * include/bits/getopt_posix.h: New wrappers.
1265         * posix/Makefile: Install new headers.
1266         * posix/unistd.h, libio/stdio.h:
1267         Include bits/getopt_posix.h instead of getopt.h.
1269         * include/libc-symbols.h: For gnulib compatibility, define
1270         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
1271         _GL_ATTRIBUTE_CONST.
1272         * posix/getopt.c (_getopt_initialize): Mark argc and argv
1273         parameters with _GL_UNUSED.
1275         * posix/getopt.c: When used standalone, define __libc_use_alloca
1276         as always false and alloca to abort if called.
1277         (process_long_option): Rewrite handling of ambiguous long options
1278         to use a single boolean vector, not a linked list; use
1279         __libc_use_alloca to decide whether to allocate this using alloca.
1280         * posix/tst-getopt_long1.c: Adjust text of expected error message.
1282         * posix/getopt.c (process_long_option): New function split out
1283         from _getopt_internal_r.
1284         (_getopt_internal_r): Replace both copies of the long-option
1285         processing code with calls to process_long_option.
1286         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
1287         (do_test): Differentiate argv[0] in the two subtests.
1289         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
1290         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
1291         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
1293         * posix/getopt.h: Add backup definition of __nonnull for
1294         consistency with gnulib.  Define __getopt_argv_const to const
1295         if not already defined.
1296         (getopt): Update doc comment from gnulib.  Prototype
1297         unconditionally.  Add __nonnull annotation.
1298         (__posix_getopt): Add __nonnull annotation.
1299         (getopt_long, getopt_long_only): Use __getopt_argv_const in
1300         prototypes for consistency with gnulib.  Add __nonnull
1301         annotations.
1302         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
1303         (getopt_internal): Change 'argv' argument to type 'char **'.
1304         Remove now-unnecessary casts.
1305         (getopt, __posix_getopt): Eliminate repetition with a macro.
1306         Cast 'argv' to 'char **' when calling _getopt_internal.
1307         * posix/getopt1.c (getopt_long, getopt_long_only):
1308         Use __getopt_argv_const for consistency with gnulib.
1309         Cast 'argv' to 'char **' when calling _getopt_internal.
1310         (_getopt_long_r, _getopt_long_only_r):
1311         Change 'argv' argument to type 'char **'.
1312         (main): Constify 'long_options'.
1313         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
1314         (_getopt_long_r, _getopt_long_only_r):
1315         Change 'argv' argument to type 'char **'.
1317         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
1318         (locked_vfxprintf): New helper function. Handle arbitrary
1319         multibyte strings, not just ASCII.
1320         * include/stdio.h: Declare __fxprintf_nocancel.
1321         * posix/getopt.c: When _LIBC is defined, define fprintf to
1322         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
1323         to _IO_funlockfile.  When neither _LIBC nor
1324         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
1325         funlockfile as no-ops.
1326         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
1327         the standalone error-printing code can now be used for libc as
1328         well.  Add an flockfile/funlockfile pair around one case where
1329         the error message is printed in several chunks.  Don't use fputc.
1330         * posix/tst-getopt-cancel.c: New test.
1331         * posix/Makefile: Run it.
1333         * posix/getopt.c (_getopt_internal_r): Don't increment
1334         d->optind a second time when reporting ambiguous -W options.
1336         * posix/getopt_int.h: Include getopt.h.
1337         Use impl-namespace names for all arguments to _getopt_internal and
1338         _getopt_internal_r.
1339         Declare __ordering enum outside the struct.
1340         Harmonize comments with gnulib.
1341         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
1342         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
1343         #ifdef TEST block and make unconditional.  Do not define NULL.
1344         * posix/getopt.c: Partial merge from gnulib, covering the
1345         initial includes and global declarations, commentary, and
1346         a couple of semantically-neutral code changes.
1348         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
1349         Use '...' instead of `...' for quotation marks inside
1350         comments and strings.
1352         * config.h.in (USE_NONOPTION_FLAGS): Remove.
1353         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
1354         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1355         * posix/getopt_int.h: Likewise.
1356         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
1357         __libc_argc and __libc_argv externs, which were only used by
1358         #ifdef USE_NONOPTION_FLAGS blocks.
1359         * posix/getopt_init.c: Remove file.
1360         * posix/Makefile (routines): Remove getopt_init.
1361         * include/getopt.h: Don't declare __getopt_initialize_environment.
1362         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
1363         a comment.
1365 2017-04-07  Florian Weimer  <fweimer@redhat.com>
1367         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
1369 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1371         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
1372         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
1373         to __wrap_.udiv.
1374         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
1375         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
1377         * sysdeps/i386/symbol-hacks.h: New file.
1378         * sysdeps/m68k/symbol-hacks.h: New file.
1379         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
1380         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
1381         * sysdeps/unix/sysv/linux/i386/Makefile
1382         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1383         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1384         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1385         * sysdeps/unix/sysv/linux/m68k/Makefile
1386         [$(subdir) = csu] (sysdep_routines): Likewise.
1387         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1388         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1390         [$(subdir) = csu] (sysdep_routines): Likewise.
1391         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1392         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1393         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1394         [$(subdir) = csu] (sysdep_routines): Likewise.
1395         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1396         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1397         * sysdeps/wordsize-32/Makefile: Remove file.
1398         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
1399         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
1401 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1403         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
1404         (TEST_FUNCTION_ARGV): New.
1406 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1408         * elf/next.c: Import support/test-driver.c instead of
1409         test-skeleton.c and delete TEST_FUNCTION macro definition.
1410         * elf/nodelete.c: Likewise.
1411         * elf/order2.c: Likewise.
1412         * elf/tst-_dl_addr_inside_object.c: Likewise.
1413         * elf/tst-addr1.c: Likewise.
1414         * elf/tst-align.c: Likewise.
1415         * elf/tst-align2.c: Likewise.
1416         * elf/tst-audit11.c: Likewise.
1417         * elf/tst-audit12.c: Likewise.
1418         * elf/tst-audit2.c: Likewise.
1419         * elf/tst-audit9.c: Likewise.
1420         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
1421         * elf/tst-deep1.c: Likewise.
1422         * elf/tst-dl-iter-static.c: Likewise.
1423         * elf/tst-dlmodcount.c: Likewise.
1424         * elf/tst-dlmopen1.c: Likewise.
1425         * elf/tst-dlmopen2.c: Likewise.
1426         * elf/tst-dlmopen3.c: Likewise.
1427         * elf/tst-dlopen-aout.c: Likewise.
1428         * elf/tst-dlopenrpath.c: Likewise.
1429         * elf/tst-dlsym-error.c: Likewise.
1430         * elf/tst-execstack-needed.c: Likewise.
1431         * elf/tst-execstack-prog.c: Likewise.
1432         * elf/tst-execstack.c: Likewise.
1433         * elf/tst-global1.c: Likewise.
1434         * elf/tst-gnu2-tls1.c: Likewise.
1435         * elf/tst-latepthread.c: Likewise.
1436         * elf/tst-leaks1.c: Likewise.
1437         * elf/tst-linkall-static.c: Likewise.
1438         (do_test): New function.
1439         * elf/tst-nodelete-opened.c: Likewise.
1440         * elf/tst-nodelete.cc: Likewise.
1441         * elf/tst-nodelete2.c: Likewise.
1442         * elf/tst-noload.c: Likewise.
1443         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
1444         * elf/tst-order-main.c: Likewise.
1445         * elf/tst-pathopt.c: Likewise.
1446         * elf/tst-pie2.c: Likewise.
1447         * elf/tst-piemod1.c: Likewise.
1448         * elf/tst-prelink.c: Likewise.
1449         * elf/tst-protected1a.c: Likewise.
1450         * elf/tst-protected1b.c: Likewise.
1451         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
1452         and define _GNU_SOURCE macro.
1453         (cmdline_process_function): New function.
1454         * elf/tst-relsort1.c: Likewise.
1455         * elf/tst-stackguard1.c: Likewise, import getopt.h,
1456         and define _GNU_SOURCE macro.
1457         (cmdline_process_function): New function.
1458         * elf/tst-thrlock.c: Likewise.
1459         * elf/tst-tls-dlinfo.c: Likewise.
1460         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
1461         * elf/tst-tls1.c: Likewise.
1462         * elf/tst-tls10.c: Likewise.
1463         * elf/tst-tls11.c: Likewise.
1464         * elf/tst-tls12.c: Likewise.
1465         * elf/tst-tls13.c: Likewise.
1466         * elf/tst-tls14.c: Likewise.
1467         * elf/tst-tls15.c: Likewise.
1468         * elf/tst-tls16.c: Likewise.
1469         * elf/tst-tls17.c: Likewise.
1470         * elf/tst-tls18.c: Likewise.
1471         * elf/tst-tls19.c: Likewise.
1472         * elf/tst-tls2.c: Likewise.
1473         * elf/tst-tls3.c: Likewise.
1474         * elf/tst-tls4.c: Likewise.
1475         * elf/tst-tls5.c: Likewise.
1476         * elf/tst-tls6.c: Likewise.
1477         * elf/tst-tls7.c: Likewise.
1478         * elf/tst-tls8.c: Likewise.
1479         * elf/tst-tls9.c: Likewise.
1480         * elf/tst-tlsalign-extern.c: Likewise.
1481         * elf/tst-tlsalign.c: Likewise.
1482         * elf/tst-unique1.c: Likewise.
1483         * elf/tst-unique2.c: Likewise.
1484         * elf/vismain.c: Likewise.
1486 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1488         * string/test-strnlen.c (do_page_tests): New function
1489         to check length of strings ending at the page boundary.
1490         (test_main): Added call to the do_page_tests function.
1492 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1493             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1495         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1496         (sysdep_routines): Add strnlen-power8.
1497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1498         (strnlen): Add __strnlen_power8 to list of strnlen functions.
1499         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
1500         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
1501         (__strnlen): Add __strnlen_power8 to ifunc list.
1502         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
1504 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1506         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
1507         the TEST_FUNCTION macro definition.
1508         * wcsmbs/tst-mbrtowc2.c: Likewise.
1509         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1510         * wcsmbs/tst-wchar-h.c: Likewise.
1511         * wcsmbs/tst-wcpncpy.c: Likewise.
1512         * wcsmbs/tst-wcrtomb.c: Likewise.
1513         * wcsmbs/tst-wcsnlen.c: Likewise.
1514         * wcsmbs/tst-wcstof.c: Likewise.
1516 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1518         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
1519         CALL_THREAD_FCT macro usage.
1520         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
1521         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
1522         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
1524         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
1525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1526         (__ASSUME_REQUEUE_PI): Likewise.
1527         * sysdeps/unix/sysv/linux/kernel-features.h
1528         (__ASSUME_REQUEUE_PI): Likewise.
1529         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1530         (__ASSUME_REQUEUE_PI): Likewise.
1531         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1532         (__ASSUME_REQUEUE_PI): Likewise.
1533         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1534         (__ASSUME_REQUEUE_PI): Likewise.
1536 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1538         * resolv/tst-resolv-canonname.c: New file.
1539         * resolv/Makefile (tests): Add tst-resolv-canonname.
1540         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
1542 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1544         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
1545         Declare.
1546         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
1547         (NS_MAXCDNAME): Remove definition.
1548         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1549         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
1550         (NS_MAXCDNAME): Remove definition.
1551         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1553 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1555         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
1556         call whose result is not used.
1558 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1560         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
1561         * resolv/Makefile (tests): Add tst-ns_name.
1562         (tst-ns_name): Link with -lresolv.
1563         (tst-ns_name.out): Depend on the input data file.
1565 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1567         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
1568         Clobber also r14.
1570 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
1572         [BZ #21253]
1573         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
1574         slack space by 32KiB.
1576 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
1578         [BZ #21338]
1579         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
1580         instead of incorrect do_set_arena_test
1582 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1584         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
1585         * math/bits/math-finite.h: Likewise.
1587 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
1589         [BZ #21289]
1590         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
1592 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1594         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
1595         non expected inotify_add_watch and quotactl return.
1597 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1599         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
1600         to int32_t.
1601         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
1602         as returning int32_t.
1604 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1606         * math/math.h: Include bits/math-finite.h once per
1607         floating-point type.
1608         * math/bits/math-finite.h: Macroize all declarations by
1609         floating-point type.
1611 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1613         [BZ #21182]
1614         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1615         near end of a page.
1616         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1617         overflow calculation.
1619 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1621         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1622         (IMPL) Call with 1 instead of 0 as argument.
1624 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1626         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1627         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1628         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1629         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1630         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1631         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1632         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1633         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1634         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1635         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1636         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1637         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1638         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1639         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1640         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1641         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1642         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1643         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1644         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1645         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1646         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1647         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1648         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1649         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1650         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1651         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1652         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1653         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1654         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1655         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1656         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1657         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1658         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1659         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1660         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1661         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1662         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1663         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1664         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1665         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1666         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1667         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1668         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1669         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1670         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1671         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1672         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1673         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1674         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1675         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1676         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1677         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1678         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1679         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1680         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1681         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1682         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1683         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1684         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1685         defined.
1686         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1687         __NR_setgroups32 if defined.
1688         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1689         if defined.
1690         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1691         __NR_setresgid32 is defined.
1692         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1693         __NR_setresuid32 if defined.
1694         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1695         __NR_setreuid32 if defined.
1696         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1697         defined.
1698         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1699         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1700         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1701         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1702         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1703         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1704         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1705         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1706         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1707         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1708         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1709         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1710         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1711         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1712         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1713         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1714         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1715         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1716         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1717         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1718         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1719         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1720         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1721         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1722         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1723         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1724         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1725         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1726         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1727         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1728         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1729         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1730         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1731         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1732         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1733         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1734         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1735         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1736         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1737         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1738         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1739         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1740         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1741         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1742         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1743         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1744         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1745         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1746         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1747         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1748         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1749         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1750         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1751         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1752         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1753         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1754         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1755         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1756         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1757         defined.
1758         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1759         __NR_setgroups32 if defined.
1760         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1761         if defined.
1762         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1763         __NR_setresgid32 is defined.
1764         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1765         __NR_setresuid32 if defined.
1766         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1767         __NR_setreuid32 if defined.
1768         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1769         defined.
1771 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1773         [BZ #21277]
1774         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1775         unconditionally.
1776         (IMAXBEL): Likewise.
1777         (IUTF8): Likewise.
1779 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1781         * sysdeps/aarch64/libm-test-ulps: Update.
1783 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1785         * README.tunables: Updated descriptions.
1786         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1787         * scripts/gen-tunables.awk: Updated the code related to the
1788         commit.
1790 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1792         * benchtests/Makefile (string-benchset): Add memcpy-random.
1793         * benchtests/bench-memcpy-random.c: New file.
1795 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1797         * stdio-common/printf.h (register_printf_modifier): Change the
1798         order of __wur and __THROW.
1799         (register_printf_type): Likewise.
1801 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1803         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1804         test_main ().
1805         (CMDLINE_PROCESS): Use function instead of defined macro.
1806         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1807         <suppport/support.h> to use set_fortify_handler().
1808         * string/bug-envz1.c: Import support/test-driver.c instead of
1809         test-skeleton.c.
1810         * string/bug-strcoll2.c: Likewise.
1811         * string/bug-strtok1.c: Likewise.
1812         * string/stratcliff.c: Likewise.
1813         * string/test-ffs.c: Likewise.
1814         * string/test-memccpy.c: Likewise.
1815         * string/test-memchr.c: Likewise.
1816         * string/test-memcmp.c: Likewise.
1817         * string/test-memcpy.c: Likewise.
1818         * string/test-memmem.c: Likewise.
1819         * string/test-memmove.c: Likewise.
1820         * string/test-memrchr.c: Likewise.
1821         * string/test-memset.c: Likewise.
1822         * string/test-rawmemchr.c: Likewise.
1823         * string/test-strcasecmp.c: Likewise.
1824         * string/test-strcasestr.c: Likewise.
1825         * string/test-strcat.c: Likewise.
1826         * string/test-strchr.c: Likewise.
1827         * string/test-strcmp.c: Likewise.
1828         * string/test-strcpy.c: Likewise.
1829         * string/test-string.h: Likewise.
1830         * string/test-strlen.c: Likewise.
1831         * string/test-strncasecmp.c: Likewise.
1832         * string/test-strncat.c: Likewise.
1833         * string/test-strncmp.c: Likewise.
1834         * string/test-strncpy.c: Likewise.
1835         * string/test-strnlen.c: Likewise.
1836         * string/test-strpbrk.c: Likewise.
1837         * string/test-strrchr.c: Likewise.
1838         * string/test-strspn.c: Likewise.
1839         * string/test-strstr.c: Likewise.
1840         * string/tst-bswap.c: Likewise.
1841         * string/tst-cmp.c: Likewise.
1842         * string/tst-endian.c: Likewise.
1843         * string/tst-inlcall.c: Likewise.
1844         * string/tst-strcoll-overflow.c: Likewise.
1845         * string/tst-strfry.c: Likewise.
1846         * string/tst-strlen.c: Likewise.
1847         * string/tst-strtok.c: Likewise.
1848         * string/tst-strtok_r.c: Likewise.
1849         * string/tst-strxfrm.c: Likewise.
1850         * string/tst-strxfrm2.c: Likewise.
1851         * string/tst-svc.c: Likewise.
1852         * string/tst-svc2.c: Likewise.
1854 2017-03-22  Zack Weinberg  <zackw@panix.com>
1856         * stdio-common/bug25.c: Include stdlib.h.
1857         * support/tst-support_format_dns_packet.c: Include stdio.h,
1858         stdlib.h, and string.h.
1859         * support/tst-support_record_failure.c: Include string.h.
1860         * support/tst-support_record_failure-2.sh: Adjust line number
1861         expectations and correct a typo in an error message.
1863 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1865         [BZ #21258]
1866         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1867         Define only if _dl_runtime_resolve is defined to
1868         _dl_runtime_resolve_sse_vex.
1869         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1870         Fallthrough to _dl_runtime_resolve_sse_vex.
1872 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1874         * INSTALL: Regenerated.
1876 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1878         * config.h.in: Add LINK_OBSOLETE_NSL.
1879         * config.make.in: Add build-obsolete-nsl.
1880         * configure.ac: Add obsolete-nsl option.
1881         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1882         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1883         * include/rpcsvc/nislib.h: Likewise.
1884         * include/rpcsvc/ypclnt.h: Likewise.
1885         * manual/install.texi: Document --enable-obsolete-nsl.
1886         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1887         * nis/nis_add.c: Replace libnsl_hidden_def with
1888         libnsl_hidden_nolink_def.
1889         * nis/nis_addmember.c: Likewise.
1890         * nis/nis_call.c: Likewise.
1891         * nis/nis_clone_obj.c: Likewise.
1892         * nis/nis_defaults.c: Likeise.
1893         * nis/nis_domain_of_r.c: Likewise.
1894         * nis/nis_error.c: Likewise.
1895         * nis/nis_file.c: Likewise.
1896         * nis/nis_free.c: Likewise.
1897         * nis_local_names.c: Likewise.
1898         * nis/nis_lookup.c: Likewise.
1899         * nis/nis_modify.c: Likewise.
1900         * nis/nis_print.c: Likewise.
1901         * nis/nis_remove.c: Likewise.
1902         * nis/nis_table.c: Likewise.
1903         * nis/nis_util.c: Likewise.
1904         * nis/nis_xdr.c: Likewise.
1905         * nis/yp_xdr.c: Likewise.
1906         * nis/ypclnt.c: Likewise.
1907         * nis/ypupdate_xdr.c: Likewise.
1908         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1909         * nis/nis_clone_dir.c: Likewise.
1910         * nis/nis_clone_res.c: Likewise.
1911         * nis/nis_creategroup.c: Likewise.
1912         * nis/nis_destroygroup.c: Likewise.
1913         * nis/nis_domain_of.c: Likewise.
1914         * nis/nis_getservlist.c: Likewise.
1915         * nis/nis_ismember.c: Likewise.
1916         * nis/nis_mkdir.c: Likewise.
1917         * nis/nis_ping.c: Likewise.
1918         * nis/nis_print_group_entry.c: Likewise.
1919         * nis/nis_removemember.c: Likewise.
1920         * nis/nis_rmdir.c: Likewise.
1921         * nis/nis_server.c: Likewise.
1922         * nis/nis_subr.c: Likewise.
1923         * nis/nis_verifygroup.c: Likewise.
1925 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1927         * malloc/tst-interpose-aux.c (check_for_allocations):
1928         Move compiler barrier before free.
1930 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1932         [BZ #21279]
1933         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1934         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1935         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1936         x86_64-x32-linux.
1937         (mq_attr.mq_maxmsg): Likewise.
1938         (mq_attr.mq_msgsize): Likewise.
1939         (mq_attr.mq_curmsgs): Likewise.
1941         [BZ #21278]
1942         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1943         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1944         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1945         mips-o32-linux.
1947         [BZ #21268]
1948         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1949         if [__USE_MISC]
1950         (NL3): Likewise.
1952 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1954         [BZ #21275]
1955         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1956         __stack to __stackbase.
1957         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1958         checks so we can include defined(__ia64__) first.
1960 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1962         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1963         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1964         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1965         Call is_pty when the link does not exist or does not match, fail
1966         with ENODEV when it returns true.
1967         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1968         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1969         Call is_pty when the link does not exist or does not match, fail
1970         with ENODEV when it returns true.
1972 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1974         [BZ #16437]
1975         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1976         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1977         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1978         x86_64-x32-linux.
1979         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1980         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1981         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1983         [BZ #21261]
1984         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1985         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1986         names for all fields.
1987         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1988         for jmp_buf field renaming.
1989         (_JMPBUF_UNWINDS_ADJ): Likewise.
1991         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1992         with allow-header.
1994 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1996         * malloc/malloc.c (unlink): Add consistency check between size and
1997         next->prev->size, to further harden against 1-byte overflows.
1999 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
2001         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
2002         CPU_FEATURES_CPU_P.
2004 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
2006         [BZ #21259]
2007         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
2008         unconditionally, not just for [__USE_MISC].
2010         [BZ #17786]
2011         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
2012         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
2013         mips-o32-linux.
2015         [BZ #21260]
2016         * sysdeps/unix/sysv/linux/alpha/Makefile
2017         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2018         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
2020         * conform/conformtest.pl ($cross): New variable.
2021         (--cross): New command-line option.
2022         (runtest): Skip test execution when cross-compiling.
2023         * conform/Makefile (conformtest-cross): New variable.
2024         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
2025         conformtest.pl.
2027         * conform/conformtest.pl ($xfail_str): New variable.
2028         (--xfail=): New command-line option.
2029         (top level): Handle expectations starting xfail[cond]-.
2030         * conform/Makefile (conformtest-xfail): New variable.
2031         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
2032         conformtest.pl.
2034 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2036         * conform/conformtest.pl: Use compilation instead of execution
2037         tests for testing values of constants and usability in #if.
2039 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2041         * math/auto-libm-test-in: Mark some catan and catanh as
2042         xfail-rounding:ibm128-libgcc.
2043         * math/auto-libm-test-out-catan: Regenerate.
2044         * math/auto-libm-test-out-catanh: Likewise.
2046 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2048         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
2049         (__END_NAMESPACE_STD): Likewise.
2050         (__USING_NAMESPACE_STD): Likewise.
2051         (__BEGIN_NAMESPACE_C99): Likewise.
2052         (__END_NAMESPACE_C99): Likewise.
2053         (__USING_NAMESPACE_C99): Likewise.
2054         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
2055         undefine macro.
2056         (_Mdouble_END_NAMESPACE): Likewise.
2057         * ctype/ctype.h: Do not handle C++ namespaces.
2058         * libio/bits/stdio-ldbl.h: Likewise.
2059         * libio/stdio.h: Likewise.
2060         * locale/locale.h: Likewise.
2061         * math/bits/mathcalls.h: Likewise.
2062         * setjmp/setjmp.h: Likewise.
2063         * signal/signal.h: Likewise.
2064         * stdlib/bits/stdlib-float.h: Likewise.
2065         * stdlib/bits/stdlib-ldbl.h: Likewise.
2066         * stdlib/stdlib.h: Likewise.
2067         * string/string.h: Likewise.
2068         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2069         * time/bits/types/clock_t.h: Likewise.
2070         * time/bits/types/struct_tm.h: Likewise.
2071         * time/bits/types/time_t.h: Likewise.
2072         * time/time.h: Likewise.
2073         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2074         * wcsmbs/uchar.h: Likewise.
2075         * wcsmbs/wchar.h: Likewise.
2076         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
2077         * wctype/wctype.h: Do not handle C++ namespaces.
2078         * scripts/begin-end-check.pl: Remove.
2079         * Makefile (installed-headers): Likewise.
2080         (tests-special): Do not add $(objpfx)begin-end-check.out.
2081         ($(objpfx)begin-end-check.out): Remove.
2083 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
2084             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2086         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
2087         (DL_PLATFORM_INIT): New define.
2088         (dl_platform_init): New function.
2089         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
2090         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
2091         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
2092         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
2093         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
2095 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
2097         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
2098         instead of PIC.
2100 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2102         [BZ #21094]
2103         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2104         24+24+24-bit pi for wider range of values around pi/2.
2105         * math/auto-libm-test-in: Add more tests of cos and tan.
2106         * math/auto-libm-test-out-cos: Regenerated.
2107         * math/auto-libm-test-out-tan: Likewise.
2109 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
2111         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
2112         (RTLD_START): Don't record stack end address in _dl_start_user.
2114 2017-03-15  Alexey Neyman  <stilor@att.net>
2116         [BZ #21088]
2117         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
2118         around definitions match those around use.
2120 2017-03-15  Alexey Neyman  <stilor@att.net>
2122         * configure.ac: Avoid empty subexpression in grep.
2123         * configure: Regenerate.
2125 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2127         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
2128         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
2129         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
2130         (test_wrp_rv): Fix format.
2131         (test_wrp_rv2): New macro.
2132         (do_test): Handle mlock return on 64 bits kernels with 32 bits
2133         binaries.
2135 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2137         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
2138         Use a union when storing pointers.
2139         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
2140         cast result when passing to INIT_VEC_PTRS_LOOP.
2141         (VECTOR_WRAPPER_fFF_3): Likewise.
2142         (VECTOR_WRAPPER_fFF_4): Likewise.
2144 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2146         * include/bits/mathcalls-helper-functions.h: New file.
2147         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
2148         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
2149         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
2150         math/bits/mathcalls-helper-functions.h.
2151         * math/bits/mathcalls-helper-functions.h: New file.
2152         * math/math.h: Include bits/mathcalls-helper-functions.h for
2153         float, double, and long double.
2155 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2157         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
2158         instead of feraiseexcept.
2160 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2162         [BZ #21243]
2163         * support/temp_file.c (support_delete_temp_files): Add comment
2164         about ignored errors.
2166 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2168         [BZ #21244]
2169         * support/xclose.c: New file.
2170         * support/Makefile (libsupport-routines): Add xclose.
2171         * support/xunistd.h (xclose): Declare.
2172         * support/resolv_test.c (server_thread_tcp_client)
2173         (server_thread_tcp, make_server_sockets, resolv_test_start)
2174         (resolv_test_end): Call xclose instead of close.
2175         * support/support_enter_network_namespace.c
2176         (support_enter_network_namespace): Likewise.
2177         * support/support_run_diff.c (write_to_temp_file): Likewise.
2179 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2181         * support/support_format_dns_packet.c (support_format_dns_packet):
2182         Handle CNAME records in the response.  Extract RDATA names from
2183         rdata, not the whole packet.  Check AAAA record length.
2184         * support/tst-support_format_dns_packet.c: New file.
2185         * support/Makefile (tests): Add tst-support_format_dns_packet.
2186         (tst-support_format_dns_packet): Link against libresolv.
2188 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2190         [BZ #21232]
2191         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
2192         posix_fadvise64 weak_alias for static build.
2194 2017-03-14  Andreas Schwab  <schwab@suse.de>
2196         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
2197         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
2198         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
2199         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
2200         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
2201         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
2202         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
2203         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
2205 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2207         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
2208         posix error code.
2209         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2211 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2213         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
2214         no_isolate usage for SH.
2216 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
2218         [BZ #15105]
2219         [BZ #19463]
2220         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
2221         * inet/rcmd.c (rcmd_af): Likewise.
2222         * inet/rexec.c   (rexec_af): Likewise.
2223         * intl/dcigettext.c (_LIBC): Likewise.
2224         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
2225         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
2226         * locale/setlocale.c (setlocale): Likewise.
2227         * posix/spawn_faction_addopen.c
2228         (posix_spawn_file_actions_addopen): Likewise.
2229         * stdlib/putenv.c (putenv): Use __strndup.
2230         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
2231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
2232         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
2233         (__Need_M_And_C) Remove define/undef.
2234         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
2235         (__malloc_and_calloc_defined): Remove define.
2236         * string/bits/string2.h (__strdup): Remove define.
2237         (strdup): Likewise.
2238         (__strndup): Likewise.
2239         (strndup): Likewise.
2241 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
2243         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
2244         macro.
2245         (IPV6_ADDR_PREFERENCES): Likewise.
2246         (IPV6_MINHOPCOUNT): Likewise.
2247         (IPV6_ORIGDSTADDR): Likewise.
2248         (IPV6_RECVORIGDSTADDR): Likewise.
2249         (IPV6_TRANSPARENT): Likewise.
2250         (IPV6_UNICAST_IF): Likewise.
2251         (IPV6_RECVFRAGSIZE): Likewise.
2253 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
2255         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
2257 2017-03-12  Alexey Neyman <stilor@att.net>
2259         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
2260         in R_SH_DIR32 case is always false when inlined from
2261         dl-conflict.c. Ifdef out to prevent GCC from insertin an
2263 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
2265         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2266         (__ASSUME_RECV_SYSCALL): Replace duplicate by
2267         __ASSUME_SEND_SYSCALL.
2269 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
2271         * sunrpc/Makefile: don't build and install rpcsvc header
2272         files, rpcgen and librpcsvc.a by default.
2274 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
2276         * math/auto-libm-test-out-catan: Regenerated.
2277         * math/auto-libm-test-out-catanh: Likewise.
2278         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2280 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
2282         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
2283         for long double with corrected test expectations.
2285 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2287         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
2288         Define.
2289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2290         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
2291         * sysdeps/unix/sysv/linux/nios2/sysdep.h
2292         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2293         * sysdeps/unix/sysv/linux/tile/sysdep.h
2294         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2296         (__ASSUME_RECV_SYSCALL): Define.
2297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2298         (__ASSUME_RECV_SYSCALL): Likewise.
2299         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2300         (__ASSUME_RECV_SYSCALL): Likewise.
2301         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2302         (__ASSUME_RECV_SYSCALL): Likewise.
2303         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2304         (__ASSUME_RECV_SYSCALL): Likewise.
2305         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2306         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
2307         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2308         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2309         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2310         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2311         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
2312         auto-generation list.
2313         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2314         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2315         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
2316         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2317         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2318         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
2319         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
2320         __ASSUME_SENDTO_SYSCALL.
2321         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
2322         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
2323         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
2325         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
2326         auto-generation list.
2327         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2328         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2329         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2330         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2331         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2332         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2333         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2334         * sysdeps/unix/sysv/linux/kernel-features.h
2335         (__ASSUME_SENDTO_SYSCALL): Define by default.
2336         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2337         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
2338         __NR_sendto.
2339         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2340         (__ASSUME_SENDTO_SYSCALL): Likewise.
2341         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2342         (__ASSUME_SENDTO_SYSCALL): Likewise.
2343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2344         (__ASSUME_SENDTO_SYSCALL): Remove definition.
2345         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2346         (__ASSUME_SENDTO_SYSCALL): Likewise.
2347         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
2348         (__ASSUME_SENDTO_SYSCALL): Likewise.
2349         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
2351         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
2352         auto-generation list.
2353         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2354         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2355         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2356         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2357         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2358         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2359         (__ASSUME_RECV_SYSCALL): New define.
2360         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2361         (__ASSUME_RECV_SYSCALL): Likewise.
2362         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2363         (__ASSUME_RECV_SYSCALL): Likewise.
2364         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2365         (__ASSUME_RECV_SYSCALL): Likewise.
2366         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2367         (__ASSUME_RECV_SYSCALL): Likewise.
2368         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2369         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2370         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2371         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2372         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2373         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2374         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
2375         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
2376         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
2377         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
2378         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
2379         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
2381         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
2382         auto-generation list.
2383         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2384         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2385         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2386         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2387         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2388         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2389         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2390         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2391         (__ASSUME_RECVFROM_SYSCALL): Define by default.
2392         * sysdeps/unix/sysv/linux/kernel-features.h
2393         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
2394         __NR_recvfrom.
2395         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2396         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2397         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2398         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2399         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2400         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
2401         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2402         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2403         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2404         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2405         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2406         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2407         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
2409         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
2410         auto-generation list.
2411         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2412         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2413         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2414         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2415         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2416         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2417         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2418         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
2419         * sysdeps/unix/sysv/linux/kernel-features.h
2420         (__ASSUME_CONNECT_SYSCALL): Define.
2421         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2422         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
2423         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2424         (__ASSUME_CONNECT_SYSCALL): Likewise.
2425         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2426         (__ASSUME_CONNECT_SYSCALL): Likewise.
2427         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2428         (__ASSUME_CONNECT_SYSCALL): Likewise.
2430         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
2431         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
2432         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
2433         auto-generation list.
2434         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2435         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2436         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2437         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2438         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2439         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2440         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2441         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2442         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2443         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2444         * sysdeps/unix/sysv/linux/kernel-features.h
2445         (__ASSUME_ACCEPT_SYSCALL): New define.
2446         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2447         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2448         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
2449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2450         (__ASSUME_ACCEPT_SYSCALL): Define.
2451         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2452         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2453         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2454         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2455         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2456         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2457         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2458         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2459         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
2461 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
2462             Zack Weinberg  <zackw@panix.com>
2464         * posix/test-errno.c: New file.
2465         * posix/Makefile (tests): Add test-errno.
2466         * sysdeps/unix/sysv/linux/test-errno.c: New file.
2467         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
2469 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
2471         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2473 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2475         * time/tzset.c (compute_offset): Open-code min macro.
2476         (min, max, sign): Remove.
2478 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2480         [BZ #15576]
2481         Remove TZNAME_MAX limit from sysconf.
2482         * include/time.h (__tzname_cur_max, __tzname_max): Remove
2483         declaration.
2484         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
2485         compute_tzname_max.
2486         (compute_tzname_max): Remove.
2487         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
2488         (update_vars): Do not update __tzname_cur_max.
2489         (tzset_internal): Remove argument.
2490         (__tzset): Adjust call to tzset_internal.
2491         (__tz_convert): Likewise.
2493         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
2494         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2495         * manual/conf.texi (Sysconf Definition): Update comment.
2497 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2499         [BZ #21209]
2500         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
2501         AT_SECURE processes.
2502         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
2503         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
2504         (test_child): Likewise.
2505         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
2507 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2509         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
2511 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2513         * sysdeps/s390/atomic-machine.h
2514         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
2515         (__arch_compare_and_exchange_val_8_acq,
2516         __arch_compare_and_exchange_val_16_acq,
2517         __arch_compare_and_exchange_val_32_acq,
2518         __arch_compare_and_exchange_val_64_acq):
2519         Delete macro.
2520         (atomic_compare_and_exchange_val_acq,
2521         atomic_compare_and_exchange_val_rel,
2522         atomic_compare_and_exchange_bool_acq,
2523         catomic_compare_and_exchange_bool_acq,
2524         atomic_exchange_acq, atomic_exchange_rel,
2525         atomic_exchange_and_add_acq,
2526         atomic_exchange_and_add_rel,
2527         catomic_exchange_and_add, atomic_or_val,
2528         atomic_or, catomic_or, atomic_bit_test_set,
2529         atomic_and_val, atomic_and, catomic_and):
2530         Define macros with help of C11 atomic builtins.
2532 2017-03-03  Justus Winter <justus@gnupg.org>
2534         * sysdeps/mach/hurd/ftruncate64.c: New file.
2535         * sysdeps/mach/hurd/truncate64.c: Likewise.
2537 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2539         * time/tzfile.c (NOID): Do not define.
2540         * time/tzset.c (NOID): Likewise.
2542 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2544         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
2546 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2548         * elf/get-dynamic-info.h: Remove header file inclusion guard.
2550 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2552         [BZ #21015]
2553         * manual/install.texi (Configuring and compiling): Document
2554         --enable-bind-now.
2555         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
2556         (build-shlib-helper): Use $(LDFLAGS-lib.so).
2557         (format.lds): Likewise.
2558         [bind-now] (LDFLAGS-c.so): Remove.
2559         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
2560         be R_X86_64_GLOB_DAT.
2561         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
2562         relocation can be R_386_GLOB_DAT.
2563         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
2564         relocaiton can be R_ALPHA_GLOB_DAT.
2565         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
2567 2017-03-01  Zack Weinberg  <zackw@panix.com>
2569         * include/libc-pointer-arith.h: New file.  Define
2570         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
2571         PTR_ALIGN_DOWN here.
2572         * include/libc-internal.h: Definitions of above macros
2573         moved from here.  Don't include libc-diag.h anymore either.
2574         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
2575         Don't include libc-internal.h.
2577         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
2578         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
2579         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
2580         * string/strcoll_l.c, sysdeps/nacl/brk.c
2581         * sysdeps/unix/clock_settime.c
2582         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
2583         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
2584         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
2585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
2586         Don't include libc-internal.h.
2588         * elf/get-dynamic-info.h, iconv/loop.c
2589         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
2590         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
2591         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
2592         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
2593         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2594         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
2595         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2596         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
2597         * sysdeps/ieee754/ldbl-128/k_tanl.c
2598         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2599         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2600         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
2601         Include libc-diag.h instead of libc-internal.h.
2603         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2604         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2605         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2606         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2607         * sysdeps/unix/sysv/linux/spawni.c
2608         * sysdeps/x86_64/nptl/tls.h:
2609         Include libc-pointer-arith.h instead of libc-internal.h.
2611         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2612         * sysdeps/x86_64/atomic-machine.h:
2613         Add multiple include guard.
2615         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2616         * string/strcasestr.c: No need to include config.h.
2617         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2618         sys/auxv.h. Don't include sysdep.h.
2619         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2621         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2622         DL_LOOKUP_ADDRESS.
2623         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2624         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2625         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2626         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2627         of ARTIFICIAL_LIMIT.
2628         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2629         declaration of __clone2.
2631 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2633         * scripts/backport-support.sh (latest_commit): New file.
2635 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2637         [BZ #20257]
2638         * inet/Makefile (routines): Add deadline.
2639         (tests-static): Add tst-deadline.
2640         * inet/net-internal.h (struct deadline_current_time)
2641         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2642         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2643         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2644         * inet/deadline.c: New file.
2645         * inet/tst-deadline.c: Likewise.
2646         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2647         tst-udp-timeout, tst-udp-garbage.
2648         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2649         explicitly.
2650         (tst-udp-garbage): Likewise.  Also link against thread library.
2651         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2652         struct layout is part of the ABI.
2653         (clntudp_call): Rework timeout handling.
2654         * sunrpc/tst-udp-garbage.c: New file.
2655         * sunrpc/tst-udp-nonblocking.c: Likewise.
2656         * sunrpc/tst-udp-timeout.c: Likewise.
2658 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2660         [BZ #5010]
2661         * sunrpc/svc.c (svc_is_mapped): Remove.
2662         (svc_unregister): Obtain mapped status while the service is still
2663         registered.
2664         * sunrpc/Makefile [have-thread-library] (tests): Add
2665         tst-svc_register.
2666         (tst-svc_register): Link against libc.so explicitly and the thread
2667         library.
2668         * sunrpc/tst-svc_register.c: New file.
2670 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2672         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2673         * sysdeps/pthread/bits/sigthread.h: Likewise.
2675 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2677         [BZ #21115]
2678         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2679         * sunrpc/Makefile (tests): Add tst-udp-error.
2680         (tst-udp-error): Link against libc.so explicitly.
2681         * sunrpc/tst-udp-error: New file.
2683 2017-02-25  Zack Weinberg  <zackw@panix.com>
2685         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2686         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2688         * sysdeps/generic/math_ldbl.h
2689         * sysdeps/ia64/fpu/math_ldbl.h
2690         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2691         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2692         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2693         * sysdeps/powerpc/fpu/math_ldbl.h
2694         * sysdeps/x86_64/fpu/math_ldbl.h:
2695         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2696         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2697         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2698         Add copyright notices.
2700         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2701         Don't use EXTRACT_WORDS64.
2703         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2704         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2705         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2706         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2707         Include math_ldbl.h, not math_private.h.
2709 2017-02-25  Zack Weinberg  <zackw@panix.com>
2711         * include/libc-diag.h: New file.  Define ignore_value,
2712         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2713         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2715         * include/libc-internal.h: Definitions of above macros moved from
2716         here.  Include libc-diag.h.  Add copyright notice.
2718         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2719         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2720         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2721         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2722         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2723         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2724         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2725         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2726         Include libc-diag.h instead of libc-internal.h.
2728         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2729         call to unsetenv (NULL).
2730         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2731         call to pthread_mutexattr_destroy (NULL).
2733 2017-02-25  Zack Weinberg  <zackw@panix.com>
2735         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2736         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2737         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2738         gets was removed from C++ in C++14.
2739         * include/stdio.h: Remove redundant declaration of gets.
2740         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2741         be declared, since we are testing it.
2742         * stdio-common/Makefile (tst-gets.c): Compile with
2743         -Wno-deprecated-declarations.
2744         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2745         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2746         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2747         Compile with -Wno-deprecated-declarations.
2749 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2751         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2752         numbers.
2754 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2756         * resolv/tst-resolv-qtypes.c (domain):
2757         Change type to const pointer to const char.
2759 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2761         * math/Makefile (libm-tests-generated): Remove variable.
2762         (libm-tests-base-normal): New variable.
2763         (libm-tests-base-finite): Likewise.
2764         (libm-tests-base-inline): Likewise.
2765         (libm-tests-base): Likewise.
2766         (libm-tests-normal): Likewise.
2767         (libm-tests-finite): Likewise.
2768         (libm-tests-inline): Likewise.
2769         (libm-tests-vector): Likewise.
2770         (libm-tests): Define in terms of these new variables.
2771         (libm-tests-for-type): New variable.
2772         (libm-tests.o): Move definition.
2773         (tests): Move addition of $(libm-tests).
2774         (generated): Update for new and removed libm test files.
2775         ($(objpfx)libm-test.c): Remove target.
2776         ($(objpfx)libm-have-vector-test.h): Likewise.
2777         (CFLAGS-test-double-vlen2.c): Remove variable.
2778         (CFLAGS-test-double-vlen4.c): Likewise.
2779         (CFLAGS-test-double-vlen8.c): Likewise.
2780         (CFLAGS-test-float-vlen4.c): Likewise.
2781         (CFLAGS-test-float-vlen8.c): Likewise.
2782         (CFLAGS-test-float-vlen16.c): Likewise.
2783         (CFLAGS-test-float.c): Likewise.
2784         (CFLAGS-test-float-finite.c): Likewise.
2785         (CFLAGS-libm-test-support-float.c): Likewise.
2786         (CFLAGS-test-double.c): Likewise.
2787         (CFLAGS-test-double-finite.c): Likewise.
2788         (CFLAGS-libm-test-support-double.c): Likewise.
2789         (CFLAGS-test-ldouble.c): Likewise.
2790         (CFLAGS-test-ldouble-finite.c): Likewise.
2791         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2792         (libm-test-inline-cflags): New variable.
2793         (CFLAGS-test-ifloat.c): Remove variable.
2794         (CFLAGS-test-idouble.c): Likewise.
2795         (CFLAGS-test-ildouble.c): Likewise.
2796         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2797         dependencies.
2798         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2799         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2800         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2801         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2802         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2803         Likewise.
2804         (dependencies on libm-test-support-*.o): Remove.
2805         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2806         rules using iterators.
2807         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2808         Likewise.
2809         ($(objpfx)libm-test-support-$(o).o): Likewise.
2810         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2811         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2812         instead.
2813         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2814         define rule instead.
2815         * math/README.libm-test: Update.
2816         * math/libm-test-acos.inc: Include libm-test-driver.c.
2817         (do_test): New function.
2818         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2819         (do_test): New function.
2820         * math/libm-test-asin.inc: Include libm-test-driver.c.
2821         (do_test): New function.
2822         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2823         (do_test): New function.
2824         * math/libm-test-atan.inc: Include libm-test-driver.c.
2825         (do_test): New function.
2826         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2827         (do_test): New function.
2828         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2829         (do_test): New function.
2830         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2831         (do_test): New function.
2832         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2833         (do_test): New function.
2834         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2835         (do_test): New function.
2836         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2837         (do_test): New function.
2838         * math/libm-test-carg.inc: Include libm-test-driver.c.
2839         (do_test): New function.
2840         * math/libm-test-casin.inc: Include libm-test-driver.c.
2841         (do_test): New function.
2842         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2843         (do_test): New function.
2844         * math/libm-test-catan.inc: Include libm-test-driver.c.
2845         (do_test): New function.
2846         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2847         (do_test): New function.
2848         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2849         (do_test): New function.
2850         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2851         (do_test): New function.
2852         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2853         (do_test): New function.
2854         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2855         (do_test): New function.
2856         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2857         (do_test): New function.
2858         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2859         (do_test): New function.
2860         * math/libm-test-clog.inc: Include libm-test-driver.c.
2861         (do_test): New function.
2862         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2863         (do_test): New function.
2864         * math/libm-test-conj.inc: Include libm-test-driver.c.
2865         (do_test): New function.
2866         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2867         (do_test): New function.
2868         * math/libm-test-cos.inc: Include libm-test-driver.c.
2869         (do_test): New function.
2870         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2871         (do_test): New function.
2872         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2873         (do_test): New function.
2874         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2875         (do_test): New function.
2876         * math/libm-test-creal.inc: Include libm-test-driver.c.
2877         (do_test): New function.
2878         * math/libm-test-csin.inc: Include libm-test-driver.c.
2879         (do_test): New function.
2880         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2881         (do_test): New function.
2882         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2883         (do_test): New function.
2884         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2885         (do_test): New function.
2886         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2887         (do_test): New function.
2888         * math/libm-test-erf.inc: Include libm-test-driver.c.
2889         (do_test): New function.
2890         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2891         (do_test): New function.
2892         * math/libm-test-exp.inc: Include libm-test-driver.c.
2893         (do_test): New function.
2894         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2895         (do_test): New function.
2896         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2897         (do_test): New function.
2898         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2899         (do_test): New function.
2900         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2901         (do_test): New function.
2902         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2903         (do_test): New function.
2904         * math/libm-test-floor.inc: Include libm-test-driver.c.
2905         (do_test): New function.
2906         * math/libm-test-fma.inc: Include libm-test-driver.c.
2907         (do_test): New function.
2908         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2909         (do_test): New function.
2910         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2911         (do_test): New function.
2912         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2913         (do_test): New function.
2914         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2915         (do_test): New function.
2916         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2917         (do_test): New function.
2918         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2919         (do_test): New function.
2920         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2921         (do_test): New function.
2922         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2923         (do_test): New function.
2924         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2925         (do_test): New function.
2926         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2927         (do_test): New function.
2928         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2929         (do_test): New function.
2930         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2931         (do_test): New function.
2932         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2933         (do_test): New function.
2934         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2935         (do_test): New function.
2936         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2937         (do_test): New function.
2938         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2939         (do_test): New function.
2940         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2941         (do_test): New function.
2942         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2943         (do_test): New function.
2944         * math/libm-test-isless.inc: Include libm-test-driver.c.
2945         (do_test): New function.
2946         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2947         (do_test): New function.
2948         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2949         (do_test): New function.
2950         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2951         (do_test): New function.
2952         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2953         (do_test): New function.
2954         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2955         (do_test): New function.
2956         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2957         (do_test): New function.
2958         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2959         (do_test): New function.
2960         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2961         (do_test): New function.
2962         * math/libm-test-j0.inc: Include libm-test-driver.c.
2963         (do_test): New function.
2964         * math/libm-test-j1.inc: Include libm-test-driver.c.
2965         (do_test): New function.
2966         * math/libm-test-jn.inc: Include libm-test-driver.c.
2967         (do_test): New function.
2968         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2969         (do_test): New function.
2970         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2971         (do_test): New function.
2972         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2973         (do_test): New function.
2974         * math/libm-test-llround.inc: Include libm-test-driver.c.
2975         (do_test): New function.
2976         * math/libm-test-log.inc: Include libm-test-driver.c.
2977         (do_test): New function.
2978         * math/libm-test-log10.inc: Include libm-test-driver.c.
2979         (do_test): New function.
2980         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2981         (do_test): New function.
2982         * math/libm-test-log2.inc: Include libm-test-driver.c.
2983         (do_test): New function.
2984         * math/libm-test-logb.inc: Include libm-test-driver.c.
2985         (do_test): New function.
2986         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2987         (do_test): New function.
2988         * math/libm-test-lround.inc: Include libm-test-driver.c.
2989         (do_test): New function.
2990         * math/libm-test-modf.inc: Include libm-test-driver.c.
2991         (do_test): New function.
2992         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2993         (do_test): New function.
2994         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2995         (do_test): New function.
2996         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2997         (do_test): New function.
2998         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2999         (do_test): New function.
3000         * math/libm-test-nextup.inc: Include libm-test-driver.c.
3001         (do_test): New function.
3002         * math/libm-test-pow.inc: Include libm-test-driver.c.
3003         (do_test): New function.
3004         * math/libm-test-remainder.inc: Include libm-test-driver.c.
3005         (do_test): New function.
3006         * math/libm-test-remquo.inc: Include libm-test-driver.c.
3007         (do_test): New function.
3008         * math/libm-test-rint.inc: Include libm-test-driver.c.
3009         (do_test): New function.
3010         * math/libm-test-round.inc: Include libm-test-driver.c.
3011         (do_test): New function.
3012         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
3013         (do_test): New function.
3014         * math/libm-test-scalb.inc: Include libm-test-driver.c.
3015         (do_test): New function.
3016         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
3017         (do_test): New function.
3018         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
3019         (do_test): New function.
3020         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
3021         (do_test): New function.
3022         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
3023         (do_test): New function.
3024         * math/libm-test-signbit.inc: Include libm-test-driver.c.
3025         (do_test): New function.
3026         * math/libm-test-significand.inc: Include libm-test-driver.c.
3027         (do_test): New function.
3028         * math/libm-test-sin.inc: Include libm-test-driver.c.
3029         (do_test): New function.
3030         * math/libm-test-sincos.inc: Include libm-test-driver.c.
3031         (do_test): New function.
3032         * math/libm-test-sinh.inc: Include libm-test-driver.c.
3033         (do_test): New function.
3034         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
3035         (do_test): New function.
3036         * math/libm-test-tan.inc: Include libm-test-driver.c.
3037         (do_test): New function.
3038         * math/libm-test-tanh.inc: Include libm-test-driver.c.
3039         (do_test): New function.
3040         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
3041         (do_test): New function.
3042         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
3043         (do_test): New function.
3044         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
3045         (do_test): New function.
3046         * math/libm-test-trunc.inc: Include libm-test-driver.c.
3047         (do_test): New function.
3048         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
3049         (do_test): New function.
3050         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
3051         (do_test): New function.
3052         * math/libm-test-y0.inc: Include libm-test-driver.c.
3053         (do_test): New function.
3054         * math/libm-test-y1.inc: Include libm-test-driver.c.
3055         (do_test): New function.
3056         * math/libm-test-yn.inc: Include libm-test-driver.c.
3057         (do_test): New function.
3058         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
3059         (HAVE_VECTOR): Remove macro.
3060         (START): Do not call HAVE_VECTOR.
3061         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
3062         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
3063         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
3064         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
3065         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
3066         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
3067         * math/test-math-vector.h (FUNC_TEST): New macro.
3068         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
3069         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
3070         (double-vlen4-funcs): Likewise.
3071         (double-vlen4-avx2-funcs): Likewise.
3072         (double-vlen8-funcs): Likewise.
3073         (float-vlen4-funcs): Likewise.
3074         (float-vlen8-funcs): Likewise.
3075         (float-vlen8-avx2-funcs): Likewise.
3076         (float-vlen16-funcs): Likewise.
3077         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
3078         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
3079         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
3080         macro.
3081         (TEST_VECTOR_sin): Likewise.
3082         (TEST_VECTOR_sincos): Likewise.
3083         (TEST_VECTOR_log): Likewise.
3084         (TEST_VECTOR_exp): Likewise.
3085         (TEST_VECTOR_pow): Likewise.
3086         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
3087         Likewise.
3088         (TEST_VECTOR_sin): Likewise.
3089         (TEST_VECTOR_sincos): Likewise.
3090         (TEST_VECTOR_log): Likewise.
3091         (TEST_VECTOR_exp): Likewise.
3092         (TEST_VECTOR_pow): Likewise.
3093         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
3094         Likewise.
3095         (TEST_VECTOR_sinf): Likewise.
3096         (TEST_VECTOR_sincosf): Likewise.
3097         (TEST_VECTOR_logf): Likewise.
3098         (TEST_VECTOR_expf): Likewise.
3099         (TEST_VECTOR_powf): Likewise.
3100         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
3101         Likewise.
3102         (TEST_VECTOR_sinf): Likewise.
3103         (TEST_VECTOR_sincosf): Likewise.
3104         (TEST_VECTOR_logf): Likewise.
3105         (TEST_VECTOR_expf): Likewise.
3106         (TEST_VECTOR_powf): Likewise.
3107         * math/gen-libm-have-vector-test.sh: Remove file.
3108         * math/libm-test.inc: Likewise.
3109         * math/libm-test-support-double.c: Likewise.
3110         * math/libm-test-support-float.c: Likewise.
3111         * math/libm-test-support-ldouble.c: Likewise.
3112         * math/test-double-finite.c: Likewise.: Likewise.
3113         * math/test-double.c: Likewise.
3114         * math/test-float-finite.c: Likewise.
3115         * math/test-float.c: Likewise.
3116         * math/test-idouble.c: Likewise.
3117         * math/test-ifloat.c: Likewise.
3118         * math/test-ildouble.c: Likewise.
3119         * math/test-ldouble-finite.c: Likewise.
3120         * math/test-ldouble.c: Likewise.
3121         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3122         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
3123         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3124         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3125         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3126         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3127         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3128         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
3129         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3130         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3132 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3133            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3135         * math/Makefile: Add wrappers to gen-libm-calls.
3136         * math/w_acos_template.c: New file.
3137         * math/w_acosh_template.c: Likewise.
3138         * math/w_asin_template.c: Likewise.
3139         * math/w_atan2_template.c: Likewise.
3140         * math/w_atanh_template.c: Likewise.
3141         * math/w_cosh_template.c: Likewise.
3142         * math/w_exp10_template.c: Likewise.
3143         * math/w_exp2_template.c: Likewise.
3144         * math/w_exp_template.c: Likewise.
3145         * math/w_fmod_template.c: Likewise.
3146         * math/w_hypot_template.c: Likewise.
3147         * math/w_j0_template.c: Likewise.
3148         * math/w_j1_template.c: Likewise.
3149         * math/w_jn_template.c: Likewise.
3150         * math/w_lgamma_r_template.c: Likewise.
3151         * math/w_lgamma_template.c: Likewise.
3152         * math/w_log10_template.c: Likewise.
3153         * math/w_log2_template.c: Likewise.
3154         * math/w_log_template.c: Likewise.
3155         * math/w_pow_template.c: Likewise.
3156         * math/w_remainder_template.c: Likewise.
3157         * math/w_sinh_template.c: Likewise.
3158         * math/w_sqrt_template.c: Likewise.
3159         * math/w_tgamma_template.c: Likewise.: Likewise.
3160         * sysdeps/generic/math-type-macros-double.h
3161         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
3162         the new wrappers.
3163         * sysdeps/generic/math-type-macros-float.h: Likewise.
3164         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3166 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
3168         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
3169         New enum constant and macro.
3171         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3172         kernel version to 4.10.
3174 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
3176         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
3178 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3182 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3184         * sysdeps/powerpc/tst-set_ppr.c: New file.
3185         Implement test cases for __ppc_set_ppr_* functions.
3186         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
3187         in the list of tests.
3189 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3191         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
3192         instead of test-skeleton.c.
3193         (do_test): Replaced pthread_create and pthread_join with
3194         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
3195         Removed unneeded status variable.
3196         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
3197         instead of test-skeleton.c.
3198         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
3200 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
3202         [BZ #20313]
3203         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3204         201605L, for Unicode 9.
3206 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
3208         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
3209         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3210         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3211         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3212         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3213         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3215 2017-02-19  Zack Weinberg  <zackw@panix.com>
3217         * rt/tst-mqueue4.c: Include stdint.h.
3219 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3221         * sysdeps/arm/libm-test-ulps: Update.
3222         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3223         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3224         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3226 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3228         [BZ #21029]
3229         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
3230         * sysdeps/unix/sysv/linux/i386/Makefile
3231         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
3232         (uses-6-syscall-arguments): Remove.
3233         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
3234         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
3235         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
3236         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
3237         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
3238         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
3239         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
3240         [$(subdir) = misc] (cflags-pselect.o): Likewise.
3241         [$(subdir) = misc] (cflags-pselect.os): Likewise.
3242         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
3243         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
3244         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
3245         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
3246         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
3247         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
3248         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
3249         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
3250         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
3251         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
3252         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
3253         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
3254         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
3255         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
3256         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
3257         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
3258         Likewise.
3259         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
3260         Likewise.
3261         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
3262         Likewise.
3263         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
3264         Likewise.
3265         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
3266         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
3267         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
3268         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
3269         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
3270         ebp on inline assembly.
3271         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
3272         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3273         Set if CAN_USE_REGISTER_ASM_EBP is set.
3275 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3277         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
3278         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
3280 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3282         * math/auto-libm-test-in: Add tests of catan and catanh.
3283         * math/auto-libm-test-out-catan: New generated file.
3284         * math/auto-libm-test-out-catanh: Likewise.
3285         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
3286         Move tests with finite inputs, except divide-by-zero cases, to
3287         auto-libm-test-in.
3288         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
3289         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
3290         (libm-test-funcs-noauto): Remove catan and catanh.
3291         * sysdeps/i386/fpu/libm-test-ulps: Update.
3292         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3295         * math/auto-libm-test-in: Add tests of casin and casinh.
3296         * math/auto-libm-test-out-casin: New generated file.
3297         * math/auto-libm-test-out-casinh: Likewise.
3298         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
3299         Move tests with finite inputs to auto-libm-test-in.
3300         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
3301         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
3302         (libm-test-funcs-noauto): Remove casin and casinh.
3303         * sysdeps/i386/fpu/libm-test-ulps: Update.
3304         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3307         * math/auto-libm-test-in: Add tests of cacos and cacosh.
3308         * math/auto-libm-test-out-cacos: New generated file.
3309         * math/auto-libm-test-out-cacosh: Likewise.
3310         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
3311         Move tests with finite inputs to auto-libm-test-in.
3312         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
3313         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
3314         (libm-test-funcs-noauto): Remove cacos and cacosh.
3315         * sysdeps/i386/fpu/libm-test-ulps: Update.
3316         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3319         Revert:
3320         2017-02-16  Zack Weinberg  <zackw@panix.com>
3322         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3323         Don't include init-arch.h.
3324         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3325         Don't include init-arch.h.
3327 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3329         [BZ #21171]
3330         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
3331         +Inf and raise divide-by-zero when x is negative.
3332         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
3333         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
3334         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
3335         -Inf and raise divide-by-zero when x = +-0.
3336         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3337         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3338         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3339         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3340         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3341         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3342         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3344 2017-02-16  Zack Weinberg  <zackw@panix.com>
3346         * scripts/build-many-glibcs.py (bot_build_mail): If the
3347         bot_config does not contain all of the necessary email-
3348         related settings, just print a warning and continue.
3350 2017-02-16  Zack Weinberg  <zackw@panix.com>
3352         * crypt/md5.h: Test _LIBC with #if defined, not #if.
3353         * dirent/opendir-tst1.c: Include sys/stat.h.
3354         * dirent/tst-fdopendir.c: Include sys/stat.h.
3355         * dirent/tst-fdopendir2.c: Include stdlib.h.
3356         * dirent/tst-scandir.c: Include stdbool.h.
3357         * elf/tst-auditmod1.c: Include link.h and stddef.h.
3358         * elf/tst-tls15.c: Include stdlib.h.
3359         * elf/tst-tls16.c: Include stdlib.h.
3360         * elf/tst-tls17.c: Include stdlib.h.
3361         * elf/tst-tls18.c: Include stdlib.h.
3362         * iconv/tst-iconv6.c: Include endian.h.
3363         * iconvdata/bug-iconv11.c: Include limits.h.
3364         * io/test-utime.c: Include stdint.h.
3365         * io/tst-faccessat.c: Include sys/stat.h.
3366         * io/tst-fchmodat.c: Include sys/stat.h.
3367         * io/tst-fchownat.c: Include sys/stat.h.
3368         * io/tst-fstatat.c: Include sys/stat.h.
3369         * io/tst-futimesat.c: Include sys/stat.h.
3370         * io/tst-linkat.c: Include sys/stat.h.
3371         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
3372         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
3373         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
3374         * io/tst-openat.c: Include stdbool.h.
3375         * io/tst-readlinkat.c: Include sys/stat.h.
3376         * io/tst-renameat.c: Include sys/stat.h.
3377         * io/tst-symlinkat.c: Include sys/stat.h.
3378         * io/tst-unlinkat.c: Include stdbool.h.
3379         * libio/bug-memstream1.c: Include stdlib.h.
3380         * libio/bug-wmemstream1.c: Include stdlib.h.
3381         * libio/tst-fwrite-error.c: Include stdlib.h.
3382         * libio/tst-memstream1.c: Include stdlib.h.
3383         * libio/tst-memstream2.c: Include stdlib.h.
3384         * libio/tst-memstream3.c: Include stdlib.h.
3385         * malloc/tst-interpose-aux.c: Include stdint.h.
3386         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
3387         * nptl/tst-basic7.c: Include limits.h.
3388         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
3389         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
3390         * nptl/tst-cancel4_1.c: Include stddef.h.
3391         * nptl/tst-cancel4_2.c: Include stddef.h.
3392         * nptl/tst-cond16.c: Include limits.h.
3393         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3394         * nptl/tst-cond18.c: Include limits.h.
3395         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3396         * nptl/tst-cond4.c: Include stdint.h.
3397         * nptl/tst-cond6.c: Include stdint.h.
3398         * nptl/tst-stack2.c: Include limits.h.
3399         * nptl/tst-stackguard1.c: Include stddef.h.
3400         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
3401         * nptl/tst-tls4moda.c: Include stddef.h.
3402         Don't include stdio.h, unistd.h, or tls.h.
3403         * nptl/tst-tls4modb.c: Include stddef.h.
3404         Don't include stdio.h, unistd.h, or tls.h.
3405         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
3406         * posix/tst-getaddrinfo2.c: Include stdio.h.
3407         * posix/tst-getaddrinfo5.c: Include stdio.h.
3408         * posix/tst-pathconf.c: Include sys/stat.h.
3409         * posix/tst-posix_fadvise-common.c: Include stdint.h.
3410         * posix/tst-preadwrite-common.c: Include sys/stat.h.
3411         * posix/tst-regex.c: Include stdint.h.
3412         Don't include spawn.h or spawn_int.h.
3413         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
3414         * posix/tst-vfork3.c: Include sys/stat.h.
3415         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
3416         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
3417         * resolv/tst-resolv-search.c: Include stdlib.h.
3418         * stdio-common/tst-fmemopen2.c: Include stdint.h.
3419         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
3420         * stdlib/test-canon.c: Include sys/stat.h.
3421         * stdlib/tst-tls-atexit.c: Include stdbool.h.
3422         * string/test-memchr.c: Include stdint.h.
3423         * string/tst-cmp.c: Include stdint.h.
3424         * sysdeps/pthread/tst-timer.c: Include stdint.h.
3425         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
3426         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
3427         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3428         Don't include init-arch.h.
3429         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3430         Don't include init-arch.h.
3431         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
3432         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
3433         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
3434         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
3435         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
3436         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
3437         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
3438         * time/clocktest.c: Include stdint.h.
3439         * time/tst-posixtz.c: Include stdint.h.
3440         * timezone/tst-timezone.c: Include stdint.h.
3442 2017-02-16  Zack Weinberg  <zackw@panix.com>
3444         * string/string.h [__USE_MISC]: Include strings.h.
3445         (__bzero, bcmp, bcopy, bzero, index, rindex)
3446         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
3447         (ffs, ffsl, ffsll): Don't declare.
3448         * string/strings.h: Do not suppress the file if string.h has
3449         already been included.
3450         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
3451         annotations.
3452         (index, rindex): Define inline forwarders even if
3453         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
3454         (ffs): Use __attribute_const__.
3455         (ffsl, ffsll): Declare here.
3456         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
3457         have now been standardized.
3458         * include/string.h (__bzero): Declare here.
3460         * bits/types.h: Move to posix/bits.
3461         * include/bits/types.h: New wrapper.
3463 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3465         * string/bits/string2.h (strcmp): Remove define.
3466         (__strcmp_cg): Likewise.
3467         (strncmp): Likewise.
3469 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3471         * include/string.h: Add __cplusplus check.
3473 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3475         [BZ #21134]
3476         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
3477         "divide by zero" exception when the input is zero.
3478         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
3479         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
3480         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
3481         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
3482         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3484 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
3486         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
3487         and include ...
3488         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
3489         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
3490         to, and include ...
3491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
3492         file.
3493         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
3494         and include ...
3495         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
3496         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
3497         and include ...
3498         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
3499         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
3500         and include ...
3501         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
3502         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
3503         and include ...
3504         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
3505         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
3506         to, and include ...
3507         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
3508         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
3509         and include ...
3510         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
3512 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
3514         * math/libm-test-support.h: Do not include <math-tests-arch.h>
3515         here.
3516         * math/libm-test-support.c (libm_test_init): Do not call
3517         INIT_ARCH_EXT here.
3518         * math/libm-test-driver.c: Include <math-tests-arch.h>.
3519         (main): Call INIT_ARCH_EXT.
3521 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3523         [BZ #21130]
3524         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
3525         with the "invalid" exception raised when x is -Inf.
3526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3528 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
3530         * string/bits/string2.h (strchr): Remove define.
3532 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
3534         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
3535         tst-avx512.
3536         (test-extras): Add tst-avx-aux and tst-avx512-aux.
3537         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
3538         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
3539         ($(objpfx)tst-sse): New rule.
3540         ($(objpfx)tst-avx): Likewise.
3541         ($(objpfx)tst-avx512): Likewise.
3542         (CFLAGS-tst-avx-aux.c): New.
3543         (CFLAGS-tst-avxmod.c): Likewise.
3544         (CFLAGS-tst-avx512-aux.c): Likewise.
3545         (CFLAGS-tst-avx512mod.c): Likewise.
3546         * sysdeps/x86_64/tst-avx-aux.c: New file.
3547         * sysdeps/x86_64/tst-avx.c: Likewise.
3548         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
3549         * sysdeps/x86_64/tst-avx512.c: Likewise.
3550         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
3551         * sysdeps/x86_64/tst-avxmod.c: Likewise.
3552         * sysdeps/x86_64/tst-sse.c: Likewise.
3553         * sysdeps/x86_64/tst-ssemod.c: Likewise.
3555 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3557         * math/auto-libm-test-in: Add more tests of csin and csinh.
3558         * math/auto-libm-test-out-csin: Regenerated.
3559         * math/auto-libm-test-out-csinh: Likewise.
3560         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
3561         auto-libm-test-in.
3562         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
3564 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3566         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
3567         libm-compat-calls-auto.
3568         (libm-compat-calls): Likewise.
3569         (libm-compat-calls-auto): Rename to libm-compat-calls and add
3570         w_lgamma_compatF and k_standardF (merged from the items above).
3571         (libm-routines): Use libm-compat-calls, instead of
3572         libm-compat-calls-auto, with type-foreach.
3574 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3576         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
3577         macro.
3578         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
3579         (CFLAGS-test-ifloat.c): ... this.  Remove
3580         -U__LIBC_INTERNAL_MATH_INLINES.
3581         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
3582         (CFLAGS-test-idouble.c): ... this.  Remove
3583         -U__LIBC_INTERNAL_MATH_INLINES.
3584         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
3585         (CFLAGS-test-ildouble.c): ... this.  Remove
3586         -U__LIBC_INTERNAL_MATH_INLINES.
3588 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3590         * math/libm-test-support.c: New file.  Content from
3591         math/libm-test-driver.c.
3592         * math/libm-test-support.h: Likewise.
3593         * math/libm-test-support-double.c: New file.
3594         * math/libm-test-support-float.c: Likewise.
3595         * math/libm-test-support-ldouble.c: Likewise.
3596         * math/libm-test-driver.c: Remove main comment and header
3597         includes.  Include libm-test-support.h.
3598         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
3599         (flag_test_errno): Remove static.
3600         (flag_test_exceptions): Likewise.
3601         (flag_test_finite): Likewise.
3602         (flag_test_inline): Likewise.
3603         (flag_test_mathvec): Likewise.
3604         (test_msg): Likewise.
3605         (NO_EXCEPTION): Remove.
3606         (INVALID_EXCEPTION): Likewise.
3607         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3608         (OVERFLOW_EXCEPTION): Likewise.
3609         (UNDERFLOW_EXCEPTION): Likewise.
3610         (INEXACT_EXCEPTION): Likewise.
3611         (INVALID_EXCEPTION_OK): Likewise.
3612         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3613         (OVERFLOW_EXCEPTION_OK): Likewise.
3614         (UNDERFLOW_EXCEPTION_OK): Likewise.
3615         (NO_INEXACT_EXCEPTION): Likewise.
3616         (EXCEPTIONS_OK): Likewise.
3617         (IGNORE_ZERO_INF_SIGN): Likewise.
3618         (TEST_NAN_SIGN): Likewise.
3619         (TEST_NAN_PAYLOAD): Likewise.
3620         (NO_TEST_INLINE): Likewise.
3621         (XFAIL_TEST): Likewise.
3622         (ERRNO_UNCHANGED): Likewise.
3623         (ERRNO_EDOM): Likewise.
3624         (ERRNO_ERANGE): Likewise.
3625         (IGNORE_RESULT): Likewise.
3626         (NON_FINITE): Likewise.
3627         (TEST_SNAN): Likewise.
3628         (NO_TEST_MATHVEC): Likewise.
3629         (__CONCATX): Likewise.
3630         (TYPE_MIN): Likewise.
3631         (TYPE_TRUE_MIN): Likewise.
3632         (TYPE_MAX): Likewise.
3633         (MIN_EXP): Likewise.
3634         (MAX_EXP): Likewise.
3635         (MANT_DIG): Likewise.
3636         (FSTR_MAX): Likewise.
3637         (ulp_idx): Likewise.
3638         (qtype_str): Remove static.
3639         (TEST_COND_binary32): Remove.
3640         (TEST_COND_binary64): Likewise.
3641         (TEST_COND_binary128): Likewise.
3642         (TEST_COND_ibm128): Likewise.
3643         (TEST_COND_intel96): Likewise.
3644         (TEST_COND_m68k96): Likewise.
3645         (TEST_COND_ibm128_libgcc): Likewise.
3646         (XFAIL_IBM128_LIBGCC): Likewise.
3647         (PAYLOAD_DIG): Likewise.
3648         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3649         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3650         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3651         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3652         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3653         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3654         (TEST_COND_long32): Likewise.
3655         (TEST_COND_long64): Likewise.
3656         (TEST_COND_before_rounding): Likewise.
3657         (TEST_COND_after_rounding): Likewise.
3658         (ulps_file_name): Likewise.
3659         (ulps_file): Likewise.
3660         (output_ulps): Likewise.
3661         (output_dir): Likewise.
3662         (noErrors): Likewise.
3663         (noTests): Likewise.
3664         (noExcTests): Likewise.
3665         (noErrnoTests): Likewise.
3666         (verbose): Likewise.
3667         (output_max_error): Likewise.
3668         (output_points): Likewise.
3669         (ignore_max_ulp): Likewise.
3670         (max_error): Likewise.
3671         (real_max_error): Likewise.
3672         (imag_max_error): Likewise.
3673         (prev_max_error): Likewise.
3674         (prev_real_max_error): Likewise.
3675         (prev_imag_max_error): Likewise.
3676         (max_valid_error): Likewise.
3677         (TYPE_DECIMAL_DIG): Likewise.
3678         (TYPE_HEX_DIG): Likewise.
3679         (fmt_ftostr): Likewise.
3680         (compare_ulp_data): Likewise.
3681         (find_ulps): Likewise.
3682         (init_max_error): Likewise.
3683         (set_max_error): Likewise.
3684         (print_float): Likewise.
3685         (print_screen): Likewise.
3686         (print_screen_max_error): Likewise.
3687         (update_stats): Likewise.
3688         (print_function_ulps): Likewise.
3689         (print_complex_function_ulps): Likewise.
3690         (fpstack_test): Likewise.
3691         (print_max_error): Likewise.
3692         (print_complex_max_error): Likewise.
3693         (test_single_exception): Likewise.
3694         (test_exceptions): Likewise.
3695         (test_single_errno): Likewise.
3696         (test_errno): Likewise.
3697         (ULPDIFF): Likewise.
3698         (ulp): Likewise.
3699         (check_float_internal): Likewise.
3700         (check_float): Likewise.
3701         (check_complex): Likewise.
3702         (check_int): Likewise.
3703         (check_long): Likewise.
3704         (check_bool): Likewise.
3705         (check_longlong): Likewise.
3706         (check_intmax_t): Likewise.
3707         (check_uintmax_t): Likewise.
3708         (enable_test): Likewise.
3709         (matherr): Likewise.
3710         (initialize): Likewise.
3711         (options): Likewise.
3712         (doc): Remove static.
3713         (argp): Likewise.
3714         (parse_opt): Remove.
3715         (check_ulp): Likewise.
3716         (libm_test_init): Likewise.
3717         (libm_test_finish): Likewise.
3718         * math/Makefile (libm-test-support): New variable.
3719         (test-extras): Add libm-test-support files.
3720         (extra-test-objs): Likewise.
3721         (CFLAGS-libm-test-support-float.c): New variable.
3722         (CFLAGS-libm-test-support-double.c): Likewise.
3723         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3724         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3725         libm-test-support objects.
3727 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3729         * math/Makefile (libm-calls): Move w_exp...
3730         (libm-compat-calls-auto): Here.
3732         * math/w_expl.c: Add suffix "_compat" to filename.
3733         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3734         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3735         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3736         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3737         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3738         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3739         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3740         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3742         * math/w_expl_compat.c: New file, copied from above.
3743         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3744         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3745         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3746         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3747         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3748         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3749         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3750         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3752         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3753         to filename.
3754         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3756         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3757         copied from above and adjusted for the new filenames.
3758         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3760 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3762         * math/Makefile (libm-calls): Move w_lgammaF...
3763         (libm-compat-calls-auto): Here.
3765         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3766         * math/w_lgammaf.c: Likewise.
3767         * math/w_lgammal.c: Likewise.
3769         * math/w_lgamma_compat2.c: New file, copied from above.
3770         * math/w_lgammaf_compat2.c: Likewise.
3771         * math/w_lgammal_compat2.c: Likewise.
3773 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3775         * math/Makefile (libm-calls): Move w_lgammaF_r...
3776         (libm-compat-calls-auto): Here.
3778         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3779         * math/w_lgammaf_r.c: Likewise.
3780         * math/w_lgammal_r.c: Likewise.
3781         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3782         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3783         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3785         * math/w_lgamma_r_compat.c: New file, copied from above.
3786         * math/w_lgammaf_r_compat.c: Likewise.
3787         * math/w_lgammal_r_compat.c: Likewise.
3788         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3789         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3790         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3792         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3793         to filename.
3794         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3796         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3797         copied from above and adjusted for the new filenames.
3798         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3800 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3803         calculation in SYSCALL_ERROR_HANDLER().
3805 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3807         * manual/contrib.texi: Fix typo.
3809 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3811         [BZ #21109]
3812         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3813         tunable_val_t as argument.
3814         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3815         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3816         argument.
3817         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3819 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3821         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3822         Add PTRACE_EVENT_STOP.
3823         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3824         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3825         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3826         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3827         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3828         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3830 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3832         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3833         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3834         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3835         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3836         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3837         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3838         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3839         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3840         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3841         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3843         [BZ #21112]
3844         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3845         12 bits zero.
3846         (cp_l): Update for new value of cp_h.
3847         * math/auto-libm-test-in: Add another test of pow.
3848         * math/auto-libm-test-out-pow: Regenerated.
3850 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3852         * manual/contrib.texi: Fix typo.
3854 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3856         [BZ #15998]
3857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3858         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3861 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3863         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3864         STRCHR as __strchr_power8.
3865         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3866         strlen as __strlen_power8.
3868 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3870         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3871         unaligned load for shorter strings.
3872         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3874 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3876         * math/libm-test-driver.c (flag_test_errno): New variable.
3877         (flag_test_exceptions): Likewise.
3878         (flag_test_finite): Likewise.
3879         (flag_test_inline): Likewise.
3880         (flag_test_mathvec): Likewise.
3881         (test_msg): Likewise.
3882         (ulp_idx): Likewise.
3883         (qtype_str): Likewise.
3884         (ULP_IDX): Remove macro.
3885         (QTYPE_STR): Likewise.
3886         (find_ulps): Use ulp_idx not ULP_IDX.
3887         (print_function_ulps): Use qtype_str, printed with %s, not
3888         QTYPE_STR, printed with concatentation to format string.
3889         (print_complex_function_ulps): Likewise.
3890         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3891         (test_errno): Use flag_test_errno not TEST_ERRNO.
3892         (enable_test): Use flag_test_inline, flag_test_finite and
3893         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3894         TEST_MATHVEC.
3895         (libm_test_init): New function.  Factored out of main.
3896         (libm_test_finish): Likewise.
3897         (main): Call libm_test_init and libm_test_finish and move most
3898         code to those functions.
3900         * math/libm-test-driver.c (STRX): New macro.
3901         (STR): Likewise.
3902         (STR_FLOAT): Likewise.
3903         (STR_VEC_LEN): Likewise.
3904         (TEST_MSG): Likewise.  Define here instead of expecting to be
3905         defined by including file.
3906         * math/test-double-finite.c (TEST_MSG): Remove macro.
3907         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3908         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3909         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3910         * math/test-double.c (TEST_MSG): Likewise.
3911         * math/test-float-finite.c (TEST_MSG): Likewise.
3912         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3913         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3914         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3915         * math/test-float.c (TEST_MSG): Likewise.
3916         * math/test-idouble.c (TEST_MSG): Likewise.
3917         * math/test-ifloat.c (TEST_MSG): Likewise.
3918         * math/test-ildouble.c (TEST_MSG): Likewise.
3919         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3920         * math/test-ldouble.c (TEST_MSG): Likewise.
3922         * math/libm-test.inc: Move all tests of individual functions to
3923         libm-test-*.inc and #include libm-test-*.c files.
3924         (acos_test_data): Remove.
3925         (acos_test): Likewise.
3926         (acosh_test_data): Likewise.
3927         (acosh_test): Likewise.
3928         (asin_test_data): Likewise.
3929         (asin_test): Likewise.
3930         (asinh_test_data): Likewise.
3931         (asinh_test): Likewise.
3932         (atan_test_data): Likewise.
3933         (atan_test): Likewise.
3934         (atanh_test_data): Likewise.
3935         (atanh_test): Likewise.
3936         (atan2_test_data): Likewise.
3937         (atan2_test): Likewise.
3938         (cabs_test_data): Likewise.
3939         (cabs_test): Likewise.
3940         (cacos_test_data): Likewise.
3941         (cacos_test): Likewise.
3942         (cacosh_test_data): Likewise.
3943         (cacosh_test): Likewise.
3944         (canonicalize_test_data): Likewise.
3945         (canonicalize_test): Likewise.
3946         (carg_test_data): Likewise.
3947         (carg_test): Likewise.
3948         (casin_test_data): Likewise.
3949         (casin_test): Likewise.
3950         (casinh_test_data): Likewise.
3951         (casinh_test): Likewise.
3952         (catan_test_data): Likewise.
3953         (catan_test): Likewise.
3954         (catanh_test_data): Likewise.
3955         (catanh_test): Likewise.
3956         (cbrt_test_data): Likewise.
3957         (cbrt_test): Likewise.
3958         (ccos_test_data): Likewise.
3959         (ccos_test): Likewise.
3960         (ccosh_test_data): Likewise.
3961         (ccosh_test): Likewise.
3962         (ceil_test_data): Likewise.
3963         (ceil_test): Likewise.
3964         (cexp_test_data): Likewise.
3965         (cexp_test): Likewise.
3966         (cimag_test_data): Likewise.
3967         (cimag_test): Likewise.
3968         (clog_test_data): Likewise.
3969         (clog_test): Likewise.
3970         (clog10_test_data): Likewise.
3971         (clog10_test): Likewise.
3972         (conj_test_data): Likewise.
3973         (conj_test): Likewise.
3974         (copysign_test_data): Likewise.
3975         (copysign_test): Likewise.
3976         (cos_test_data): Likewise.
3977         (cos_test): Likewise.
3978         (cosh_test_data): Likewise.
3979         (cosh_test): Likewise.
3980         (cpow_test_data): Likewise.
3981         (cpow_test): Likewise.
3982         (cproj_test_data): Likewise.
3983         (cproj_test): Likewise.
3984         (creal_test_data): Likewise.
3985         (creal_test): Likewise.
3986         (csin_test_data): Likewise.
3987         (csin_test): Likewise.
3988         (csinh_test_data): Likewise.
3989         (csinh_test): Likewise.
3990         (csqrt_test_data): Likewise.
3991         (csqrt_test): Likewise.
3992         (ctan_test_data): Likewise.
3993         (ctan_test): Likewise.
3994         (ctanh_test_data): Likewise.
3995         (ctanh_test): Likewise.
3996         (erf_test_data): Likewise.
3997         (erf_test): Likewise.
3998         (erfc_test_data): Likewise.
3999         (erfc_test): Likewise.
4000         (exp_test_data): Likewise.
4001         (exp_test): Likewise.
4002         (exp10_test_data): Likewise.
4003         (exp10_test): Likewise.
4004         (pow10_test): Likewise.
4005         (exp2_test_data): Likewise.
4006         (exp2_test): Likewise.
4007         (expm1_test_data): Likewise.
4008         (expm1_test): Likewise.
4009         (fabs_test_data): Likewise.
4010         (fabs_test): Likewise.
4011         (fdim_test_data): Likewise.
4012         (fdim_test): Likewise.
4013         (floor_test_data): Likewise.
4014         (floor_test): Likewise.
4015         (fma_test_data): Likewise.
4016         (fma_test): Likewise.
4017         (fmax_test_data): Likewise.
4018         (fmax_test): Likewise.
4019         (fmaxmag_test_data): Likewise.
4020         (fmaxmag_test): Likewise.
4021         (fmin_test_data): Likewise.
4022         (fmin_test): Likewise.
4023         (fminmag_test_data): Likewise.
4024         (fminmag_test): Likewise.
4025         (fmod_test_data): Likewise.
4026         (fmod_test): Likewise.
4027         (fpclassify_test_data): Likewise.
4028         (fpclassify_test): Likewise.
4029         (frexp_test_data): Likewise.
4030         (frexp_test): Likewise.
4031         (fromfp_test_data): Likewise.
4032         (fromfp_test): Likewise.
4033         (fromfpx_test_data): Likewise.
4034         (fromfpx_test): Likewise.
4035         (getpayload_test_data): Likewise.
4036         (getpayload_test): Likewise.
4037         (hypot_test_data): Likewise.
4038         (hypot_test): Likewise.
4039         (ilogb_test_data): Likewise.
4040         (ilogb_test): Likewise.
4041         (iscanonical_test_data): Likewise.
4042         (iscanonical_test): Likewise.
4043         (iseqsig_test_data): Likewise.
4044         (iseqsig_test): Likewise.
4045         (isfinite_test_data): Likewise.
4046         (isfinite_test): Likewise.
4047         (finite_test): Likewise.
4048         (isgreater_test_data): Likewise.
4049         (isgreater_test): Likewise.
4050         (isgreaterequal_test_data): Likewise.
4051         (isgreaterequal_test): Likewise.
4052         (isinf_test_data): Likewise.
4053         (isinf_test): Likewise.
4054         (isless_test_data): Likewise.
4055         (isless_test): Likewise.
4056         (islessequal_test_data): Likewise.
4057         (islessequal_test): Likewise.
4058         (islessgreater_test_data): Likewise.
4059         (islessgreater_test): Likewise.
4060         (isnan_test_data): Likewise.
4061         (isnan_test): Likewise.
4062         (isnormal_test_data): Likewise.
4063         (isnormal_test): Likewise.
4064         (issignaling_test_data): Likewise.
4065         (issignaling_test): Likewise.
4066         (issubnormal_test_data): Likewise.
4067         (issubnormal_test): Likewise.
4068         (isunordered_test_data): Likewise.
4069         (isunordered_test): Likewise.
4070         (iszero_test_data): Likewise.
4071         (iszero_test): Likewise.
4072         (j0_test_data): Likewise.
4073         (j0_test): Likewise.
4074         (j1_test_data): Likewise.
4075         (j1_test): Likewise.
4076         (jn_test_data): Likewise.
4077         (jn_test): Likewise.
4078         (lgamma_test_data): Likewise.
4079         (lgamma_test): Likewise.
4080         (gamma_test): Likewise.
4081         (llogb_test_data): Likewise.
4082         (llogb_test): Likewise.
4083         (lrint_test_data): Likewise.
4084         (lrint_test): Likewise.
4085         (llrint_test_data): Likewise.
4086         (llrint_test): Likewise.
4087         (log_test_data): Likewise.
4088         (log_test): Likewise.
4089         (log10_test_data): Likewise.
4090         (log10_test): Likewise.
4091         (log1p_test_data): Likewise.
4092         (log1p_test): Likewise.
4093         (log2_test_data): Likewise.
4094         (log2_test): Likewise.
4095         (logb_test_data): Likewise.
4096         (logb_test): Likewise.
4097         (lround_test_data): Likewise.
4098         (lround_test): Likewise.
4099         (llround_test_data): Likewise.
4100         (llround_test): Likewise.
4101         (modf_test_data): Likewise.
4102         (modf_test): Likewise.
4103         (nearbyint_test_data): Likewise.
4104         (nearbyint_test): Likewise.
4105         (nextafter_test_data): Likewise.
4106         (nextafter_test): Likewise.
4107         (nextup_test_data): Likewise.
4108         (nextup_test): Likewise.
4109         (nextdown_test_data): Likewise.
4110         (nextdown_test): Likewise.
4111         (nexttoward_test_data): Likewise.
4112         (nexttoward_test): Likewise.
4113         (pow_test_data): Likewise.
4114         (pow_test): Likewise.
4115         (remainder_test_data): Likewise.
4116         (remainder_test): Likewise.
4117         (drem_test): Likewise.
4118         (remquo_test_data): Likewise.
4119         (remquo_test): Likewise.
4120         (rint_test_data): Likewise.
4121         (rint_test): Likewise.
4122         (round_test_data): Likewise.
4123         (round_test): Likewise.
4124         (roundeven_test_data): Likewise.
4125         (roundeven_test): Likewise.
4126         (scalb_test_data): Likewise.
4127         (scalb_test): Likewise.
4128         (scalbn_test_data): Likewise.
4129         (scalbn_test): Likewise.
4130         (ldexp_test): Likewise.
4131         (scalbln_test_data): Likewise.
4132         (scalbln_test): Likewise.
4133         (setpayload_test_data): Likewise.
4134         (setpayload_test): Likewise.
4135         (setpayloadsig_test_data): Likewise.
4136         (setpayloadsig_test): Likewise.
4137         (signbit_test_data): Likewise.
4138         (signbit_test): Likewise.
4139         (sin_test_data): Likewise.
4140         (sin_test): Likewise.
4141         (sincos_test_data): Likewise.
4142         (sincos_test): Likewise.
4143         (sinh_test_data): Likewise.
4144         (sinh_test): Likewise.
4145         (sqrt_test_data): Likewise.
4146         (sqrt_test): Likewise.
4147         (tan_test_data): Likewise.
4148         (tan_test): Likewise.
4149         (tanh_test_data): Likewise.
4150         (tanh_test): Likewise.
4151         (tgamma_test_data): Likewise.
4152         (tgamma_test): Likewise.
4153         (totalorder_test_data): Likewise.
4154         (totalorder_test): Likewise.
4155         (totalordermag_test_data): Likewise.
4156         (totalordermag_test): Likewise.
4157         (trunc_test_data): Likewise.
4158         (trunc_test): Likewise.
4159         (ufromfp_test_data): Likewise.
4160         (ufromfp_test): Likewise.
4161         (ufromfpx_test_data): Likewise.
4162         (ufromfpx_test): Likewise.
4163         (y0_test_data): Likewise.
4164         (y0_test): Likewise.
4165         (y1_test_data): Likewise.
4166         (y1_test): Likewise.
4167         (yn_test_data): Likewise.
4168         (yn_test): Likewise.
4169         (significand_test_data): Likewise.
4170         (significand_test): Likewise.
4171         * math/Makefile (auto-libm-test-out-files): Remove variable.
4172         (libm-test-funcs-noauto): New variable.
4173         (libm-test-funcs-all): Likewise.
4174         (libm-test-c-auto): Likewise.
4175         (libm-test-c-noauto): Likewise.
4176         (libm-tests-generated): Add $(libm-test-c-auto) and
4177         $(libm-test-c-noauto).
4178         (generated): Do not add auto-libm-test-out.
4179         (libm-test-c-auto-obj): New variable.
4180         (libm-test-c-noauto-obj): Likewise.
4181         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
4182         ($(libm-test-c-noauto-obj)): New static pattern rule.
4183         ($(libm-test-c-auto-obj)): Likewise.
4184         (libm-test-incs): New variable.
4185         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
4186         and pass it to gen-libm-have-vector-test.sh.
4187         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
4188         be passed on command line.
4189         * math/libm-test-acos.inc: New file.  Content from
4190         math/libm-test.inc.
4191         * math/libm-test-acosh.inc: Likewise.
4192         * math/libm-test-asin.inc: Likewise.
4193         * math/libm-test-asinh.inc: Likewise.
4194         * math/libm-test-atan.inc: Likewise.
4195         * math/libm-test-atan2.inc: Likewise.
4196         * math/libm-test-atanh.inc: Likewise.
4197         * math/libm-test-cabs.inc: Likewise.
4198         * math/libm-test-cacos.inc: Likewise.
4199         * math/libm-test-cacosh.inc: Likewise.
4200         * math/libm-test-canonicalize.inc: Likewise.
4201         * math/libm-test-carg.inc: Likewise.
4202         * math/libm-test-casin.inc: Likewise.
4203         * math/libm-test-casinh.inc: Likewise.
4204         * math/libm-test-catan.inc: Likewise.
4205         * math/libm-test-catanh.inc: Likewise.
4206         * math/libm-test-cbrt.inc: Likewise.
4207         * math/libm-test-ccos.inc: Likewise.
4208         * math/libm-test-ccosh.inc: Likewise.
4209         * math/libm-test-ceil.inc: Likewise.
4210         * math/libm-test-cexp.inc: Likewise.
4211         * math/libm-test-cimag.inc: Likewise.
4212         * math/libm-test-clog.inc: Likewise.
4213         * math/libm-test-clog10.inc: Likewise.
4214         * math/libm-test-conj.inc: Likewise.
4215         * math/libm-test-copysign.inc: Likewise.
4216         * math/libm-test-cos.inc: Likewise.
4217         * math/libm-test-cosh.inc: Likewise.
4218         * math/libm-test-cpow.inc: Likewise.
4219         * math/libm-test-cproj.inc: Likewise.
4220         * math/libm-test-creal.inc: Likewise.
4221         * math/libm-test-csin.inc: Likewise.
4222         * math/libm-test-csinh.inc: Likewise.
4223         * math/libm-test-csqrt.inc: Likewise.
4224         * math/libm-test-ctan.inc: Likewise.
4225         * math/libm-test-ctanh.inc: Likewise.
4226         * math/libm-test-erf.inc: Likewise.
4227         * math/libm-test-erfc.inc: Likewise.
4228         * math/libm-test-exp.inc: Likewise.
4229         * math/libm-test-exp10.inc: Likewise.
4230         * math/libm-test-exp2.inc: Likewise.
4231         * math/libm-test-expm1.inc: Likewise.
4232         * math/libm-test-fabs.inc: Likewise.
4233         * math/libm-test-fdim.inc: Likewise.
4234         * math/libm-test-floor.inc: Likewise.
4235         * math/libm-test-fma.inc: Likewise.
4236         * math/libm-test-fmax.inc: Likewise.
4237         * math/libm-test-fmaxmag.inc: Likewise.
4238         * math/libm-test-fmin.inc: Likewise.
4239         * math/libm-test-fminmag.inc: Likewise.
4240         * math/libm-test-fmod.inc: Likewise.
4241         * math/libm-test-fpclassify.inc: Likewise.
4242         * math/libm-test-frexp.inc: Likewise.
4243         * math/libm-test-fromfp.inc: Likewise.
4244         * math/libm-test-fromfpx.inc: Likewise.
4245         * math/libm-test-getpayload.inc: Likewise.
4246         * math/libm-test-hypot.inc: Likewise.
4247         * math/libm-test-ilogb.inc: Likewise.
4248         * math/libm-test-iscanonical.inc: Likewise.
4249         * math/libm-test-iseqsig.inc: Likewise.
4250         * math/libm-test-isfinite.inc: Likewise.
4251         * math/libm-test-isgreater.inc: Likewise.
4252         * math/libm-test-isgreaterequal.inc: Likewise.
4253         * math/libm-test-isinf.inc: Likewise.
4254         * math/libm-test-isless.inc: Likewise.
4255         * math/libm-test-islessequal.inc: Likewise.
4256         * math/libm-test-islessgreater.inc: Likewise.
4257         * math/libm-test-isnan.inc: Likewise.
4258         * math/libm-test-isnormal.inc: Likewise.
4259         * math/libm-test-issignaling.inc: Likewise.
4260         * math/libm-test-issubnormal.inc: Likewise.
4261         * math/libm-test-isunordered.inc: Likewise.
4262         * math/libm-test-iszero.inc: Likewise.
4263         * math/libm-test-j0.inc: Likewise.
4264         * math/libm-test-j1.inc: Likewise.
4265         * math/libm-test-jn.inc: Likewise.
4266         * math/libm-test-lgamma.inc: Likewise.
4267         * math/libm-test-llogb.inc: Likewise.
4268         * math/libm-test-llrint.inc: Likewise.
4269         * math/libm-test-llround.inc: Likewise.
4270         * math/libm-test-log.inc: Likewise.
4271         * math/libm-test-log10.inc: Likewise.
4272         * math/libm-test-log1p.inc: Likewise.
4273         * math/libm-test-log2.inc: Likewise.
4274         * math/libm-test-logb.inc: Likewise.
4275         * math/libm-test-lrint.inc: Likewise.
4276         * math/libm-test-lround.inc: Likewise.
4277         * math/libm-test-modf.inc: Likewise.
4278         * math/libm-test-nearbyint.inc: Likewise.
4279         * math/libm-test-nextafter.inc: Likewise.
4280         * math/libm-test-nextdown.inc: Likewise.
4281         * math/libm-test-nexttoward.inc: Likewise.
4282         * math/libm-test-nextup.inc: Likewise.
4283         * math/libm-test-pow.inc: Likewise.
4284         * math/libm-test-remainder.inc: Likewise.
4285         * math/libm-test-remquo.inc: Likewise.
4286         * math/libm-test-rint.inc: Likewise.
4287         * math/libm-test-round.inc: Likewise.
4288         * math/libm-test-roundeven.inc: Likewise.
4289         * math/libm-test-scalb.inc: Likewise.
4290         * math/libm-test-scalbln.inc: Likewise.
4291         * math/libm-test-scalbn.inc: Likewise.
4292         * math/libm-test-setpayload.inc: Likewise.
4293         * math/libm-test-setpayloadsig.inc: Likewise.
4294         * math/libm-test-signbit.inc: Likewise.
4295         * math/libm-test-significand.inc: Likewise.
4296         * math/libm-test-sin.inc: Likewise.
4297         * math/libm-test-sincos.inc: Likewise.
4298         * math/libm-test-sinh.inc: Likewise.
4299         * math/libm-test-sqrt.inc: Likewise.
4300         * math/libm-test-tan.inc: Likewise.
4301         * math/libm-test-tanh.inc: Likewise.
4302         * math/libm-test-tgamma.inc: Likewise.
4303         * math/libm-test-totalorder.inc: Likewise.
4304         * math/libm-test-totalordermag.inc: Likewise.
4305         * math/libm-test-trunc.inc: Likewise.
4306         * math/libm-test-ufromfp.inc: Likewise.
4307         * math/libm-test-ufromfpx.inc: Likewise.
4308         * math/libm-test-y0.inc: Likewise.
4309         * math/libm-test-y1.inc: Likewise.
4310         * math/libm-test-yn.inc: Likewise.
4311         * math/README.libm-test: Update.
4313         * math/gen-auto-libm-tests.c: Update comment about use of program.
4314         (generate_output): Add argument FUNCTION.
4315         (main): Require extra argument.  Pass function name to
4316         generate_output.
4317         * math/Makefile (generated): Add auto-libm-test-out.
4318         (libm-test-funcs-auto): New variable.
4319         (auto-libm-test-out-files): New variable.
4320         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
4321         Concatenate those files to form $(objpfx)auto-libm-test-out and
4322         use it as input to gen-libm-test.pl.
4323         * math/README.libm-test: Update.
4324         * math/auto-libm-test-out: Remove.
4325         * math/auto-libm-test-out-acos: New generated file.
4326         * math/auto-libm-test-out-acosh: Likewise.
4327         * math/auto-libm-test-out-asin: Likewise.
4328         * math/auto-libm-test-out-asinh: Likewise.
4329         * math/auto-libm-test-out-atan: Likewise.
4330         * math/auto-libm-test-out-atan2: Likewise.
4331         * math/auto-libm-test-out-atanh: Likewise.
4332         * math/auto-libm-test-out-cabs: Likewise.
4333         * math/auto-libm-test-out-carg: Likewise.
4334         * math/auto-libm-test-out-cbrt: Likewise.
4335         * math/auto-libm-test-out-ccos: Likewise.
4336         * math/auto-libm-test-out-ccosh: Likewise.
4337         * math/auto-libm-test-out-cexp: Likewise.
4338         * math/auto-libm-test-out-clog: Likewise.
4339         * math/auto-libm-test-out-clog10: Likewise.
4340         * math/auto-libm-test-out-cos: Likewise.
4341         * math/auto-libm-test-out-cosh: Likewise.
4342         * math/auto-libm-test-out-cpow: Likewise.
4343         * math/auto-libm-test-out-csin: Likewise.
4344         * math/auto-libm-test-out-csinh: Likewise.
4345         * math/auto-libm-test-out-csqrt: Likewise.
4346         * math/auto-libm-test-out-ctan: Likewise.
4347         * math/auto-libm-test-out-ctanh: Likewise.
4348         * math/auto-libm-test-out-erf: Likewise.
4349         * math/auto-libm-test-out-erfc: Likewise.
4350         * math/auto-libm-test-out-exp: Likewise.
4351         * math/auto-libm-test-out-exp10: Likewise.
4352         * math/auto-libm-test-out-exp2: Likewise.
4353         * math/auto-libm-test-out-expm1: Likewise.
4354         * math/auto-libm-test-out-fma: Likewise.
4355         * math/auto-libm-test-out-hypot: Likewise.
4356         * math/auto-libm-test-out-j0: Likewise.
4357         * math/auto-libm-test-out-j1: Likewise.
4358         * math/auto-libm-test-out-jn: Likewise.
4359         * math/auto-libm-test-out-lgamma: Likewise.
4360         * math/auto-libm-test-out-log: Likewise.
4361         * math/auto-libm-test-out-log10: Likewise.
4362         * math/auto-libm-test-out-log1p: Likewise.
4363         * math/auto-libm-test-out-log2: Likewise.
4364         * math/auto-libm-test-out-pow: Likewise.
4365         * math/auto-libm-test-out-sin: Likewise.
4366         * math/auto-libm-test-out-sincos: Likewise.
4367         * math/auto-libm-test-out-sinh: Likewise.
4368         * math/auto-libm-test-out-sqrt: Likewise.
4369         * math/auto-libm-test-out-tan: Likewise.
4370         * math/auto-libm-test-out-tanh: Likewise.
4371         * math/auto-libm-test-out-tgamma: Likewise.
4372         * math/auto-libm-test-out-y0: Likewise.
4373         * math/auto-libm-test-out-y1: Likewise.
4374         * math/auto-libm-test-out-yn: Likewise.
4376         * math/Makefile (generated): Do not include libm-test.stmp.
4377         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
4378         on $(objpfx)libm-test.stmp.
4379         ($(objpfx)libm-test.stmp): Remove rule.
4380         ($(objpfx)libm-test-ulps.h): New rule.
4381         ($(objpfx)libm-test.c): Likewise.
4382         ($(objpfx)libm-have-vector-test.h): Likewise.
4383         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
4384         individual generated files, not libm-test.stmp.
4386         * math/gen-libm-test.pl ($output_dir): Remove variable.
4387         ($srcdir): Likewise.
4388         ($opt_a): New variable.
4389         ($opt_c): Likewise.
4390         ($opt_C): Likewise.
4391         ($opt_H): Likewise.
4392         (-n): Make option take argument and use it as NewUlps output.
4393         (-a): New option.  Use its argument for auto-libm-test-out input.
4394         (-c): New option.  Use its argument for libm-test.inc input.
4395         (-C): New option.  Use its argument for libm-test.c output.
4396         (-H): New option.  Use its argument for libm-test-ulps.h output.
4397         (top level): Only process inputs needed to generate outputs
4398         specified by command-line options.  Only generate outputs
4399         specified by command-line options.
4400         * math/README.libm-test: Update example gen-libm-test.pl command.
4401         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
4402         commands.
4403         (regen-ulps): Likewise.
4405 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
4407         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
4408         * include/string.h (index): Remove define.
4409         (rindex): Likewise.
4410         * misc/getttyent.c (__getttyent): Rename index to strchr.
4411         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
4412         * sunrpc/rpc_main.c (mkfile_output): Likewise.
4414 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4416         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
4417         * math/libm-test.inc: Move all contents, other than tests of
4418         individual functions, to libm-test-driver.c.
4419         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
4420         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
4421         [!FE_UPWARD] (FE_UPWARD): Likewise.
4422         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
4423         (NO_EXCEPTION): Likewise.
4424         (INVALID_EXCEPTION): Likewise.
4425         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4426         (OVERFLOW_EXCEPTION): Likewise.
4427         (UNDERFLOW_EXCEPTION): Likewise.
4428         (INEXACT_EXCEPTION): Likewise.
4429         (INVALID_EXCEPTION_OK): Likewise.
4430         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4431         (OVERFLOW_EXCEPTION_OK): Likewise.
4432         (UNDERFLOW_EXCEPTION_OK): Likewise.
4433         (NO_INEXACT_EXCEPTION): Likewise.
4434         (EXCEPTIONS_OK): Likewise.
4435         (IGNORE_ZERO_INF_SIGN): Likewise.
4436         (TEST_NAN_SIGN): Likewise.
4437         (TEST_NAN_PAYLOAD): Likewise.
4438         (NO_TEST_INLINE): Likewise.
4439         (XFAIL_TEST): Likewise.
4440         (ERRNO_UNCHANGED): Likewise.
4441         (ERRNO_EDOM): Likewise.
4442         (ERRNO_ERANGE): Likewise.
4443         (IGNORE_RESULT): Likewise.
4444         (NON_FINITE): Likewise.
4445         (TEST_SNAN): Likewise.
4446         (NO_TEST_MATHVEC): Likewise.
4447         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
4448         (__CONCATX): Likewise.
4449         (TYPE_MIN): Likewise.
4450         (TYPE_TRUE_MIN): Likewise.
4451         (TYPE_MAX): Likewise.
4452         (MIN_EXP): Likewise.
4453         (MAX_EXP): Likewise.
4454         (MANT_DIG): Likewise.
4455         (FSTR_MAX): Likewise.
4456         (ULP_IDX): Likewise.
4457         (QTYPE_STR): Likewise.
4458         (TEST_COND_binary32): Likewise.
4459         (TEST_COND_binary64): Likewise.
4460         (TEST_COND_binary128): Likewise.
4461         (TEST_COND_ibm128): Likewise.
4462         (TEST_COND_intel96): Likewise.
4463         (TEST_COND_m68k96): Likewise.
4464         (TEST_COND_ibm128_libgcc): Likewise.
4465         (XFAIL_IBM128_LIBGCC): Likewise.
4466         (PAYLOAD_DIG): Likewise.
4467         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4468         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4469         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4470         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4471         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4472         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4473         (TEST_COND_long32): Likewise.
4474         (TEST_COND_long64): Likewise.
4475         (TEST_COND_before_rounding): Likewise.
4476         (TEST_COND_after_rounding): Likewise.
4477         (lit_pi_3_m_4_d): Likewise.
4478         (lit_pi_3_m_4_ln10_m_d): Likewise.
4479         (lit_pi_2_ln10_m_d): Likewise.
4480         (lit_pi_4_ln10_m_d): Likewise.
4481         (lit_pi_ln10_d): Likewise.
4482         (lit_pi_2_d): Likewise.
4483         (lit_pi_4_d): Likewise.
4484         (lit_pi): Likewise.
4485         (lit_e): Likewise.
4486         (ulps_file_name): Likewise.
4487         (ulps_file): Likewise.
4488         (output_ulps): Likewise.
4489         (output_dir): Likewise.
4490         (noErrors): Likewise.
4491         (noTests): Likewise.
4492         (noExcTests): Likewise.
4493         (noErrnoTests): Likewise.
4494         (verbose): Likewise.
4495         (output_max_error): Likewise.
4496         (output_points): Likewise.
4497         (ignore_max_ulp): Likewise.
4498         (plus_zero): Likewise.
4499         (minus_zero): Likewise.
4500         (plus_infty): Likewise.
4501         (minus_infty): Likewise.
4502         (qnan_value_pl): Likewise.
4503         (qnan_value): Likewise.
4504         (snan_value_pl): Likewise.
4505         (snan_value): Likewise.
4506         (max_value): Likewise.
4507         (min_value): Likewise.
4508         (min_subnorm_value): Likewise.
4509         (snan_value_ld): Likewise.
4510         (max_error): Likewise.
4511         (real_max_error): Likewise.
4512         (imag_max_error): Likewise.
4513         (prev_max_error): Likewise.
4514         (prev_real_max_error): Likewise.
4515         (prev_imag_max_error): Likewise.
4516         (max_valid_error): Likewise.
4517         (TYPE_DECIMAL_DIG): Likewise.
4518         (TYPE_HEX_DIG): Likewise.
4519         (fmt_ftostr): Likewise.
4520         (compare_ulp_data): Likewise.
4521         (find_ulps): Likewise.
4522         (init_max_error): Likewise.
4523         (set_max_error): Likewise.
4524         (print_float): Likewise.
4525         (print_screen): Likewise.
4526         (print_screen_max_error): Likewise.
4527         (update_stats): Likewise.
4528         (print_function_ulps): Likewise.
4529         (print_complex_function_ulps): Likewise.
4530         (fpstack_test): Likewise.
4531         (print_max_error): Likewise.
4532         (print_complex_max_error): Likewise.
4533         (test_single_exception): Likewise.
4534         (test_exceptions): Likewise.
4535         (test_single_errno): Likewise.
4536         (test_errno): Likewise.
4537         (ULPDIFF): Likewise.
4538         (ulp): Likewise.
4539         (check_float_internal): Likewise.
4540         (check_float): Likewise.
4541         (check_complex): Likewise.
4542         (check_int): Likewise.
4543         (check_long): Likewise.
4544         (check_bool): Likewise.
4545         (check_longlong): Likewise.
4546         (check_intmax_t): Likewise.
4547         (check_uintmax_t): Likewise.
4548         (enable_test): Likewise.
4549         (struct test_f_f_data): Likewise.
4550         (struct test_ff_f_data): Likewise.
4551         (struct test_fj_f_data): Likewise.
4552         (struct test_fi_f_data): Likewise.
4553         (struct test_fl_f_data): Likewise.
4554         (struct test_if_f_data): Likewise.
4555         (struct test_fff_f_data): Likewise.
4556         (struct test_fiu_M_data): Likewise.
4557         (struct test_fiu_U_data): Likewise.
4558         (struct test_c_f_data): Likewise.
4559         (struct test_f_f1_data): Likewise.
4560         (struct test_fF_f1_data): Likewise.
4561         (struct test_ffI_f1_data): Likewise.
4562         (struct test_c_c_data): Likewise.
4563         (struct test_cc_c_data): Likewise.
4564         (struct test_f_i_data): Likewise.
4565         (struct test_ff_i_data): Likewise.
4566         (struct test_f_l_data): Likewise.
4567         (struct test_f_L_data): Likewise.
4568         (struct test_fFF_11_data): Likewise.
4569         (struct test_Ff_b1_data): Likewise.
4570         (IF_ROUND_INIT_): Likewise.
4571         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4572         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4573         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4574         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4575         (ROUND_RESTORE_): Likewise.
4576         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4577         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4578         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4579         (ROUND_RESTORE_FE_UPWARD): Likewise.
4580         (RM_): Likewise.
4581         (RM_FE_DOWNWARD): Likewise.
4582         (RM_FE_TONEAREST): Likewise.
4583         (RM_FE_TOWARDZERO): Likewise.
4584         (RM_FE_UPWARD): Likewise.
4585         (COMMON_TEST_SETUP): Likewise.
4586         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4587         (COMMON_TEST_CLEANUP): Likewise.
4588         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4589         (RUN_TEST_f_f): Likewise.
4590         (RUN_TEST_LOOP_f_f): Likewise.
4591         (RUN_TEST_fp_f): Likewise.
4592         (RUN_TEST_LOOP_fp_f): Likewise.
4593         (RUN_TEST_2_f): Likewise.
4594         (RUN_TEST_LOOP_2_f): Likewise.
4595         (RUN_TEST_ff_f): Likewise.
4596         (RUN_TEST_LOOP_ff_f): Likewise.
4597         (RUN_TEST_LOOP_fj_f): Likewise.
4598         (RUN_TEST_fi_f): Likewise.
4599         (RUN_TEST_LOOP_fi_f): Likewise.
4600         (RUN_TEST_fl_f): Likewise.
4601         (RUN_TEST_LOOP_fl_f): Likewise.
4602         (RUN_TEST_if_f): Likewise.
4603         (RUN_TEST_LOOP_if_f): Likewise.
4604         (RUN_TEST_fff_f): Likewise.
4605         (RUN_TEST_LOOP_fff_f): Likewise.
4606         (RUN_TEST_fiu_M): Likewise.
4607         (RUN_TEST_LOOP_fiu_M): Likewise.
4608         (RUN_TEST_fiu_U): Likewise.
4609         (RUN_TEST_LOOP_fiu_U): Likewise.
4610         (RUN_TEST_c_f): Likewise.
4611         (RUN_TEST_LOOP_c_f): Likewise.
4612         (RUN_TEST_f_f1): Likewise.
4613         (RUN_TEST_LOOP_f_f1): Likewise.
4614         (RUN_TEST_fF_f1): Likewise.
4615         (RUN_TEST_LOOP_fF_f1): Likewise.
4616         (RUN_TEST_fI_f1): Likewise.
4617         (RUN_TEST_LOOP_fI_f1): Likewise.
4618         (RUN_TEST_ffI_f1_mod8): Likewise.
4619         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4620         (RUN_TEST_Ff_b1): Likewise.
4621         (RUN_TEST_LOOP_Ff_b1): Likewise.
4622         (RUN_TEST_Ffp_b1): Likewise.
4623         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4624         (RUN_TEST_c_c): Likewise.
4625         (RUN_TEST_LOOP_c_c): Likewise.
4626         (RUN_TEST_cc_c): Likewise.
4627         (RUN_TEST_LOOP_cc_c): Likewise.
4628         (RUN_TEST_f_i): Likewise.
4629         (RUN_TEST_LOOP_f_i): Likewise.
4630         (RUN_TEST_f_i_tg): Likewise.
4631         (RUN_TEST_LOOP_f_i_tg): Likewise.
4632         (RUN_TEST_ff_b): Likewise.
4633         (RUN_TEST_LOOP_ff_b): Likewise.
4634         (RUN_TEST_ff_i_tg): Likewise.
4635         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4636         (RUN_TEST_f_b): Likewise.
4637         (RUN_TEST_LOOP_f_b): Likewise.
4638         (RUN_TEST_f_b_tg): Likewise.
4639         (RUN_TEST_LOOP_f_b_tg): Likewise.
4640         (RUN_TEST_f_l): Likewise.
4641         (RUN_TEST_LOOP_f_l): Likewise.
4642         (RUN_TEST_f_L): Likewise.
4643         (RUN_TEST_LOOP_f_L): Likewise.
4644         (RUN_TEST_fFF_11): Likewise.
4645         (RUN_TEST_LOOP_fFF_11): Likewise.
4646         (VEC_SUFF): Likewise.
4647         (STR_CONCAT): Likewise.
4648         (STR_CON3): Likewise.
4649         (HAVE_VECTOR): Likewise.
4650         (START): Likewise.
4651         (END): Likewise.
4652         (END_COMPLEX): Likewise.
4653         (ALL_RM_TEST): Likewise.
4654         (matherr): Likewise.
4655         (initialize): Likewise.
4656         (options): Likewise.
4657         (doc): Likewise.
4658         (parse_opt): Likewise.
4659         (argp): Likewise.
4660         (check_ulp): Likewise.
4661         (main): Likewise.
4662         (do_test): New function.  Call tests of individual functions
4663         previously called from main.
4665         * math/libm-test.inc: Remove comment listing functions tested and
4666         not tested.
4668 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4670         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4671         (allocate_stack): Remove COLORING_INCREMENT usage.
4672         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4673         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4675 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4677         * manual/libm-err-tab.pl (@all_functions): Change to
4678         %all_functions.  Initialize as empty.
4679         (parse_ulps): Add to %all_functions based on functions found in
4680         ulps files.  Ignore results for non-default rounding modes and
4681         vector functions.
4682         (print_platforms): Use %all_platforms.
4683         * manual/math.texi (Errors in Math Functions): Document omissions
4684         from the table.
4686         * math/Makefile (before-compile): Remove.
4688 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4690         [BZ #21075]
4691         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4692         unused assignment.
4693         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4695 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4697         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4698         Add __glibc_unlikely hint.
4700 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4702         [BZ #16640]
4703         * sysdeps/i386/i686/strtok.S: Remove file.
4704         * sysdeps/i386/i686/strtok_r.S: Likewise.
4705         * sysdeps/i386/strtok.S: Likewise.
4706         * sysdeps/i386/strtok_r.S: Likewise.
4707         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4708         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4709         * sysdeps/x86_64/strtok.S: Likewise.
4710         * sysdeps/x86_64/strtok_r.S: Likewise.
4712         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4713         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4714         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4715         (__ASSUME_FADVISE64_AS_64_64): Define.
4716         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4717         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4718         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4719         __ALIGNMENT_ARG usage.
4720         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4721         __NR_fadvise64_64 if it is not defined.
4723 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4725         * version.h (RELEASE): Set to "development"
4726         (VERSION): Set to 2.25.90.
4727         * NEWS: Add 2.26 section.
4729         * version.h (RELEASE): Set to "stable"
4730         (VERSION): Set to 2.25.
4731         * include/features.h (__GLIBC_MINOR__): Set to 25.
4733         * manual/contrib.texi: Add more contributors from this release
4734         and past releases.
4736         * NEWS (2.25): Add list of bugs fixed.
4738         * NEWS: Add missing news items.
4740 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4742         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4743         parent if child exited in that manner.  Print WEXITSTATUS
4744         instead of the raw status.
4745         (do_test_prep): Rename to do_test.
4746         (do_test): Return the result of run_executable_sgid.
4747         (TEST_FUNCTION_ARGV): Adjust.
4749 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4750             Florian Weimer  <fweimer@redhat.com>
4751             Carlos O'Donell  <carlos@redhat.com>
4753         [BZ #20915]
4754         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4755         Do not initialize DTV.
4756         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4758 2017-02-03  David S. Miller  <davem@davemloft.net>
4760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4768         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4769         (libm-sysdep_routines): Update.
4770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4775         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4776         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4777         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4778         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4780         Likewise.
4781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4783         Likewise.
4784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4786         Likewise.
4787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4789         Likewise.
4790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4792         (libm-sysdep_routines): Update.
4794 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4796         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4797         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4798         against unrelocated shared library.
4799         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4801 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4803         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4804         * elf/tst-env-setuid-tunables.c
4805         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4806         GLIBC_TUNABLES is removed in a setgid process.
4808         [BZ #21073]
4809         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4810         * elf/dl-tunables.c (tunables_strdup): Remove.
4811         (get_next_env): Also return the previous envp.
4812         (parse_tunables): Erase tunables of category
4813         TUNABLES_SECLEVEL_SXID_ERASE.
4814         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4815         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4816         (__tunables_init)[TUNABLES_FRONTEND ==
4817         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4818         after parsing.
4819         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4820         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4821         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4822         to security_level.
4823         * elf/dl-tunables.list: Add security_level annotations for all
4824         tunables.
4825         * scripts/gen-tunables.awk: Recognize and generate enum values
4826         for security_level.
4827         * elf/tst-env-setuid.c: New test case.
4828         * elf/tst-env-setuid-tunables: new test case.
4829         * elf/Makefile (tests-static): Add them.
4831 2017-02-01  Richard Henderson  <rth@twiddle.net>
4833         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4834         adjusting the byte count.
4836 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4838         * conform/Makefile (linknamespace-libs): Define.
4840         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4841         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4842         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4843         operands.
4845 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4847         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4849 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4851         [BZ #21081]
4852         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4853         (L(stosb)): Add VZEROUPPER before ret.
4855 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4856             Alexey Makhalov <amakhalov@vmware.com>
4857             Florian Weimer <fweimer@redhat.com>
4859         [BZ #20116]
4860         * nptl/pthread_create.c: Document concurrency notes.
4861         Enhance thread creation notes.
4862         (create_thread): Use bool *stopped_start.
4863         (START_THREAD_DEFN): Comment ownership of PD.
4864         (__pthread_create_2_1): Add local bool stopped_start and use
4865         that instead of pd->stopped_start where appropriate.
4866         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4867         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4868         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4869         * nptl/tst-create-detached.c: New file.
4870         * nptl/Makefile (tests): Add tst-create-detached.
4871         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4872         Reference the enhanced thread creation notes.
4873         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4874         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4875         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4876         (__pthread_current_priority): Likewise.
4877         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4878         xpthread_attr_init, xpthread_attr_setdetachstate, and
4879         xpthread_attr_setstacksize.
4880         * support/xpthread_attr_destroy.c: New file.
4881         * support/xpthread_attr_init.c: New file.
4882         * support/xpthread_attr_setdetachstate.c: New file.
4883         * support/xpthread_attr_setstacksize.c: New file.
4884         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4885         xpthread_attr_init, xpthread_attr_setdetachstate, and
4886         xpthread_attr_setstacksize.
4888 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4890         * nptl/Makefile (tests): Add tst-robust-fork.
4891         * nptl/tst-robust-fork.c: New file.
4892         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4893         xpthread_mutex_consistent, xpthread_mutex_destroy,
4894         xpthread_mutex_init, xpthread_mutexattr_destroy,
4895         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4896         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4897         xpthread_mutexattr_settype.
4898         * support/xmmap.c: New file.
4899         * support/xmunmap.c: Likewise.
4900         * support/xpthread_mutex_consistent.c: Likewise.
4901         * support/xpthread_mutex_destroy.c: Likewise.
4902         * support/xpthread_mutex_init.c: Likewise.
4903         * support/xpthread_mutexattr_destroy.c: Likewise.
4904         * support/xpthread_mutexattr_init.c: Likewise.
4905         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4906         * support/xpthread_mutexattr_setpshared.c: Likewise.
4907         * support/xpthread_mutexattr_setrobust.c: Likewise.
4908         * support/xpthread_mutexattr_settype.c: Likewise.
4909         * support/xthread.h (xpthread_mutexattr_destroy)
4910         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4911         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4912         (xpthread_mutexattr_settype, xpthread_mutex_init)
4913         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4914         * support/xunistd.h (xmmap, xmunmap): Likewise.
4916 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4918         * string/Makefile (xtests): Add comment.
4919         (LOCALES): Add en_GB.UTF-8.
4920         (tst-strcoll-overflow.out): Depend on generated locales.
4921         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4922         (SIZE, TIMEOUT): Update comments.
4923         (do_test): Define as static.  Fail test if setlocale fails.
4924         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4925         messages.
4926         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4927         TIMEOUT at 300 seconds should be enough to run this test
4928         successfully.
4930 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4932         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4933         /* FALLTHRU */ comments.
4935 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4937         [BZ #21053]
4938         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4939         constants instead of the old R* ones.
4940         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4941         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4942         (NGREG): ... to this, to fit in with other architectures.
4943         (gpregset_t): Use new NGREG macro.
4944         [__USE_GNU]: Remove condition; all architectures other than tile
4945         are unconditional.
4946         (R*): Rename to REG_R*.
4948 2017-01-20  DJ Delorie  <dj@redhat.com>
4950         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4951         (tunable_set_val_if_valid_range_signed) ... this, and ...
4952         (tunable_set_val_if_valid_range_unsigned) ... this.
4953         (tunable_initialize): Call the correct one of the above based on type.
4955 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4957         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4958         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4959         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4960         * sysdeps/microblaze/libm-test-ulps: Likewise.
4961         * sysdeps/sh/libm-test-ulps: Likewise.
4963         * math/README.libm-test: Update list of characters for input and
4964         output types.
4966 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4968         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4969         (__lll_unlock_elision): Fix adapt_count decrement.
4971 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4973         * README.pretty-printers (Known issues): Warn about printers not
4974         always covering everything.
4975         * nptl/nptl-printers.py (MutexPrinter): Change output.
4976         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4978 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4980         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4981         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4982         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4983         (__lll_lock_elision): Do not test futex before starting a
4984         transaction.  Use __glibc_likely instead of __builtin_expect.
4985         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4986         (__lll_trylock_elision): Do not test futex before starting a
4987         transaction.  Use __glibc_likely instead of __builtin_expect.
4989 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4991         * po/Makefile (update-translations): New target.
4993 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4995         [BZ #21061]
4996         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4998 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5000         * elf/dl-tunables (get_next_env): Always advance envp.
5001         * stdlib/tst-empty-env.c: New test case.
5002         * stdlib/Makefile (tests): Use it.
5004 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5006         [BZ #21047]
5007         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
5008         name for instruction.
5009         [!__SOFTFP__] (_FPU_SETCW): Likewise.
5011 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5013         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
5014         for make install.
5016 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5018         * po/bg.po: Merge from Translation Project.
5019         * po/fr.po: Likewise.
5020         * po/ko.po: Likewise.
5021         * po/nl.po: Likewise.
5022         * po/sv.po: Likewise.
5024 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5026         * manual/install.texi (Tools for Compilation): Update GCC version
5027         known to work to build glibc.
5028         * INSTALL: Regenerated.
5030 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5032         [BZ #21006]
5033         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
5035 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
5037         [BZ #21045]
5038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5039         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
5040         to __sigprocmask.
5042 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
5044         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
5045         wrap-around.
5046         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
5048         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
5050 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5052         * NEWS: Fix typo.
5054 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5056         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
5057         barriers and comments.
5058         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
5059         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5060         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5062 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5064         [BZ #19402]
5065         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
5066         mutexes.
5068 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5070         [BZ #20985]
5071         * nptl/Makefile: Adapt.
5072         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5073         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5074         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5075         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5076         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
5077         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
5078         lll_robust* functions and adapt.
5079         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5080         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
5081         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5082         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5083         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
5084         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5085         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
5086         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5087         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
5088         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5089         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5090         * nptl/lowlevelrobustlock.c: Remove file.
5091         * nptl/lowlevelrobustlock.sym: Likewise.
5092         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
5093         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
5095 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5097         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5099 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5101         * po/cs.po: Merge translations from the Translation Project.
5102         * po/de.po: Likewise.
5103         * po/pl.po: Likewise.
5104         * po/ru.po: Likewise.
5105         * po/tr.po: Likewise.
5106         * po/uk.po: Likewise.
5107         * po/vi.po: Likewise.
5108         * po/zh_CN.po: Likewise.
5110 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
5112         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
5114         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
5115         object.
5117 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5119         [BZ #16458]
5120         * bits/uintn-identity.h: New file.
5121         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
5122         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
5123         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
5124         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
5125         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
5126         * string/endian.h: Include <bits/uintn-identity.h>.
5127         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
5128         __uint16_identity.
5129         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
5130         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
5131         __uint32_identity.
5132         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
5133         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
5134         __uint64_identity.
5135         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
5136         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
5137         __uint16_identity.
5138         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
5139         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
5140         __uint32_identity.
5141         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
5142         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
5143         __uint64_identity.
5144         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
5145         * string/Makefile (headers): Add bits/uintn-identity.h.
5146         (tests): Add test-endian-types.
5147         * string/test-endian-types.c: New file.
5148         * inet/Makefile (tests): Add test-hnto-types.
5149         * inet/test-hnto-types.c: New file.
5151 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5153         * po/be.po: Update from Translation Project.
5154         * po/bg.po: Likewise.
5155         * po/ca.po: Likewise.
5156         * po/cs.po: Likewise.
5157         * po/da.po: Likewise.
5158         * po/de.po: Likewise.
5159         * po/el.po: Likewise.
5160         * po/eo.po: Likewise.
5161         * po/es.po: Likewise.
5162         * po/fi.po: Likewise.
5163         * po/fr.po: Likewise.
5164         * po/gl.po: Likewise.
5165         * po/hr.po: Likewise.
5166         * po/hu.po: Likewise.
5167         * po/ia.po: Likewise.
5168         * po/id.po: Likewise.
5169         * po/it.po: Likewise.
5170         * po/ja.po: Likewise.
5171         * po/ko.po: Likewise.
5172         * po/lt.po: Likewise.
5173         * po/nb.po: Likewise.
5174         * po/nl.po: Likewise.
5175         * po/pl.po: Likewise.
5176         * po/pt_BR.po: Likewise.
5177         * po/ru.po: Likewise.
5178         * po/rw.po: Likewise.
5179         * po/sk.po: Likewise.
5180         * po/sl.po: Likewise.
5181         * po/sv.po: Likewise.
5182         * po/tr.po: Likewise.
5183         * po/uk.po: Likewise.
5184         * po/vi.po: Likewise.
5185         * po/zh_CN.po: Likewise.
5186         * po/zh_TW.po: Likewise.
5188 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5190         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
5191         -Wformat-truncation instead of -Wformat-length.
5192         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
5193         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
5194         GCC 7.
5195         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
5196         (do_test): Ignore -Wformat-truncation for GCC 7.
5198         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
5199         buffer used to print long int value.
5201         * elf/sotruss-lib.c (init): Increase space allocated for pid by
5202         one byte.  Print it with %ld, cast to long int.
5204 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5206         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
5207         (re.fullmatch, subprocess.run): Likewise.
5209 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5211         * po/libc.pot: Regenerate.
5213 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5215         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
5216         (min_strlen): Likewise.
5217         (disable_tunable): Likewise.
5218         (maybe_disable_malloc_check): Rename to
5219         maybe_enable_malloc_check.
5220         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
5221         if /etc/suid-debug file exists.
5222         (__tunables_init): Update caller.
5223         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
5224         secure.
5226 2016-01-10  Torvald Riegel  <triegel@redhat.com>
5228         * nptl/DESIGN-rwlock.txt: Remove.
5229         * nptl/lowlevelrwlock.sym: Remove.
5230         * nptl/Makefile: Add new tests.
5231         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
5232         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
5233         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
5234         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
5235         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
5236         PTHREAD_RWLOCK_FUTEX_USED): New.
5237         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
5238         implementation.
5239         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
5240         (__pthread_rwlock_rdlock): Adapt.
5241         * nptl/pthread_rwlock_timedrdlock.c
5242         (pthread_rwlock_timedrdlock): Adapt.
5243         * nptl/pthread_rwlock_timedwrlock.c
5244         (pthread_rwlock_timedwrlock): Adapt.
5245         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
5246         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
5247         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
5248         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
5249         (__pthread_rwlock_wrlock): Adapt.
5250         * nptl/tst-rwlock10.c: Adapt.
5251         * nptl/tst-rwlock11.c: Adapt.
5252         * nptl/tst-rwlock17.c: New file.
5253         * nptl/tst-rwlock18.c: New file.
5254         * nptl/tst-rwlock19.c: New file.
5255         * nptl/tst-rwlock2b.c: New file.
5256         * nptl/tst-rwlock8.c: Adapt.
5257         * nptl/tst-rwlock9.c: Adapt.
5258         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5259         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5260         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5261         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5262         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5263         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5264         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5265         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5266         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5267         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5268         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5269         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5270         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5271         (pthread_rwlock_t): Adapt.
5272         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5273         (pthread_rwlock_t): Adapt.
5274         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5275         * nptl/nptl-printers.py (): Adapt.
5276         * nptl/nptl_lock_constants.pysym: Adapt.
5277         * nptl/test-rwlock-printers.py: Adapt.
5278         * nptl/test-rwlockattr-printers.c: Adapt.
5279         * nptl/test-rwlockattr-printers.py: Adapt.
5281 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
5283         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
5284         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
5285         (fma_test_data): Likewise.
5286         (hypot_test_data): Likewise.
5287         (log1p_test_data): Likewise.
5288         (modf_test_data): Likewise.
5289         (pow_test_data): Likewise.
5290         (remainder_test_data): Likewise.
5291         (remquo_test_data): Likewise.
5292         (scalb_test_data): Likewise.
5293         (scalbn_test_data): Likewise.
5294         (scalbln_test_data): Likewise.
5295         * math/gen-libm-test.pl (parse_args): Transform
5296         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
5297         on the rounding mode.
5299 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
5301         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
5302         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5303         and those that can underflow to zero.
5304         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
5305         add others.
5306         * math/auto-libm-test-out: Regenerated.
5308         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
5309         supported.
5310         (feholdexcept_tests): Skip tests requiring exceptions or rounding
5311         modes support if not supported.
5313         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
5314         Add libc.so PLT entry.
5315         (__tls_get_addr): Make ld.so PLT entry optional.
5317 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5319         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
5320         * string/bits/string3.h: ... here.
5322 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5324         [BZ #21028]
5325         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
5326         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
5327         if EXCEPTION_TESTS returns false.
5329 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5331         [BZ #20558]
5332         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
5333         strings_fortified.h.
5334         [__USE_MISC] (bzero): Likewise.
5335         [__USE_MISC] (explicit_bzero): Likewise.
5336         * string/strings.h: Include strings_fortified.h.
5337         * string/Makefile (headers): Add strings_fortified.h.
5338         * string/bits/strings_fortified.h: New file.
5339         * include/bits/strings_fortified.h: Likewise.
5341 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5343         * elf/tst-tls13.c (TIMEOUT): Remove.
5344         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
5345         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
5346         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
5347         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
5348         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
5350         [BZ #21026]
5351         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5352         (readahead): New syscall entry.
5354 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5356         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
5357         around tests of strncat with large sizes.
5359         * malloc/tst-malloc.c: Include <libc-internal.h>.
5360         (do_test): Disable -Walloc-size-larger-than= around tests of
5361         malloc with negative sizes.
5362         * malloc/tst-mcheck.c: Include <libc-internal.h>.
5363         (do_test): Disable -Walloc-size-larger-than= around tests of
5364         malloc and realloc with negative sizes.
5365         * malloc/tst-realloc.c: Include <libc-internal.h>.
5366         (do_test): Disable -Walloc-size-larger-than= around tests of
5367         realloc with negative sizes.
5369         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
5370         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
5371         allowed to 16 ulps.
5372         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
5373         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
5374         * math/auto-libm-test-out: Regenerated.
5376 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5378         * math/Makefile (libm-calls): Move wrappers...
5379         (libm-compat-call-auto): Here.
5380         (libm-routines): Add items in libm-compat-calls-auto.
5381         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
5382         the filenames of the wrappers that have been renamed.
5383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
5384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5386         * math/w_acos.c: Add _compat suffix to filename.
5387         * math/w_acosf.c: Likewise.
5388         * math/w_acosh.c: Likewise.
5389         * math/w_acoshf.c: Likewise.
5390         * math/w_acoshl.c: Likewise.
5391         * math/w_acosl.c: Likewise.
5392         * math/w_asin.c: Likewise.
5393         * math/w_asinf.c: Likewise.
5394         * math/w_asinl.c: Likewise.
5395         * math/w_atan2.c: Likewise.
5396         * math/w_atan2f.c: Likewise.
5397         * math/w_atan2l.c: Likewise.
5398         * math/w_atanh.c: Likewise.
5399         * math/w_atanhf.c: Likewise.
5400         * math/w_atanhl.c: Likewise.
5401         * math/w_cosh.c: Likewise.
5402         * math/w_coshf.c: Likewise.
5403         * math/w_coshl.c: Likewise.
5404         * math/w_exp10.c: Likewise.
5405         * math/w_exp10f.c: Likewise.
5406         * math/w_exp10l.c: Likewise.
5407         * math/w_exp2.c: Likewise.
5408         * math/w_exp2f.c: Likewise.
5409         * math/w_exp2l.c: Likewise.
5410         * math/w_fmod.c: Likewise.
5411         * math/w_fmodf.c: Likewise.
5412         * math/w_fmodl.c: Likewise.
5413         * math/w_hypot.c: Likewise.
5414         * math/w_hypotf.c: Likewise.
5415         * math/w_hypotl.c: Likewise.
5416         * math/w_j0.c: Likewise.
5417         * math/w_j0f.c: Likewise.
5418         * math/w_j0l.c: Likewise.
5419         * math/w_j1.c: Likewise.
5420         * math/w_j1f.c: Likewise.
5421         * math/w_j1l.c: Likewise.
5422         * math/w_jn.c: Likewise.
5423         * math/w_jnf.c: Likewise.
5424         * math/w_jnl.c: Likewise.
5425         * math/w_log10.c: Likewise.
5426         * math/w_log10f.c: Likewise.
5427         * math/w_log10l.c: Likewise.
5428         * math/w_log2.c: Likewise.
5429         * math/w_log2f.c: Likewise.
5430         * math/w_log2l.c: Likewise.
5431         * math/w_log.c: Likewise.
5432         * math/w_logf.c: Likewise.
5433         * math/w_logl.c: Likewise.
5434         * math/w_pow.c: Likewise.
5435         * math/w_powf.c: Likewise.
5436         * math/w_powl.c: Likewise.
5437         * math/w_remainder.c: Likewise.
5438         * math/w_remainderf.c: Likewise.
5439         * math/w_remainderl.c: Likewise.
5440         * math/w_scalb.c: Likewise.
5441         * math/w_scalbf.c: Likewise.
5442         * math/w_scalbl.c: Likewise.
5443         * math/w_sinh.c: Likewise.
5444         * math/w_sinhf.c: Likewise.
5445         * math/w_sinhl.c: Likewise.
5446         * math/w_sqrt.c: Likewise.
5447         * math/w_sqrtf.c: Likewise.
5448         * math/w_sqrtl.c: Likewise.
5449         * math/w_tgamma.c: Likewise.
5450         * math/w_tgammaf.c: Likewise.
5451         * math/w_tgammal.c: Likewise.
5453         * math/w_acos_compat.c: New file copied from above and
5454         adjusted for new #includes path
5455         * math/w_acosf_compat.c: Likewise.
5456         * math/w_acosh_compat.c: Likewise.
5457         * math/w_acoshf_compat.c: Likewise.
5458         * math/w_acoshl_compat.c: Likewise.
5459         * math/w_acosl_compat.c: Likewise.
5460         * math/w_asin_compat.c: Likewise.
5461         * math/w_asinf_compat.c: Likewise.
5462         * math/w_asinl_compat.c: Likewise.
5463         * math/w_atan2_compat.c: Likewise.
5464         * math/w_atan2f_compat.c: Likewise.
5465         * math/w_atan2l_compat.c: Likewise.
5466         * math/w_atanh_compat.c: Likewise.
5467         * math/w_atanhf_compat.c: Likewise.
5468         * math/w_atanhl_compat.c: Likewise.
5469         * math/w_cosh_compat.c: Likewise.
5470         * math/w_coshf_compat.c: Likewise.
5471         * math/w_coshl_compat.c: Likewise.
5472         * math/w_exp10_compat.c: Likewise.
5473         * math/w_exp10f_compat.c: Likewise.
5474         * math/w_exp10l_compat.c: Likewise.
5475         * math/w_exp2_compat.c: Likewise.
5476         * math/w_exp2f_compat.c: Likewise.
5477         * math/w_exp2l_compat.c: Likewise.
5478         * math/w_fmod_compat.c: Likewise.
5479         * math/w_fmodf_compat.c: Likewise.
5480         * math/w_fmodl_compat.c: Likewise.
5481         * math/w_hypot_compat.c: Likewise.
5482         * math/w_hypotf_compat.c: Likewise.
5483         * math/w_hypotl_compat.c: Likewise.
5484         * math/w_j0_compat.c: Likewise.
5485         * math/w_j0f_compat.c: Likewise.
5486         * math/w_j0l_compat.c: Likewise.
5487         * math/w_j1_compat.c: Likewise.
5488         * math/w_j1f_compat.c: Likewise.
5489         * math/w_j1l_compat.c: Likewise.
5490         * math/w_jn_compat.c: Likewise.
5491         * math/w_jnf_compat.c: Likewise.
5492         * math/w_jnl_compat.c: Likewise.
5493         * math/w_log10_compat.c: Likewise.
5494         * math/w_log10f_compat.c: Likewise.
5495         * math/w_log10l_compat.c: Likewise.
5496         * math/w_log2_compat.c: Likewise.
5497         * math/w_log2f_compat.c: Likewise.
5498         * math/w_log2l_compat.c: Likewise.
5499         * math/w_log_compat.c: Likewise.
5500         * math/w_logf_compat.c: Likewise.
5501         * math/w_logl_compat.c: Likewise.
5502         * math/w_pow_compat.c: Likewise.
5503         * math/w_powf_compat.c: Likewise.
5504         * math/w_powl_compat.c: Likewise.
5505         * math/w_remainder_compat.c: Likewise.
5506         * math/w_remainderf_compat.c: Likewise.
5507         * math/w_remainderl_compat.c: Likewise.
5508         * math/w_scalb_compat.c: Likewise.
5509         * math/w_scalbf_compat.c: Likewise.
5510         * math/w_scalbl_compat.c: Likewise.
5511         * math/w_sinh_compat.c: Likewise.
5512         * math/w_sinhf_compat.c: Likewise.
5513         * math/w_sinhl_compat.c: Likewise.
5514         * math/w_sqrt_compat.c: Likewise.
5515         * math/w_sqrtf_compat.c: Likewise.
5516         * math/w_sqrtl_compat.c: Likewise.
5517         * math/w_tgamma_compat.c: Likewise.
5518         * math/w_tgammaf_compat.c: Likewise.
5519         * math/w_tgammal_compat.c: Likewise.
5521         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
5522         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
5523         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
5524         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
5525         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
5526         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
5527         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
5528         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
5529         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
5530         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
5531         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
5532         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
5533         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
5534         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
5535         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
5536         * sysdeps/ia64/fpu/w_powl.c: Likewise.
5537         * sysdeps/ia64/fpu/w_powf.c: Likewise.
5538         * sysdeps/ia64/fpu/w_pow.c: Likewise.
5539         * sysdeps/ia64/fpu/w_logl.c: Likewise.
5540         * sysdeps/ia64/fpu/w_logf.c: Likewise.
5541         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
5542         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
5543         * sysdeps/ia64/fpu/w_log2.c: Likewise.
5544         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
5545         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
5546         * sysdeps/ia64/fpu/w_log10.c: Likewise.
5547         * sysdeps/ia64/fpu/w_log.c: Likewise.
5548         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
5549         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
5550         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
5551         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
5552         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
5553         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
5554         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
5555         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
5556         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
5557         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
5558         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
5559         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
5560         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
5561         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
5562         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
5563         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
5564         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
5565         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
5566         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
5567         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
5568         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
5569         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
5570         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5571         * sysdeps/ia64/fpu/w_asin.c: Likewise.
5572         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5573         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5574         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5575         * sysdeps/ia64/fpu/w_acos.c: Likewise.
5576         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
5577         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
5578         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
5579         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
5580         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
5581         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
5582         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
5583         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
5584         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
5585         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
5586         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
5587         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
5588         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
5589         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
5590         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
5591         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
5592         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
5593         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
5594         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
5595         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
5596         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
5597         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
5598         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
5599         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
5600         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
5601         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
5602         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
5603         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5604         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5605         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5606         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5607         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5608         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5609         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5610         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5611         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5612         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5613         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5614         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5615         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5616         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5617         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5618         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5619         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5620         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5622         Likewise.
5623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5624         Likewise.
5625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5627         Likewise.
5628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5629         Likewise.
5630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5631         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5632         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5633         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5634         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5635         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5636         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5641         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5642         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5643         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5644         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5646         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5647         and adjusted for new #includes path
5648         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5649         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5650         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5651         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5652         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5653         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5654         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5655         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5656         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5657         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5658         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5659         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5660         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5661         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5662         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5663         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5664         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5665         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5666         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5667         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5668         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5669         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5670         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5671         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5672         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5673         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5674         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5675         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5676         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5677         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5678         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5679         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5680         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5681         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5682         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5683         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5684         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5685         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5686         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5687         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5688         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5689         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5690         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5691         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5692         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5693         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5694         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5695         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5696         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5697         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5698         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5699         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5700         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5701         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5702         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5703         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5704         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5705         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5706         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5707         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5708         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5709         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5710         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5711         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5712         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5713         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5714         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5715         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5716         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5717         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5718         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5719         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5720         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5721         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5722         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5723         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5724         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5725         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5726         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5727         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5728         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5729         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5730         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5731         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5732         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5733         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5734         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5735         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5736         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5737         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5738         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5739         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5740         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5741         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5742         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5743         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5744         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5745         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5746         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5748         Likewise.
5749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5750         Likewise.
5751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5752         Likewise.
5753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5754         Likewise.
5755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5756         Likewise.
5757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5758         Likewise.
5759         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5760         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5761         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5762         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5763         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5764         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5766         Likewise.
5767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5768         Likewise.
5769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5770         Likewise.
5771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5772         Likewise.
5773         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5774         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5775         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5776         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5778 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5780         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5781         __jmp_buf_internal_tag.
5783         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5784         preserve NaN payload if [__mips_nan2008].
5785         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5787         [BZ #21022]
5788         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5790 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5792         * sysdeps/i386/fpu/libm-test-ulps: Update.
5794 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5796         * sysdeps/ia64/strcat.c: Remove file.
5797         * sysdeps/powerpc/strcat.c: Likewise.
5798         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5799         C implementation.
5800         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5801         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5803 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5804             Steven Munroe  <sjmunroe@us.ibm.com>
5805             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5807         [BZ #20822]
5808         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5809         (__lll_lock_elision): Access adapt_count via C11 atomics.
5810         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5811         (__lll_trylock_elision): Likewise.
5812         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5813         (__lll_unlock_elision):  Update adapt_count variable inside the
5814         critical section using C11 atomics.
5816 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5818         * math/test-fenvinline.c (do_test): Disable tests of raised
5819         exceptions if !EXCEPTION_TESTS (FLOAT).
5821 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5823         [BZ #19390]
5824         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5825         maximum string size.
5826         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5827         in pointer addition.
5828         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5829         Likewise.
5831 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5833         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5834         passed to tst-ldconfig-X.sh.
5836 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5838         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5840 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5842         [BZ #21019]
5843         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5844         New syscall entry.
5845         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5846         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5847         lseek.
5849         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5850         power4 glibc for powerpc-linux-gnu.
5852 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5854         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5855         semctl.
5857 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5859         * math/test-nearbyint-except.c: Include <stdbool.h>.
5860         (any_supported): New variable.
5861         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5862         set any_supported.
5863         (do_test): Return 77 if no floating-point type supported
5864         exceptions.
5866         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5867         condition on [__mips_hard_float].
5869 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5871         [BZ #21014]
5872         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5873         in pointer addition.
5874         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5876 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5878         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5879         new condvar.
5881 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5883         * scripts/build-many-glibcs.py (Context.checkout): Default
5884         binutils version to 2.28 branch.
5886 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5888         * support/support_format_netent.c (support_format_netent): Work
5889         around alpha struct netent definition difference.
5891 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5893         * support/xwrite.c (xwrite): Use %td for pointer difference.
5895 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5897         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5898         have-tunables only.
5899         (tests-static): Add tst-malloc-usable-static-tunables for
5900         have-tunables only.
5902 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5904         * scripts/config.guess: Update to version 2017-01-01.
5905         * scripts/config.sub: Update to version 2017-01-01.
5907         * NEWS: Update copyright dates.
5908         * catgets/gencat.c (print_version): Likewise.
5909         * csu/version.c (banner): Likewise.
5910         * debug/catchsegv.sh: Likewise.
5911         * debug/pcprofiledump.c (print_version): Likewise.
5912         * debug/xtrace.sh (do_version): Likewise.
5913         * elf/ldconfig.c (print_version): Likewise.
5914         * elf/ldd.bash.in: Likewise.
5915         * elf/pldd.c (print_version): Likewise.
5916         * elf/sotruss.sh: Likewise.
5917         * elf/sprof.c (print_version): Likewise.
5918         * iconv/iconv_prog.c (print_version): Likewise.
5919         * iconv/iconvconfig.c (print_version): Likewise.
5920         * locale/programs/locale.c (print_version): Likewise.
5921         * locale/programs/localedef.c (print_version): Likewise.
5922         * login/programs/pt_chown.c (print_version): Likewise.
5923         * malloc/memusage.sh (do_version): Likewise.
5924         * malloc/memusagestat.c (print_version): Likewise.
5925         * malloc/mtrace.pl: Likewise.
5926         * manual/libc.texinfo: Likewise.
5927         * nptl/version.c (banner): Likewise.
5928         * nscd/nscd.c (print_version): Likewise.
5929         * nss/getent.c (print_version): Likewise.
5930         * nss/makedb.c (print_version): Likewise.
5931         * posix/getconf.c (main): Likewise.
5932         * scripts/test-installation.pl: Likewise.
5933         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5935         * All files with FSF copyright notices: Update copyright dates
5936         using scripts/update-copyrights.
5937         * intl/plural.c: Regenerated.
5938         * locale/programs/charmap-kw.h: Likewise.
5939         * locale/programs/locfile-kw.h: Likewise.
5941 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5943         [BZ #20593]
5944         Update DNS RR type definitions.
5945         * scripts/gen-rrtypes.py: New file.
5946         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5947         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5948         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5949         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5950         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5951         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5952         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5953         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5954         ns_t_ta, ns_t_dlv.
5955         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5956         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5957         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5958         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5959         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5960         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5961         Define.
5962         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5963         entry for ns_t_zxfr.
5965 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5967         [BZ #18784]
5968         CVE-2015-5180
5969         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5970         T_UNSPEC.  Adjust value.
5971         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5972         * resolv/res_query.c (__libc_res_nquery): Likewise.
5973         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5974         QTYPEs.
5975         * resolv/tst-resolv-qtypes.c: New file.
5976         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5977         (tst-resolv-qtypes): Link against libresolv and libpthread.
5979 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5981         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5983 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5985         * manual/tunables.texi: New chapter.
5986         * manual/Makefile (chapters): Add it.
5987         * manual/probes.texi (@node): Point to the Tunables chapter.
5989         * Makeconfig (have-tunables): Check for non-negative instead
5990         of positive.
5991         * configure.ac: Add 'valstring' as a valid value for
5992         --enable-tunables.
5993         * configure: Regenerate.
5994         * elf/Makefile (have-tunables): Check for non-negative instead
5995         of positive.
5996         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5997         dl-tunables.c.
5998         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5999         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6000         (tunables_strdup): Likewise.
6001         (disable_tunables): Likewise.
6002         (parse_tunables): Likewise.
6003         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
6004         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6005         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
6006         (TUNABLES_FRONTEND_yes): New macro, define as
6007         TUNABLES_FRONTEND_valstring by default.
6008         * manual/install.texi: Document new acceptable values for
6009         --enable-tunables.
6010         * INSTALL: Regenerate.
6012         * config.make.in (have-loop-to-function): Define.
6013         * elf/Makefile (CFLAGS-dl-tunables.c): Add
6014         -fno-tree-loop-distribute-patterns.
6015         * elf/dl-tunables.c: Include libc-internals.h.
6016         (GLIBC_TUNABLES): New macro.
6017         (tunables_strdup): New function.
6018         (parse_tunables): New function.
6019         (min_strlen): New function.
6020         (__tunables_init): Use the new functions and macro.
6021         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
6022         * malloc/tst-malloc-usable-tunables.c: New test case.
6023         * malloc/tst-malloc-usable-static-tunables.c: New test case.
6024         * malloc/Makefile (tests, tests-static): Add tests.
6026         * manual/install.texi: Add --enable-tunables option.
6027         * INSTALL: Regenerate.
6028         * README.tunables: New file.
6029         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
6030         (before-compile): Generate dl-tunable-list.h early.
6031         * config.h.in: Add HAVE_TUNABLES.
6032         * config.make.in: Add have-tunables.
6033         * configure.ac: Add --enable-tunables option.
6034         * configure: Regenerate.
6035         * csu/init-first.c (__libc_init_first): Move
6036         __libc_init_secure earlier...
6037         * csu/init-first.c (LIBC_START_MAIN):... to here.
6038         Include dl-tunables.h, libc-internal.h.
6039         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
6040         binaries.
6041         * elf/Makefile (dl-routines): Add dl-tunables.
6042         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
6043         namespace.
6044         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
6045         only when !HAVE_TUNABLES.
6046         * elf/rtld.c (process_envvars): Likewise.
6047         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
6048         (_dl_sysdep_start): Call __tunables_init.
6049         * elf/dl-tunable-types.h: New file.
6050         * elf/dl-tunables.c: New file.
6051         * elf/dl-tunables.h: New file.
6052         * elf/dl-tunables.list: New file.
6053         * malloc/tst-malloc-usable-static.c: New test case.
6054         * malloc/Makefile (tests-static): Add it.
6055         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
6056         Define TUNABLE_NAMESPACE.
6057         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
6058         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
6059         callback functions.
6060         (ptmalloc_init): Set tunable values.
6061         * scripts/gen-tunables.awk: New file.
6062         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
6063         (_dl_sysdep_start): Call __tunables_init.
6065 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6067         * resolv/resolv.h (RES_BLAST): Deprecate.
6068         * resolv/res_debug.c (p_option): Remove RES_BLAST.
6069         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
6070         to RES_BLAST.
6072 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6074         [BZ #19582]
6075         Deprecate RES_USE_INET6.
6076         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
6077         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
6078         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
6079         RES_USE_INET6.
6080         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
6081         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
6082         (_nss_nisplus_gethostbyaddr_r): Likewise.
6083         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
6084         of res_use_inet6.
6085         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
6086         instead of RES_USE_INET6.
6087         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
6088         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
6089         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
6090         Likewise.
6091         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
6092         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
6093         Likewise.
6094         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
6095         (_nss_dns_gethostbyname_r): Likewise.
6096         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
6097         alternate RES_USE_INET6 handling.
6098         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
6099         instead of RES_USE_INET6.
6100         * resolv/res_init.c (res_setoptions): Likewise.
6101         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
6102         * resolv/resolv-internal.h: New file.
6103         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
6104         make the deprecation warning non-fatal.
6105         * resolv/README (Using the resolver in multi-threaded code): Drop
6106         reference to RES_USE_INET6.
6107         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
6108         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
6110 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6112         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
6113         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
6114         tst-resolv-search.
6115         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
6116         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
6117         with libresolv and libpthread.
6118         * resolv/tst-bug18665.c: New file.
6119         * resolv/tst-bug18665-tcp: Likewise.
6120         * resolv/tst-res_use_inet6: Likewise.
6121         * resolv/tst-resolv-basic: Likewise.
6122         * resolv/tst-resolv-network: Likewise.
6123         * resolv/tst-resolv-search: Likewise.
6124         * support/Makefile (libsupport-routines): Add check_addrinfo,
6125         check_dns_packet, check_hostent, check_netent, resolv_test,
6126         support_format_address_family, support_format_addrinfo,
6127         support_format_dns_packet, support_format_herrno,
6128         support_format_hostent, support_format_netent, support_run_diff,
6129         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
6130         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
6131         xstrdup, xwrite.
6132         * support/check_addrinfo.c: New file.
6133         * support/check_dns_packet.c: Likewise.
6134         * support/check_hostent.c: Likewise.
6135         * support/check_netent.c: Likewise.
6136         * support/check_nss.h: Likewise.
6137         * support/format_nss.h: Likewise.
6138         * support/resolv_test.c: Likewise.
6139         * support/resolv_test.h: Likewise.
6140         * support/run_diff.h: Likewise.
6141         * support/support_format_address_family.c: Likewise.
6142         * support/support_format_addrinfo.c: Likewise.
6143         * support/support_format_dns_packet.c: Likewise.
6144         * support/support_format_herrno.c: Likewise.
6145         * support/support_format_hostent.c: Likewise.
6146         * support/support_format_netent.c: Likewise.
6147         * support/support_run_diff.c: Likewise.
6148         * support/xaccept.c: Likewise.
6149         * support/xbind.c: Likewise.
6150         * support/xconnect.c: Likewise.
6151         * support/xfclose.c: Likewise.
6152         * support/xfopen.c: Likewise.
6153         * support/xgetsockname.c: Likewise.
6154         * support/xlisten.c: Likewise.
6155         * support/xmemstream.c: Likewise.
6156         * support/xmemstream.h: Likewise.
6157         * support/xpoll.c: Likewise.
6158         * support/xpthread_once.c: Likewise.
6159         * support/xrecvfrom.c: Likewise.
6160         * support/xsendto.c: Likewise.
6161         * support/xsetsockopt.c: Likewise.
6162         * support/xstdio.h: Likewise.
6163         * support/xstrdup.c: Likewise.
6164         * support/support.h (xstrdup): Declare.
6165         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
6166         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
6167         * support/xthread.h (xpthread_once): Likwise.
6168         * support/xunistd.h (xwrite): Declare.
6170 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6172         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
6173         (test_verbose): Declare.
6174         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
6175         * support/support_test_main.c (default_options): Likewise.
6176         (usage, support_test_main): Handle 'v'.
6177         (test_verbose): Define.
6178         * support/tst-support_record_failure.c (do_test): Use
6179         test_verbose.
6180         * support/tst-support_record_failure-2.sh (different_status): Add
6181         --verbose test.
6183 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6185         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
6186         test failures are recorded.
6187         * support/check.c (support_print_failure_impl): Call
6188         support_record_failure.
6189         (support_exit_failure_impl): Call support_record_failure if status
6190         indicates failure.
6191         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
6192         * support/xasprintf.c (xasprintf): Likewise.
6193         * support/xfork.c (xfork): Likewise.
6194         * support/xpthread_check_return.c (xpthread_check_return):
6195         Likewise.
6196         * support/xsocket.c (xsocket): Likeweise.
6197         * support/xwaitpid.c (xwaitpid): Likewise.
6198         * support/support_record_failure.c (struct test_failures): Adjust
6199         to coding style.
6200         * support/support_test_verify_impl.c (support_test_verify_impl):
6201         Adjust error messages.
6202         * support/tst-support_record_failure-2.sh (different_status):
6203         Adjust error messages.
6205 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6207         * support/namespace.h: New file.
6208         * support/support_become_root.c: Likewise.
6209         * support/support_enter_network_namespace.c: Likewise.
6210         * support/tst-support-namespace.c: Likewise.
6211         * support/xsocket.c: Likewise.
6212         * support/xsocket.h: Likewise.
6213         * support/Makefile (libsupport-routines): Add support_become_root,
6214         support_enter_network_namespace, xsocket.
6215         (tests): Add tst-support-namespace.
6217 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6219         [BZ #17252]
6220         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
6221         __USE_GNU.
6223 2016-12-31  Torvald Riegel  <triegel@redhat.com>
6225         [BZ #13165]
6226         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
6227         use new algorithm.
6228         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6229         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6230         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6231         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6232         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
6233         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
6234         __condvar_cleanup_waiting, __condvar_dec_grefs,
6235         __pthread_cond_wait_common): New.
6236         (__condvar_cleanup): Remove.
6237         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
6238         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
6239         Likewise.
6240         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
6241         Likewise.
6242         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
6243         * nptl/tst-cond1.c: Add comment.
6244         * nptl/tst-cond20.c (do_test): Adapt.
6245         * nptl/tst-cond22.c (do_test): Likewise.
6246         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
6247         structure.
6248         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6249         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6250         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6251         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
6252         Likewise.
6253         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6254         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6255         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6256         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6257         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6258         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
6259         Likewise.
6260         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
6261         Likewise.
6262         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6263         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
6264         (COND_CLOCK_BITS): Adapt.
6265         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
6266         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
6267         __PTHREAD_COND_SHARED_MASK): New.
6268         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
6269         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
6270         * nptl/nptl_lock_constants.pysym: Adapt.
6271         * nptl/test-cond-printers.py: Adapt.
6272         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
6273         cond_compat_check_and_clear): Adapt.
6274         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
6275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6276         (__pthread_cond_timedwait): ... and move here.
6277         * nptl/DESIGN-condvar.txt: Remove file.
6278         * nptl/lowlevelcond.sym: Likewise.
6279         * nptl/pthread_cond_timedwait.c: Likewise.
6280         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
6281         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
6282         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
6283         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
6284         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
6285         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
6286         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
6287         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
6288         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
6289         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
6290         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
6291         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
6292         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
6293         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
6294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
6295         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
6297 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
6299         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6300         (fromfp): New declaration.
6301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6304         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
6305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
6306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6309         * math/math.h: Include <bits/types.h>.
6310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
6311         constant and macro.
6312         (FP_INT_DOWNWARD): Likewise.
6313         (FP_INT_TOWARDZERO): Likewise.
6314         (FP_INT_TONEARESTFROMZERO): Likewise.
6315         (FP_INT_TONEAREST): Likewise.
6316         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
6317         (fromfpf): Likewise.
6318         (fromfpl): Likewise.
6319         (ufromfp): Likewise.
6320         (ufromfpf): Likewise.
6321         (ufromfpl): Likewise.
6322         (fromfpx): Likewise.
6323         (fromfpxf): Likewise.
6324         (fromfpxl): Likewise.
6325         (ufromfpx): Likewise.
6326         (ufromfpxf): Likewise.
6327         (ufromfpxl): Likewise.
6328         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
6329         s_fromfpxF and s_ufromfpxF.
6330         * math/gen-fromfp-tests.py: New file.
6331         * math/gen-fromfp-tests-inputs: Likewise.
6332         * math/libm-test.inc: Include <stdint.h>
6333         (check_intmax_t): New function.
6334         (check_uintmax_t): Likewise.
6335         (struct test_fiu_M_data): New type.
6336         (struct test_fiu_U_data): Likewise.
6337         (RUN_TEST_fiu_M): New macro.
6338         (RUN_TEST_LOOP_fiu_M): Likewise.
6339         (RUN_TEST_fiu_U): Likewise.
6340         (RUN_TEST_LOOP_fiu_U): Likewise.
6341         (fromfp_test_data): New array.
6342         (fromfp_test): New function.
6343         (fromfpx_test_data): New array.
6344         (fromfpx_test): New function.
6345         (ufromfp_test_data): New array.
6346         (ufromfp_test): New function.
6347         (ufromfpx_test_data): New array.
6348         (ufromfpx_test): New function.
6349         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
6350         ufromfpx_test.
6351         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
6352         characters.
6353         * math/test-tgmath-ret.c: Include <stdint.h>.
6354         (rm): New variable.
6355         (width): Likewise.
6356         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
6357         called function.
6358         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
6359         CHECK_RET_CONST_TYPE.
6360         (CHECK_RET_CONST_DOUBLE): Likewise.
6361         (CHECK_RET_CONST_LDOUBLE): Likewise.
6362         (CHECK_RET_CONST): Take extra arguments and pass them to calls
6363         macros.
6364         (fromfp): New CHECK_RET_CONST call.
6365         (ufromfp): Likewise.
6366         (fromfpx): Likewise.
6367         (ufromfpx): Likewise.
6368         (do_test): Call check_return_fromfp, check_return_ufromfp,
6369         check_return_fromfpx and check_return_ufromfpx.
6370         * math/test-tgmath.c: Include <stdint.h>
6371         (NCALLS): Increase to 138.
6372         (F(compile_test)): Initialize i.  Call fromfp functions.
6373         (F(fromfp)): New function.
6374         (F(fromfpx)): Likewise.
6375         (F(ufromfp)): Likewise.
6376         (F(ufromfpx)): Likewise.
6377         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
6378         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
6379         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
6380         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
6381         ufromfpxl.
6382         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
6383         ufromfp and ufromfpx.
6384         * math/fromfp.h: New file.
6385         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
6386         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
6387         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
6388         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
6389         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
6390         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
6391         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
6392         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
6393         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
6394         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
6395         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
6396         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
6397         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
6398         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
6399         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
6400         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
6401         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
6402         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
6403         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
6404         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
6405         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
6406         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
6407         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
6408         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
6409         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
6410         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
6411         ufromfp, fromfpx and ufromfpx.
6412         (CFLAGS-nldbl-fromfp.c): New variable.
6413         (CFLAGS-nldbl-fromfpx.c): Likewise.
6414         (CFLAGS-nldbl-ufromfp.c): Likewise.
6415         (CFLAGS-nldbl-ufromfpx.c): Likewise.
6416         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
6417         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
6418         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
6419         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
6420         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
6421         * sysdeps/nacl/libm.abilist: Update.
6422         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6424         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6425         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6426         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6427         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6430         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6431         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6432         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6433         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6435         Likewise.
6436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6437         Likewise.
6438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6439         Likewise.
6440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6441         Likewise.
6442         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6443         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6444         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6445         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6446         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6448         Likewise.
6449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6452         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6453         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6455 2016-12-30  Florian Weimer  <fweimer@redhat.com>
6457         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
6458         compat-gethnamaddr.
6459         (CPPFLAGS): Remove.
6460         * resolv/gethnamaddr.c: Rename ...
6461         * resolv/compat-gethnamaddr.c: ... to this file.
6462         (_endhtent): Make static.
6463         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
6464         symbol.
6465         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
6466         compat symbol.
6467         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
6468         symbol.
6469         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
6470         Turn into compat symbol.
6471         * include/resolv.h (_endhtent): Remove declaration.
6473 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
6475         * bits/types.h (__intmax_t): New typedef.
6476         (__uintmax_t): Likewise.
6477         * sysdeps/generic/stdint.h: Include <bits/types.h>.
6478         (intmax_t): Define using __intmax_t.
6479         (uintmax_t): Define using __uintmax_t.
6481         * support/Makefile (tests-special): Make definition conditional on
6482         [$(run-built-tests) = yes].
6483         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
6484         on [$(run-built-tests) = yes].
6486 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6488         * Rules (tests): Add tests-printers-programs to tests to be
6489         built.
6491 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6493         * sysvipc/Makefile (tests): Add test-sysvshm.
6494         * sysvipc/test-sysvshm.c: New file.
6496         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
6497         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
6498         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
6499         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
6500         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
6501         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
6502         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
6503         Likewise.
6504         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
6505         Likewise.
6506         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
6507         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
6508         is defined.
6510         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
6511         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
6512         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
6513         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
6514         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
6515         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
6516         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
6517         Likewise.
6518         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
6519         Likewise.
6520         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
6521         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
6522         defined.
6524         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6525         oldshmctl.
6526         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
6527         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
6528         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
6529         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
6530         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
6531         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
6532         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
6533         Likewise.
6534         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
6535         Likewise.
6536         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
6537         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
6538         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
6539         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
6540         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
6541         implementation.
6542         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
6543         if it is defined.
6545         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
6546         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
6547         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
6548         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
6549         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
6550         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
6551         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
6554         Likewise.
6555         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
6556         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
6557         Define to __NR_osf_shmat.
6558         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
6559         defined.
6561         * sysvipc/Makefile (tests): Add test-sysvsem.
6562         * sysvipc/test-sysvsem.c: New file.
6564         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
6565         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
6566         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
6569         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
6570         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
6571         Likewise.
6572         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
6575         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
6576         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
6577         add a comment about s390 syscall difference from default one.
6578         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
6579         syscall if it is defined.
6581         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
6582         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
6583         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6584         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
6585         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
6586         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
6587         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
6588         Likewise.
6589         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
6590         Likewise.
6591         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
6592         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
6593         defined.
6595         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
6596         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
6597         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
6598         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
6599         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
6600         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
6601         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
6602         Likewise.
6603         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6604         Likewise.
6605         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6606         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6607         if it is defined.
6609         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6610         oldsemctl.
6611         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6612         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6613         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6614         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6615         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6616         implementation.
6617         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6618         syscall if it is defined.
6619         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6620         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6621         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6622         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6623         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6624         Likewise.
6625         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6627         * sysvipc/Makefile (tests): Add test-sysvmsg.
6628         * sysvipc/test-sysvmsg.c: New file.
6629         * support/check.h (FAIL_UNSUPPORTED): New define.
6631         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6632         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6633         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6634         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6635         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6636         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6637         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6638         Likewise.
6639         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6640         Likewise.
6641         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6642         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6643         define.
6645         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6646         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6647         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6648         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6649         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6650         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6651         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6652         Likewise.
6653         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6654         Likewise.
6655         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6656         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6657         if defined.
6659         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6660         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6661         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6662         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6663         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6664         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6665         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6666         Likewise.
6667         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6668         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6669         Likewise.
6670         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6671         if defined.
6672         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6674         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6675         oldmsgctl.
6676         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6677         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6678         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6679         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6680         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6681         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6682         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6683         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6684         Likewise.
6685         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6686         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6687         implementation.
6688         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6689         if defined.
6691         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6692         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6693         definition and define its own.
6694         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6695         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6696         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6697         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6698         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6699         definitions to common header.
6700         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6701         operation from ipc_ops.h.
6703         * sysdeps/unix/sysv/linux/kernel-features.h
6704         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6705         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6706         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6707         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6708         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6709         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6710         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6711         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6712         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6713         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6714         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6715         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6716         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6717         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6718         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6720 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6722         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6723         overflow in pointer addition.
6725 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6727         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6728         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6730         (strchr): Add __strchr_power8 to list of strchr functions.
6731         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6732         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6733         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6734         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6735         (strchr): Add __strchr_power8 to ifunc list.
6736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6737         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6738         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6739         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6741 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6743         * support/Makefile (libsupport-routines): Add
6744         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6745         (tests): Add tst-support_record_failure.
6746         (tests-special): tst-support_record_failure-2.
6747         (tst-support_record_failure-2.out): Depend on
6748         tst-support_record_failure-2.sh and tst-support_record_failure.
6749         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6750         (support_test_verify_impl, support_record_failure)
6751         (support_report_failure, support_report_failure_reset): Declare.
6752         * support/support_test_main.c (adjust_exit_status): New function.
6753         (support_test_main): Call it to incorporate record test failures.
6754         * support/support_test_verify_impl.c: New file.
6755         * support/support_record_failure.c: Likewise.
6756         * support/tst-support_record_failure.c: Likewise.
6757         * support/tst-support_record_failure-2.sh: Likewise.
6758         * support/xunistd.h: Likewise.
6759         * support/xfork.c: Likewise.
6760         * support/xwaitpid.c: Likewise.
6762 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6764         * scripts/check-c++-types.sh: Add comments.
6766 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6768         [BZ #19514]
6769         * resolv/res_send.c: Fix typo in comment.
6770         * sysdeps/i386/i386-mcount.S: Likewise.
6771         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6772         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6773         * sysdeps/sparc/sparc-mcount.S: Likewise.
6775 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6777         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6778         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6779         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6780         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6781         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6782         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6783         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6784         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6786 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6788         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6790 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6792         [BZ #17252]
6793         * posix/unistd.h (getentropy): Declare.
6795 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6797         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6798         Remove.
6799         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6800         (cmd): Remove spoof, nospoof, spoofalert.
6801         (parse_line): Ignore spoof-related lines.
6802         (do_init): Do not process RESOLV_SPOOF_CHECK.
6804 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6806         [BZ #20964]
6807         sunrpc: Always obtain AF_INET addresses from NSS.
6808         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6809         * sunrpc/rpc_gethostbyname.c: New file.
6810         * sunrpc/Makefile (routines): Add it.
6811         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6812         * sunrpc/clnt_simp.c (callrpc): Likewise.
6813         * sunrpc/getrpcport.c (getrpcport): Likewise.
6815 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6817         * sunrpc/rpcinfo.c: Remove.
6818         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6820 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6822         [BZ #19387]
6823         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6824         addition.
6825         * string/test-memchr.c (do_test): Remove alignment limitation.
6826         (test_main): Add test that trigger BZ #19387.
6828 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6830         [BZ #7065]
6831         Enable stack protectore if requested by ./configure.
6832         * Makeconfig (+stack-protector): New variable.
6833         (+cflags): Use it.
6835 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6837         [BZ #7065]
6838         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6839         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6840         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6841         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6842         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6844 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6846         [BZ #7065]
6847         * login/Makefile (pt_chown-cflags): Remove.
6848         * nscd/Makefile (CFLAGS-nscd): Likewise.
6849         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6851 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6853         [BZ #7065]
6854         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6855         non-libc-linking testcase.
6857 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6858             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6859             Florian Weimer  <fweimer@redhat.com>
6861         [BZ #7065]
6862         PLT avoidance for __stack_chk_fail*.
6863         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6864         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6865         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6866         __stack_chk_fail_local alias.
6867         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6868         (__stack_chk_fail): Turn into hidden reference to
6869         __stack_chk_fail_local.
6871 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6873         [BZ #7065]
6874         * configure.ac: Add check for unsupported stack-protection level.
6875         (libc_cv_predef_stack_protector): Remove.
6876         (no_ssp): New variable.
6877         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6878         (stack_protector): Set to -fno-stack-protector similarly.
6879         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6880         (libc_cv_asm_set_directive): Likewise.
6881         (libc_cv_protected_data): Likewise.
6882         (libc_cv_z_combreloc): Likewise.
6883         (libc_cv_hashstyle): Likewise.
6884         (libc_cv_has_glob_dat): Likewise.
6885         (libc_cv_output_format): Likewise.
6886         (libc_cv_output_format): Likewise.
6887         (libc_cv_ehdr_start): Likewise.
6888         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6889         (LIBC_LINKER_FEATURE): Likewise.
6890         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6892 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6894         [BZ #7065]
6895         * elf/Makefile (dummy-stack-chk-fail): New.
6896         (librtld.map): Use it.
6898 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6900         [BZ #7065]
6901         Compile the dynamic linker without stack protection.
6902         * elf/Makefile (elide-stack-protector): New.
6903         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6904         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6905         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6906         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6908 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6910         [BZ #7065]
6911         * config.make.in (have-ssp, no-stack-protector): New.
6912         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6913         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6914         (CFLAGS-sbrk.op): Likewise.
6915         (CFLAGS-brk.o): Likewise.
6916         (CFLAGS-brk.op): Likewise.
6917         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6918         (CFLAGS-wordcopy.c): Likewise.
6920 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6922         [BZ #7065]
6923         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6924         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6925         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6926         (__ifunc_resolver): Use it.
6927         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6928         inhibit_stack_protector.
6929         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6930         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6931         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6932         (foo_protected_ifunc): Likewise.
6933         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6934         (foo_protected_ifunc): Likewise.
6935         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6936         * sysdeps/nacl/nacl_interface_query.c
6937         (nacl_interface_query_ifunc): Likewise.
6938         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6939         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6940         Likewise.
6941         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6942         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6943         the generated vDSO syscall resolver.
6945 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6946             Florian Weimer  <fweimer@redhat.com>
6948         [BZ #7065]
6949         Initialize the stack guard earlier when linking statically.
6950         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6951         (__pthread_initialize_minimal): Declare.
6952         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6953         declaration.
6954         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6955         stack canary and apply_irel initialization up.  Call
6956         __pthread_initialize_minimal only if linked in.
6957         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6958         constant values.
6959         (__pthread_initialize_minimal): Remove.
6960         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6961         (__pthread_initialize_minimal_internal): Do not call
6962         __libc_setup_tls.
6964 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6966         [BZ #7065]
6967         * configure.ac (libc_cv_ssp): Move up.
6968         (libc_cv_ssp_strong): Likewise.
6969         (libc_cv_ssp_all): New.
6970         (stack_protector): Augment, adding -fstack-protector-all.
6971         (no_stack_protector): New.
6972         (STACK_PROTECTOR_LEVEL): New.
6973         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6974         * manual/install.texi (--enable-stack-protector): Document it.
6975         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6977 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6979         * README.pretty-printers: Must specify CPPFLAGS-* also.
6980         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6981         (CPPFLAGS-test-mutex-printers.c): Define.
6982         (CPPFLAGS-test-condattr-printers.c): Define.
6983         (CPPFLAGS-test-cond-printers.c): Define.
6984         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6985         (CPPFLAGS-test-rwlock-printers.c): Define.
6987         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6988         (tests): Add tst-cancel-getpwuid_r.
6989         * nss/tst-cancel-getpwuid_r.c: New file.
6991         [BZ #11941]
6992         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6993         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6994         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6995         tst-nodelete-dlclose.
6996         (modules-names): Add tst-nodelete-dlclose-dso and
6997         tst-nodelete-dlclose-plugin.
6998         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6999         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
7000         ($(objpfx)tst-nodelete-dlclose): Define.
7001         ($(objpfx)tst-nodelete-dlclose.out): Define.
7003 2016-12-23  Florian Weimer  <fweimer@redhat.com>
7005         * scripts/test_printers_common.py: Log GDB output in case of
7006         Python detection failure.
7008 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7010         * configure.ac: Check for python3 or python.
7011         * configure: Regenerated.
7012         * config.make.in (PYTHON): New variable.
7013         * benchtests/Makefile: Don't define PYTHON.
7014         (bench): Define target only if PYTHON was defined.
7015         * Rules: Don't define PYTHON.
7016         Define pretty printer targets only if PYTHON was defined.
7017         (tests-printers): Add to tests-unsupported if PYTHON is not
7018         found.
7019         (python-flags, python-invoke): Remove.
7020         (tests-printers-out): Use PYTHON instead of python-invoke.
7022 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7024         [BZ #20978]
7025         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7026         Compare name == NULL, not name != NULL.
7028         * manual/texinfo.tex: Update to version 2016-09-18.18 with
7029         trailing whitespace removed.
7030         * scripts/config.guess: Update to version 2016-10-02.
7031         * scripts/config.sub: Update to version 2016-11-19.
7032         * scripts/install-sh: Update to version 2016-01-11.22.
7033         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
7034         * scripts/move-if-change: Update to version 2016-01-11 22:04.
7036 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
7038         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
7039         (do_one_test) Restore original string so iteration works.
7040         * string/string-inlines.c (do_test): Create better input strings.
7041         (test_main) Reduce number of testruns.
7042         * string/string-inlines.c (__old_strsep_1c): New function.
7043         (__old_strsep_2c): Likewise.
7044         (__old_strsep_3c): Likewise.
7045         * string/strsep.c (__strsep): Remove case of small delim string.
7046         Call strcspn directly rather than strpbrk.
7047         * string/bits/string2.h (__strsep): Remove define.
7048         (__strsep_1c): Remove.
7049         (__strsep_2c): Remove.
7050         (__strsep_3c): Remove.
7051         (strsep): Remove.
7052         * sysdeps/unix/sysv/linux/internal_statvfs.c
7053         (__statvfs_getflags): Rename to __strsep.
7055 2016-12-21  Florian Weimer  <fweimer@redhat.com>
7057         * csu/libc-tls.c (_dl_tls_setup): Remove.
7058         * elf/dl-tls.c (_dl_tls_setup): Likewise.
7059         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
7060         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
7062 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7064         [BZ #7065]
7065         * sysdeps/x86_64/Makefile [$(subdir) = elf]
7066         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
7068 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7069             Florian Weimer  <fweimer@redhat.com>
7071         [BZ #7065]
7072         * csu/Makefile (tests): Empty assignment and document it.
7073         (tests-static): Remove.
7074         * csu/tst-empty.c: Move to...
7075         * misc/tst-empty.c: ... here.  Switch to new test driver.
7076         * csu/tst-atomic.c: Move to...
7077         * misc/tst-atomic.c: ... here.  Switch to new test driver.
7078         * csu/tst-atomic-long.c: Move to...
7079         * misc/tst-atomic-long.c: ... here.
7080         * misc/Makefile (tests): Add tst-empty, tst-atomic,
7081         tst-atomic-long.
7082         (tests-static): Add tst-empty.
7084 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
7086         * manual/nss.texi: Change incorrect @vtable to @table.
7087         * manual/arith.texi: Convert @tables of variables to @vtables
7088         and remove unnecessary indexing.
7089         * manual/filesys.texi: Likewise.
7090         * manual/llio.texi: Likewise.
7091         * manual/memory.texi: Likewise.
7092         * manual/process.texi: Likewise.
7093         * manual/resource.texi: Likewise.
7094         * manual/search.texi: Likewise.
7095         * manual/signal.texi: Likewise.
7096         * manual/socket.texi: Likewise.
7097         * manual/stdio.texi: Likewise.
7098         * manual/sysinfo.texi: Likewise.
7099         * manual/syslog.texi: Likewise.
7100         * manual/terminal.texi: Likewise.
7101         * manual/time.texi: Likewise.
7102         * manual/users.texi: Likewise.
7104 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7106         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7107         (roundeven): New declaration.
7108         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
7109         macro.
7110         * math/Versions (roundeven): New libm symbol at version
7111         GLIBC_2.25.
7112         (roundevenf): Likewise.
7113         (roundevenl): Likewise.
7114         * math/Makefile (libm-calls): Add s_roundevenF.
7115         * math/libm-test.inc (roundeven_test_data): New array.
7116         (roundeven_test): New function.
7117         (main): Call roundeven_test.
7118         * math/test-tgmath.c (NCALLS): Increase to 134.
7119         (F(compile_test)): Call roundeven.
7120         (F(roundeven)): New function.
7121         * manual/arith.texi (Rounding Functions): Document roundeven,
7122         roundevenf and roundevenl.
7123         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
7124         * include/math.h (roundeven): Use libm_hidden_proto.
7125         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
7126         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
7127         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
7128         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
7129         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
7130         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
7131         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7132         roundeven.
7133         (CFLAGS-nldbl-roundeven.c): New variable.
7134         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
7135         * sysdeps/nacl/libm.abilist: Update.
7136         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7137         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7138         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7139         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7140         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7141         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7142         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7143         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7144         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7145         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7146         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7147         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7149         Likewise.
7150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7151         Likewise.
7152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7153         Likewise.
7154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7155         Likewise.
7156         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7157         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7158         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7159         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7160         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7162         Likewise.
7163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7164         Likewise.
7165         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7166         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7167         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7169 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7171         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
7172         preprocessor indentation inside #if.
7174 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7176         * math/libm-test.inc (fmt_ftostr): New function.
7177         (print_float, check_float_internal): Replace some uses of
7178         FTOSTR with uses of fmt_ftostr.
7179         (print_max_error, print_complex_max_error, print_function_ulps)
7180         (print_complex_function_ulps): Remove uses of the macros
7181         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
7182         * math/test-double.h (FTOSTR): Define to strfromd.
7183         (PRINTF_EXPR): Delete.
7184         (PRINTF_XEXPR): Likewise.
7185         (PRINTF_NEXPR): Likewise.
7186         * math/test-float.h (FTOSTR): Define to strfromf.
7187         (PRINTF_EXPR): Delete.
7188         (PRINTF_XEXPR): Likewise.
7189         (PRINTF_NEXPR): Likewise.
7190         * math/test-ldouble.h (FTOSTR): Define to strfroml.
7191         (PRINTF_EXPR): Delete.
7192         (PRINTF_XEXPR): Likewise.
7193         (PRINTF_NEXPR): Likewise.
7195 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7197         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7198         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
7199         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7200         (__lll_lock_elision): Decrement adapt_count while unlocking
7201         instead of before locking.
7202         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7203         (__lll_trylock_elision): Likewise.
7204         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
7205         (__lll_unlock_elision): Likewise.
7207 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7209         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
7210         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
7211         Use __libc_tbegin_retry macro.
7213 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7215         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
7216         Add -msoft-float.
7217         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
7218         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7219         Use __libc_t* transaction macros instead of __builtin_t*.
7220         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7221         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7223 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7225         * sysdeps/unix/sysv/linux/s390/elision-lock.c
7226         (__lll_lock_elision): Use atomics to load / store adapt_count.
7227         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7228         (__lll_trylock_elision): Likewise.
7230 2016-12-20  Florian Weimer  <fweimer@redhat.com>
7232         Do not require memset elimination in explicit_bzero test.
7233         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
7234         (enum test_expectation): Add NO_EXPECTATIONS.
7235         (subtests): NO_EXPECTATIONS for ordinary clear.
7236         (check_test_buffer): Handle NO_EXPECTATIONS.
7237         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
7239 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7241         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7242         (fmaxmag): New declaration.
7243         (fminmag): Likewise.
7244         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
7245         macro.
7246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
7247         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
7248         (fmaxmagf): Likewise.
7249         (fmaxmagl): Likewise.
7250         (fminmag): Likewise.
7251         (fminmagf): Likewise.
7252         (fminmagl): Likewise.
7253         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
7254         * math/s_fmaxmag_template.c: New file.
7255         * math/s_fminmag_template.c: Likewise.
7256         * math/libm-test.inc (fmaxmag_test_data): New array.
7257         (fmaxmag_test): New function.
7258         (fminmag_test_data): New array.
7259         (fminmag_test): New function.
7260         (main): Call fmaxmag_test and fminmag_test.
7261         * math/test-tgmath.c (NCALLS): Increase to 132.
7262         (F(compile_test)): Call fmaxmag and fminmag.
7263         (F(fminmag)): New function.
7264         (F(fmaxmag)): Likewise.
7265         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
7266         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
7267         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
7268         fminmag.
7269         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
7270         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
7271         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
7272         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
7273         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
7274         and fminmag.
7275         (CFLAGS-nldbl-fmaxmag.c): New variable.
7276         (CFLAGS-nldbl-fminmag.c): Likewise.
7277         * sysdeps/nacl/libm.abilist: Update.
7278         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7279         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7280         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7283         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7284         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7285         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7286         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7287         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7288         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7289         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7291         Likewise.
7292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7293         Likewise.
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7295         Likewise.
7296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7297         Likewise.
7298         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7299         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7300         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7301         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7302         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7304         Likewise.
7305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7306         Likewise.
7307         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7308         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7309         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7311 2016-12-19  Torvald Riegel  <triegel@redhat.com>
7313         [BZ #20973]
7314         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
7315         wake-up in robust mutexes.
7316         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7318 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7320         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
7321         (CFLAGS-bench-fmaxf.c): New rule.
7322         (CFLAGS-bench-fminf.c): Likewise.
7323         * benchtests/fmaxf-inputs: New file.
7324         * benchtests/fminf-inputs: Likewise.
7326         * benchtests/Makefile (bench-math): Add fmin and fmax.
7327         (CFLAGS-bench-fmax.c): New rule.
7328         (CFLAGS-bench-fmin.c): Likewise.
7329         * benchtests/fmax-inputs: New file.
7330         * benchtests/fmin-inputs: Likewise.
7332         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
7333         parenthesis.
7334         (CMDLINE_PROCESS): Define using function instead of macro.
7335         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
7336         of test-skeleton.
7337         * benchtests/bench-memchr.c: Likewise.
7338         * benchtests/bench-memcmp.c: Likewise.
7339         * benchtests/bench-memcpy-large.c: Likewise.
7340         * benchtests/bench-memcpy.c: Likewise.
7341         * benchtests/bench-memmem.c: Likewise.
7342         * benchtests/bench-memmove-large.c: Likewise.
7343         * benchtests/bench-memmove.c: Likewise.
7344         * benchtests/bench-memset-large.c: Likewise.
7345         * benchtests/bench-memset.c: Likewise.
7346         * benchtests/bench-rawmemchr.c: Likewise.
7347         * benchtests/bench-strcasecmp.c: Likewise.
7348         * benchtests/bench-strcasestr.c: Likewise.
7349         * benchtests/bench-strcat.c: Likewise.
7350         * benchtests/bench-strchr.c: Likewise.
7351         * benchtests/bench-strcmp.c: Likewise.
7352         * benchtests/bench-strcpy.c: Likewise.
7353         * benchtests/bench-strcpy_chk.c: Likewise.
7354         * benchtests/bench-strlen.c: Likewise.
7355         * benchtests/bench-strncasecmp.c: Likewise.
7356         * benchtests/bench-strncmp.c: Likewise.
7357         * benchtests/bench-strncpy.c: Likewise.
7358         * benchtests/bench-strnlen.c: Likewise.
7359         * benchtests/bench-strpbrk.c: Likewise.
7360         * benchtests/bench-strrchr.c: Likewise.
7361         * benchtests/bench-strsep.c: Likewise.
7362         * benchtests/bench-strspn.c: Likewise.
7363         * benchtests/bench-strstr.c: Likewise.
7364         * benchtests/bench-strtok.c: Likewise.
7366 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7368         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
7369         stepping identification.
7370         (init_cpu_features): Add handle of Haswell.
7372 2016-11-25  Jim Meyering  <meyering@fb.com>
7374         [BZ #20386]
7375         Let gcc detect assert(a = 1) errors.
7376         * assert/assert.h (assert): Rewrite, retaining the old definintion
7377         when required, but otherwise putting the expression as-is in an "if"
7378         expression (hence, with no added parentheses) within a statement
7379         expression.
7381 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7383         * benchtests/Makefile (binaries-benchset): Depend on libsupport
7384         DSO.
7386 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
7388         * Rules (python-flags, python-invoke): New.
7389         ($(test-printers-out)): Use $(python-flags).
7391 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7393         * manual/arith.texi (Math Error Reporting): Document that sNaN
7394         arguments are not considered domain errors.
7396 2016-12-16  Zack Weinberg <zackw@panix.com>
7397             Florian Weimer <fweimer@redhat.com>
7398             Nick Mathewson <nickm@torproject.org>
7400         * string/explicit_bzero.c: New routine.
7401         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
7402         * string/Makefile (routines, strop-tests, tests): Add them.
7403         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
7404         * string/string.h [__USE_MISC]: Declare explicit_bzero.
7406         * debug/explicit_bzero_chk.c: New routine.
7407         * debug/Makefile (routines): Add it.
7408         * debug/tst-chk1.c: Test fortification of explicit_bzero.
7409         * string/bits/string3.h: Fortify explicit_bzero.
7411         * manual/string.texi: Document explicit_bzero.
7412         * NEWS: Mention addition of explicit_bzero.
7414         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
7415         data before returning, using explicit_bzero.
7416         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
7417         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7418         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7420         * include/string.h: Redirect internal uses of explicit_bzero
7421         to __explicit_bzero_chk[_internal].
7422         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
7423         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
7424         * sysdeps/arm/nacl/libc.abilist
7425         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7426         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7427         * sysdeps/unix/sysv/linux/arm/libc.abilist
7428         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7429         * sysdeps/unix/sysv/linux/i386/libc.abilist
7430         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7431         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7432         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7433         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7434         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7435         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7436         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7437         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7438         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7443         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7444         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7445         * sysdeps/unix/sysv/linux/sh/libc.abilist
7446         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7447         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7450         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7451         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7452         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7453         Add entries for explicit_bzero and __explicit_bzero_chk.
7455 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7457         * math/fenv.h
7458         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
7459         (FE_SNANS_ALWAYS_SIGNAL): New macro.
7460         * math/test-fe-snans-always-signal.c: New file.
7461         * math/Makefile (tests): Add test-fe-snans-always-signal.
7462         (CFLAGS-test-fe-snans-always-signal.c): New variable.
7463         * manual/arith.texi (Infinity and NaN): Document
7464         FE_SNANS_ALWAYS_SIGNAL.
7466 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7468         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
7469         bracket.
7471 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7473         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
7474         before calling execv.
7476 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7478         [BZ #20971]
7479         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
7480         overflow in pointer addition.
7481         * string/test-memchr.c (do_test): Add an argument to pass as
7482         the size on memchr.
7483         (test_main): Add check for SIZE_MAX.
7485 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7487         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
7488         (libm-calls): Add w_scalblnF.
7489         * math/w_scalbln.c: Remove.
7490         * math/w_scalblnf.c: Likewise.
7491         * math/w_scalblnl.c: Likewise.
7492         * math/w_scalbln_template.c: New file with type-generic
7493         implementation based on math/w_scalbln.c.
7494         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
7495         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
7497 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7499         [BZ #20947]
7500         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
7501         either is a signaling NaN.
7502         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
7503         follow fmaxl more closely.
7504         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
7505         when either is a signaling NaN.
7506         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
7507         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
7508         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
7509         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
7510         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
7511         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
7512         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
7513         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
7514         (fmin_test_data): Likewise.
7516 2016-12-15  Andreas Schwab  <schwab@suse.de>
7518         * support/support_test_main.c (support_test_main): Don't shadow
7519         file-local variable test_pid.
7521 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7523         [BZ #20947]
7524         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
7525         either is a signaling NaN.
7526         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
7528 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7530         [BZ #20947]
7531         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
7532         when either is a signaling NaN.
7533         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
7535         * bits/long-double.h: New file.
7536         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
7537         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
7538         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
7539         * sysdeps/mips/bits/long-double.h: Likewise.
7540         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
7541         * math/Makefile (headers): Add bits/long-double.h.
7542         * misc/sys/cdefs.h: Include <bits/long-double.h>.
7543         * stdlib/strtold.c: Include <bits/long-double.h> instead of
7544         <bits/wordsize.h>.
7545         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
7546         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
7547         * math/math.h: Do not include <bits/mathdef.h>.
7548         * sysdeps/aarch64/bits/mathdef.h: Remove file.
7549         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
7550         inclusion.
7551         * sysdeps/ia64/bits/mathdef.h: Remove file.
7552         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
7553         * sysdeps/mips/bits/mathdef.h: Likewise.
7554         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7555         * sysdeps/s390/bits/mathdef.h: Likewise.
7556         * sysdeps/sparc/bits/mathdef.h: Likewise.
7557         * sysdeps/x86/bits/mathdef.h: Likewise.
7558         * sysdeps/s390/s390-32/bits/wordsize.h
7559         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
7560         conditional code.
7561         * sysdeps/s390/s390-64/bits/wordsize.h
7562         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7563         Likewise.
7564         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
7565         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7566         Likewise.
7567         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
7568         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7569         Likewise.
7570         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7571         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7572         Likewise.
7574         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
7575         <linux/falloc.h>.
7576         (FALLOC_FL_KEEP_SIZE): Remove.
7577         (FALLOC_FL_PUNCH_HOLE): Likewise.
7578         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
7579         (FALLOC_FL_ZERO_RANGE): Likewise.
7581 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7583         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
7585 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7587         * sysdeps/unix/sysv/linux/renameat.c: New file.
7588         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
7590         * sysdeps/unix/sysv/linux/rename.c: New file.
7591         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
7593 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7595         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
7596         * string/strtok.c (strtok): Change to tailcall __strtok_r.
7597         * string/strtok_r.c (__strtok_r): Optimize for performance.
7598         * string/string-inlines.c (__old_strtok_r_1c): New function.
7599         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
7601 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7603         * math/Makefile (gen-libm-calls): Add w_log1pF.
7604         (libm-calls): Remove w_log1pF.
7605         * math/w_log1p.c: Remove.
7606         * math/w_log1pf.c: Likewise.
7607         * math/w_log1pl.c: Likewise.
7608         * math/w_log1p_template.c: New file with type-generic
7609         implementation based on math/w_log1p.c.
7610         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7611         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7613 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7615         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7617 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7619         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7620         kernel version to 4.9.
7622 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7624         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7625         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7627 2016-12-13  Andreas Schwab  <schwab@suse.de>
7629         * sysdeps/powerpc/dl-procinfo.c: Don't define
7630         _dl_powerpc_platforms.
7631         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7632         constants instead of referencing _dl_powerpc_platforms.
7633         (_dl_platform_string): Remove.
7635 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7637         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7639 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7641         * Rules (binaries-shared-tests, binaries-pie-tests)
7642         (binaries-static-tests): Link with $(link-extra-libs-tests).
7643         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7644         Remove $(link-extra-libs-tests).
7646 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7648         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7649         (sysdep_routines): Add strncmp_power9.
7650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7651         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7652         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7653         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7654         (strncmp): Add __strncmp_power9 to ifunc list.
7655         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7657 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7659         [BZ #17252]
7660         Add getentropy, getrandom.
7661         * stdlib/sys/random.h: New file.
7662         (headers): Add it.
7663         * stdlib/Makefile (routines): Add getentropy, getrandom.
7664         (tests): Add tst-getrandom.
7665         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7666         * stdlib/getentropy.c: New file.
7667         * stdlib/getrandom.c: Likewise.
7668         * stdlib/tst-getrandom.c: Likewise.
7669         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7670         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7671         * manual/crypt.texi (Unpredictable Bytes): New section.
7672         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7673         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7674         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7675         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7676         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7677         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7678         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7679         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7680         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7681         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7682         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7683         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7684         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7685         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7686         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7687         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7689         Likewise.
7690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7691         Likewise.
7692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7694         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7695         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7696         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7697         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7698         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7701         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7702         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7703         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7705 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7707         [BZ #20956]
7708         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7709         as additional compiler barriers.
7710         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7711         (fn2, do_test): Declare with external linkage.
7712         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7713         (do_test): Declare with external linkage.
7714         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7715         (do_test): Declare with external linkage.
7716         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7717         (do_test): Declare with external linkage.
7719 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7721         * support/support_test_main.c (support_test_main): Use correct
7722         timeout.
7724 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7725             Florian Weimer  <fweimer@redhat.com>
7727         [BZ #16421]
7728         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7729         and __u6_addr32 members.
7730         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7731         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7732         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7733         Use __u6_addr32.
7734         * inet/tst-checks.c: Use <support/test-driver.c>
7735         * inet/tst-checks-posix.c: New file.
7736         * inet/Makefile (tests): Add it.
7737         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7739 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7741         New subdirectory support for build and test infrastructure.
7742         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7743         setting install-lib.
7744         * Makeconfig (link-extra-libs-tests): Define.
7745         (+link-pie-tests, +link-static-tests, +link-tests): Use
7746         link-extra-libs-tests.
7747         (rpath-dirs, all-subdirs): Add support.
7748         (built-modules): Add libsupport.
7749         (libsupport): Define.
7750         * support: New directory.
7751         * support/Makefile: New file.
7752         * support/check.c: Likewise.
7753         * support/check.h: Likewise.
7754         * support/delayed_exit.c: Likewise.
7755         * support/ignore_stderr.c: Likewise.
7756         * support/oom_error.c: Likewise.
7757         * support/set_fortify_handler.c: Likewise.
7758         * support/support.h: Likewise.
7759         * support/temp_file-internal.h: Likewise.
7760         * support/temp_file.c: Likewise.
7761         * support/test-driver.c: Likewise.
7762         * support/test-driver.h: Likewise.
7763         * support/test_main.c: Likewise.
7764         * support/write_message.c: Likewise.
7765         * support/xasprintf.c: Likewise.
7766         * support/xcalloc.c: Likewise.
7767         * support/xmalloc.c: Likewise.
7768         * support/xpthread_barrier_destroy.c: Likewise.
7769         * support/xpthread_barrier_init.c: Likewise.
7770         * support/xpthread_barrier_wait.c: Likewise.
7771         * support/xpthread_cancel.c: Likewise.
7772         * support/xpthread_check_return.c: Likewise.
7773         * support/xpthread_cond_wait.c: Likewise.
7774         * support/xpthread_create.c: Likewise.
7775         * support/xpthread_detach.c: Likewise.
7776         * support/xpthread_join.c: Likewise.
7777         * support/xpthread_mutex_lock.c: Likewise.
7778         * support/xpthread_mutex_unlock.c: Likewise.
7779         * support/xpthread_sigmask.c: Likewise.
7780         * support/xpthread_spin_lock.c: Likewise.
7781         * support/xpthread_spin_unlock.c: Likewise.
7782         * support/xrealloc.c: Likewise.
7783         * support/xsignal.h: Likewise.
7784         * support/xthread.h: Likewise.
7785         * support_tempfile.h: Likewise.
7786         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7787         (TEST_DATA_LIMIT): Remove unused macro.
7788         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7789         <support/check.h>.
7790         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7791         (ignore_stderr, set_fortify_handler): Remove.  Now in
7792         <support/support.h>.
7793         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7794         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7795         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7796         (xpthread_join): Remove.  Now in <support/xthread.h>.
7797         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7798         Introduce legacy wrappers.
7799         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7800         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7801         (write_message): Remove.
7802         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7803         test-skeleton.c.
7804         * io/test-open-tmpfile: Likewise.
7805         * io/tst-posix_fallocate-common.c: Likewise.
7806         * libio/tst-fseek.c: Likewise.
7807         * malloc/tst-malloc-backtrace.c: Likewise.
7808         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7809         * malloc/tst-malloc-thread-exit.c: Likewise.
7810         * nptl/tst-cancel7.c: Likewise.
7811         * nptl/tst-cleanup0.c: Likewise.
7812         * posix/tst-posix_fadvise-common.c: Likewise.
7813         * rt/tst-shm.c: Likewise.
7814         * time/bug-getdate1.c: Likewise.
7815         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7816         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7817         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7819 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7821         * Rules [$(run-built-tests) != no] (tests-expected): Add
7822         $(tests-printers).
7823         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7825 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7827         [BZ #20539]
7828         * math/Makefile (install-lib-ldscripts): Add libm.a.
7829         (install_subdir): Remove.
7830         (install-others): Add.
7831         ($(inst_libdir)/libm.a): Add rule for installation as
7832         linker script.
7833         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7835 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7837         * INSTALL: Regenerated.
7838         * Makeconfig: Add comments and whitespace to make the control flow
7839         clearer.
7840         (+link-printers-tests, +link-pie-printers-tests,
7841         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7842         built-rtld-LDFLAGS, link-libc-rpath,
7843         link-libc-tests-after-rpath-link,
7844         link-libc-printers-tests): New.
7845         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7846         link-libc-tests): Use the new variables as required.
7847         * Makerules ($(py-const)): New rule.
7848         generated: Add $(py-const).
7849         * README.pretty-printers: New file.
7850         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7851         (others): Depend on $(py-const).
7852         (tests): Depend on $(tests-printers-programs) or
7853         $(tests-printers-out),
7854         as required.  Pass $(tests-printers) to merge-test-results.sh.
7855         * manual/install.texi: Add requirements for testing the pretty
7856         printers.
7857         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7858         tests-printers, CFLAGS-test-mutexattr-printers.c
7859         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7860         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7861         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7862         * nptl/nptl-printers.py: New file.
7863         * nptl/nptl_lock_constants.pysym: Likewise.
7864         * nptl/test-cond-printers.c: Likewise.
7865         * nptl/test-cond-printers.py: Likewise.
7866         * nptl/test-condattr-printers.c: Likewise.
7867         * nptl/test-condattr-printers.py: Likewise.
7868         * nptl/test-mutex-printers.c: Likewise.
7869         * nptl/test-mutex-printers.py: Likewise.
7870         * nptl/test-mutexattr-printers.c: Likewise.
7871         * nptl/test-mutexattr-printers.py: Likewise.
7872         * nptl/test-rwlock-printers.c: Likewise.
7873         * nptl/test-rwlock-printers.py: Likewise.
7874         * nptl/test-rwlockattr-printers.c: Likewise.
7875         * nptl/test-rwlockattr-printers.py: Likewise.
7876         * scripts/gen-py-const.awk: Likewise.
7877         * scripts/test_printers_common.py: Likewise.
7878         * scripts/test_printers_exceptions.py: Likewise.
7880 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7882         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7883         argument.
7884         (Glibc.build_glibc): Strip installed shared libraries if
7885         requested.
7886         (get_parser): Add --strip option.
7887         (main): Update Context call.
7889 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7890             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7892         [BZ #20847]
7893         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7894         array bounds for else branch.
7895         (__execvpe): Style fixes.
7896         * posix/tst-vfork3.c (run_script): New function.
7897         (create_script): Likewise.
7898         (do_test): Use run_script internal function.
7899         (do_prepare): Use create_script internal function.
7901 2016-12-07  Andreas Schwab  <schwab@suse.de>
7903         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7904         (__elision_available): Don't declare.
7905         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7906         (__elision_available): Don't define.
7907         (elision_init): Don't set __elision_available.
7909 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7911         [BZ #20940]
7912         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7913         return Inf for arguments Inf and sNaN.
7914         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7915         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7916         Likewise.
7917         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7918         Likewise.
7919         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7920         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7921         for arguments Inf and sNaN.  When returning a NaN, compute it by
7922         arithmetic on the arguments.
7923         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7924         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7925         arguments.
7927 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7929         [BZ #20916]
7930         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7931         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7932         to compute result.
7933         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7934         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7936 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7938         * include/atomic.h (__atomic_check_size_ls): New.
7939         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7940         atomic_store_release): Use it.
7941         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7942         (elision_adapt, ELIDE_LOCK): Use atomics.
7943         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7944         atomics and improve code comments.
7945         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7946         (__lll_trylock_elision): Likewise.
7948 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7950         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7951         programs.
7953 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7955         [BZ #20916]
7956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7957         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7958         arguments to compute result.
7959         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7960         1 for arguments (sNaN, 0) or (1, sNaN).
7961         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7962         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7964         [BZ #20919]
7965         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7966         NaN first argument when raised to power 0.
7967         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7968         raising to power zero.
7969         * math/w_powf.c (__powf): Likewise.
7970         * math/w_powl.c (__powl): Likewise.
7971         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7972         pow (0, 0) or pow (NaN, 0).
7974 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7976         [BZ #20918]
7977         * configure.ac: Test for static NSS cryptographic libraries and set
7978         libc_cv_static_nss_crypt.
7979         * configure: Regenerate.
7980         * config.make.in (static-nss-crypt): Define.
7981         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7982         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7983         (CFLAGS-tst-linkall-static.c): Define.
7984         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7985         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7986         ($(objpfx)tst-linkall-static): Define.
7987         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7988         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7990 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7992         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7993         (one-hundred, tst-tls-many-dynamic-modules): Define.
7994         (modules-names): Add $(tst-tls-many-dynamic-modules).
7995         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7996         macros.
7997         (tst-tls-manydynamic): Link against libdl, libpthread.
7998         (tst-tls-manydynamic.out): The test needs the test modules at run
7999         time.
8000         * elf/tst-tls-manydynamic.c: New file.
8001         * elf/tst-tls-manydynamic.h: Likewise.
8002         * elf/tst-tls-manydynamicmod.c: Likewise.
8004 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8006         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
8007         (TLS_DTV_UNALLOCATED): Add.
8008         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
8009         offsets.
8011 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8013         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8015 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8017         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
8018         Add -fno-optimize-sibling-calls.
8020 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
8022         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
8023         New declaration.
8024         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
8025         macro.
8026         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
8027         New macro.
8028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
8029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
8030         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
8031         (llogbf): Likewise.
8032         (llogbl): Likewise.
8033         * math/Makefile (gen-libm-calls): Add w_llogbF.
8034         (tests): Add test-fp-llogb-constants.
8035         * math/w_llogb_template.c: New file.  Based on
8036         math/w_ilogb_template.c.
8037         * math/libm-test.inc (llogb_test_data): New array.
8038         (llogb_test): New function.
8039         (main): Call llogb_test.
8040         * math/test-fp-llogb-constants.c: New file.  Based on
8041         math/test-fp-ilogb-constants.c.
8042         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
8043         (do_test): Call check_return_llogb.
8044         * math/test-tgmath.c (NCALLS): Increase to 126.
8045         (F(compile_test)): Call llogb.
8046         (F(llogb)): New function.
8047         * manual/math.texi (Exponents and Logarithms): Document llogb,
8048         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
8049         * manual/libm-err-tab.pl (@all_functions): Add llogb.
8050         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
8051         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
8052         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
8053         (CFLAGS-nldbl-llogb.c): New variable.
8054         * sysdeps/nacl/libm.abilist: Update.
8055         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8056         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8057         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8058         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8059         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8060         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8061         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8062         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8063         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8064         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8065         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8066         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8068         Likewise.
8069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8070         Likewise.
8071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8072         Likewise.
8073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8074         Likewise.
8075         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8076         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8077         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8078         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8079         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8081         Likewise.
8082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8083         Likewise.
8084         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8085         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8086         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8088 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8090         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
8091         _Float128 instead of long double.
8092         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
8094         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
8095         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
8096         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
8097         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
8098         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
8099         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
8100         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
8101         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
8102         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
8103         Likewise.
8105 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8107         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
8108         Remove redirection to __strrchr_ppc.
8110 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8112         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8113         (sysdep_routines): Add strcmp_power9.
8114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8115         (strcmp): Add __strcmp_power9 to list of strcmp functions.
8116         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
8117         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8118         (strcmp): Add __strcmp_power9 to ifunc list.
8119         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
8121 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8123         * bits/fp-logb.h: New file.
8124         * sysdeps/ia64/bits/fp-logb.h: Likewise.
8125         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
8126         * sysdeps/x86/bits/fp-logb.h: Likewise.
8127         * math/Makefile (headers): Add bits/fp-logb.h.
8128         * math/math.h: Include <bits/fp-logb.h>.
8129         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
8130         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
8131         * bits/mathdef.h (FP_ILOGB0): Remove.
8132         (FP_ILOGBNAN): Likewise.
8133         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
8134         (FP_ILOGBNAN): Likewise.
8135         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
8136         (FP_ILOGBNAN): Likewise.
8137         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
8138         (FP_ILOGBNAN): Likewise.
8139         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
8140         (FP_ILOGBNAN): Likewise.
8141         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
8142         (FP_ILOGBNAN): Likewise.
8143         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
8144         (FP_ILOGBNAN): Likewise.
8145         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
8146         (FP_ILOGBNAN): Likewise.
8147         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
8148         (FP_ILOGBNAN): Likewise.
8149         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
8150         (FP_ILOGBNAN): Likewise.
8152         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
8153         time module.
8154         (Context.__init__): Initialize self.logsdir_old.
8155         (Context.run_builds): Handle bot action.
8156         (Context.bot_cycle): Copy logs directory before running builds.
8157         (Context.bot_run_self): Take argument for whether to check
8158         subprocess result.  Flush stdout before running subprocess.
8159         (Context.bot): New function.
8160         (get_parser): Allow bot action.
8162 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
8164         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
8165         Import email.mime.text, email.utils and smtplib modules.
8166         (Context.__init__): Initialize self.bot_config_json.
8167         (Context.run_builds): Handle bot-cycle action.
8168         (Context.load_bot_config_json): New function.
8169         (Context.part_build_old): Likewise.
8170         (Context.bot_cycle): Likewise.
8171         (Context.bot_build_mail): Likewise.
8172         (Context.bot_run_self): Likewise.
8173         (get_parser): Allow bot-cycle action.
8175 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8177         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
8178         Remove redirection to __stpcpy_ppc.
8180 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8182         Remove __libc_memalign from ld.so because it is unused.
8183         * elf/dl-minimal.c: Update comment on the malloc implementation.
8184         (malloc): Renamed from __libc_memalign, replacing the original
8185         malloc implementation.  Replace the align parameter with
8186         MALLOC_ALIGNMENT.
8187         * elf/Versions (ld): Update comment and remove __libc_memalign.
8188         * sysdeps/nacl/ld.abilist: Likewise.
8189         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8190         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8191         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8192         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8193         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8194         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8195         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8196         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8197         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8198         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8199         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8200         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8201         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8205         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8206         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8207         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8208         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8209         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
8211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
8212         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
8213         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8214         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8215         * sysdeps/generic/localplt.data (ld.so): Likewise.
8216         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8217         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8218         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8219         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8220         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8221         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8222         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8223         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
8224         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8226         (ld.so): Likewise.
8227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8228         (ld.so): Likewise.
8229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8230         Likewise.
8231         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8232         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8233         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
8234         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
8235         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8237 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8239         [BZ #16628]
8240         Implement _dl_catch_error, _dl_signal_error in libc.so.
8241         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
8242         (catch_hook): Define as thread-local or regular variable,
8243         depending on DL_ERROR_BOOTSTRAP.
8244         (CATCH_HOOK): Remove.
8245         (dl_signal_error, _dl_catch_error): Use
8246         catch_hook.  Add hidden definition for libc.
8247         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
8248         for DL_ERROR_BOOTSTRAP only.
8249         * elf/dl-error.c: New file.
8250         * elf/dl-error-minimal.c: Likewise.
8251         * elf/tst-latepthread.c: Likewise.
8252         * elf/tst-latepthreadmod.c: Likewise.
8253         * elf/Makefile (routines): Add dl-error.
8254         (dl-routines): Remove dl-error.
8255         (rtld-routines): Add dl-error-minimal.
8256         [build-shared] (tests): Add tst-latepthread.
8257         (module-names): Add tst-latepthreadmod.
8258         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
8259         symbol.
8260         (tst-latepthreadmod.so): Link against libpthread.
8261         (tst-latepthread): Link against libdbl.
8262         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
8263         _dl_catch_error.
8264         [ld] (GLIBC_PRIVATE): Likewise.
8265         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
8266         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
8267         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
8268         directly.
8269         * elf/dl-tsd.c: Remove file.
8270         * elf/rtld.c (_rtld_global_ro): Remove initializers for
8271         _dl_catch_error, _dl_signal_error.
8272         (_dl_initial_error_catch_tsd): Remove definition.
8273         (do_preload): Remove initialization of dl_error_catch_tsd.
8274         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
8275         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
8276         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8277         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8278         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
8279         set dl_error_catch_tsd.
8280         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
8281         _dl_error_catch_tsd member.
8282         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
8283         members.
8284         (_dl_initial_error_catch_tsd): Remove declaration.
8285         (_dl_dprintf): Provide definition for use outside of ld.so.
8286         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
8287         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
8288         prototype for libc.
8289         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
8290         _dl_catch_error.
8291         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8292         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8293         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8294         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8295         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8296         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8297         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8298         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8299         Likewise.
8300         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8302         (ld.so): Likewise.
8303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8304         (ld.so): Likewise.
8305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8306         Likewise.
8307         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8308         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8309         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
8310         Likewise.
8311         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
8312         Likewise.
8313         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8315 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8317         [BZ #4099]
8318         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
8319         _IO_BUFSIZ (8192).
8321 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
8323         * PROJECTS: Remove file.
8325 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8327         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
8329 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
8330             Steve Ellcey  <sellcey@caviumnetworks.com>
8332         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
8333         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
8334         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
8335         fxstatat.
8336         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
8337         lxstat.
8338         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
8339         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
8340         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
8341         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
8342         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
8343         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
8344         __xstat.
8346 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8348         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
8349         Define.
8350         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
8351         definition.
8353 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8355         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
8356         version and turn into strong alias.  Remove compat symbol.
8358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8359         (__longjmp): Remove.
8361 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
8363         * bits/fp-fast.h: New file.
8364         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
8365         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
8366         * math/Makefile (headers): Add bits/fp-fast.h.
8367         * math/math.h: Include <bits/fp-fast.h>.
8368         * bits/mathdef.h (FP_FAST_FMA): Remove.
8369         (FP_FAST_FMAF): Likewise.
8370         (FP_FAST_FMAL): Likewise.
8371         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
8372         (FP_FAST_FMAF): Likewise.
8373         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
8374         (FP_FAST_FMAF): Likewise.
8375         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
8376         (FP_FAST_FMAF): Likewise.
8377         (FP_FAST_FMAL): Likewise.
8378         * sysdeps/arm/bits/mathdef.h: Remove file.
8379         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
8380         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8381         * sysdeps/tile/bits/mathdef.h: Likewise.
8383 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8385         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
8386         * math/w_ilogb.c: Remove.
8387         * math/w_ilogbf.c: Likewise.
8388         * math/w_ilogbl.c: Likewise.
8389         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
8390         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
8391         * math/Makefile (gen-libm-calls): Add w_ilogbF.
8392         (libm-calls): Remove w_ilogbF.
8393         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
8394         (LDOUBLE_ilogbl_libm_version): New macro.
8396         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
8398         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
8399         [!__STRICT_ANSI__ && !__cplusplus].
8401 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8403         [BZ #20750]
8404         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
8405         of PIC.
8407 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8408             Yury Norov  <ynorov@caviumnetworks.com>
8409             Steve Ellcey  <sellcey@caviumnetworks.com>
8411         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
8412         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
8413         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
8414         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
8415         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
8416         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
8417         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
8418         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
8419         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
8420         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
8421         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
8422         to get correct reg name for ILP32.
8423         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
8424         (RELA_SIZE): New Macro.
8425         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
8426         to support ILP32.
8427         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
8428         cast for ILP32 mode.
8429         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
8430         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
8431         * sysdeps/aarch64/memset.S (__memset): Ditto.
8432         * sysdeps/aarch64/strchr.S (strchr): Ditto.
8433         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
8434         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
8435         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
8436         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
8437         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
8438         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
8439         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
8440         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
8441         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
8442         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
8443         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
8444         change PTR_MANGLE call to use register numbers instead of names.
8445         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
8446         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
8447         ILP32 mode, change PTR_MANGLE calls to use register numbers.
8448         * sysdeps/aarch64/start.S (_start): Ditto.
8449         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
8450         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
8451         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
8452         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
8453         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
8454         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
8455         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
8456         Make defined values dependent on __ILP32__.
8457         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
8458         (sem_t): Change __align type.
8459         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
8460         PTR_SIZE): New Macros.
8461         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
8462         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
8463         Set when in ILP32 mode.
8464         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
8465         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
8466         Set elf flags for ILP32.
8467         (add_system_dir): Set ILP32 library directories.
8468         * sysdeps/unix/sysv/linux/aarch64/init-first.c
8469         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
8470         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
8471         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
8472         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
8473         New Macros.
8474         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
8476 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
8478         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
8479         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
8480         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
8482 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8484         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
8485         <asm/cachectl.h>.
8487 2016-11-27  Zack Weinberg  <zackw@panix.com>
8489         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
8490         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
8492 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8494         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
8495         error_t to fix usage in C++ programs.
8497 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
8499         * scripts/build-many-glibcs.py: Import datetime module.
8500         (Context.__init__): Load JSON build state.  Initialize list of
8501         status logs.
8502         (Context.run_builds): Update saved build state.
8503         (Context.add_makefile_cmdlist): Update list of status logs.
8504         (Context.load_build_state_json): New function.
8505         (Context.store_build_state_json): Likewise.
8506         (Context.clear_last_build_state): Likewise.
8507         (Context.update_build_state): Likewise.
8508         (CommandList.status_logs): Likewise.
8510 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
8512         * scripts/build-many-glibcs.py (Context.__init__): Save text of
8513         script being executed.
8514         (Context.get_script_text): New function.
8515         (Context.exec_self): Likewise.
8516         (Context.checkout): Re-exec script if changed by checkout process.
8518 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8520         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8521         (setpayloadsig): New declaration.
8522         * math/Versions (setpayloadsig): New libm symbol at version
8523         GLIBC_2.25.
8524         (setpayloadsigf): Likewise.
8525         (setpayloadsigl): Likewise.
8526         * math/Makefile (libm-calls): Add s_setpayloadsigF.
8527         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
8528         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
8529         (setpayloadsig_test_data): New array.
8530         (setpayloadsig_test): New function.
8531         (main): Call setpayloadsig_test.
8532         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
8533         setpayloadsigf and setpayloadsigl.
8534         * manual/libm-err-tab.pl: Update comment on interfaces without
8535         ulps tabulated.
8536         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
8537         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
8538         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
8539         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
8540         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
8541         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
8542         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8543         setpayloadsig.
8544         (CFLAGS-nldbl-setpayloadsig.c): New variable.
8545         * sysdeps/nacl/libm.abilist: Update.
8546         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8547         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8548         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8549         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8550         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8551         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8552         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8553         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8554         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8555         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8556         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8557         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8559         Likewise.
8560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8561         Likewise.
8562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8563         Likewise.
8564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8565         Likewise.
8566         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8567         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8568         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8569         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8570         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8572         Likewise.
8573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8574         Likewise.
8575         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8576         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8577         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8579         * scripts/build-many-glibcs.py: Import json module.
8580         (Context.__init__): Take replace_sources argument.  Load
8581         versions.json.
8582         (Context.load_versions_json): New function.
8583         (Context.store_json): Likewise.
8584         (Context.store_versions_json): Likewise.
8585         (Context.set_component_version): Likewise.
8586         (Context.checkout): Update versions.json.  Check for and handle
8587         changes of version.  Prefer previously explicitly specified
8588         version to default version.
8589         (Context.checkout_vcs): Return a revision identifier.
8590         (Context.git_checkout): Likewise.
8591         (Context.gcc_checkout): Likewise.
8592         (get_parser): Add --replace-sources option.
8593         (main): Pass replace_sources argument to Context call.
8595 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8597         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
8598         * nptl/allocatestack.c (allocate_stack): Likewise.
8599         (__reclaim_stacks): Likewise.
8600         (setxid_signal_thread): Obtain pid through syscall.
8601         * nptl/nptl-init.c (sigcancel_handler): Likewise.
8602         (sighandle_setxid): Likewise.
8603         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8604         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8605         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8606         Likewise.
8607         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8608         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8609         comment.
8610         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8611         * nptl/descr.h (struct pthread): Change comment about pid value.
8612         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8613         pid assert.
8614         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8615         Do not set pid value.
8616         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8617         pid cache check.
8618         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8619         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8620         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8621         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8622         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8623         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8624         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8625         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8626         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8627         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8628         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8629         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8630         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8631         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8632         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8633         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8634         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8635         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8636         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8637         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8638         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8639         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8640         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8641         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8642         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8645         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8646         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8647         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8648         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8649         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8650         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8651         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8652         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8653         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8654         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8655         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8656         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8657         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8658         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8659         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8660         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8663         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8664         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8665         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8666         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8667         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8668         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8669         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8670         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8671         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8672         struct access.
8673         (clone_test): Remove function.
8674         (do_test): Rewrite to take in consideration pid is not cached anymore.
8676 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8678         * bits/flt-eval-method.h: New file.
8679         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8680         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8681         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8682         * math/Makefile (headers): Add bits/flt-eval-method.h.
8683         * math/math.h: Include <bits/flt-eval-method.h>.
8684         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8685         [__USE_ISOC99] (double_t): Likewise.
8686         * bits/mathdef.h (float_t): Remove.
8687         (double_t): Likewise.
8688         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8689         (double_t): Likewise.
8690         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8691         (double_t): Likewise.
8692         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8693         (double_t): Likewise.
8694         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8695         (double_t): Likewise.
8696         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8697         (double_t): Likewise.
8698         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8699         (double_t): Likewise.
8700         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8701         (double_t): Likewise.
8702         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8703         (double_t): Likewise.
8704         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8705         (double_t): Likewise.
8706         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8707         (double_t): Likewise.
8708         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8709         (double_t): Likewise.
8710         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8711         (double_t): Likewise.
8712         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8713         (double_t): Likewise.
8715 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8717         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8718         instead of PIC.
8720 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8722         [BZ #20859]
8723         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8724         (-0x7fffffff) instead of 0x80000001.
8725         * math/test-fp-ilogb-constants.c: New file.
8726         * math/Makefile (tests): Add test-fp-ilogb-constants.
8728 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8730         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8731         (_init): Use it in place of hardcoded R_MIPS_JALR.
8732         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8733         (_init): Use it in place of hardcoded R_MIPS_JALR.
8734         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8735         (_init): Use it in place of hardcoded R_MIPS_JALR.
8737 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8739         [BZ #20787]
8740         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8741         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8742         (double_t): Do not define to double if [__x86_64__] when
8743         __FLT_EVAL_METHOD__ is nonzero.
8744         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8745         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8746         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8747         test-flt-eval-method-387 and test-flt-eval-method-sse.
8748         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8749         variable.
8750         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8752 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8754         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8755         use of -fno-isolate-erroneous-paths options for tilepro.
8757 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8759         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8760         structure initialization is no longer needed.
8762 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8764         [BZ #20855]
8765         * bits/mathdef.h (float_t): Define to float.
8766         * math/test-flt-eval-method.c: New file.
8767         * math/Makefile (tests): Add test-flt-eval-method.
8768         (CFLAGS-test-flt-eval-method.c): New variable.
8770 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8772         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8773         and __fstatfs.  Make them aliases of __fstatfs64 if
8774         STATFS_IS_STATFS64 is set to non-zero.
8775         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8776         and __statfs64.
8777         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8778         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8779         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8780         for __statfs and statfs.
8781         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8782         to 0.
8783         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8784         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8785         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8786         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8787         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8788         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8791         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8792         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8793         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8794         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8796 2016-11-22  Andreas Schwab  <schwab@suse.de>
8798         * misc/mkstemp.c: Include <fcntl.h>.
8799         * misc/mkstemps.c: Likewise.
8800         * misc/mkostemp.c: Likewise.
8801         * misc/mkostemps.c: Likewise.
8803 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8805         [BZ #20847]
8806         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8807         array bounds.
8808         (__execvpe): Likewise.
8810 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8812         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8813         -fno-isolate-erroneous-paths options for tilepro.
8815 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8817         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8818         to 0 when in 32 bit mode.
8819         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8820         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8821         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8822         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8824         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8825         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8826         XSTAT_IS_XSTAT64 test.
8827         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8828         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8829         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8830         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8831         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8832         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8833         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8834         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8835         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8836         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8837         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8839 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8841         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8842         (setpayload): New declaration.
8843         * math/Versions (setpayload): New libm symbol at version
8844         GLIBC_2.25.
8845         (setpayloadf): Likewise.
8846         (setpayloadl): Likewise.
8847         * math/Makefile (libm-calls): Add s_setpayloadF.
8848         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8849         test_Ff_b1_data.
8850         (RUN_TEST_Ff_b1): New macro.
8851         (RUN_TEST_LOOP_Ff_b1): Likewise.
8852         (canonicalize_test_data): Update type.
8853         (setpayload_test_data): New array.
8854         (setpayload_test): New function.
8855         (main): Call setpayload_test.
8856         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8857         setpayloadf and setpayloadl.
8858         * manual/libm-err-tab.pl: Update comment on interfaces without
8859         ulps tabulated.
8860         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8861         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8862         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8863         Likewise.
8864         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8865         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8866         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8867         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8868         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8869         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8870         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8871         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8872         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8873         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8874         setpayload.
8875         (CFLAGS-nldbl-setpayload.c): New variable.
8876         * sysdeps/nacl/libm.abilist: Update.
8877         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8878         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8879         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8880         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8881         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8882         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8883         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8884         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8885         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8886         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8887         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8888         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8890         Likewise.
8891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8892         Likewise.
8893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8894         Likewise.
8895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8896         Likewise.
8897         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8898         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8899         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8900         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8901         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8903         Likewise.
8904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8905         Likewise.
8906         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8907         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8908         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8910 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8912         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8913         * include/unistd.h: Extend comment about __access_noerrno return
8914         semantics.
8915         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8916         (access_common): Correct typo for EACCES.
8918 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8920         * sysdeps/tile/math-tests.h: New file.
8922         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8923         (__old_set_dataplane): Rename from set_dataplane and make a
8924         compatibility symbol.
8925         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8926         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8927         sys/dataplane.h.
8929 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8931         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8932         script quote words in command output to log suitably for input to
8933         the shell.
8935 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8936             Maciej W. Rozycki  <macro@imgtec.com>
8938         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8939         `.Lno_weak_fn' label.
8940         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8941         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8943 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8944             Yury Norov  <ynorov@caviumnetworks.com>
8946         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8947         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8948         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8949         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8950         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8952         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8954         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8955         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8956         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8957         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8958         (sysdep_routines): Remove oldgetrlimit64.
8959         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8960         (sysdep_routines): Likewise.
8961         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8962         (sysdep_routines): Likewise.
8963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8964         [$(subdir) = resource] (sysdep_routines): Likewise.
8965         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8966         [$(subdir) = resource] (sysdep_routines): Likewise.
8967         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8968         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8969         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8970         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8971         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8972         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8973         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8974         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8975         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8976         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8977         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8978         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8979         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8980         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8981         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8982         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8983         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8984         setrlimit and getrlimit.
8985         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8986         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8987         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8990         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8991         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8992         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8993         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8994         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8995         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8996         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8997         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8998         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8999         (__old_getrlimit64): Add compatibility symbol.
9000         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
9002 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
9004         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
9005         newly built gmp, mpfr and mpc.
9007         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
9009 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9011         * conform/Makefile (linknamespace-libs): Rename to
9012         linknamespace-libs-thr.
9013         (linknamespace-libs-posix): New variable.
9014         (linknamespace-libs-xsi): Likewise.
9015         (linknamespace-libs-XPG3): Include libcrypt.a.
9016         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
9017         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
9018         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
9019         (linknamespace-libs-XOPEN2K): Likewise.
9020         (linknamespace-libs-XOPEN2K8): Likewise.
9021         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
9023         [BZ #20829]
9024         * stdio-common/Versions (__snprintf): Add to version
9025         GLIBC_PRIVATE.
9026         * include/stdio.h (__snprintf): Use libc_hidden_proto.
9027         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
9028         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
9029         of snprintf.
9030         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9032 2016-11-16  Zack Weinberg  <zackw@panix.com>
9034         * string/string.h: Remove obsolete comment stating that
9035         strcoll_l and strxfrm_l have not yet been standardized.
9037 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9039         * hurd/hurd.h (__hurd_fail_noerrno): New function.
9040         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
9041         __access_noerrno.
9042         * io/access.c (__access_noerrno): New function.
9043         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
9044         (hurd_fail_seterrno): Likewise.
9045         (access_common): Likewise.
9046         (__access_noerrno): Likewise.
9047         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
9048         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
9049         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
9050         macro.
9052 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9054         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
9055         Only declare fpregs if [__SH_FPU_ANY__].
9057 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
9059         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
9060         Make code unconditional.
9061         [!(__SH4__ || __SH4A__)]: Remove conditional code.
9063 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
9065         * manual/sysinfo.texi (S_APPEND): Delete.
9066         (S_IMMUTABLE): Likewise.
9068 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
9069             Magnus Granberg  <zorry@gentoo.org>
9070             Mike Frysinger  <vapier@gentoo.org>
9072         [BZ #20662]
9073         * configure.ac (libc_cv_predef_stack_protector): Also check for
9074         __stack_chk_fail_local symbols.
9075         * configure: Regenerated.
9077 2016-11-15  Florian Weimer  <fweimer@redhat.com>
9079         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9080         (libc_hidden_def): Remove redefinition.
9081         (__sigsetjmp): Add hidden definition.
9082         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9083         (libc_hidden_def): Remove redefinition.
9084         (__sigsetjmp): Add hidden definition.
9086 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
9088         * scripts/build-many-glibcs.py (os.path): Do not import.
9089         (Context): Inherit explicitly from object.  Remove blank line
9090         between class and docstring.
9091         (Config): Likewise.
9092         (Glibc): Likewise.
9093         (Command): Likewise.
9094         (CommandList): Likewise.
9095         (Context.write_files): Store chmod mode in a variable.
9097         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
9098         LIBC_SLIBDIR_RTLDDIR for tilegx32.
9099         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
9101 2016-11-14  Zack Weinberg  <zackw@panix.com>
9103         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
9104         creating or re-creating it.
9106         * string/bits/string2.h: Fix typo in comment.
9108 2016-11-14  Zack Weinberg  <zackw@panix.com>
9110         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
9111         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
9112         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
9113         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
9114         of redirected function names.
9116         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
9117         as well.  Document that MESSAGE must be a single string literal.
9119 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
9121         * scripts/build-many-glibcs.py: New file.
9123         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
9124         (do_test): Disable -Wmaybe-uninitialized around uses of
9125         except_mask.
9127         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
9129 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
9131         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
9132         (atomic_store_release): Provide tilepro-specific implementations.
9134 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
9136         * math/math.h (__MATH_TG): New macro.
9137         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
9138         [__USE_ISOC99] (signbit): Likewise.
9139         [__USE_ISOC99] (isfinite): Likewise.
9140         [__USE_ISOC99] (isnan): Likewise.
9141         [__USE_ISOC99] (isinf): Likewise.
9142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
9143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
9144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
9145         __MATH_TG and __MATH_EVAL_FMT2.
9146         * sysdeps/generic/math_private.h (fabs_tg): Define using
9147         __MATH_TG.
9148         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9149         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
9150         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
9151         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
9152         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
9153         macro.
9154         (__iscanonical): Likewise.
9155         (iscanonical): Define using __MATH_TG.
9157 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9159         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
9160         guards.
9162         * sysdeps/unix/sysv/linux/access.c: New file.
9163         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
9165 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
9167         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
9168         and __WORDSIZE32_PTRDIFF_LONG.
9170 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9172         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9174 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9176         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
9177         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
9178         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
9179         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
9180         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
9181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
9182         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
9183         * sysdeps/unix/sysv/linux/truncate.c: New file.
9184         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
9185         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9186         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
9187         Remove.
9188         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
9189         Likewise.
9191         * posix/tst-truncate-common.c: New file.
9192         * posix/tst-truncate.c: Use tst-truncate-common.c.
9193         * posix/tst-truncate64.c: Likewise and add LFS tests.
9194         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
9195         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
9196         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
9197         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
9198         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
9199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
9200         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
9201         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
9202         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
9203         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9204         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
9205         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
9206         Remove.
9207         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
9208         Likewise.
9210 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
9212         [BZ #20790]
9213         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
9214         to MAXLINESIZE.
9215         * sunrpc/bug20790.x: New file.
9216         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
9217         variable.
9218         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
9219         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
9221         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
9223         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
9225         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
9226         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
9227         calloc, realloc, free, memalign and __libc_memalign rather than
9228         making them optional.
9230         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
9231         for libc.so.
9233 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9235         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9236         ptw-lseek64.
9237         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
9238         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
9239         Likewise.
9240         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
9241         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
9242         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
9243         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
9244         * sysdeps/unix/sysv/linux/lseek.c: New file.
9245         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
9246         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
9247         __libc_lseek64 from auto-generation.
9248         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9249         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
9251 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9253         * nptl/tst-basic1.c (tf, do_test): Use write_message.
9254         * nptl/tst-cleanup1.c (do_test): Likewise.
9255         * nptl/tst-cleanup3.c (do_test): Likewise.
9256         * nptl/tst-key1.c (do_test): Likewise.
9257         * nptl/tst-key2.c (tf, do_test): Likewise.
9258         * nptl/tst-key3.c (tf, do_test): Likewise.
9259         * nptl/tst-stdio1.c (do_test): Likewise.
9260         * nptl/tst-stdio2.c (do_test): Likewise.
9262         * nptl/tst-kill3.c (handler): Use write_message in place of write.
9263         * nptl/tst-kill6.c (handler): Likewise.
9264         * nptl/tst-tls2.c (CB): Likewise.
9265         * nptl/tst-tls3.c (CB): Likewise.
9267 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
9269         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
9271 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
9272             Steve Ellcey  <sellcey@caviumnetworks.com>
9274         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9275           __ASSUME_ST_INO_64_BIT as 0
9276         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
9277         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
9278           over the code where __ASSUME_ST_INO_64_BIT is used.
9279         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
9280         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
9281         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9283 2016-11-07  Florian Weimer  <fweimer@redhat.com>
9285         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9286         Document ABI exposure of the __kind offset.
9287         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9288         Mention reason for the __kind offset exposure in the ABI.
9289         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9290         Likewise.
9291         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9292         Likewise.
9293         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9294         Likewise.
9295         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
9296         (struct __pthread_mutex_s): Likewise.
9297         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9298         Likewise.
9299         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9300         Likewise.
9301         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9302         Likewise.
9303         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9304         Likewise.
9305         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9306         Likewise.
9307         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9308         Likewise.
9309         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9310         (struct __pthread_mutex_s): Likewise.
9311         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9312         (struct __pthread_mutex_s): Likewise.
9313         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
9314         Likewise.
9316 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
9318         * test-skeleton.c: Document do_test usage.
9320 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
9322         * iconv/gconv.h (__gconv_info): Define __data element using a
9323         zero-length array.
9325 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
9327         * math/test-tgmath2.c: Split up test function.
9329 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9331         * Rules (tests-expected): New variable, depending on
9332         $(run-built-tests).
9333         (tests): Pass $(tests-expected) to merge-test-results.sh, not
9334         $(tests).
9336         * Rules [$(run-built-tests) = no] (tests): Do not depend on
9337         $(tests-unsupported).
9339 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9341         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9342         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
9344 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9346         [BZ #20768]
9347         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
9348         __fegetenv instead of fegetenv.
9350         [BZ #14139]
9351         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
9352         (find_files): Obtain platform name from libm-test-ulps-name and
9353         store in %pplatforms.
9354         (canonicalize_platform): Remove.
9355         (print_platforms): Use $pplatforms directly.
9356         (by_platforms): Do not allow for platforms missing from
9357         %pplatforms.
9358         * sysdeps/aarch64/libm-test-ulps-name: New file.
9359         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
9360         * sysdeps/arm/libm-test-ulps-name: Likewise.
9361         * sysdeps/generic/libm-test-ulps-name: Likewise.
9362         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
9363         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
9364         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
9365         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
9366         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
9367         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
9368         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
9369         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
9370         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
9371         * sysdeps/nios2/libm-test-ulps-name: Likewise.
9372         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
9373         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
9374         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
9375         * sysdeps/sh/libm-test-ulps-name: Likewise.
9376         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
9377         * sysdeps/tile/libm-test-ulps-name: Likewise.
9378         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
9380         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
9382         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
9383         (test-xfail-check-execstack): New variable.
9385         * sysdeps/mips/localplt.data: New file.
9387 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
9388             Steve Ellcey  <sellcey@caviumnetworks.com>
9390         * bits/wordsize.h: Add documentation.
9391         * sysdeps/aarch64/bits/wordsize.h : New file
9392         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
9393         definitions.
9394         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
9395         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
9396         with #if instead of #ifdef.
9397         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
9398         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
9399         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
9400         Add or change defines.
9401         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
9402         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9403         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
9404         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
9405         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9406         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9407         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
9408         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
9409         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
9410         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9411         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
9412         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
9413         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
9414         * sysdeps/x86/bits/wordsize.h: Likewise.
9416 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
9417             Kevin Petit  <kevin.petit@arm.com>
9419         * sysdeps/aarch64/memchr.S (__memchr): New file.
9421 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9423         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
9425 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
9427         [BZ #19398]
9428         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
9429         $(linknamespace-symlists-tests).
9431 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
9433         * time/tst-strptime2.c: Ignore -Wformat-length warning.
9435 2016-11-02  Florian Weimer  <fweimer@redhat.com>
9436             Carlos O'Donell  <carlos@redhat.com>
9438         [Bug #20729]
9439         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
9440         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
9441         for -Os related change.
9443 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
9445         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
9447 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
9449         [BZ #19673]
9450         * manual/math.texi (Exponents and Logarithms): Correct description
9451         of clog10.
9453 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
9455         [Bz #20729]
9456         * locale/weight.h: Include libc-internal.h.
9457         * locale/weightwc.h: Likewise.
9458         * nptl/nptl_dbP.h: Likewise.
9460 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
9462         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
9463         when it is MACH_PORT_NULL.
9465 2016-10-31  Andreas Schwab  <schwab@suse.de>
9467         [BZ #20707]
9468         * posix/glob.c (glob): Initialize pglob before checking for
9469         GLOB_BRACE.  Don't call glob recursively if pattern contains no
9470         valid brace expression despite GLOB_BRACE.
9471         * posix/globtest.sh: Test it.
9473 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9475         [BZ #20729]
9476         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
9477         Define.
9478         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
9479         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
9480         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
9481         for seq2.back_us and seq1.back_us only for -Os compiles.
9482         * locale/weightwc.h (findix): Likewise.
9483         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
9484         DB_GET_FIELD_ADDRESS only for -Os compiles.
9485         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
9486         for slen only for -Os compiles.
9487         * string/strcoll_l.c (get_next_seq): Ignore
9488         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
9489         for -Os compiles.
9491         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
9492         * include/crypt.h: New file.
9494 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9496         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
9497         from test-skeleton.c.
9498         (statclass): Replace calls to write with calls to write_message.
9500 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9502         * math/math.h
9503         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
9504         New macro.
9505         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
9506         Likewise.
9507         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
9508         Likewise.
9509         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
9510         SNANL.
9511         * math/test-double.h (snan_value_MACRO): New macro.
9512         * math/test-float.h (snan_value_MACRO): Likewise.
9513         * math/test-ldouble.h (snan_value_MACRO): Likewise.
9514         * math/libm-test.inc (issignaling_test_data): Add tests of
9515         snan_value_MACRO.
9517 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9519         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
9520         behavior when eliding a lock not held by the current thread.
9521         * sysdeps/powerpc/nptl/elide.h: Likewise.
9523 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9525         [BZ #20728]
9526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
9527         branch to _exit() by a function call.
9529 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9531         * malloc/malloc.c: Update chunk layout comments.
9532         (chunk_main_arena): Update comment.
9534 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9536         * crypt/sha256.c, crypt/sha256-block.c,
9537         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
9538         sha256_process_block to __sha256_process_block.
9539         * crypt/sha512.c, crypt/sha512-block.c,
9540         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
9541         sha512_process_block to __sha512_process_block.
9543 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9545         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
9547         * math/test-nan-overflow.c: Include stdlib.h for malloc.
9549 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
9551         [BZ #20019]
9552         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
9553         definition in unrelocated shared library.
9554         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9556 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9558         [BZ #20729]
9559         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
9560         * sysdeps/unix/sysv/linux/i386/Makefile
9561         (uses-6-syscall-arguments): Define.
9562         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
9563         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
9564         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
9565         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
9566         Likewise.
9567         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
9568         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
9569         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
9570         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
9571         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
9572         (CFLAGS-fallocate64.os): Likewise.
9573         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
9574         (CFLAGS-pthread_rwlock_timedrdlock.os)
9575         (CFLAGS-pthread_rwlock_timedwrlock.o)
9576         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
9577         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
9578         (CFLAGS-sem_timedwait.os): Likewise.
9580 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9582         * elf/tst-linkall-static.c: New file.
9583         * elf/Makefile (tests-static): Add tst-linkall-static.
9584         (tst-linkall-static): Link against static libraries.
9586 2016-10-27  Florian Weimer  <fweimer@redhat.com>
9588         * malloc/malloc.c (sysmalloc): Initialize previous size field of
9589         mmaped chunks.
9591 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9593         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
9594         members to mchunk_prev_size, mchunk_size.
9595         (chunk_main_arena): Reverse sense and rename from
9596         chunk_non_main_arena.
9597         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
9598         mchunk_size instead of size.
9599         (set_non_main_arena): Define.
9600         (chunksize): Use chunksize_nomask instead of direct member access.
9601         (chunksize_nomask): Define.
9602         (next_chunk): Use chunksize instead of direct member access.
9603         (prev_size, set_prev_size): Define.
9604         (prev_chunk): Use prev_size instead of direct member access.
9605         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9606         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9607         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9608         (mchunk_prev_size, mchunk_size): Poison tokens.
9609         (unlink): Use chunksize_nomask, prev_size accessors.
9610         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9611         (do_check_free_chunk): Use prev_size accessor.
9612         (sysmalloc): Use set_prev_size, set_head accessors.
9613         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9614         (__libc_free): Use chunksize_nomask accessor.
9615         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9616         chunk_main_arena accessors.
9617         (_int_free): Use chunksize_nomask, prev_size accessors.
9618         (malloc_consolidate): Use chunksize, prev_size accessors.
9619         (_int_realloc): Use chunksize_nomask accessor.
9620         (_int_memalign): Use set_prev_size accessor.
9621         (__malloc_info): Use chunksize_nomask accessor.
9622         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9623         accessors.
9624         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9625         (heap_trim): Use chunksize_nomask, prev_size accessors.
9627 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9629         [BZ #19380]
9630         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9631         for inexact results.
9632         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9633         of inexact result where mpfr_subnormalize is the only inexact
9634         step.
9635         * stdlib/tst-strtod-round-data.h: Regenerated.
9636         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9637         Define to 0.
9638         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9640 2016-10-27  David S. Miller  <davem@davemloft.net>
9642         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9644 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9646         * malloc/malloc.c (do_set_mallopt_check): New function.
9647         (do_set_mmap_threshold): Likewise.
9648         (do_set_mmaps_max): Likewise.
9649         (do_set_top_pad): Likewise.
9650         (do_set_perturb_byte): Likewise.
9651         (do_set_trim_threshold): Likewise.
9652         (do_set_arena_max): Likewise.
9653         (do_set_arena_test): Likewise.
9654         (__libc_mallopt): Use them.
9656 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9658         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9659         (canonicalize): New declaration.
9660         * math/Versions (canonicalize): New libm symbol at version
9661         GLIBC_2.25.
9662         (canonicalizef): Likewise.
9663         (canonicalizel): Likewise.
9664         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9665         * math/s_canonicalize_template.c: New file.
9666         * math/libm-test.inc: Update comment on functions tested and
9667         testing of NaN payloads.
9668         (TEST_NAN_PAYLOAD): New macro.
9669         (NO_TEST_INLINE): Update value.
9670         (XFAIL_TEST): Likewise.
9671         (ERRNO_UNCHANGED): Likewise.
9672         (ERRNO_EDOM): Likewise.
9673         (ERRNO_ERANGE): Likewise.
9674         (IGNORE_RESULT): Likewise.
9675         (NON_FINITE): Likewise.
9676         (TEST_SNAN): Likewise.
9677         (NO_TEST_MATHVEC): Likewise.
9678         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9679         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9680         (struct test_Ffp_b1_data): New type.
9681         (RUN_TEST_Ffp_b1): New macro.
9682         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9683         (canonicalize_test_data): New array.
9684         (canonicalize_test): New function.
9685         (main): Call canonicalize_test.
9686         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9687         canonicalizef and canonicalizel.
9688         * manual/libm-err-tab.pl: Update comment on interfaces without
9689         ulps tabulated.
9690         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9691         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9692         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9693         canonicalize.
9694         (CFLAGS-nldbl-canonicalize.c): New variable.
9695         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9696         to ...
9697         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9698         ... here.
9699         (do_test): Also test canonicalizel.
9700         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9701         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9702         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9703         file.
9704         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9705         Use libm_hidden_def.
9706         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9707         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9708         (do_test): Also test canonicalizel.
9709         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9710         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9711         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9712         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9713         libm_hidden_def.
9714         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9715         macro.
9716         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9717         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9718         * sysdeps/nacl/libm.abilist: Update.
9719         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9720         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9721         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9722         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9723         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9724         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9725         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9726         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9727         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9728         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9729         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9730         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9732         Likewise.
9733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9734         Likewise.
9735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9736         Likewise.
9737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9738         Likewise.
9739         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9740         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9741         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9742         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9743         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9747         Likewise.
9748         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9749         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9750         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9752         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9753         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9754         getpayload.
9755         (CFLAGS-nldbl-getpayload.c): New variable.
9757 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9759         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9760         integer from the format string.
9762 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9764         [BZ #19473]
9765         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9766         declarations.
9767         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9768         weak aliases.
9769         * malloc/hooks.c (__malloc_get_state): Remove definition.
9770         (malloc_get_state): New stub implementation as
9771         compatibility symbol.
9772         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9773         compat symbol.
9774         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9775         malloc_set_state.
9776         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9778 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9780         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9781         (names): Turn into concatenation of strings.
9782         (gconv_init): Adapt iteration over names.
9784 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9786         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9787         make const.
9788         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9789         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9790         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9791         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9792         character in sbconv.
9793         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9794         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9795         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9797 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9799         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9801         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9802         (M_TRIM_THRESHOLD): Likewise.
9804         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9805         (M_ARENA_MAX): Likewise.
9806         * malloc/malloc.c: Remove obsolete comment.
9808         * manual/memory.texi: Add environment variable alternatives to
9809         setting mallopt parameters.
9811 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9813         * include/atomic.h
9814         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9815         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9817 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9819         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9820         * stdlib/tst-strfrom.h: New file.
9821         * stdlib/tst-strfrom.c: New file.
9822         * stdlib/tst-strfrom-locale.c: New file.
9824         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9825         * stdlib/bug-strtod2.c: Likewise.
9826         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9827         * stdlib/tst-strtod6.c: Likewise.
9828         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9830 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9832         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9833         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9834         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9835         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9836         * stdlib/stdlib.h (strfromd): New declaration.
9837         (strfromf): Likewise.
9838         (strfroml): Likewise.
9839         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9840         strfrom.
9841         * stdlib/strfromd.c: New file.
9842         * stdlib/strfromf.c: Likewise.
9843         * stdlib/strfroml.c: Likewise.
9844         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9845         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9846         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9847         * sysdeps/arm/nacl/libc.abilist: Update.
9848         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9849         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9850         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9851         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9852         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9853         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9854         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9855         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9856         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9857         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9858         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9859         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9860         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9861         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9866         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9867         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9868         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9869         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9870         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9873         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9874         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9875         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9877 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9879         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9880         instead of cmpli.
9881         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9882         instead of cmpli.
9884 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9886         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9887         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9888         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9889         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9890         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9891         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9893 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9895         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9896         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9897         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9898         SYSCALL_LL64_PRW.
9899         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9900         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9901         __ASSUME_PRW_DUMMY_ARG.
9902         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9903         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9904         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9905         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9906         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9907         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9909 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9911         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9913 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9915         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9916         "C++", to override a potential extern "C" directive around the
9917         header file inclusion.
9919 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9921         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9923 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9925         * sysdeps/powerpc/fpu/fenv_private.h:
9926         (_FPU_MASK_ALL): Rename to...
9927         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9928         XE FPSCR bits.
9930         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9932         (_FPU_MASK_ROUNDING): Rename to...
9933         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9934         NI bits.
9936         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9937         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9938         bits and rounding bits.
9940         (__libc_feholdbits_ppc): New inline function to mask, set,
9941         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9942         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9943         (libc_feholdexcept_setround_ppc): Likewise.
9945         (__libc_femergeenv_ppc): New function to dynamically mask both
9946         old and new FP environments and merge.
9947         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9948         (libc_feresetround_ppc): Likewise.
9949         (libc_feupdateenv_test_ppc): Likewise.
9950         (libc_feupdateenv_ppc): Likewise.
9952         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9953         of ISA RN bits, and update macro names.
9954         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9955         effectively the same as the previously mentioned function.
9957         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9958         usage with fe_resetround_ppc.
9960         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9961         to be used.
9962         (libc_feholdexcept_setround_ctxf): Likewise.
9963         (libc_feholdexcept_setround_ctxl): Likewise.
9965 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9967         [BZ #20715]
9968         * math/math.h [__cplusplus] (iszero): Define as function template.
9969         * math/Makefile [CXX] (tests): Add test-math-iszero.
9970         (CFLAGS-test-math-iszero.cc): Set.
9971         * math/test-math-iszero.cc: New file.
9973 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9975         [BZ #20660]
9976         * sysdeps/arm/e_sqrt.c: New file.
9977         * sysdeps/arm/e_sqrtf.c: Likewise.
9979 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9981         [BZ #20718]
9982         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9983         not use floating-point comparisons to test sign.
9984         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9985         Likewise.
9987         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9988         (getpayload): New declaration.
9989         * math/Versions (getpayload): New libm symbol at version
9990         GLIBC_2.25.
9991         (getpayloadf): Likewise.
9992         (getpayloadl): Likewise.
9993         * math/Makefile (libm-calls): Add s_getpayloadF.
9994         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9995         (struct test_f_f_data): Add comment.
9996         (RUN_TEST_fp_f): New macro.
9997         (RUN_TEST_LOOP_fp_f): Likewise.
9998         (getpayload_test_data): New array.
9999         (getpayload_test): New function.
10000         (main): Call getpayload_test.
10001         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
10002         descriptor.
10003         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
10004         getpayloadf and getpayloadl.
10005         * manual/libm-err-tab.pl: Update comment on interfaces without
10006         ulps tabulated.
10007         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
10008         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
10009         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
10010         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
10011         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
10012         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
10013         * sysdeps/nacl/libm.abilist: Update.
10014         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10015         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10016         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10017         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10018         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10019         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10020         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10021         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10022         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10023         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10024         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10025         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10027         Likewise.
10028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10029         Likewise.
10030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10031         Likewise.
10032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10033         Likewise.
10034         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10035         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10036         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10037         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10038         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10040         Likewise.
10041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10042         Likewise.
10043         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10044         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10045         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10047 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10049         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
10050         tst-fallocate{64}.
10051         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
10052         on syscall return.
10054 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
10056         [BZ #20689]
10057         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
10058         usable.
10060 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
10062         * sysdeps/generic/nan-high-order-bit.h: New file.
10063         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
10064         * sysdeps/mips/nan-high-order-bit.h: Likewise.
10065         * sysdeps/hppa/math_private.h: Remove file.
10066         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
10067         not define here.
10068         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
10069         <nan-high-order-bit.h>.
10070         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10071         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10072         <nan-high-order-bit.h>.
10073         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10074         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10075         <nan-high-order-bit.h>.
10076         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10077         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
10078         <nan-high-order-bit.h>.
10079         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10080         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10081         <nan-high-order-bit.h>.
10082         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10083         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10084         <nan-high-order-bit.h>.
10085         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10086         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
10087         <nan-high-order-bit.h>.
10088         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10089         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10090         <nan-high-order-bit.h>.
10091         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10092         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10093         <nan-high-order-bit.h>.
10094         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10095         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
10096         <nan-high-order-bit.h>.
10097         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10098         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10099         <nan-high-order-bit.h>.
10100         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10101         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10102         <nan-high-order-bit.h>.
10103         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10104         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
10105         <nan-high-order-bit.h>.
10106         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10107         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
10108         <nan-high-order-bit.h>.
10109         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10110         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
10111         <nan-high-order-bit.h>.
10112         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10113         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
10114         <nan-high-order-bit.h>.
10115         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10116         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10117         <nan-high-order-bit.h>.
10118         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10119         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10120         <nan-high-order-bit.h>.
10121         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10123 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10125         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
10127 2016-09-22  John David Anglin  <dave.anglin@bell.net>
10129         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
10130         abort-instr.h.
10131         (EFAULT): Remove conditional define.
10132         (ENOSYS): Likewise.
10133         (atomic_compare_and_exchange_val_acq): Use instruction nullification
10134         instead of conditional branch instructions.
10136 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
10138         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10139         (totalordermag): New declaration.
10140         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
10141         New macro.
10142         * math/Versions (totalordermag): New libm symbol at version
10143         GLIBC_2.25.
10144         (totalordermagf): Likewise.
10145         (totalordermagl): Likewise.
10146         * math/Makefile (libm-calls): Add s_totalordermagF.
10147         * math/libm-test.inc (totalordermag_test_data): New array.
10148         (totalordermag_test): New function.
10149         (main): Call totalordermag_test.
10150         * math/test-tgmath.c (NCALLS): Increase to 125.
10151         (F(compile_test)): Call totalordermag.
10152         (F(totalordermag)): New function.
10153         * manual/arith.texi (FP Comparison Functions): Document
10154         totalordermag, totalordermagf and totalordermagl.
10155         * manual/libm-err-tab.pl: Update comment on interfaces without
10156         ulps tabulated.
10157         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
10158         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
10159         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
10162         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
10164         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10165         totalordermag.
10166         (CFLAGS-nldbl-totalordermag.c): New variable.
10167         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
10168         (do_test): Also test totalordermagl.
10169         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
10170         Likewise.
10171         * sysdeps/nacl/libm.abilist: Update.
10172         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10173         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10174         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10175         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10176         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10177         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10178         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10179         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10180         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10181         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10182         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10183         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10185         Likewise.
10186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10187         Likewise.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10189         Likewise.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10191         Likewise.
10192         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10193         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10194         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10195         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10196         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10198         Likewise.
10199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10200         Likewise.
10201         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10202         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10203         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10205 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
10207         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
10208         boolean.
10210 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
10212         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
10213         raising FE_INVALID with feraisexcept in case where part of
10214         argument is infinite, subtract that part of argument from itself.
10215         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
10216         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
10217         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10219 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10221         * math/libm-test.inc (totalorder_test_data): Add more tests.
10223 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10225         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
10226         Undefine weak_alias and add a comment why mips64 require
10227         versioning.
10229 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10231         [BZ #20647]
10232         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
10233         maximum CPUID level is less than 2.
10235 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10237         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10238         (totalorder): New declaration.
10239         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
10240         New macro.
10241         * math/Versions (totalorder): New libm symbol at version
10242         GLIBC_2.25.
10243         (totalorderf): Likewise.
10244         (totalorderl): Likewise.
10245         * math/Makefile (libm-calls): Add s_totalorderF.
10246         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
10247         string.
10248         * math/libm-test.inc (PAYLOAD_DIG): New macro.
10249         (qnan_value_pl): Likewise.
10250         (snan_value_pl): Likewise.
10251         (qnan_value): Define using qnan_value_pl.
10252         (snan_value): Define using snan_value_pl.
10253         (struct test_ff_i_data): Add comment about which tests use this
10254         structure.
10255         (RUN_TEST_ff_b): New macro.
10256         (RUN_TEST_LOOP_ff_b): Likewise.
10257         (totalorder_test_data): New array.
10258         (totalorder_test): New function.
10259         (main): Call totalorder_test.
10260         * math/test-tgmath.c (NCALLS): Increase to 122.
10261         (F(compile_test)): Call totalorder.
10262         (F(totalorder)): New function.
10263         * manual/arith.texi (FP Comparison Functions): Document
10264         totalorder, totalorderf and totalorderl.
10265         * manual/libm-err-tab.pl: Update comment on interfaces without
10266         ulps tabulated.
10267         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
10268         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
10269         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
10270         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
10271         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
10272         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
10273         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
10274         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10275         totalorder.
10276         (CFLAGS-nldbl-totalorder.c): New variable.
10277         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
10278         file.
10279         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10280         Add test-totalorderl-ldbl-128ibm.
10281         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
10282         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
10283         test-totalorderl-ldbl-96.
10284         * sysdeps/nacl/libm.abilist: Update.
10285         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10286         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10287         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10288         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10289         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10290         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10291         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10292         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10293         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10294         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10295         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10296         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10298         Likewise.
10299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10300         Likewise.
10301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10302         Likewise.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10304         Likewise.
10305         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10306         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10307         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10308         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10309         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10311         Likewise.
10312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10313         Likewise.
10314         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10315         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10316         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10318 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10320         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
10321         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
10322         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
10323         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
10324         remove ENOSYS implementation.
10325         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
10326         Consolidate all Linux implementations.
10328 2016-10-11  Florian Weimer  <fweimer@redhat.com>
10330         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
10331         * resolv/herror.c (herror): Cast away const-ness.
10332         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
10333         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
10335 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
10337         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
10338         instead of M_NAN + M_NAN.
10339         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10341 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10343         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
10344         unused variable 'p'.
10346 2016-10-09  Alan Modra  <amodra@gmail.com>
10347             Andreas Schwab  <schwab@linux-m68k.org>
10349         [BZ #20554]
10350         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
10351         [PIC && !SHARED]: Set up PIC register for PLT call.
10353 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
10355         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
10356         conditional on value of [__FLT_EVAL_METHOD__].
10357         * math/test-iseqsig-excess-precision.c: New file.
10358         * math/Makefile (tests): Add test-iseqsig-excess-precision.
10360 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10362         * math/s_iseqsig_template.c: Include math-private.h.
10364         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
10365         * posix/tst-posix_fadvise.c: New file.
10366         * posix/tst-posix_fadvise64.c: Likewise.
10367         * posix/tst-posix_fadvise-common.c: Likewise.
10368         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10369         (__ASSUME_FADVISE64_64_6ARG): Define.
10370         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10371         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
10372         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10373         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
10374         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
10375         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
10376         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
10377         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10378         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
10379         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
10380         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
10381         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
10383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
10384         Likewise.
10385         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
10386         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
10387         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
10388         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10389         Alias to __posix_fadvise64_l32.
10390         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
10391         Add compat definition to posix_fadvise64.
10392         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10393         Add versioned definition to posix_fadvise64.
10394         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
10395         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
10396         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
10397         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
10398         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
10400         * io/Makefile (tests): Add tst-posix_fallocate and
10401         tst-posix_fallocate64.
10402         * io/tst-posix_fallocate-common.c: New file.
10403         * io/tst-posix_fallocate.c: Likewise.
10404         * io/tst-posix_fallocate64.c: Likewise.
10405         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
10406         file.
10407         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
10408         Likewise.
10409         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
10410         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
10411         Likewise.
10412         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
10413         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
10414         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
10415         SYSCALL_LL to pass both offset and len arguments.
10416         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
10417         Likewise.
10418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
10419         __libc_pwrite64 alias used by posix_fallocate64.
10421         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10422         tst-fallocate64.
10423         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10424         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10425         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10426         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10427         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10428         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10429         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10430         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10431         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10432         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10433         macro on offset argument.
10434         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10435         SYSCALL_LL64 on offset argument.
10437         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10438         tst-fallocate64.
10439         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10440         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10441         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10442         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10443         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10444         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10445         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10446         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10447         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10448         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10449         macro on offset argument.
10450         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10451         SYSCALL_LL64 on offset argument.
10452         * test-skeleton.c (FAIL_RET): Add macro.
10453         (FAIL_EXIT): Likewise.
10454         (FAIL_EXIT1): Likewise.
10455         (_FAIL): Likewise.
10457 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10459         [BZ #20629]
10460         resolv: Remove RES_USEBSTRING and its implementation.
10461         * resolv/resolv.h (RES_USEBSTRING): Remove.
10462         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
10463         (digitvalue, encode_bitstring, decode_bitstring): Remove.
10464         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
10465         (labellen): Remove extended label types support.
10466         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
10467         * resolv/res_init.c (res_setoptions): Likewise.
10468         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10470 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10472         resolv: Remove RES_NOIP6DOTINT and its implementation.
10473         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
10474         (RES_NOIP6DOTINT): Remove.
10475         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
10476         handling.
10477         * resolv/res_debug.c (p_option): Likewise.
10478         * resolv/res_init.c (res_setoptions): Likewise.
10479         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10481 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10483         resolv: Deprecate unimplemented flags.
10484         * misc/sys/cdefs.h (__glibc_macro_warning1)
10485         (__glibc_macro_warning): Define.
10486         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
10487         (RES_KEEPTSIG): Mark as deprecated.
10488         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
10489         RES_NOCHECKNAME, RES_KEEPTSIG.
10490         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
10492 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10494         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
10495         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
10496         Use strong_alias to create symbols for glibc verison 2.19.
10498 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10500         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
10502 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10504         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
10506 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10508         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
10510 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10512         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10513         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
10514         in header for using it as type for ifunc function because __GI_* symbols
10515         for ppc32 do not target the ifunc symbols.
10516         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10518 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10520         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
10521         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
10522         libc_ifunc_hidden_def.
10523         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
10524         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
10525         Redirect ifunced function in header for using it as type of ifunc'ed
10526         function. Redefine libc_hidden_def to use fallback non ifunc'ed
10527         function for __GI_* symbol.
10528         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
10529         * include/libc-symbols.h
10530         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
10532 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10534         [BZ #20478]
10535         * sysdeps/s390/multiarch/ifunc-resolve.h
10536         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
10537         to create ifunc symbols.
10538         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
10539         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
10540         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
10541         for using it as type for ifunc function.
10542         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10543         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10544         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10545         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10546         * sysdeps/s390/multiarch/strcat.c: Likewise.
10547         * sysdeps/s390/multiarch/strchr.c: Likewise.
10548         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10549         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10550         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10551         * sysdeps/s390/multiarch/strlen.c: Likewise.
10552         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10553         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10554         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10555         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10556         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10557         * sysdeps/s390/multiarch/strspn.c: Likewise.
10558         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10559         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10560         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10561         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10562         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10563         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10564         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10565         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
10566         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
10567         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10568         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
10569         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
10571 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10573         * include/libc-symbols.h (__ifunc_resolver):
10574         New macro is used by __ifunc* macros.
10575         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
10576         depending on HAVE_GCC_IFUNC.
10577         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
10578         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
10579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10580         Redirect ifunced function in header for using as type for ifunc function.
10581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
10582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
10583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
10584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
10585         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10586         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10587         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10588         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10589         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10590         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10591         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10592         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10594         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
10597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
10599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10600         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10601         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10602         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10603         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10604         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10605         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10606         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10607         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10608         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10609         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10610         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10611         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10612         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10613         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10615         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10616         instead of libc_ifunc() macro.
10617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10620 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10622         * config.h.in (HAVE_GCC_IFUNC): New undef.
10623         * configure.ac: Add check if gcc supports attribute ifunc feature.
10624         * configure: Regenerated.
10625         * manual/install.texi: Add recommendation for gcc with
10626         indirect-function support.
10627         * INSTALL: Regenerated.
10629 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10631         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10632         macro.
10633         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10634         (__iseqsig): New declaration.
10635         * math/s_iseqsig_template.c: New file.
10636         * math/Versions (__iseqsigf): New libm symbol at version
10637         GLIBC_2.25.
10638         (__iseqsig): Likewise.
10639         (__iseqsigl): Likewise.
10640         * math/libm-test.inc (iseqsig_test_data): New array.
10641         (iseqsig_test): New function.
10642         (main): Call iseqsig_test.
10643         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10644         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10645         * manual/libm-err-tab.pl: Update comment on interfaces without
10646         ulps tabulated.
10647         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10648         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10649         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10650         * sysdeps/nacl/libm.abilist: Update.
10651         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10652         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10653         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10654         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10655         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10656         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10657         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10658         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10659         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10660         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10661         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10662         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10664         Likewise.
10665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10666         Likewise.
10667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10668         Likewise.
10669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10670         Likewise.
10671         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10672         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10673         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10674         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10675         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10677         Likewise.
10678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10679         Likewise.
10680         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10681         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10682         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10684 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10686         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10687         do_sincos_2, sloww, sloww1): Update comments.
10689         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10690         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10692         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10693         K boolean and rename it.
10694         (__sin): Adjust.
10695         (__cos): Adjust.
10697 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10698             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10700         * manual/nss.texi: Fix typos in the manual.
10702 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10704         * manual/contrib.texi: Fix typos in the manual.
10706         * manual/maint.texi: Fix typos in the manual.
10708         * manual/install.texi: Fix typos in the manual.
10709         * INSTALL: Regenerated.
10711         * manual/lang.texi: Fix typos in the manual.
10713         * manual/probes.texi: Fix typos in the manual.
10715         * manual/threads.texi: Fix typos in the manual.
10717         * manual/debug.texi: Fix typos in the manual.
10719         * manual/crypt.texi: Fix typos in the manual.
10721         * manual/conf.texi: Fix typos in the manual.
10723         * manual/sysinfo.texi: Fix typos in the manual.
10725         * manual/users.texi: Fix typos in the manual.
10727         * manual/job.texi: Fix typos in the manual.
10729         * manual/process.texi: Fix typos in the manual.
10731         * manual/argp.texi: Fix typos in the manual.
10732         * manual/getopt.texi: Likewise.
10733         * manual/startup.texi: Likewise.
10735         * manual/signal.texi: Fix typos in the manual.
10737         * manual/setjmp.texi: Fix typos in the manual.
10739         * manual/resource.texi: Fix typos in the manual.
10741         * manual/time.texi: Fix typos in the manual.
10743         * manual/arith.texi: Fix typos in the manual.
10745         * manual/math.texi: Fix typos in the manual.
10747         * manual/syslog.texi: Fix typos in the manual.
10749         * manual/terminal.texi: Fix typos in the manual.
10751         * manual/socket.texi: Fix typos in the manual.
10753         * manual/filesys.texi: Fix typos in the manual.
10755         * manual/llio.texi: Fix typos in the manual.
10757         * manual/stdio.text: Fix typos in the manual.
10759 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10761         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10762         instead of K1.
10764         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10765         SHIFT_QUADRANT and make it bool.
10766         (do_sincos_2): Likewise.
10767         (sloww): Likewise.
10768         (sloww1): Likewise.
10769         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10770         (__cos): Likewise.
10772 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10774         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10776 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10778         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10779         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10780         0x7fffffffL].
10781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10783 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10785         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10786         inline by __inline__.
10787         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10788         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10789         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10790         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10791         sigset_t from signal.h.
10792         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10793         which is already required.
10795 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10797         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10799 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10801         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10802         (struct tcp_repair_window): New type.
10804 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10806         * libio/tst-memstream3.c: Include string.h.
10808 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10810         [BZ #18241]
10811         [BZ #20181]
10812         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10813         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10814         write position is at the end the buffer.
10815         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10816         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10817         (_IO_str_seekoff): Set correct offset from negative displacement and
10818         set EINVAL for invalid ones.
10819         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10820         buffer length.
10821         (_IO_wstr_switch_to_get_mode): New function.
10822         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10823         set EINVAL for invalid ones.
10824         * libio/tst-memstream3.c: New file.
10825         * libio/tst-wmemstream3.c: Likewise.
10826         * manual/examples/memstrm.c: Remove warning when priting size_t.
10828 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10830         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10831         macro to use __builtin_fma.
10832         * sysdeps/x86_64/fpu/dla.h: Remove file.
10834         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10835         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10836         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10838 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10840         [BZ #20292]
10841         * elf/Makefile (routines): Add dl-addr-obj.
10842         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10843         tst-_dl_addr_inside_object.
10844         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10845         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10846         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10847         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10848         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10849         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10850         * elf/dl-open.c: Likewise.
10851         * elf/dl-addr-obj.c: New file.
10852         * elf/tst-_dl_addr_inside_object.c: New file.
10854 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10856         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10857         <bits/iscanonical.h>.
10858         * bits/iscanonical.h: New file.
10859         * math/s_iscanonicall.c: Likewise.
10860         * math/Versions (__iscanonicall): New libm symbol at version
10861         GLIBC_2.25.
10862         * math/libm-test.inc (iscanonical_test_data): New array.
10863         (iscanonical_test): New function.
10864         (main): Call iscanonical_test.
10865         * math/Makefile (headers): Add bits/iscanonical.h.
10866         (type-ldouble-routines): Add s_iscanonicall.
10867         * manual/arith.texi (Floating Point Classes): Document
10868         iscanonical.
10869         * manual/libm-err-tab.pl: Update comment on interfaces without
10870         ulps tabulated.
10871         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10872         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10873         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10874         Likewise.
10875         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10876         test-iscanonical-ldbl-128ibm.
10877         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10878         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10879         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10880         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10881         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10882         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10883         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10885         Likewise.
10886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10887         Likewise.
10888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10889         Likewise.
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10891         Likewise.
10892         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10895 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10897         * string/bits/string3.h: Remove C++ style comments.
10899 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10901         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10902         instead of ternary condition.
10903         (do_sincos_2): Likewise.
10904         (__sin): Likewise.
10905         (__cos): Likewise.
10906         (slow): Likewise.
10907         (sloww): Likewise.
10908         (sloww1): Likewise.
10909         (bsloww): Likewise.
10910         (bsloww1): Likewise.
10912         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10913         instead of ternary condition.
10914         (do_sin_slow): Likewise.
10915         (do_sincos_1): Likewise.
10916         (do_sincos_2): Likewise.
10917         (__cos): Likewise.
10918         (sloww): Likewise.
10919         (sloww1): Likewise.
10920         (sloww2): Likewise.
10921         (bsloww): Likewise.
10922         (bsloww1): Likewise.
10923         (bsloww2): Likewise.
10925         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10926         check from here...
10927         (slow2): ... and here...
10928         (__sin): ... to here.
10930 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10932         * math/math.h
10933         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10934         Cast argument to its own type.
10935         * math/test-iszero-excess-precision.c: New file.
10936         * math/Makefile (tests): Add test-iszero-excess-precision.
10937         (CFLAGS-test-iszero-excess-precision.c): New variable.
10939 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10941         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10942         field, add err field.
10943         (__spawni_child): Report error through err member instead of pipe.
10944         (__spawnix): Likewise.
10946 2016-09-28  Zack Weinberg  <zackw@panix.com>
10948         * scripts/check-installed-headers.sh: Generalize treatment of
10949         sys/elf.h to all target architectures.
10951         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10952         deleted typedef ucontext_t.
10954 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10956         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10957         (__INTERNAL_SYSCALL1): Likewise.
10958         (__INTERNAL_SYSCALL2): Likewise.
10959         (__INTERNAL_SYSCALL3): Likewise.
10960         (__INTERNAL_SYSCALL4): Likewise.
10961         (__INTERNAL_SYSCALL5): Likewise.
10962         (__INTERNAL_SYSCALL6): Likewise.
10963         (__INTERNAL_SYSCALL7): Likewise.
10964         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10965         (__INTERNAL_SYSCALL_NARGS): Likewise.
10966         (__INTERNAL_SYSCALL_DISP): Likewise.
10967         (INTERNAL_SYSCALL_CALL): Likewise.
10968         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10969         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10970         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10971         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10972         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10973         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10974         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10975         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10976         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10977         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10978         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10979         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10980         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10982 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10984         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10985         macro.
10986         * math/libm-test.inc (iszero_test_data): New array.
10987         (iszero_test): New function.
10988         (main): Call iszero_test.
10989         * manual/arith.texi (Floating Point Classes): Document iszero.
10990         * manual/libm-err-tab.pl: Update comment on interfaces without
10991         ulps tabulated.
10993 2016-09-23  Zack Weinberg  <zackw@panix.com>
10995         * scripts/check-installed-headers.sh: New script.
10996         * Rules: In each directory that defines header files to be installed,
10997         run check-installed-headers.sh on them as a special test.
10998         * Makefile: Likewise for the headers installed at top level.
11000         * include/aliases.h, include/alloca.h, include/argz.h
11001         * include/arpa/nameser.h, include/arpa/nameser_compat.h
11002         * include/elf.h, include/envz.h, include/err.h
11003         * include/execinfo.h, include/fpu_control.h, include/getopt.h
11004         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
11005         * include/link.h, include/malloc.h, include/mcheck.h
11006         * include/mntent.h, include/netinet/ether.h
11007         * include/nss.h, include/obstack.h, include/printf.h
11008         * include/pty.h, include/resolv.h, include/rpc/auth.h
11009         * include/rpc/auth_des.h, include/rpc/auth_unix.h
11010         * include/rpc/clnt.h, include/rpc/des_crypt.h
11011         * include/rpc/key_prot.h, include/rpc/netdb.h
11012         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
11013         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
11014         * include/rpc/rpc_msg.h, include/rpc/svc.h
11015         * include/rpc/svc_auth.h, include/rpc/xdr.h
11016         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
11017         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
11018         * include/rpcsvc/ypupd.h, include/shadow.h
11019         * include/stdio_ext.h, include/sys/epoll.h
11020         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
11021         * include/sys/prctl.h, include/sys/profil.h
11022         * include/sys/statfs.h, include/sys/sysctl.h
11023         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
11024         * sysdeps/arm/nacl/include/bits/setjmp.h
11025         * sysdeps/mips/include/sys/asm.h
11026         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
11027         * sysdeps/unix/sysv/linux/include/sys/timex.h
11028         * sysdeps/x86/fpu/include/bits/fenv.h:
11029         Add #ifndef _ISOMAC guard around internal declarations.
11030         Add multiple-inclusion guard if not already present.
11032 2016-09-23  Zack Weinberg  <zackw@panix.com>
11034         * sysdeps/generic/sys/ucontext.h
11035         * sysdeps/arm/sys/ucontext.h
11036         * sysdeps/i386/sys/ucontext.h
11037         * sysdeps/m68k/sys/ucontext.h
11038         * sysdeps/mips/sys/ucontext.h
11039         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
11040         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
11041         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
11042         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
11043         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
11044         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
11045         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
11046         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
11047         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
11048         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
11049         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
11050         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
11051         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
11052         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
11053         Include both bits/sigcontext.h and bits/sigstack.h.
11054         Fix grammar error in comment, if present.
11056         * bits/sigstack.h
11057         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
11058         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
11059         * sysdeps/unix/sysv/linux/bits/sigstack.h
11060         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
11061         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
11062         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
11063         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
11064         * bits/sigcontext.h
11065         * sysdeps/mach/hurd/i386/bits/sigcontext.h
11066         * sysdeps/unix/sysv/linux/bits/sigcontext.h
11067         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
11068         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
11069         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
11070         as well as signal.h, if this was not already allowed.  Request
11071         definition of size_t if necessary.  Minimize semantically-null
11072         differences across files.
11074 2016-09-23  Zack Weinberg  <zackw@panix.com>
11076         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
11077         Remove all logic conditional on __need macros.  Move all the
11078         conditionally defined types to their own headers...
11079         * time/bits/types/clock_t.h: Define clock_t here.
11080         * time/bits/types/clockid_t.h: Define clockid_t here.
11081         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
11082         * time/bits/types/struct_timespec.h: Define struct timespec here.
11083         * time/bits/types/struct_timeval.h: Define struct timeval here.
11084         * time/bits/types/struct_tm.h: Define struct tm here.
11085         * time/bits/types/time_t.h: Define time_t here.
11086         * time/bits/types/timer_t.h: Define timer_t here.
11087         * time/Makefile: Install the new headers.
11089         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
11090         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
11091         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
11092         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
11093         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
11094         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
11095         * sysdeps/unix/sysv/linux/bits/resource.h
11096         * sysdeps/unix/sysv/linux/bits/timex.h
11097         * sysdeps/unix/sysv/linux/mips/bits/resource.h
11098         * sysdeps/unix/sysv/linux/net/ppp_defs.h
11099         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
11100         * sysdeps/unix/sysv/linux/sys/acct.h
11101         * sysdeps/unix/sysv/linux/sys/timerfd.h
11102         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
11103         * time/sys/time.h, time/sys/timeb.h
11104         Use the new bits/types headers.
11106         * include/time.h: Remove __need logic.
11107         * include/bits/time.h
11108         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
11109         * include/bits/types/time_t.h, include/bits/types/timer_t.h
11110         * include/bits/types/struct_itimerspec.h
11111         * include/bits/types/struct_timespec.h
11112         * include/bits/types/struct_timeval.h
11113         * include/bits/types/struct_tm.h:
11114         New wrapper headers.
11116 2016-09-23  Zack Weinberg  <zackw@panix.com>
11118         * sysdeps/mach/hurd/net/if_ppp.h
11119         * sysdeps/unix/sysv/linux/net/if_ppp.h:
11120         Only define struct ifpppstatsreq and struct ifpppcstatsreq
11121         if __USE_MISC is defined, to ensure struct ifreq is declared.
11123         * inet/netinet/ether.h: Condition all function prototypes
11124         on __USE_MISC, to ensure struct ether_addr is declared.
11126         * socket/bits/types/struct_osockaddr.h: New header.
11127         * include/bits/types/struct_osockaddr.h: New wrapper.
11128         * socket/Makefile: Install the new header.
11129         * socket/sys/socket.h, inet/protocols/talkd.h:
11130         Refer to bits/types/struct_osockaddr.h for the definition of
11131         struct osockaddr.
11133 2016-09-23  Zack Weinberg  <zackw@panix.com>
11135         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
11136         * inet/protocols/routed.h, inet/protocols/talkd.h
11137         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
11138         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
11139         * sysdeps/generic/netinet/if_ether.h
11140         * sysdeps/generic/netinet/in_systm.h
11141         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
11142         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11143         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
11144         * sysdeps/mach/hurd/net/if_arp.h
11145         * sysdeps/mach/hurd/net/if_ppp.h
11146         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
11147         * sysdeps/unix/sysv/linux/bits/in.h
11148         * sysdeps/unix/sysv/linux/net/ethernet.h
11149         * sysdeps/unix/sysv/linux/net/if_arp.h
11150         * sysdeps/unix/sysv/linux/net/if_ppp.h
11151         * sysdeps/unix/sysv/linux/net/if_shaper.h
11152         * sysdeps/unix/sysv/linux/net/route.h
11153         * sysdeps/unix/sysv/linux/netinet/if_ether.h
11154         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11155         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11156         * sysdeps/unix/sysv/linux/netipx/ipx.h
11157         * sysdeps/unix/sysv/linux/sys/acct.h
11158         * include/arpa/nameser.h, include/resolv.h:
11159         Change all uses of u_char to unsigned char,
11160         u_short and ushort to unsigned short, u_int and uint to unsigned int,
11161         u_long and ulong to unsigned long, u_int8_t to uint8_t,
11162         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
11163         and u_int64_t and u_quad_t to uint64_t.
11165         * mach/sys/reboot.h: Remove two casts of integer literals
11166         to the types they already have.
11168         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
11169         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11170         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
11171         from referring to 'unsigned char' to 'uint8_t' for consistency with
11172         the macro definition below.
11174         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
11175         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
11176         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
11177         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
11178         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
11179         * sysdeps/unix/sysv/linux/sys/acct.h
11180         * include/arpa/nameser.h, include/resolv.h:
11181         Fix indentation disrupted by mechanical edits.
11183         * inet/protocols/talkd.h, resolv/arpa/nameser.h
11184         * sysdeps/generic/netinet/in_systm.h
11185         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11186         * sysdeps/gnu/netinet/udp.h
11187         * sysdeps/unix/sysv/linux/net/ethernet.h
11188         * sysdeps/unix/sysv/linux/net/if_arp.h
11189         * sysdeps/unix/sysv/linux/net/if_ppp.h
11190         * sysdeps/unix/sysv/linux/net/if_shaper.h
11191         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11192         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11193         * sysdeps/unix/sysv/linux/netipx/ipx.h
11194         * sysdeps/unix/sysv/linux/sys/acct.h
11195         Include stdint.h for uintNN_t definitions.
11196         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
11198 2016-09-23  Zack Weinberg  <zackw@panix.com>
11200         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
11201         * sysdeps/unix/sysv/linux/netrose/rose.h:
11202         Include sys/socket.h and netax25/ax25.h.
11204         * inet/netinet/icmp6.h, inet/netinet/ip6.h
11205         * resolv/arpa/nameser_compat.h:
11206         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
11208         * sysdeps/unix/sysv/linux/sys/quota.h:
11209         Use __caddr_t instead of caddr_t.
11210         * sysdeps/unix/sysv/linux/sys/timerfd.h:
11211         Use __clockid_t instead of clockid_t.
11213         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
11215         * argp/argp.h: Check whether _LIBC is defined before expanding it.
11216         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
11217         expanding it.
11219         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
11220         Define __glibc_c99_flexarr_available to 1 when the compiler
11221         supports C99-compatible flexible array members, 0 otherwise.
11222         * sysdeps/unix/sysv/linux/bits/socket.h
11223         * sysdeps/mach/hurd/bits/socket.h
11224         * bits/socket.h: Use __glibc_c99_flexarr_available in
11225         definitions of struct cmsghdr and CMSG_DATA.
11227 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11229         * manual/nss.texi (NSS Modules Interface): Adjust function return
11230         type to enum nss_status.  Document errnop argument.  Clarify
11231         h_errnop semantics.  Fix cross-reference formatting.
11232         (NSS Module Function Internals): Mention that *errnop needs to be
11233         set on failure, but not to zero.
11235 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11237         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
11238         (get_random_name): New functions.
11239         (check_wrapper_flags_mode): Use linkat to give the new file a name
11240         determined by get_random_name.
11241         (do_test): Add calls to test open64 and openat64.
11243 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11245         * test-skeleton.c: Remove #include <stdarg.h>.
11247 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
11249         [BZ #19826]
11250         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
11251         initialization of static TLS entries.
11252         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
11253         * nptl/allocatestack.c (init_one_static_tls): Likewise.
11255 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11257         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
11258         _hurd_malloc_fork_prepare.
11259         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
11260         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
11261         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
11262         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
11263         (_hurd_fork_child_hook): Drop malloc_fork_child.
11264         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
11265         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
11266         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
11267         after locking locks (notably hurd_dtable_lock). Call
11268         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
11269         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
11270         __malloc_fork_unlock_child.
11271         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
11273 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
11275         * soft-fp/extendhftf2.c: New.
11276         * soft-fp/fixhfti.c: Likewise.
11277         * soft-fp/fixunshfti.c: Likewise.
11278         * soft-fp/floattihf.c: Likewise.
11279         * soft-fp/floatuntihf.c: Likewise.
11280         * soft-fp/half.h: Likewise.
11281         * soft-fp/trunctfhf2.c: Likewise.
11283 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
11285         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
11286         macro.
11287         * math/libm-test.inc (issubnormal_test_data): New array.
11288         (issubnormal_test): New function.
11289         * manual/arith.texi (Floating Point Classes): Document
11290         issubnormal.
11291         * manual/libm-err-tab.pl: Update comment on interfaces without
11292         ulps tabulated.
11294         * sysdeps/generic/stdint.h: Define
11295         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11296         <bits/libc-header-start.h> instead of including <features.h>.
11297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
11298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
11299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
11300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
11301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
11302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
11303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
11304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
11305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
11306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
11307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
11308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
11309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
11310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
11311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
11312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
11313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
11314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
11315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
11316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
11317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
11318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
11319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
11320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
11321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
11322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
11323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
11324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
11325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
11326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
11327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
11328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
11329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
11330         * manual/arith.texi (Integers): Document these macros for types
11331         specified by width properties.
11332         * manual/lang.texi (Width of Type): Document these macros for
11333         other standard typedefs.
11334         * stdlib/tst-width-stdint.c: New file.
11335         * stdlib/Makefile (tests): Add tst-width-stdint.
11337 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11339         [BZ #20016]
11340         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
11341         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
11342         Move ...
11343         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
11344         ... here, as compatibility symbols in a new file.
11345         * resolv/Makefile (libresolv-routines): Add compat-hooks.
11346         * resolv/res_init.c (__res_vinit): Adjust member names.
11347         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
11348         * resolv/resolv.h (res_sendhookact, res_send_qhook)
11349         (res_send_rhook): Remove.
11350         (struct __res_state): Rename qhook, rhook members.
11352 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11354         malloc: Use __libc_lock wrappers.
11355         * malloc/arena.c (list_lock, free_list_lock): Define using
11356         __libc_lock_define_initialized.
11357         (arena_lock): Adjust formatting.
11358         * malloc/malloc.c (struct malloc_state): Define mutex using
11359         __libc_lock_define.
11360         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
11361         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
11362         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
11363         (mutex_unlock, mutex_trylock): Remove.
11364         (__pthread_initialize): Remove unused macro.
11365         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
11366         (mutex_unlock, mutex_trylock): Remove.
11368 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11370         [BZ #20592]
11371         Remove RR type classification macros.
11372         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
11373         (ns_t_udp_p, ns_t_xfr_p): Remove.
11375 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11377         Remove misleading version information.
11378         * resolv/arpa/nameser.h (__NAMESER): Remove.
11379         * resolv/arpa/nameser_compat.h (__BIND): Remove.
11381 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11383         Remove the always-defined BIND_4_COMPAT macro.
11384         * resolv/arpa/nameser.h: Unconditionally include
11385         <arpa/nameser_compat.h>.
11386         (BIND_4_COMPAT): Remove.
11387         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
11389 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11391         [BZ #20591]
11392         Remove obsolete DNSSEC support.
11393         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
11394         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
11395         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
11396         (ns_verify_tcp, ns_verify_tcp_init): Remove.
11397         (ns_cert_types): Add comment.
11398         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
11399         separately.
11400         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
11401         (dst_s_dns_key_id): Remove.
11402         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
11403         variables.
11405 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11407         [BZ #20524]
11408         * manual/string.texi (String/Array Comparison): Clarify the
11409         strverscmp behavior.
11411 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11413         * test-skeleton.c (xasprintf): Add function.
11414         * io/tst-open-tmpfile.c: New test.
11415         * io/Makefile (tests): Add it.
11417 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11419         Avoid running $(CXX) during build to obtain header file paths.
11420         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
11421         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
11422         * Makerules (cstdlib, cmath): Remove variables.  Use
11423         $(c++-cstdlib-header), $(c++-cmath-header) instead.
11424         * configure: Regenerate.
11426 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11428         * Makeconfig (all-object-suffixes): Include .op only if
11429         $(build-profile).
11431 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11433         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
11434         conditionals.  Do not define PATH_MAX.
11436 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11438         * posix/Makefile (tests): Add tst-spawn3.
11439         * posix/tst-spawn3.c: New file.
11440         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
11441         if it is already opened for open action.
11443         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
11444         all signals when executing the clone vfork child.
11445         (SIGALL_SET): Remove macro.
11447         * nptl/Makefile (tests): Add tst-exec5.
11448         * nptl/tst-exec5.c: New file.
11449         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
11450         asynchronous cancellation.
11452 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11454         * hurd/exc2signal.c: #include <hurd/signal.h>
11455         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
11456         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
11457         accordingly.
11458         * mach/mach_error.c (mach_error): Fix old-style function definition.
11459         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
11461 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11463         * math/Makefile (libm-calls): Remove s_nanF.
11464         (gen-libm-calls): Add s_nanF.
11466         * math/s_nan.c: Refactor into ...
11467         * math/s_nan_template.c: New file.
11469         * math/s_nanf.c: Removed.
11470         * math/s_nanl.c: Removed.
11471         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
11472         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
11474         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11475         (LDOUBLE_nanl_libm_version): New macro.
11477         * sysdeps/generic/math-type-macros-double.h:
11478         (M_STRTO_NAN): New macro.
11479         * sysdeps/generic/math-type-macros-float.h: Likewise.
11480         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11482         * sysdeps/generic/math-type-macros.h: Document
11483         M_STRTO_NAN.
11485 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11487         * math/s_nanf.c: Remove __nanf undef.
11488         * math/s_nan.c: Remove __nan undef.
11489         * math/s_nanl.c: Remove __nanl undef.
11491         * sysdeps/generic/math_private.h (__nan): Remove macro
11492         override.
11493         (__nanf): Likewise.
11494         (__nanl): Likewise.
11496 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11498         * math/Makefile (gen-all-calls): New variable.
11499         (generated): Replace gen-libm-calls with gen-all-calls.
11500         (gen-libm-templates.stmp): Likewise.  Also, ensure
11501         the output directory exists or is created and add
11502         dependency on the Makefile.
11503         (calls): Move s_ldexpF into gen-calls.
11504         (gen-calls): New variable.
11506         * math/s_ldexpf.c: Removed.
11507         * math/s_ldexpl.c: Removed.
11508         * math/s_ldexp.c: Refactored into ...
11509         * math/s_ldexp_template.c: New file.
11511         * sysdeps/generic/math-type-macros-double.h: Remove
11512         redundant fall-through definition of declare_mgen_alias.
11513         (declare_mgen_alias_2): New macro.
11515         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
11516         New macro for function aliased to two exported symbols.
11518         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
11519         new template file.
11520         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11522 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11524         * Makeconfig (all-object-suffixes): Remove .og.
11525         * Makerules (elide-routines.og): Remove.
11526         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
11527         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
11528         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
11530 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11532         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
11533         .os objects.
11535 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11537         [BZ #20615]
11538         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
11539         fpu directory by non-fpu.
11540         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
11541         on non-fpu directory from a fpu directory.
11543 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
11545         * include/limits.h: Define
11546         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11547         <bits/libc-header-start.h> instead of including <features.h>.
11548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
11549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
11550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
11551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
11552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
11553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
11554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
11555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
11556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
11558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
11559         * manual/lang.texi (Width of Type): Document these macros.
11560         * stdlib/tst-width.c: New file.
11561         * stdlib/Makefile (tests): Add tst-width.
11563 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11565         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
11566         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
11568 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11570         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
11571         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11572         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11574 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11576         [BZ #18243]
11577         * rt/Makefile (test): Add tst-shm-cancel.
11578         * rt/tst-shm-cancel.c: New file.
11579         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
11581         [BZ #18243]
11582         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
11583         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
11584         definition.
11585         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
11586         uncontended case.
11587         * nptl/sem_wait.c (__new_sem_wait): Likewise.
11588         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
11589         (tf): Fix check for uncontended case.
11590         (do_test): Likewise.
11591         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
11592         (tf): Fix check for uncontended case.
11593         (do_test): Likewise.
11594         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
11595         (tf): Fix check for uncontended case.
11596         (do_test): Likewise.
11597         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
11598         (tf): Fix check for uncontended case.
11599         (do_test): Likewise.
11601         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
11602         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11604         [BZ #15765]
11605         * nptl/Makefile (tests): Add tst-sem16.
11606         * nptl/tst-sem16.c: New file.
11607         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11609         * nptl/sem_open.c (sem_open): Init pad value to 0.
11610         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11611         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11613 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11615         [BZ #20611]
11616         * inet/Makefile (routines): Add inet6_scopeid_pton.
11617         (tests): Add tst-inet6_scopeid_pton.
11618         * inet/inet6_scopeid_pton.c: New file.
11619         * inet/net-internal.h: Likewise.
11620         * inet/tst-inet6_scopeid_pton.c: New test.
11621         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11622         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11625 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11627         Remove support for compiling wrappers with PTW.
11628         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11629         * nptl/Makefile (pthread-compat-wrappers): Define.
11630         (libpthread-routines): Use pthread-compat-wrappers.
11631         * sysdeps/unix/sysv/linux/alpha/Makefile
11632         (libpthread-routines, libpthread-shared-only-routines): Remove
11633         ptw- prefix.
11634         * sysdeps/s390/nptl/Makefile
11635         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11636         * sysdeps/ia64/nptl/Makefile
11637         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11638         * sysdeps/nacl/Makefile (libpthread-routines): Use
11639         pthread-compat-wrappers to filter the routines list instead of the
11640         ptw- prefix.
11642 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11644         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11645         with L() and remove explicit suffix, convert real literals
11646         which can be equivalentally substituted with integers, and
11647         transform -L(x) to L(-x).
11649         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11650         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11651         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11652         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11653         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11654         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11655         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11656         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11657         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11658         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11659         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11660         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11661         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11662         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11663         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11664         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11665         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11666         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11667         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11668         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11669         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11670         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11671         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11672         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11673         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11674         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11675         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11676         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11677         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11678         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11679         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11680         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11681         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11682         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11683         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11684         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11685         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11686         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11687         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11688         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11689         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11690         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11691         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11692         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11693         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11694         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11695         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11696         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11697         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11698         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11700 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11702         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11704 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11706         * malloc/Makefile (tests): Remove individual static test names
11707         and just add all of tests-static.
11709         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11711 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11713         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11714         file.
11716         * sysdeps/sparc/fpu/fegetmode.c: New file.
11717         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11719         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11720         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11722         * sysdeps/s390/fpu/fegetmode.c: New file.
11723         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11725         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11726         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11727         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11728         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11729         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11730         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11732         * sysdeps/mips/fpu/fegetmode.c: New file.
11733         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11735         * sysdeps/m68k/fpu/fegetmode.c: New file.
11736         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11738         * sysdeps/ia64/fpu/fegetmode.c: New file.
11739         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11741         * sysdeps/hppa/fpu/fegetmode.c: New file.
11742         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11744         * sysdeps/arm/fegetmode.c: New file.
11745         * sysdeps/arm/fesetmode.c: Likewise.
11747         * sysdeps/alpha/fpu/fegetmode.c: New file.
11748         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11750         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11751         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11753         * math/fegetmode.c: New file.
11754         * math/fesetmode.c: Likewise.
11755         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11756         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11757         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11758         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11759         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11761         declaration.
11762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11763         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11764         typedef.
11765         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11766         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11767         (femode_t): New typedef.
11768         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11769         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11770         (femode_t): New typedef.
11771         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11772         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11773         (femode_t): New typedef.
11774         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11775         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11776         (femode_t): New typedef.
11777         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11778         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11779         (femode_t): New typedef.
11780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11781         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11782         (femode_t): New typedef.
11783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11784         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11785         (femode_t): New typedef.
11786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11787         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11788         (femode_t): New typedef.
11789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11790         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11791         (femode_t): New typedef.
11792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11793         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11794         (femode_t): New typedef.
11795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11796         declaration.
11797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11798         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11799         (femode_t): New typedef.
11800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11801         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11802         (femode_t): New typedef.
11803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11804         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11805         (femode_t): New typedef.
11806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11807         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11808         (femode_t): New typedef.
11809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11810         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11811         (femode_t): New typedef.
11812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11813         * manual/arith.texi (FE_DFL_MODE): Document macro.
11814         (fegetmode): Document function.
11815         (fesetmode): Likewise.
11816         * math/Versions (fegetmode): New libm symbol at version
11817         GLIBC_2.25.
11818         (fesetmode): Likewise.
11819         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11820         (tests): Add test-femode and test-femode-traps.
11821         * math/test-femode-traps.c: New file.
11822         * math/test-femode.c: Likewise.
11823         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11824         alias for __fe_dfl_env.
11825         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11826         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11827         (__fe_dfl_mode): Likewise.
11828         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11829         version GLIBC_2.25.
11830         * sysdeps/nacl/libm.abilist: Update.
11831         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11832         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11834         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11835         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11836         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11837         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11838         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11839         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11840         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11841         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11842         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11844         Likewise.
11845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11846         Likewise.
11847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11848         Likewise.
11849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11850         Likewise.
11851         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11852         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11853         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11854         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11855         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11859         Likewise.
11860         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11861         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11862         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11864 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11866         [BZ #20495]
11867         [BZ #20508]
11868         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11869         processors, set Use_dl_runtime_resolve_slow and set
11870         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11871         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11872         New.
11873         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11874         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11875         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11876         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11877         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11878         if Use_dl_runtime_resolve_opt is set.  Use
11879         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11880         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11881         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11882         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11883         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11884         New.
11885         (_dl_runtime_resolve_opt): Likewise.
11886         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11887         defined.
11889 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11891         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11892         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11894 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11896         Convert malloc to __libc_lock.  Automated part, using this Perl
11897         s/// command:
11898           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11899             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11900         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11901         conversion.
11903 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11905         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11906         (linknamespace-symlists-tests): Likewise.
11907         (linknamespace-header-tests): Likewise.
11909 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11911         [BZ #19810]
11912         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11913         * elf/tst-noload.c: New test case.
11914         * elf/Makefile (tests): Add tst-noload.
11916 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11918         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11920         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11921         not any more.
11923         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11925 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11927         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11928         (do_cos_slow): Likewise.
11929         (do_sin): Likewise.
11930         (do_sin_slow): Likewise.
11931         (slow): Likewise.
11932         (slow1): Likewise.
11933         (slow2): Likewise.
11934         (sloww): Likewise.
11935         (sloww1): Likewise.
11936         (sloww2): Likewise.
11937         (bsloww): Likewise.
11938         (bsloww1): Likewise.
11939         (bsloww2): Likewise.
11940         (cslow2): Likewise.
11942         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11944         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11945         arguments.  Consolidate input partitioning from callers here.
11946         (do_cos_slow): Likewise.
11947         (do_sin): Likewise.
11948         (do_sin_slow): Likewise.
11949         (do_sincos_1): Remove the no longer necessary input partitioning.
11950         (do_sincos_2): Likewise.
11951         (__sin): Likewise.
11952         (__cos): Likewise.
11953         (slow1): Likewise.
11954         (slow2): Likewise.
11955         (sloww1): Likewise.
11956         (sloww2): Likewise.
11957         (bsloww1): Likewise.
11958         (bsloww2): Likewise.
11959         (cslow2): Likewise.
11961 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11963         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11964         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11965         outside of allocated array.
11967 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11969         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11970         instead of MB_CUR_MAX to avoid variable-length array.
11972 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11974         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11975         (type-double-routines): Add k_rem_pio2.
11976         (type-float-routines): Add k_rem_pio2f.
11978         * sysdeps/generic/math_private.h:
11979         (__kernel_rem_pio2l): Removed.
11981         * math/k_rem_pio2l.c: Removed.
11982         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11983         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11984         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11985         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11987 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11989         * math/Makefile (gen-libm-calls): Add s_fmin
11990         (libm-calls): Remove above.
11992         * math/s_fmin.c: Refactor into ...
11993         * math/s_fmin_template.c: New file.
11995         * math/s_fminf.c: Removed.
11996         * math/s_fminl.c: Removed.
11997         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11998         (LDOUBLE_fmin_libm_version): New macro.
12000         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
12001         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
12003 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12005         * math/Makefile: (gen-libm-calls): Add s_fmax.
12006         (libm-calls): Remove above.
12008         * math/s_fmax.c: Refactor into ...
12009         * math/s_fmax_template.c: New file.
12010         * math/s_fmaxf.c: Removed.
12011         * math/s_fmaxl.c: Removed.
12013         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12014         (LDOUBLE_fmaxl_libm_version): New macro.
12016         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
12017         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
12019         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
12020         s_fmin.c to pick the aarch64 version of the file.
12021         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
12022         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
12024 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12026         * math/Makefile: (gen-libm-calls): Add s_nextdown.
12027         (libm-calls): Remove above.
12029         * math/s_nextdown.c: Refactor into ...
12030         * math/s_nextdown_template.c: New file.
12031         * math/s_nextdownf.c: Removed.
12032         * math/s_nextdownl.c: Removed.
12034         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
12036 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12038         * math/Makefile (gen-libm-calls): Add s_fdim.
12039         (libm-calls): Move to above.
12041         * math/s_fdim.c: Renamed and refactored into to ...
12042         * math/s_fdim_template.c: New file.
12043         * math/s_fdiml.c: Removed.
12044         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
12045         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
12047         * sysdeps/generic/math-type-macros-double.h:
12048         (declare_mgen_alias): Don't declare if already declared.
12049         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
12050         Likewise.
12052         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12053         (declare_mgen_alias): Don't declare if already declared.
12054         (M_LIBM_NEED_COMPAT): Likewise.
12055         (declare_mgen_libm_compat): Likewise.
12056         (LDOUBLE_fdiml_libm_version): New macro.
12058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12059         Include math/s_fdim.c now that ldbl-opt version is not needed.
12060         (declare_mgen_alias): New macro to disable aliasing.
12062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
12063         (declare_mgen_alias): Likewise.
12064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
12065         (declare_mgen_alias): Likewise.
12066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
12067         (declare_mgen_alias): Likewise.
12068         (M_LIBM_NEED_COMPAT): Likewise.
12070 2016-09-01  Florian Weimer  <fweimer@redhat.com>
12072         [BZ #20525]
12073         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
12074         Include <linux/quota.h>.
12075         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
12076         and btodb.
12077         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
12078         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
12079         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
12080         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
12081         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
12082         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
12083         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
12084         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
12085         types.
12086         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
12087         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
12089 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12091         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
12092         (gammal_positive): Fix spacing.
12093         (__ieee754_gammal_r): Likewise.
12095 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12097         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
12098         (_Float128): Define as long double, always.
12099         (L): Apply long double type suffix, always.
12101         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
12102         _Float128, excepting comments.
12104         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12105         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12106         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12107         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12108         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12109         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12110         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12111         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12112         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12113         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
12114         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12115         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12116         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12117         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12118         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12119         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12120         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12121         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12122         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12123         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12124         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12125         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12126         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12127         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12128         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12129         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12130         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12131         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12132         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12133         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12134         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12135         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12136         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12137         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12138         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12139         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12140         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12141         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12142         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12143         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12144         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12145         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12146         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12147         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12148         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12149         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12150         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12151         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12152         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12153         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12154         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12155         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12156         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12157         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12158         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12159         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12160         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12161         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12162         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12163         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12164         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12165         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12166         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12167         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12168         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12169         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12170         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12171         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12173         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
12174         _Float128, and include math_private.h.
12175         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12177         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
12178         long double semantics.
12179         (_Float128): Likewise.
12180         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
12181         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12182         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12183         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12185 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12187         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
12188         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
12189         * sysdeps/s390/configure: Regenerated.
12190         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
12191         instruction for raising over-/underflow if z196 zarch is supported
12192         by default.
12193         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
12195 2016-08-30  Svante Signell  <svante.signell@gmail.com>
12197         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
12198         it point to a dumb buffer for RPC to fill it.
12200 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12202         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
12203         instead of if/else.
12204         (do_sin_slow): Likewise.
12205         (do_sincos_1): Use fabs instead of if/else.
12206         (do_sincos_2): Likewise.
12207         (__sin): Likewise.
12208         (__cos): Likewise.
12209         (slow2): Likewise.
12210         (sloww): Likewise.
12211         (sloww1): Likewise.  Drop argument M.
12212         (sloww2): Use fabs instead of if/else.
12213         (bsloww): Likewise.
12214         (bsloww1): Likewise.
12215         (bsloww2): Likewise.
12217         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
12218         fall through comment.
12219         (do_sincos_1): Likewise.
12221         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
12222         Consolidate switch cases 0 and 2.
12224 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12226         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
12227         (libm-calls): Remove the above.
12229         * math/s_cexp_template.c: Update using type-generic macros.
12230         * math/s_clog10_template.c: Likewise.
12231         * math/s_cpow_template.c: Likewise.
12232         * math/s_clog_template.c: Likewise.
12233         * math/s_cproj_template.c: Likewise.
12234         * math/s_csqrt_template.c: Likewise.
12236         * math/s_cexp.c: Removed.
12237         * math/s_cexpf.c: Removed.
12238         * math/s_cexpl.c: Removed.
12239         * math/s_clog10.c: Removed.
12240         * math/s_clog10f.c: Removed.
12241         * math/s_clog10l.c: Removed.
12242         * math/s_cpow.c: Removed.
12243         * math/s_cpowf.c: Removed.
12244         * math/s_cpowl.c: Removed.
12245         * math/s_clog.c: Removed.
12246         * math/s_clogf.c: Removed.
12247         * math/s_clogl.c: Removed.
12248         * math/s_cproj.c: Removed.
12249         * math/s_cprojf.c: Removed.
12250         * math/s_cprojl.c: Removed.
12251         * math/s_csqrt.c: Removed.
12252         * math/s_csqrtf.c: Removed.
12253         * math/s_csqrtl.c: Removed.
12255         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
12256         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
12257         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
12258         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
12259         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
12260         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
12262         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
12263         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
12264         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
12265         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
12266         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
12267         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
12268         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
12269         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
12270         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
12271         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
12272         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
12274         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
12275         version.
12277         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
12278         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
12279         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
12280         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
12282 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12284         * s_cexp_template.c: Copy of s_cexp.c.
12285         * s_clog_template.c: Copy of s_clog.c.
12286         * s_clog10_template.c: Copy of s_clog10.c.
12287         * s_cpow_template.c: Copy of s_cpow.c.
12288         * s_cproj_template.c: Copy of s_cproj.c.
12289         * s_csqrt_template.c: Copy of s_csqrt.c.
12291 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12293         [BZ #20517]
12294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12295         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
12296         exported.
12298 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
12300         * math/fetestexceptflag.c: New file.
12301         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
12302         Stefan Liebler.
12303         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12304         (fetestexceptflag): New function declaration.
12305         * manual/arith.texi (fetestexceptflag): Document function.
12306         * math/Versions (fetestexceptflag): New libm symbol at version
12307         GLIBC_2.25.
12308         * math/Makefile (libm-support): Add fetestexceptflag.
12309         (tests): Add test-fetestexceptflag.
12310         * math/test-fetestexceptflag.c: New file.
12311         * sysdeps/nacl/libm.abilist: Update.
12312         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12313         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12314         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12315         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12316         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12317         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12318         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12319         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12320         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12321         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12322         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12323         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12325         Likewise.
12326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12327         Likewise.
12328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12329         Likewise.
12330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12331         Likewise.
12332         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12333         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12334         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12335         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12336         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12338         Likewise.
12339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12340         Likewise.
12341         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12342         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12343         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12345 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12347         [BZ #20432]
12348         Avoid strong references to malloc-internal symbols when linking
12349         statically, to support statically interposed mallocs.
12350         * include/libc-symbols.h (call_function_static_weak): New macro.
12351         * malloc/Makefile (tests): Add tst-interpose-nothread,
12352         tst-interpose-thread, tst-interpose-static-nothread,
12353         tst-interpose-static-thread.
12354         (tests-static): Add tst-interpose-static-nothread,
12355         tst-interpose-static-thread.
12356         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
12357         tst-interpose-aux-thread.o.
12358         (test-extras): Add tst-interpose-aux-nothread,
12359         tst-interpose-aux-thread.
12360         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
12361         tst-interpose-aux-nothread.o.
12362         (tst-interpose-thread, tst-interpose-static-thread): Link with
12363         tst-interpose-aux-thread.o and libthread.
12364         * malloc/tst-interpose-aux-nothread.c: New file.
12365         * malloc/tst-interpose-aux-thread.c: Likewise.
12366         * malloc/tst-interpose-aux.c: Likewise.
12367         * malloc/tst-interpose-aux.h: Likewise.
12368         * malloc/tst-interpose-nothread.c: Likewise.
12369         * malloc/tst-interpose-skeleton.c: Likewise.
12370         * malloc/tst-interpose-static-nothread.c: Likewise.
12371         * malloc/tst-interpose-static-thread.c: Likewise.
12372         * malloc/tst-interpose-thread.c: Likewise.
12373         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
12374         * sysdeps/mach/hurd/fork.c (__fork): Only call
12375         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12376         __malloc_fork_unlock_child if defined.
12377         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12379 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12381         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
12382         timespec C99 designated initialization.
12384 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12386         [BZ #19946]
12387         Avoid expected SIGALRM signals.
12388         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
12389         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
12390         (xpthread_create, xpthread_detach, xpthread_join)
12391         (delayed_exit_thread, delayed_exit): New functions.
12392         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
12393         (tf): Use xpthread_cond_wait.
12394         (do_test): Likewise.  Replace alarm with delayed_exit.
12395         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12396         (do_test): Call delayed_exit.  Report failure.
12397         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12398         (do_test): Call delayed_exit.
12399         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12400         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
12401         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12402         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
12403         error.
12404         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12405         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
12406         error.
12407         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
12408         (do_test): Call delayed_exit.
12409         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
12410         (do_test): Call delayed_exit.
12411         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
12412         (do_test): Call delayed_exit instead of alarm.  Use
12413         xpthread_mutex_lock.
12414         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
12415         (do_test): Call delayed_exit instead of alarm.  Use
12416         xpthread_mutex_lock.
12417         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
12418         (do_test): Call delayed_exit instead of alarm.
12419         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
12420         (do_test): Call delayed_exit instead of alarm.  Use
12421         xpthread_spin_lock.
12422         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
12423         (do_test): Call delayed_exit instead of alarm.  Use
12424         xpthread_join.
12426 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12428         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
12429         adjust CFA when allocating register save area on re-aligned
12430         stack.
12432 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12434         * string/tst-cmp.c: New test.
12435         * string/Makefile (tests): Add it.
12437 2016-08-25  Mark Wielaard  <mark@klomp.org>
12439         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
12440         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
12441         (check_tree_recurse): Use newly defined accessors.
12442         (check_tree): Likewise.
12443         (maybe_split_for_insert): Likewise.
12444         (__tfind): Likewise.
12445         (__tdelete): Likewise.
12446         (trecurse): Likewise.
12447         (tdestroy_recurse): Likewise.
12448         (__tsearch): Likewise. And add asserts for malloc alignment.
12449         (__twalk): Cast root to node in case CHECK_TREE is defined.
12451 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12453         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
12455 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12457         * math/Makefile (libm-gen-calls): Add
12458         catan, catanh, ctan, ctanh.
12459         (libm-calls): Remove the above.
12461         * math/s_catan_template.c: Update using type-generic macros.
12462         * math/s_catanh_template.c: Likewise.
12463         * math/s_ctan_template.c: Likewise.
12464         * math/s_ctanh_template.c: Likewise.
12466         * math/s_catanf.c: Removed.
12467         * math/s_catan.c: Removed.
12468         * math/s_catanl.c: Removed.
12469         * math/s_catanhf.c: Removed.
12470         * math/s_catanh.c: Removed.
12471         * math/s_catanhl.c: Removed.
12472         * math/s_ctanf.c: Removed.
12473         * math/s_ctan.c: Removed.
12474         * math/s_ctanl.c: Removed.
12475         * math/s_ctanhf.c: Removed.
12476         * math/s_ctanh.c: Removed.
12477         * math/s_ctanhl.c: Removed.
12479         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
12480         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
12481         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
12482         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
12483         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
12484         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
12486         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
12487         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
12488         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
12489         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
12491 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12493         * s_catan_template.c: Copy of s_catan.c.
12494         * s_catanh_template.c: Copy of s_catanh.c.
12495         * s_ctan_template.c: Copy of s_ctan.c.
12496         * s_ctanh_template.c: Copy of s_ctanh.c.
12498 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12500         * math/Makefile (gen-libm-calls): Move
12501         casin, casinh, csin, csinh here.
12502         (libm-calls): Remove the above.
12504         * math/s_casin_template.c: Update using type-generic macros.
12505         * math/s_casinh_template.c: Likewise.
12506         * math/s_csin_template.c: Likewise.
12507         * math/s_csinh_template.c: Likewise.
12508         * math/k_casinh_template.c: Likewise.
12510         * math/s_casinf.c: Removed.
12511         * math/s_casin.c: Removed.
12512         * math/s_casinl.c: Removed.
12513         * math/s_casinh.c: Removed.
12514         * math/s_casinhf.c: Removed.
12515         * math/s_casinhl.c: Removed.
12516         * math/s_csin.c: Removed.
12517         * math/s_csinf.c: Removed.
12518         * math/s_csinl.c: Removed.
12519         * math/s_csinh.c: Removed.
12520         * math/s_csinhf.c: Removed.
12521         * math/s_csinhl.c: Removed.
12522         * math/k_casinh.c: Removed.
12523         * math/k_casinhf.c: Removed.
12524         * math/k_casinhl.c: Removed.
12526         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
12527         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
12528         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
12529         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
12531         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
12532         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
12533         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
12534         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
12535         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
12536         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
12537         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
12538         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
12540         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
12541         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
12542         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
12543         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
12545         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
12546         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
12547         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
12548         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
12550 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12552         * s_casin_template.c: Copy of s_casin.c.
12553         * s_casinh_template.c: Copy of s_casinh.c.
12554         * s_csin_template.c: Copy of s_csin.c.
12555         * s_csinh_template.c: Copy of s_csinh.c.
12556         * k_casinh_template.c: Copy of k_casinh.c.
12558 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12560         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
12562 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12564         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
12565         (mul_split) Remove, rename as mul_splitl, remove
12566         redundant float.h include, and include via mul_splitl.h
12568         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12569         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12570         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12571         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12572         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12574         * math/mul_splitl.h: New file.
12576         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
12577         Move into mul_split.h, and remove redundant float.h include.
12579         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12580         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12581         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12582         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
12584         * math/mul_split.h: New file.
12586 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12588         * math/Makefile (libm-gen-calls): Move
12589         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
12590         (libm-calls): Remove above.
12592         * math/s_cacos_template.c: Update using type-generic macros.
12593         * math/s_cacosh_template.c: Likewise.
12594         * math/s_ccos_template.c: Likewise.
12595         * math/s_ccosh_template.c: Likewise.
12597         * math/s_cacosf.c: Removed.
12598         * math/s_cacos.c: Removed.
12599         * math/s_cacosl.c: Removed.
12600         * math/s_cacoshf.c: Removed.
12601         * math/s_cacosh.c: Removed.
12602         * math/s_cacoshl.c: Removed.
12603         * math/s_ccosf.c: Removed.
12604         * math/s_ccos.c: Removed.
12605         * math/s_ccosl.c: Removed.
12606         * math/s_ccoshf.c: Removed.
12607         * math/s_ccosh.c: Removed.
12608         * math/s_ccoshl.c: Removed.
12610         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12611         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12612         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12613         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12614         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12615         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12617         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12618         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12619         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12620         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12622         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12623         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12624         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12625         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12627 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12629         * s_cacos_template.c: Copy of s_cacos.c.
12630         * s_cacosh_template.c: Copy of s_cacosh.c.
12631         * s_ccos_template.c: Copy of s_ccos.c.
12632         * s_ccosh_template.c: Copy of s_ccosh.c.
12634 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12636         * stdlib/tst-strtod-round-skeleton.c:
12637         Refactored from tst-strtod-round.c.
12639         (L_): New macro to apply literal modifier.
12640         (FNPFX): New macro to select str or wcs prefix.
12641         (CHAR): New macro to choose wchar_t or char.
12642         (STRM): New macro to choose printf for tested character type.
12644         (STRTO): New macro to choose appropriate string -> real function.
12645         (FNPFXS): Stringitized version of FNPFX.
12646         (STR): Support for above macro.
12647         (STRX): Likewise.
12649         (TEST): Update with above macros.
12650         (test): Likewise.
12651         (GEN_ONE_TEST): Likewise.
12652         (test_in_one_mode): Likewise.
12654         * stdlib/tst-strtod-round.c: New file.
12655         * wcsmbs/tst-wcstod-round.c: New file.
12657         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12658         (tst-wcstod-round): Add libm depencency for fesetround.
12660 2016-08-19  Zack Weinberg  <zackw@panix.com>
12662         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12664 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12666         [BZ #20477]
12667         * resolv/res_hconf.c (do_init): Use atomic access.
12668         * resolv/res_hconf.h: Add comments.
12669         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12670         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12673 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12675         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12676         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12677         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12678         Likewise.
12680 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12682         [BZ #16907]
12683         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12684         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12685         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12686         (__attribute__): Remove definition.
12688 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12690         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12691         Remove unused sqrtl declaration.
12693 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12695         * math/Makefile: (gen-libm-templates.stmp): New rule.
12696         (libm-calls): Move carg conj cimag and cabs into ...
12697         (gen-libm-calls): New variable.
12698         (generated): Inform Make objects from gen-libm-calls
12699         may be generated.
12701         * sysdeps/generic/math-type-macros.h: New file.
12702         * sysdeps/generic/math-type-macros-float.h: Likewise.
12703         * sysdeps/generic/math-type-macros-double.h: Likewise.
12704         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12705         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12706         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12708         * math/cabs.c: Refactor into
12709         * math/cabs_template.c: new file.
12710         * math/cabsf.c: Removed.
12711         * math/cabsl.c: Removed.
12712         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12713         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12715         * math/carg.c: Refactor into
12716         * math/carg_template.c: new file.
12717         * math/cargf.c: Removed.
12718         * math/cargl.c: Removed.
12719         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12720         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12722         * math/conj.c: Refactor into
12723         * math/conj_template.c: new file.
12724         * math/conjf.c: Removed.
12725         * math/conjl.c: Removed.
12726         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12727         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12729         * math/cimag.c: Refactor into
12730         * math/cimag_template.c: new file.
12731         * math/cimagf.c: Removed.
12732         * math/cimagl.c: Removed.
12733         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12734         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12736         * math/cimag.c: Refactor into
12737         * math/cimag_template.c: new file.
12738         * math/cimagf.c: Removed.
12739         * math/cimagl.c: Removed.
12740         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12741         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12743 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12745         Reduce time to expected nptl/tst-once5 failure.
12746         * nptl/tst-once5.cc (TIMEOUT): Define.
12748 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12750         [BZ #20452]
12751         Avoid additional copies of objects in libc.a in static libraries.
12752         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12753         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12754         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12755         rt-sysdep.
12756         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12757         Add nptl-sysdep.
12758         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12759         Add ptw-sysdep.
12760         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12761         rt-sysdep.
12762         * sysdeps/unix/sysv/linux/alpha/Makefile
12763         (libpthread-shared-only-routines): Add ptw-sysdep,
12764         ptw-sigprocmask, ptw-rt_sigaction.
12765         * sysdeps/unix/sysv/linux/ia64/Makefile
12766         (librt-shared-only-routines): Add rt-sysdep.
12767         * sysdeps/unix/sysv/linux/i386/Makefile
12768         (libpthread-shared-only-routines): Add libc-do-syscall.
12769         * sysdeps/unix/sysv/linux/microblaze/Makefile
12770         (libpthread-shared-only-routines): Add sysdep.
12771         * sysdeps/unix/sysv/linux/powerpc/Makefile
12772         (librt-shared-only-routines): Add rt-sysdep.
12773         (libpthread-shared-only-routines): Add sysdep.
12774         * sysdeps/unix/sysv/linux/s390/Makefile
12775         (librt-shared-only-routines): Add rt-sysdep.
12776         * sysdeps/unix/sysv/linux/sparc/Makefile
12777         (librt-shared-only-routines): Add rt-sysdep.
12778         (libpthread-shared-only-routines): Add sysdep.
12779         * sysdeps/unix/sysv/linux/tile/Makefile
12780         (libpthread-shared-only-routines): Likewise.
12782 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12784         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12785         Mask implicit bit out of unpacked value.
12786         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12787         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12790         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12792         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12794         * sysdeps/s390/fpu/fesetexcept.c: New file.
12796         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12797         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12798         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12800         * sysdeps/mips/fpu/fesetexcept.c: New file.
12802         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12804         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12806         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12808         * sysdeps/arm/fesetexcept.c: New file.
12810         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12812         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12814         * math/fesetexcept.c: New file.
12815         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12816         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12817         * math/fenv.h: Define
12818         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12819         <bits/libc-header-start.h> instead of including <features.h>.
12820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12821         declaration.
12822         * manual/arith.texi (fesetexcept): Document function.
12823         * math/Versions (fesetexcept): New libm symbol at version
12824         GLIBC_2.25.
12825         * math/Makefile (libm-support): Add fesetexcept.
12826         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12827         * math/test-fesetexcept.c: New file.
12828         * math/test-fesetexcept-traps.c: Likewise.
12829         * sysdeps/nacl/libm.abilist: Update.
12830         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12831         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12832         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12833         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12834         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12835         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12836         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12837         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12838         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12839         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12840         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12841         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12843         Likewise.
12844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12845         Likewise.
12846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12847         Likewise.
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12849         Likewise.
12850         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12851         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12852         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12853         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12854         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12856         Likewise.
12857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12858         Likewise.
12859         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12860         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12861         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12863 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12865         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12866         New.
12867         (do_test): Apply default_stack_size_in_mb if not set.
12868         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12870 2016-08-15  Andreas Schwab  <schwab@suse.de>
12872         [BZ #20435]
12873         CVE-2016-6323
12874         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12875         as .cantunwind.
12877 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12879         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12880         comment from fraiseexcpt.c.
12882         * math/test-fexcept.c (feraiseexcept_exact): New function.
12883         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12884         (test_except): Likewise.
12886 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12888         [BZ #20455]
12889         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12890         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12891         to be restored.
12893         * math/test-fexcept-traps.c: New file.
12894         * math/test-fexcept.c: Likewise.
12895         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12896         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12897         macro.
12898         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12899         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12901 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12903         * include/atomic.h (atomic_fetch_and_relaxed,
12904         atomic_fetch_and_release, atomic_fetch_or_release,
12905         atomic_fetch_xor_release): New.
12907 2016-08-06  Christian Seiler  <christian@iwakd.de>
12909         [BZ #20444]
12910         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12911         MACH_PORT_NULL.
12913 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12915         * math/s_fdim.c: Avoid alias renamed.
12916         * math/s_fdimf.c: Likewise.
12917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12918         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12919         Add s_fdimf-vis3, s_fdim-vis3.
12920         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12921         (CFLAGS-s_fdim-vis3.c): Likewise.
12922         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12923         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12925 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12928         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12929         Remove s_fdimf-vis3, s_fdim-vis3.
12930         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12931         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12938         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12939         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12941 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12943         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12944         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12945         -Wa,-Av9a -mvis.
12947 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12949         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12950         LIT() to individual constants in simple expressions
12951         after splitting on spaces.
12952         (_apply_lit): Rename replaced version, and use it to
12953         apply to what appears to be a token.
12955         * math/libm-test.inc: Fix many, many issues with
12956         spacing.
12958 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12960         * math/math.h: Move comment about <bits/mathdef.h> definitions
12961         above inclusion of <bits/mathdef.h>.  Do not mention
12962         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12964 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12966         * include/atomic.h (atomic_exchange_relaxed): New.
12968 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12970         * math/e_scalb.c: Do not include <fenv.h>.
12971         (invalid_fn): Do calculation resulting in NaN instead of raising
12972         FE_INVALID and returning a NaN explicitly.
12973         * math/e_scalbf.c: Do not include <fenv.h>.
12974         (invalid_fn): Do calculation resulting in NaN instead of raising
12975         FE_INVALID and returning a NaN explicitly.
12976         * math/e_scalbl.c: Do not include <fenv.h>.
12977         (invalid_fn): Do calculation resulting in NaN instead of raising
12978         FE_INVALID and returning a NaN explicitly.
12980 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12982         * po/de.po: Updated from Translation Project.
12983         * po/fi.po: Likewise.
12984         * po/sv.po: Likewise.
12986 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12988         [BZ #20452]
12989         Use sysdep.o from libc.a in static libraries.
12990         * sysdeps/unix/sysv/linux/i386/Makefile
12991         (libpthread-shared-only-routines): Add sysdep.
12992         (librt-shared-only-routines): Likewise.
12994 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12996         * math/tgmath.h (nextdown): Define if
12997         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12998         (nextup): Likewise.
13000         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
13001         macro.
13002         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13003         Document.
13004         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13005         Document macro.
13006         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
13007         (exp10f): Likewise.
13008         (exp10l): Likewise.
13009         * math/bits/mathcalls.h (exp10): Declare if
13010         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
13012         * manual/arith.texi (nextup): Fix typo in last change.
13014 2016-08-03  Zack Weinberg  <zackw@panix.com>
13016         [BZ #19239]
13017         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
13018         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
13019         define major, minor, and makedev to issue deprecation warnings on use.
13020         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
13021         previously-activated deprecation warnings for these macros and prevent
13022         subsequent inclusions of this header from having any effect.
13023         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
13024         including <sys/sysmacros.h>, and undefine it again afterward.
13026 2016-08-03  Zack Weinberg  <zackw@panix.com>
13028         * sysdeps/generic/sys/sysmacros.h: Delete file.
13029         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
13030         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
13031         * bits/sysmacros.h: ... here; this encoding is now the generic
13032         encoding.  Now defines only the following macros:
13033         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
13034         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
13035         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
13037         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
13038         bits/sysmacros.h and the above new macros to generate the
13039         public implementations of major, minor, and makedev.
13040         * misc/tst-makedev.c: New test.
13041         * include/sys/sysmacros.h: New wrapper.
13043         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
13044         (routines): Add makedev.
13045         (tests): Add tst-makedev.
13046         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
13047         gnu_dev_makedev.
13048         * posix/Makefile (headers): Remove sys/sysmacros.h.
13049         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
13051         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
13052         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
13053         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13054         * sysdeps/unix/sysv/linux/alpha/libc.abilist
13055         * sysdeps/unix/sysv/linux/arm/libc.abilist
13056         * sysdeps/unix/sysv/linux/hppa/libc.abilist
13057         * sysdeps/unix/sysv/linux/i386/libc.abilist
13058         * sysdeps/unix/sysv/linux/ia64/libc.abilist
13059         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13060         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13061         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13062         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13063         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13064         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13065         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13066         * sysdeps/unix/sysv/linux/nios2/libc.abilist
13067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13071         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13072         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13073         * sysdeps/unix/sysv/linux/sh/libc.abilist
13074         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13075         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13078         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13079         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13080         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13081         Add GLIBC_2.25.
13083         * include/features.h (__glibc_clang_prereq): New macro.
13084         * misc/sys/cdefs.h (__glibc_clang_has_extension)
13085         (__attribute_deprecated_msg__): New macros.
13087 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13089         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
13090         macro.
13091         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
13092         * manual/arith.texi (issignaling): Document as ISO from TS
13093         18661-1:2014.
13094         (nextup): Likewise.
13095         (nextupf): Likewise.
13096         (nextupl): Likewise.
13097         (nextdown): Likewise.
13098         (nextdownf): Likewise.
13099         (nextdownl): Likewise.
13100         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
13101         macro.
13102         * math/math.h: Define
13103         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13104         <bits/libc-header-start.h> instead of including <features.h>.
13105         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
13106         [__USE_GNU].
13107         * math/bits/mathcalls.h (nextdown): Declare if
13108         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
13109         (nextup): Likewise.
13110         (__issignaling): Likewise.
13112 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13114         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
13115         check, and remove __glibc_likely hint
13116         from FP_INFINITE check.
13117         * s_csinhf.c (__csinhf): Likewise.
13119         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
13120         hint from FP_INFINITE check.
13121         * s_csinhl.c (__csinhl): Likewise.
13123 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13125         * math/Makefile (libm-calls): Insert F placeholder into
13126         object names.  Move w_lgamma_compat* routines into
13127         (libm-compat-calls): New variable.
13128         (libm-compat-calls-ldouble-yes): New variable.
13129         (calls): Insert F placeholder.
13130         (generated): Redefine using new type-foreach macro call.
13131         (routines): Likewise.
13133         (types): New variable to hold a list of symbolic names
13134         for each type supported by the target machine.
13135         (libm-routines): Redefine using new types variable.
13136         (type-foreach): macro to replace fooF with the
13137         appropriately suffixed foo for each types.
13139         (type-ldouble-suffix): New variable.
13140         (type-ldouble-routines): Likewise.
13141         (type-ldouble-yes): Likewise.
13142         (type-double-suffix): Likewise.
13143         (type-double-routines): Likewise.
13144         (type-float-suffix): Likewise.
13145         (type-float-routines): Likewise.
13147         (dbl-only-routines): Remove.
13148         (long-c-yes): Likewise.
13149         (long-m-routines): Likewise.
13150         (long-m-support): Likewise.
13151         (long-m-yes): Likewise.
13152         (test-longdouble-yes): Likewise.
13154         (test-float.o): Simplify by increasing the scope of the
13155         recipe which adds libm-test.stmp to the vector types.
13156         (test-ifloat.o): Likewise.
13157         (test-float-finite.o): Likewise.
13158         (test-double.o): Likewise
13159         (test-idouble.o): Likewise.
13160         (test-double-finite.o): Likewise.
13161         (test-ldouble.o): Likewise
13162         (test-ildoubl.o): Likewise.
13163         (test-ldouble-finite.o): Likewise.
13165         (libm-tests): Redefine type tests using foreach and the
13166         list of types in types.
13168         (CPPFLAGS-test-ildoubl.c): Rename to
13169         (CPPFLAGS-test-ildouble.c): New variable
13171         * math/test-ildoubl.c: Rename to
13172         * math/test-ildouble.c: New file.
13174 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13176         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
13177         Use fabsl instead of fabs.
13178         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
13179         Likewise.
13180         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
13181         Add long double suffix to constant to ensure proper
13182         promotion to long double.
13184 2016-08-03  Tom Tromey  <tom@tromey.com>
13186         [BZ #20311]
13187         * nptl_db/Makefile (headers): Add proc_service.h.
13188         * nptl_db/proc_service.h: Add include guard.  Use
13189         __BEGIN/__END_DECLS.
13190         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
13191         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
13192         arguments.
13195 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13197         [BZ #17730]
13198         Avoid using memalign for TCB allocations.
13199         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
13200         (_dl_allocate_tls_storage): Use malloc and manual alignment.
13201         Avoid alignment gap in the TLS_DTV_AT_TP case.
13202         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
13203         determine the pointer to free.
13204         * nptl/tst-tls3-malloc.c: New test.
13205         * nptl/Makefile (tests): Add it.
13206         (tst-tls3-malloc): Link with libdl, libpthread.
13207         (LDFLAGS-tst-tls3-malloc): Set.
13208         (tst-tls3-malloc.out): Depend on DSO used in test.
13210 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13212         [BZ #17730]
13213         Avoid using memalign for TLS allocations.
13214         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
13215         is_static member with to_free member.
13216         (union dtv): Use struct dtv_pointer.
13217         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
13218         dtv_pointer instead of is_static.
13219         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
13220         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
13221         instead of val.
13222         (allocate_dtv_entry): New function.
13223         (allocate_and_init): Return struct dtv_pointer.  Call
13224         allocate_dtv_entry instead of __libc_memalign.
13225         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
13226         instead of val.
13227         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
13228         instead of is_static.  Adjust call to allocate_and_init.
13229         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
13230         struct dtv_pointer instead of val.
13232 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13234         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
13235         (MALLOC_ALIGN_MASK): Move ...
13236         * malloc/malloc-internal.h: ... to here.
13237         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
13239 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13241         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
13242         (UDP_ENCAP_GTP1U): Likewise.
13244         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
13245         (PF_MAX): Update value.
13246         (AF_QIPCRTR): New macro.
13248 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13250         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13251         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13252         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13253         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13254         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13255         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13256         s_truncf-vis3, s_trunc-vis3.
13257         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13258         (CFLAGS-s_ceil-vis3.c): Likewise.
13259         (CFLAGS-s_floorf-vis3.c): Likewise.
13260         (CFLAGS-s_floor-vis3.c): Likewise.
13261         (CFLAGS-s_truncf-vis3.c): Likewise.
13262         (CFLAGS-s_trunc-vis3.c): Likewise.
13263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
13264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
13266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
13268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
13270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13271         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
13272         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13273         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
13274         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13276 2016-08-02  David S. Miller  <davem@davemloft.net>
13278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13279         (__nearbyint_vis3): Don't check for sNaN before float register is
13280         loaded with the incoming argument.
13281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13282         (__nearbyintf_vis3): Likewise.
13283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
13284         Likewise.
13285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
13286         Likewise.
13288         * string/test-strncmp.c (do_test_limit): Make sure the test data
13289         stream is aligned as required for the type "CHAR".
13290         (do_test): Likewise.
13292 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13294         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
13295         by beq instructions jumping to the end of the function.
13296         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
13297         clobber list. Use "i" constraint instead of "X".
13298         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
13299         of "X".
13301 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
13303         * bits/libc-header-start.h: New file.
13304         * Makefile (headers): Add bits/libc-header-start.h.
13305         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
13306         (__GLIBC_USE): New macro.
13307         * libio/stdio.h: Define
13308         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13309         <bits/libc-header-start.h> instead of including <features.h>.
13310         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
13311         (open_memstream): Likewise.
13312         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
13313         (__asprintf): Likewise.
13314         (asprintf): Likewise.
13315         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
13316         (getdelim): Likewise.
13317         (getline): Likewise.
13318         * string/string.h: Define
13319         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13320         <bits/libc-header-start.h> instead of including <features.h>.
13321         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
13322         (strndup): Likewise.
13323         * wcsmbs/wchar.h: Define
13324         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13325         <bits/libc-header-start.h> instead of including <features.h>.
13326         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
13327         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
13329 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13331         Support linking against compatibility symbols, for use in tests.
13332         * include/libc-symbols.h (symbol_version_reference): New macro.
13333         (symbol_version): Use it.
13334         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
13335         (compat_symbol): Use compat_symbol_reference.
13336         (compat_symbol_1, compat_symbol_2): Remove.
13337         (compat_symbol_reference, compat_symbol_reference_1)
13338         (compat_symbol_reference_2): New macro.  Use
13339         symbol_version_reference.
13341 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13343         [BZ #19469]
13344         * malloc/Makefile (CPPFLAGS): Compile tests with
13345         -DTEST_NO_MALLOPT.
13346         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
13348 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
13350         [BZ #20033]
13351         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
13352         finite version.
13353         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
13354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
13355         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
13356         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
13357         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
13358         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
13359         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
13360         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
13361         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
13362         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
13363         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
13364         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
13365         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
13366         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
13367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
13368         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
13369         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
13370         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
13371         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
13372         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
13373         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
13374         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
13375         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
13376         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
13377         in zero power.
13379 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13381         [BZ #20370]
13382         * malloc/arena.c (get_free_list): Update comment.  Assert that
13383         arenas on the free list have no attached threads.
13384         (remove_from_free_list): New function.
13385         (reused_arena): Call it.
13387 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
13389         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
13390         when it is a NaN.
13391         [_IEEE_FP_INEXACT] Remove.
13392         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
13393         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
13394         when it is a NaN.
13395         [_IEEE_FP_INEXACT] Remove.
13396         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
13397         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
13398         when it is a NaN.
13399         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
13400         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
13401         when its absolute value is greater than 0x1.0p52.
13402         [_IEEE_FP_INEXACT] Remove.
13403         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
13404         when its absolute value is greater than 0x1.0p23.
13405         [_IEEE_FP_INEXACT] Remove.
13407 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
13409         * version.h (RELEASE): Set to "development"
13410         (VERSION): Set to 2.24.90.
13411         * NEWS: Add 2.25 section.
13413         * version.h (RELEASE): Set to "stable"
13414         (VERSION): Set to 2.24.
13415         * include/features.h (__GLIBC_MINOR__): Set to 24.
13417         * NEWS: Add 2.24 fixed bugs.
13418         * po/libc.pot: Regenerate.
13420 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
13422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13423         [$(subdir) = math] (libm-sysdep_routines): Remove.
13424         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13425         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13426         s_truncf-vis3, s_trunc-vis3.
13427         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
13429         file.
13430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
13431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
13432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
13436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
13437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
13439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
13440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
13441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
13442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
13443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
13444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
13445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
13449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
13450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
13451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
13452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
13458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
13461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13463         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
13464         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
13465         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
13466         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
13467         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13468         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13469         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
13470         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
13471         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
13472         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
13474 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
13476         [BZ #20384]
13477         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
13478         test-double-libmvec-sincos-avx-main.o,
13479         test-double-libmvec-sincos-avx2-main.o,
13480         test-double-libmvec-sincos-main.o,
13481         test-float-libmvec-sincosf-avx-main.o,
13482         test-float-libmvec-sincosf-avx2-main.o and
13483         test-float-libmvec-sincosf-main.o.
13484         test-float-libmvec-sincosf-avx512-main.o.
13485         ($(objpfx)test-double-libmvec-sincos): Also link with
13486         $(objpfx)test-double-libmvec-sincos-main.o.
13487         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
13488         $(objpfx)test-double-libmvec-sincos-avx-main.o.
13489         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
13490         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
13491         ($(objpfx)test-float-libmvec-sincosf): Also link with
13492         $(objpfx)test-float-libmvec-sincosf-main.o.
13493         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
13494         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
13495         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
13496         test-double-libmvec-sincos-avx512-main.o and
13497         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
13498         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
13499         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
13500         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
13501         (CFLAGS-test-double-libmvec-sincos.c): Removed.
13502         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
13503         (CFLAGS-test-double-libmvec-sincos-main.c): New.
13504         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
13505         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
13506         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
13507         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
13508         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
13509         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
13510         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
13511         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
13512         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
13513         -DREQUIRE_AVX2.
13514         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
13515         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
13516         -DREQUIRE_AVX512F.
13517         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
13518         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
13519         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13520         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
13521         file.
13522         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
13523         Likewise.
13524         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
13525         Likewise.
13526         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
13527         Likewise.
13528         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
13529         Likewise.
13530         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
13531         Likewise.
13532         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
13533         Likewise.
13534         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
13535         Likewise.
13537 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
13539         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
13541 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
13543         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
13544         and typo in a comment about AT_HWCAP entry.
13546 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13548         * sysdeps/aarch64/libm-test-ulps: Updated.
13550 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13552         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
13553         of r13 as it is not restored in mvcle case.
13555 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
13557         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
13558         Rename "ret" to "__ret".
13559         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
13560         inline_syscall5, inline_syscall6): Likewise.
13562 2016-07-19   Will Newton  <will.newton@gmail.com>
13564         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
13565         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
13566         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
13567         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
13568         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
13570 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
13572         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
13573         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
13574         -mfpmath=387 with $(rtld-CFLAGS).
13575         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
13576         $(rtld-CFLAGS).
13578 2016-07-18   Ross Burton  <ross.burton@intel.com>
13579              Khem Raj  <raj.khem@gmail.com>
13581         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
13582         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
13583         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
13584         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
13585         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
13586         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
13587         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
13588         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
13589         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
13590         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
13591         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
13592         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
13593         R_METAG_TLS_DTPOFF): New.
13595 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13596             Matt Clay  <mclay@lycos.com>
13598         [BZ #20357]
13599         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
13600         to call __mpsin/__mpcos and to negate values.
13601         * math/auto-libm-test-in: Add test.
13602         * math/auto-libm-test-out: Regenerate.
13604 2016-07-18  Zack Weinberg  <zackw@panix.com>
13606         * grp/Makefile: Don't install the internal header grp-merge.h.
13608 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13610         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13612 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13614         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13616 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13618         [BZ #15368]
13619         * sysdeps/unix/sysv/linux/nptl-signals.h
13620         (__nptl_clear_internal_signals): New function.
13621         (__libc_signal_block_all): Likewise.
13622         (__libc_signal_block_app): Likewise.
13623         (__libc_signal_restore_set): Likewise.
13624         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13625         implementation.
13626         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13627         the cached pid/tid value in pthread structure.
13629 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13631         [BZ #20347]
13632         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13634 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13636         [BZ #20348]
13637         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13638         preadv64, pwrite64 and pwritev64.
13640 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13642         [BZ #20350]
13643         * posix/tst-preadwrite.c: Renamed to ...
13644         * posix/tst-preadwrite-common.c: This.
13645         (PREAD): Removed.
13646         (PWRITE): Likewise.
13647         (STRINGIFY): Likewise.
13648         (STRINGIFY2): Likewise.
13649         (do_prepare): Make it static and remove function arguments.
13650         (do_test): Likewise.
13651         (PREPARE): Updated.
13652         (TEST_FUNCTION): New.
13653         (name): Make it static.
13654         (fd): Likewise.
13655         (do_prepare): Use create_temp_file.
13656         (do_test): Renamed to ...
13657         (do_test_with_offset): This.  Make it static and accept offset.
13658         Properly check return value of PWRITE and PREAD.  Return bytes
13659         read.  Don't close fd nor unlink name.
13660         * posix/tst-preadwrite.c: Rewrite.
13661         * posix/tst-preadwrite64.c: Likewise.
13663 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13665         [BZ #20309]
13666         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13667         -mtls-dialect=gnu2 works.
13668         * configure: Regenerated.
13669         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13670         (tests): Add tst-gnu2-tls1.
13671         (modules-names): Add tst-gnu2-tls1mod.
13672         ($(objpfx)tst-gnu2-tls1): New.
13673         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13674         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13675         * elf/tst-gnu2-tls1.c: New file.
13676         * elf/tst-gnu2-tls1mod.c: Likewise.
13677         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13678         bytes for push in the PLT entry to align the stack.
13680 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13682         [BZ #20349]
13683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13685 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13687         [BZ #18707]
13688         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13689         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13691 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13693         * sysdeps/unix/sysv/linux/sysdep.h
13694         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13695         guards.
13696         * misc/tst-preadvwritev-common.c: New file.
13697         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13698         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13699         a check for files larger than 2GB.
13701         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13702         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13703         * sysdeps/unix/sysv/linux/pread.c
13704         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13705         __OFF_T_MATCHES_OFF64_T.
13706         * sysdeps/unix/sysv/linux/pread64.c
13707         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13708         * sysdeps/unix/sysv/linux/preadv.c
13709         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13710         * sysdeps/unix/sysv/linux/preadv64.c
13711         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13712         * sysdeps/unix/sysv/linux/pwrite.c
13713         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13714         * sysdeps/unix/sysv/linux/pwrite64.c
13715         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13716         * sysdeps/unix/sysv/linux/pwritev.c
13717         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13718         * sysdeps/unix/sysv/linux/pwritev64.c
13719         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13721 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13723         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13724         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13726 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13728         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13730 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13732         [BZ #20240]
13733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13734         (CFLAGS-s_modf-ppc32.c): New variable.
13735         (CFLAGS-s_modff-ppc32.c): Likewise.
13736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13737         (CFLAGS-s_modf-ppc64.c): Likewise.
13738         (CFLAGS-s_modff-ppc64.c): Likewise.
13740 2016-07-07  Andreas Schwab  <schwab@suse.de>
13742         [BZ #20263]
13743         * nptl/tst-robust10.c: New test.
13744         * nptl/Makefile (tests): Add tst-robust10.
13746 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13748         [BZ #20263]
13749         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13751 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13753         * sysdeps/s390/linkmap.h (struct link_map_machine):
13754         Remove member gotplt and add member jmprel.
13755         * sysdeps/s390/s390-32/dl-machine.h
13756         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13757         instead of gotplt with &got[3].
13758         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13759         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13761 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13763         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13765 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13767         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13768         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13769         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13770         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13771         * libio/vtables.c (_IO_vtable_check)
13772         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13773         * libio/libioP.h (IO_set_accept_foreign_vtables)
13774         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13776 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13778         [BZ #20314]
13779         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13780         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13781         $(common-objpfx)cmath.
13782         ($(common-objpfx)cstdlib): New target.
13783         ($(common-objpfx)cmath): Likewise.
13785 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13787         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13789 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13791         [BZ #20327]
13792         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13793         are not part of the string.
13795 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13797         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13798         * nptl/tst-cancel4-common.h (fifoname): New variable.
13799         (fifofd): Likewise.
13800         (cl_fifo): New function.
13801         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13802         SIGINT.
13803         (tf_open): Add early cancel test.
13805 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13807         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13809 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13811         * sysdeps/generic/ldsodefs.h
13812         (dl_symbol_visibility_binds_local_p): New inline function.
13813         * elf/dl-addr.c (determine_info): Treat hidden and internal
13814         symbols as local.
13815         * elf/dl-lookup.c (do_lookup_x): Likewise.
13816         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13818 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13820         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13821         invalid exception for a sNaN input.
13822         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13823         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13824         (__nearbyint_vis3): Likewise
13825         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13826         (__nearbyintf_vis3): Likewise
13827         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13828         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13829         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13830         Likewise.
13831         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13832         Likewise.
13834 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13836         [BZ #20139]
13837         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13838         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13839         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13840         2.24 or above.
13841         (HAVE_AVX512_ASM_SUPPORT): Removed.
13842         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13843         * sysdeps/x86_64/configure: Regenerated.
13844         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13845         check unconditional.
13846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13847         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13848         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13849         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13850         Likewise.
13851         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13852         Likewise.
13853         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13854         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13855         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13856         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13857         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13858         Likewise.
13859         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13860         Likewise.
13861         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13862         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13863         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13864         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13865         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13866         Likewise.
13867         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13868         Likewise.
13869         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13870         Likewise.
13871         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13872         Likewise.
13873         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13874         Likewise.
13875         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13876         Likewise.
13877         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13878         Likewise.
13879         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13880         Likewise.
13881         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13882         Likewise.
13883         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13884         Likewise.
13885         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13886         Likewise.
13888 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13890         [BZ #20024]
13891         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13892         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13893         of this implementation of vector function.
13894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13896         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13897         Likewise.
13898         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13900         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13901         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13902         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13903         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13904         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13905         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13906         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13907         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13908         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13909         for testing vector sincos with fixed ABI.
13910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13911         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13912         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13913         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13914         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13915         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13916         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13917         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13918         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13919         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13920         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13921         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13922         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13923         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13924         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13925         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13927 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13929         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13931 2016-06-30  Anton Blanchard  <anton@samba.org>
13933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13934         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13935         s_sinf-ppc64.
13936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13939         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13941 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13945         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13946         e_expf-ppc64.
13947         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13948         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13950         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13952 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13954         [BZ #20277]
13955         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13956         when SHARED is defined.
13958 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13960         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13961         (index_arch_Prefer_ERMS): Likewise.
13962         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13963         __memcpy_erms for Prefer_ERMS.
13964         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13965         (__memmove_erms): Enabled for libc.a.
13966         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13967         __memmove_erms or Prefer_ERMS.
13968         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13969         __mempcpy_erms for Prefer_ERMS.
13970         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13971         __memset_erms for Prefer_ERMS.
13973 2016-06-30  Andreas Schwab  <schwab@suse.de>
13975         [BZ #20262]
13976         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13977         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13978         of memory.
13980 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13982         [BZ #18645]
13983         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13984         (test-extras): Add tst-cleanupx4aux.
13985         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13986         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13987         tst-cleanupx4aux.o.
13988         * nptl/tst-cleanupx4aux.c: New file.
13990 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13992         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13994 2016-06-29  Andreas Schwab  <schwab@suse.de>
13996         [BZ #20260]
13997         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13998         address before the beginning of the string as an integer to avoid
13999         array-bounds warning.
14001 2016-06-28  Richard Henderson  <rth@redhat.com>
14003         * elf/elf.h (EM_BPF): New.
14004         (EM_NUM): Update.
14005         (R_BPF_NONE, R_BPF_MAP_FD): New.
14007         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
14008         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
14009         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
14010         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
14011         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
14012         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
14013         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
14014         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
14015         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
14016         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
14017         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
14018         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
14019         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
14020         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
14021         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
14022         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
14023         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
14024         (EM_NUM): Update.
14026 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
14028         [BZ #18960]
14029         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
14030         Set _nl_current_LC_CATEGORY_used to two instead of one.
14032 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
14034         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
14035         (do_test): ... this.
14036         (TEST_FUNCTION): New macro.
14037          Include test-skeleton.c.
14038         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
14039         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
14041 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
14043         [BZ #15479]
14044         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
14045         floating-point environment rather than just control word.
14046         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14047         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
14048         floating-point environment, with "invalid" exceptions merged in,
14049         rather than just control word.
14050         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
14051         * math/libm-test.inc (trunc_test_data): Do not allow spurious
14052         "inexact" exceptions.
14054         [BZ #15479]
14055         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
14056         floating-point environment rather than just control word.
14057         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14058         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
14059         floating-point environment, with "invalid" exceptions merged in,
14060         rather than just control word.
14061         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
14062         * math/libm-test.inc (floor_test_data): Do not allow spurious
14063         "inexact" exceptions.
14065         [BZ #15479]
14066         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
14067         floating-point environment rather than just control word.
14068         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14069         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
14070         floating-point environment, with "invalid" exceptions merged in,
14071         rather than just control word.
14072         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
14073         * math/libm-test.inc (ceil_test_data): Do not allow spurious
14074         "inexact" exceptions.
14076 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
14078         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
14079         __libc_vfork.
14080         (__vfork) [IS_IN (libc)]: Remove alias.
14081         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
14082         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14083         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14085 2016-06-24  Torvald Riegel  <triegel@redhat.com>
14087         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
14088         of atomic_compare_and_exchange_bool_rel.
14089         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14090         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
14091         catomic_compare_and_exchange_bool_rel): Remove.
14092         * sysdeps/aarch64/atomic-machine.h
14093         (atomic_compare_and_exchange_bool_rel): Likewise.
14094         * sysdeps/alpha/atomic-machine.h
14095         (atomic_compare_and_exchange_bool_rel): Likewise.
14096         * sysdeps/arm/atomic-machine.h
14097         (atomic_compare_and_exchange_bool_rel): Likewise.
14098         * sysdeps/mips/atomic-machine.h
14099         (atomic_compare_and_exchange_bool_rel): Likewise.
14100         * sysdeps/microblaze/atomic-machine.h
14101         ( __arch_compare_and_exchange_bool_8_rel,
14102         __arch_compare_and_exchange_bool_16_rel): Likewise.
14103         * sysdeps/powerpc/atomic-machine.h
14104         ( __arch_compare_and_exchange_bool_8_rel,
14105         __arch_compare_and_exchange_bool_16_rel): Likewise.
14106         * sysdeps/powerpc/powerpc32/atomic-machine.h
14107         ( __arch_compare_and_exchange_bool_32_rel,
14108         __arch_compare_and_exchange_bool_64_rel): Likewise.
14109         * sysdeps/powerpc/powerpc64/atomic-machine.h
14110         ( __arch_compare_and_exchange_bool_32_rel,
14111         __arch_compare_and_exchange_bool_64_rel): Likewise.
14112         * sysdeps/tile/atomic-machine.h
14113         (atomic_compare_and_exchange_bool_rel): Likewise.
14115 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
14117         [BZ #20296]
14118         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
14119         when either argument is a NaN.
14120         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14121         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
14123         * math/libm-test.inc (snan_value_ld): New macro.
14124         (isgreater_test_data): Add sNaN tests.
14125         (isgreaterequal_test_data): Likewise.
14126         (isless_test_data): Likewise.
14127         (islessequal_test_data): Likewise.
14128         (islessgreater_test_data): Likewise.
14129         (isunordered_test_data): Likewise.
14130         (nextafter_test_data): Likewise.
14131         (nexttoward_test_data): Likewise.
14132         (remainder_test_data): Likewise.
14133         (remquo_test_data): Likewise.
14134         (significand_test_data): Likewise.
14135         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
14137 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14139         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
14140         environment macros are defined.
14141         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
14143 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14145         [BZ #20191]
14146         Implement vtable verification in libio.
14147         * Makerules (shlib.lds): Place __libc_IO_vtables section.
14148         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
14149         * debug/vdprintf_chk.c (__vdprintf_chk): Call
14150         _IO_new_file_init_internal instead of _IO_file_init.
14151         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
14152         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
14153         * libio/Makefile (routines): Add vtables.
14154         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
14155         (_IO_init): Remove, not for internal use.
14156         (_IO_init_internal): Declare, internal replacement for _IO_init.
14157         (_IO_file_init): Remove, not for internal use.
14158         (_IO_new_file_init): Remove, not for internal use.
14159         (_IO_new_file_init_internal): Declare, internal replacement for
14160         _IO_new_file_init.
14161         (_IO_old_file_init): Remove, not for internal use.
14162         (_IO_old_file_init_internal): Declare, internal replacement for
14163         _IO_old_file_init.
14164         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
14165         internal use.
14166         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
14167         Declare.
14168         (libio_vtable): New macro.
14169         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
14170         functions.
14171         * libio/fileops.c (_IO_new_file_init_internal): Rename from
14172         _IO_new_file_init.
14173         (_IO_new_file_init): New externally visible wrapper which disables
14174         vtable verification.
14175         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
14176         Define as vtables.
14177         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
14178         (_IO_init): New externally visible wrapper which disables
14179         vtable verification.
14180         * libio/iofdopen.c (_IO_new_fdopen): Call
14181         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
14182         comment.
14183         * libio/iofopen.c (__fopen_internal): Call
14184         _IO_new_file_init_internal instead of _IO_file_init.
14185         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
14186         Define as vtables.
14187         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
14188         _IO_new_file_init_internal instead of _IO_file_init.
14189         * libio/iopopen.c (_IO_new_popen): Likewise.
14190         (_IO_proc_jumps): Define as vtable.
14191         * libio/iovdprintf.c (_IO_vdprintf): Call
14192         _IO_new_file_init_internal instead of _IO_file_init.
14193         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
14194         (__open_memstream): Call _IO_init_internal instead of _IO_init.
14195         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
14196         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
14197         _IO_old_file_init.
14198         (_IO_old_file_init): New externally visible wrapper which disables
14199         vtable verification.
14200         (_IO_old_file_jumps): Define as vtable.
14201         * libio/oldiofdopen.c (_IO_old_fdopen): Call
14202         _IO_old_file_init_internal instead of _IO_old_file_init.
14203         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14204         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14205         (_IO_old_proc_jumps): Define as vtable.
14206         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
14207         Define as vtables.
14208         * libio/vtables.c: New file.
14209         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
14210         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
14211         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
14212         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
14213         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
14214         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
14215         instead of _IO_init.
14217 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14219         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
14221 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14223         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
14224         potentially unused.
14226 2016-06-22  Florian Weimer  <fweimer@redhat.com>
14228         * test-skeleton.c (write_message): New function.
14229         * malloc/tst-mallocfork2.c (write_message): Remove.
14230         * debug/tst-longjmp_chk2.c (write_indented): New function.
14231         (write_message): Remove.
14232         (stackoverflow_handler): Call write_indented.
14234 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
14236         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
14237         "inexact" exceptions after fnstenv.
14238         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14239         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14240         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14242 2015-06-22  Zack Weinberg  <zackw@panix.com>
14244         * sysdeps/generic/bits/hwcap.h: Moved to ...
14245         * bits/hwcap.h: Here.
14247 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
14249         * sysdeps/aarch64/memcpy.S (memcpy):
14250         Further tuning for performance.
14252 2016-06-21  Florian Weimer  <fweimer@redhat.com>
14254         [BZ #20284]
14255         * malloc/arena.c (reused_arena): Do not return NULL if we start
14256         out with a non-corrupted arena.
14258 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14260         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
14261         * misc/tst-preadvwritev.c: New file.
14262         * misc/tst-preadvwritev64.c: Likewise.
14263         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
14264         usage.
14265         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
14266         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
14267         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
14268         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
14270 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
14272         [BZ #19654]
14273         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14274         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
14275         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
14276         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
14277         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
14278         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
14279         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
14280         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
14281         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
14282         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
14283         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
14284         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
14285         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
14286         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
14287         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
14288         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
14289         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
14290         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
14291         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
14292         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
14293         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
14294         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
14295         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
14296         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
14297         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
14298         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
14300 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14302         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
14303         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
14305 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14307         * sysdeps/aarch64/memcpy.S (memcpy):
14308         Rewrite of optimized memcpy and memmove.
14309         * sysdeps/aarch64/memmove.S (memmove): Remove
14310         memmove code (merged into memcpy.S).
14312 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14314         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
14315         * sysdeps/generic/dl-dtv.h: New file.
14316         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14317         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
14318         (dtv_t): Remove.
14319         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14320         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
14321         (dtv_t): Remove.
14322         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14323         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
14324         (dtv_t): Remove.
14325         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14326         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
14327         (dtv_t): Remove.
14328         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14329         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
14330         (dtv_t): Remove.
14331         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14332         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
14333         (dtv_t): Remove.
14334         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14335         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
14336         (dtv_t): Remove.
14337         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
14338         (dtv_t): Remove.
14339         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14340         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
14341         (dtv_t): Remove.
14342         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14343         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
14344         (dtv_t): Remove.
14345         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14346         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
14347         (dtv_t): Remove.
14348         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14349         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
14350         (dtv_t): Remove.
14351         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14352         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
14353         (dtv_t): Remove.
14354         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14355         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
14356         (dtv_t): Remove.
14357         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14358         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
14359         (dtv_t): Remove.
14360         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14361         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
14362         (dtv_t): Remove.
14364 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14366         Revert symbol poisoning of  __malloc_initialize_hook.
14367         * include/stdc-predef.h (__malloc_initialize_hook): Remove
14368         poisoning.
14369         * malloc/Makefile: Remove un-poisoning.
14370         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
14371         instead of old__malloc_initialize_hook.
14372         * malloc/malloc-hooks.h: Likewise.
14373         * malloc/malloc.c: Likewise.
14374         * malloc/mcheck-init.c: Likewise.
14376 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
14378         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
14380 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
14382         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
14383         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
14384         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14385         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14387 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14389         * NEWS: Mention addition of nextup and nextdown.
14390         * manual/arith.texi: Document nextup and nextdown.
14391         * manual/libm-err-tab.pl: Add nextup and nextdown.
14392         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
14393         * math/Versions (libm): Add GLIBC_2.24.
14394         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
14395         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14396         Add new test.
14397         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
14398         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
14399         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
14400         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
14401         (nextup_test_data): Likewise.
14402         (nextdown_test_data): Likewise.
14403         * math/s_nextdown.c: New file.
14404         * math/s_nextdownf.c: Likewise.
14405         * math/s_nextdownl.c: Likewise.
14406         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
14407         F(nextup): New function.
14408         F(nextdown): Likewise.
14409         * math/tgmath.h: Add nextup and nextdown.
14410         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
14411         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
14412         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14413         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14414         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14415         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
14416         Add nextup and nextdown.
14417         (CFLAGS-nldbl-nextup.c): New variable.
14418         (CFLAGS-nldbl-nextdown.c): Likewise.
14419         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
14420         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
14421         * sysdeps/nacl/libm.abilist: Update.
14422         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14423         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14424         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14425         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14426         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14427         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14428         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14429         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14430         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14431         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14432         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14433         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14436         Likewise.
14437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14439         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14440         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14441         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14442         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14443         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
14445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
14446         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14447         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14449         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14451 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14453         * manual/pattern.texi: Fix typos & grammar errors.
14455 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14457         * manual/search.texi: Fix typos & grammar errors.
14459 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14461         * manual/message.texi: Fix typos & grammar errors.
14463 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
14465         * manual/contrib.texi: Fix spelling typos.
14466         * manual/crypt.texi: Likewise.
14467         * manual/filesys.texi: Likewise.
14468         * manual/locale.texi: Likewise.
14469         * manual/message.texi: Likewise.
14470         * manual/nss.texi: Likewise.
14471         * manual/string.texi: Likewise.
14473 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14475         * manual/locale.texi: Fix typos & grammar errors.
14477 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14479         * manual/charset.texi: Fix typos & grammar errors.
14481 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14483         * manual/string.texi: Fix typos.
14485 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14487         * manual/ctype.texi: Fix typos.
14489 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14491         * manual/memory.texi: Fix various typos & grammar errors.
14493 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
14495         [BZ #20255]
14496         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
14497         * math/libm-test.inc (fdim_test_data): Add another test.
14499         [BZ #6796]
14500         [BZ #20255]
14501         [BZ #20256]
14502         * math/s_fdim.c: Include <math_private.h>.
14503         (__fdim): Use math_narrow_eval on result.
14504         * math/s_fdimf.c: Include <math_private.h>.
14505         (__fdimf): Use math_narrow_eval on result.
14506         * sysdeps/i386/fpu/s_fdim.S: Remove file.
14507         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
14508         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
14509         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
14510         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
14511         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
14512         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
14513         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
14514         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
14515         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
14516         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
14517         * math/libm-test.inc (fdim_test_data): Expect errno setting on
14518         overflow.  Add sNaN tests.
14520         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
14521         fpclassify.
14522         * math/s_fdimf.c (__fdimf): Likewise.
14523         * math/s_fdiml.c (__fdiml): Likewise.
14525 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14527         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14528         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
14529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14530         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14531         ifunc'ed strcasecmp/strncasecmp.
14532         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
14533         [EALIGN]: Removed.
14534         [END]: Likewise.
14535         [__strcasecmp]: Define instead of the above to control symbol name.
14536         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
14537         for __strcasecmp_power8.
14538         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
14539         for __strncasecmp_power8.
14540         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
14541         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
14542         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
14543         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
14544         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
14545         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
14547 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
14549         [BZ #20252]
14550         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
14551         arguments when second argument is a NaN.
14552         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
14553         qNaN tests.
14555         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
14556         (conj_test_data): Likewise.
14557         (copysign_test_data): Likewise.
14558         (creal_test_data): Likewise.
14559         (fma_test_data): Likewise.
14560         (fmod_test_data): Likewise.
14562         [BZ #20250]
14563         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
14564         itself.
14565         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
14566         zero input to itself.
14567         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
14568         Likewise.
14569         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
14570         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14571         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14572         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14573         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
14575 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14577         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
14578         * nptl/tst-cancel4-common.c: New file.
14579         * nptl/tst-cancel4-common.h: Likewise.
14580         * nptl/tst-cancel4.c: Move common definitions to
14581         tst-cancel4-common.{c,h} file.
14582         * nptl/tst-cancel4_1.c: New test.
14583         * nptl/tst-cancel4_2.c: New test.
14585 2016-06-13  Florian Weimer  <fweimer@redhat.com>
14587         [BZ #20248]
14588         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
14589         (write_message): New function.
14590         (stackoverflow_handler): Call it instead of printf, to avoid
14591         excessive stack usage by printf.
14592         (do_test): Restore SIGSEGV, SIGBUS default handlers.
14594 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14596         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
14597         (prio_inherit_missing): Remove define.
14598         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14599         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14600         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
14601         Likewise.
14602         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14603         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14604         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14605         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14606         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14607         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14609 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14611         [BZ #19670]
14612         [BZ #19672]
14614         * io/test-lfs.c (do_prepare): Use xmalloc.
14615         * io/tst-fcntl.c (do_prepare): Likewise.
14616         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14617         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14618         * login/tst-utmp.c (do_prepare): Likewise.
14619         * posix/tst-exec.c (do_prepare): Likewise.
14620         * posix/tst-pathconf.c (prepare): Likewise.
14621         * posix/tst-spawn.c (do_prepare): Likewise.
14622         * posix/tst-truncate.c (do_prepare): Likewise.
14623         * rt/tst-aio.c (do_prepare): Likewise.
14624         * rt/tst-aio64.c (do_prepare): Likewise.
14626 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14628         [BZ #20237]
14629         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14630         (get*ent): Set entidx to NULL during initialization.  If entidx is
14631         NULL, start iteration from the beginning.
14633 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14635         * malloc/malloc.c (musable): Return correct size for dumped fake
14636         mmapped chunk.
14638 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14640         [BZ #20222]
14641         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14642         (_IO_cookie_write): Likewise.
14643         (_IO_cookie_seek): Likewise.
14644         (_IO_cookie_close): Likewise.
14645         (_IO_old_cookie_seek): Likewise.
14646         (set_callbacks): New function.
14647         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14649 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14651         * locale/programs/localedef.c (oldstyle_tables): Remove.
14652         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14654 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14656         [BZ #20240]
14657         * math/Makefile (CFLAGS-s_modf.c): New variable.
14658         (CFLAGS-s_modff.c): Likewise.
14659         (CFLAGS-s_modfl.c): Likewise.
14660         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14662 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14664         [BZ #20215]
14665         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14666         [!__GNUC_PREREQ (3,2)]: Likewise.
14668 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14670         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14671         (msghdr.msg_controllen): Likewise.
14672         (cmsghdr.cmsg_len): Likewise.
14673         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14674         ptw-oldsendmsg.
14675         (CFLAGS-oldrecvmsg.c): Remove rule.
14676         (CFLAGS-oldsendmsg.c): Likewise.
14677         (CFLAGS-recvmsg.c): Add rule.
14678         (CFLAGS-sendmsg.c): Likewise.
14679         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14680         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14681         (CFLAGS-recvmsg.c): Remove rule.
14682         (CFLAGS-sendmsg.c): Likewise.
14683         (CFLAGS-oldrecvmsg.c): Likewise.
14684         (CFLAGS-oldsendmsg.c): Likewise.
14685         (CFLAGS-recvmmsg.c): Likewise.
14686         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14687         to kernel defined interfaces.
14688         (msghdr.msg_controllen): Likewise.
14689         (cmsghdr.cmsg_len): Likewise.
14690         (msghdr.__glibc_reserved1): Remove member.
14691         (msghdr.__glibc_reserved2): Likewise.
14692         (cmsghdr.__glibc_reserved1): Likewise.
14693         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14694         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14695         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14696         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14697         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14698         version.
14699         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14700         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14701         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14702         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14703         Remove recvmsg and sendmsg.
14704         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14705         Likewise.
14706         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14707         Likewise.
14708         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14709         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14710         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14711         Likewise.
14712         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14713         Likewise.
14714         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14715         [libc] (GLIBC_2.24): Likewise.
14716         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14717         Likewise.
14718         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14719         Likewise.
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14721         [libc] (GLIBC_2.24): Likewise.
14722         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14723         Likewise.
14724         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14725         Likewise.
14726         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14727         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14728         Likewise.
14729         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14730         Likewise.
14731         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14732         Likewise.
14733         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14734         Likewise.
14735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14736         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14737         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14738         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14739         version for {recv,send,recm,sendm}msg.
14740         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14741         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14742         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14743         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14744         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14745         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14746         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14747         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14748         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14749         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14750         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14751         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14753         Likewise.
14754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14755         Likewise.
14756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14758         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14759         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14760         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14761         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14762         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14763         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14766         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14767         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14768         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14770 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14772         [BZ #19564]
14773         Remove __malloc_initialize_hook from the API.
14774         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14775         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14776         #pragma GCC poison.
14777         * malloc/malloc-hooks.h: New file.
14778         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14779         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14780         (old__malloc_initialize_hook): Rename from
14781         __malloc_initialize_hook to evade poisoning.  Turn into compat
14782         symbol.
14783         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14784         __malloc_initialize_hook.
14785         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14786         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14787         * manual/memory.texi (Hooks for Malloc): Remove
14788         __malloc_initialize_hook.  Adjust hook example.
14790 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14792         [BZ #20235]
14793         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14794         itself.
14795         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14796         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14798         [BZ #20234]
14799         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14800         infinity or NaN input to itself.
14802         [BZ #20233]
14803         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14804         to itself.
14806         [BZ #20232]
14807         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14808         itself.
14810 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14812         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14813         __libc_start_main via GOT.
14815 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14817         * sysdeps/x86_64/memcopy.h: New file.
14818         * sysdeps/x86_64/wordcopy.c: Likewise.
14820 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14822         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14823         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14824         <cstdlib>.
14825         (optimization_barrier): New.
14826         (do_test): Use it.  Call quick_exit in the global namespace.
14827         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14828         instead of <cstdlib>, <thread>.
14829         (optimization_barrier): New.
14830         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14831         Call quick_exit in the global namespace.
14832         (do_test): Call optimization_barrier.  Use pthread_create,
14833         pthread_join instead of std::thread.
14835 2016-06-09  Andreas Schwab  <schwab@suse.de>
14837         [BZ #19755]
14838         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14839         new entries in auto-propagate mode.
14840         * nscd/grpcache.c (cache_addgr): Likewise.
14842 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14844         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14845         New functions.
14846         (add_temp_file): Use them.
14848 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14850         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14852 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14854         [BZ #20229]
14855         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14856         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14857         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14859         [BZ #20228]
14860         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14861         itself.
14862         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14863         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14865         [BZ #20227]
14866         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14867         itself.
14868         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14869         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14870         * math/libm-test.inc (log_test_data): Add sNaN tests.
14872         [BZ #20226]
14873         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14874         itself.
14875         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14876         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14877         (exp10_test_data): Likewise.
14878         (expm1_test_data): Likewise.
14880         [BZ #20225]
14881         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14882         itself.
14883         * math/s_ldexpf.c (__ldexpf): Likewise.
14884         * math/s_ldexpl.c (__ldexpl): Likewise.
14885         * math/w_scalbln.c (__w_scalbln): Likewise.
14886         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14887         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14888         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14889         (scalbln_test_data): Likewise.
14891         [BZ #20224]
14892         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14893         argument to itself.
14894         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14896 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14898         [BZ #19776]
14899         * sysdeps/x86_64/memcpy.S: Make it dummy.
14900         * sysdeps/x86_64/mempcpy.S: Likewise.
14901         * sysdeps/x86_64/memmove.S: New file.
14902         * sysdeps/x86_64/memmove_chk.S: Likewise.
14903         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14904         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14905         * sysdeps/x86_64/memmove.c: Removed.
14906         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14907         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14908         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14909         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14910         Likewise.
14911         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14912         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14914         memcpy-sse2-unaligned, memmove-avx-unaligned,
14915         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14917         (__libc_ifunc_impl_list): Replace
14918         __memmove_chk_avx512_unaligned_2 with
14919         __memmove_chk_avx512_unaligned.  Remove
14920         __memmove_chk_avx_unaligned_2.  Replace
14921         __memmove_chk_sse2_unaligned_2 with
14922         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14923         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14924         with __memmove_avx512_unaligned.  Replace
14925         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14926         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14927         with __memcpy_chk_avx512_unaligned.  Remove
14928         __memcpy_chk_avx_unaligned_2.  Replace
14929         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14930         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14931         Replace __memcpy_avx512_unaligned_2 with
14932         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14933         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14934         with __mempcpy_chk_avx512_unaligned.  Remove
14935         __mempcpy_chk_avx_unaligned_2.  Replace
14936         __mempcpy_chk_sse2_unaligned_2 with
14937         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14938         Replace __mempcpy_avx512_unaligned_2 with
14939         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14940         Replace __mempcpy_sse2_unaligned_2 with
14941         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14942         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14943         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14944         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14945         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14946         (ENTRY): Removed.
14947         (END): Likewise.
14948         (ENTRY_CHK): Likewise.
14949         (libc_hidden_builtin_def): Likewise.
14950         Don't include ../memcpy.S.
14951         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14952         __memcpy_chk_avx512_unaligned_erms and
14953         __memcpy_chk_avx512_unaligned.  Use
14954         __memcpy_chk_avx_unaligned_erms and
14955         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14956         Default to __memcpy_chk_sse2_unaligned.
14957         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14958         Change function suffix from unaligned_2 to unaligned.
14959         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14960         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14961         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14962         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14963         (ENTRY): Removed.
14964         (END): Likewise.
14965         (ENTRY_CHK): Likewise.
14966         (libc_hidden_builtin_def): Likewise.
14967         Don't include ../mempcpy.S.
14968         (mempcpy): New.  Add a weak alias.
14969         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14970         __mempcpy_chk_avx512_unaligned_erms and
14971         __mempcpy_chk_avx512_unaligned.  Use
14972         __mempcpy_chk_avx_unaligned_erms and
14973         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14974         Default to __mempcpy_chk_sse2_unaligned.
14976 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14978         [BZ #19881]
14979         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14980         into ...
14981         * sysdeps/x86_64/memset.S: This.
14982         (__bzero): Removed.
14983         (__memset_tail): Likewise.
14984         (__memset_chk): Likewise.
14985         (memset): Likewise.
14986         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14987         defined.
14988         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14989         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14990         (__memset_zero_constant_len_parameter): Check SHARED instead of
14991         PIC.
14992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14993         memset-avx2 and memset-sse2-unaligned-erms.
14994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14995         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14996         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14997         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14998         (__bzero): Enabled.
14999         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
15000         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
15001         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
15002         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
15003         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15004         (memset): Removed.
15005         (__memset_chk): Likewise.
15006         (MEMSET_SYMBOL): New.
15007         (libc_hidden_builtin_def): Replace __memset_sse2 with
15008         __memset_sse2_unaligned.
15009         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
15010         __memset_chk_sse2 and __memset_chk_avx2 with
15011         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
15012         Use __memset_chk_sse2_unaligned_erms or
15013         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
15014         __memset_chk_avx512_unaligned_erms and
15015         __memset_chk_avx512_unaligned.
15017 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15019         * math/gen-auto-libm-test.c (fp_format_desc): remove
15020         suffix member.
15021         (output_generic_value): Remove usage of suffix member,
15022         and the resulting unuse of the fp_format argument.
15023         (output_for_one_input_case): Remove unused fp_format
15024         parameter.
15026         * math/auto-libm-test-out: Regenerate.
15028         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
15029         usage with TEST_COND_ibm128.
15030         (TEST_COND_flt_32): Remove.
15031         (TEST_COND_dbl_64): Remove.
15032         (TEST_COND_ldbl_96_intel): Remove.
15033         (TEST_COND_ldbl_96_m68k): Remove.
15034         (TEST_COND_ldbl_128): Remove.
15036 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15038         * auto-libm-test-in:
15039         Replace flt-32 usage with binary32.
15040         Replace dbl-64 usage with binary64.
15041         Replace ldbl-intel-96 usage with intel96.
15042         Replace ldbl-m68k-96 usage with m68k96.
15043         Replace ldbl-128ibm usage with ibm128.
15044         Replace ldbl-128 usage with binary128.
15046         * auto-libm-test-out: Regenerate.
15048 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15050         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
15051         (parse_ulps): Dynamically generate type name matching
15052         string from all_floats.
15053         (get_ulps): Generate the ulps as an array instead.
15054         (output_ulps): Dynamically compose the type based
15055         on the number of supported formats, and print
15056         the indices as type specific helper macros.
15058         * math/libm-test.inc: Remove comment about CHOOSE.
15059         (ulp_data): Generate the type in libm-test-ulps.h.
15060         (ULP_IDX): New macro.
15061         (find_ulps): Update usage of max_ulp.
15063         * math/test-double-vlen2.h (CHOOSE): Remove.
15064         * math/test-double-vlen4.h (CHOOSE): Likewise.
15065         * math/test-double-vlen8.h (CHOOSE): Likewise.
15066         * math/test-float.c (CHOOSE): Likewise.
15067         * math/test-float-finite.c (CHOOSE): Likewise.
15068         * math/test-double.c (CHOOSE): Likewise.
15069         * math/test-double-finite.c (CHOOSE): Likewise.
15070         * math/test-idouble.c (CHOOSE): Likewise.
15071         * math/test-ifloat.c (CHOOSE): Likewise.
15072         * math/test-ildoubl.c (CHOOSE): Likewise.
15073         * math/test-ldouble-finite.c (CHOOSE): Likewise.
15074         * math/test-ldouble.c (CHOOSE): Likewise.
15076         * math/test-float.h (TEST_FLOAT): Remove.
15077         * math/test-double.h (TEST_DOUBLE): Likewise.
15078         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
15080 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15082         * math/gen-libm-test.pl: (apply_lit): New subroutine.
15083         (parse_args): Strip C suffix from floating point literals
15084         typed with 'f' and wrap them with LIT().
15086         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
15087         (test_ff_f_data_nexttoward): Rename to
15088         (test_fj_f_data): New struct.
15089         (nexttoward_test_data): Relabel tests as
15090         TEST_fj_f instead of TEST_ff_f.
15092 2016-06-08  Florian Weimer  <fweimer@redhat.com>
15094         Emacs bug 23726.
15095         * malloc/malloc.c (dumped_main_arena_start): Update comment.
15096         (__libc_realloc): Correct size computation for dumped fake mmapped
15097         chunks.
15099 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
15101         [BZ #20219]
15102         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
15103         to itself.
15104         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
15106         [BZ #20218]
15107         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
15108         to itself.
15109         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
15111 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
15113         [BZ #20195]
15114         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
15115         check to ...
15116         (init_cpu_features): Here.
15118 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
15120         [BZ #20214]
15121         * sysdeps/unix/sysv/linux/bits/in.h
15122         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15123          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
15124         Define to 1.
15125         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15126          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
15127         Define to 0.
15128         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
15129         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
15131 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
15133         [BZ #20198]
15134         * stdlib/Makefile (tests): Add tst-quick_exit, and
15135         tst-thread-quick_exit.
15136         [ifeq ($(have-cxx-thread_local),yes)]
15137         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
15138         (CFLAGS-tst-thread-quick_exit.o): Likewise.
15139         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
15140         (LDLIBS-tst-thread-quick_exit): Likewise.
15141         [ifneq ($(have-cxx-thread_local),yes)]
15142         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
15143         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
15144         If run_dtors is true call __call_tls_dtors.
15145         (exit): Call __run_exit_handlers with run_dtors set to true.
15146         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
15147         definition.
15148         * stdlib/quick_exit.c (quick_exit): Remove function.
15149         (__new_quick_exit): New function.
15150         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
15151         function.
15152         * stdlib/tst-quick_exit.cc: New file.
15153         * stdlib/tst-thread-quick_exit.cc: New file.
15154         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
15155         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
15156         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
15157         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
15158         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
15159         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
15160         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
15161         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
15162         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
15163         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
15164         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
15165         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
15166         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
15167         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
15168         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
15169         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
15172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
15173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
15174         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
15175         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
15176         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
15177         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
15178         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
15179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
15180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
15181         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
15182         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
15183         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
15185 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15187         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
15188         a typo in comments.
15190 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15192         [BZ #20213]
15193         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
15194         argument to itself.
15195         * math/libm-test.inc (asin_test_data): Add sNaN tests.
15197 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15199         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
15200         required flags.
15201         (CFLAGS-pwritev64.c): Likewise.
15202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
15203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15204         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
15205         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15206         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
15207         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
15208         syscall from auto-generation.
15209         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
15210         [WORDSIZE == 64] (pwritev64): Remove macro.
15211         [!PWRITEV] (PWRITEV): Likewise.
15212         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15213         [!PWRITEV] (PWRITE): Likewise.
15214         [!PWRITEV] (OFF_T): Likewise.
15215         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15216         (LO_HI_LONG): Remove macro.
15217         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
15218         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
15219         (PWRITEV): Remove macro.
15220         (PWRITEV_REPLACEMENTE): Likewise.
15221         (PWRITE): Likewise.
15222         (OFF_T): Likewise.
15223         (pwritev64): New function.
15224         * nptl/tst-cancel4.c (tf_writev): Add test.
15226         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
15227         required flags.
15228         (CFLAGS-preadv64.c): Likewise.
15229         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
15230         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15231         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
15232         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
15233         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
15234         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
15235         syscall from auto-generation.
15236         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
15237         [WORDSIZE == 64] (preadv64): Remove macro.
15238         [!PREADV] (PREADV): Likewise.
15239         [!PREADV] (PREADV_REPLACEMENT): Likewise.
15240         [!PREADV] (PREAD): Likewise.
15241         [!PREADV] (OFF_T): Likewise.
15242         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
15243         (LO_HI_LONG): Remove macro.
15244         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
15245         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
15246         (PREADV): Remove macro.
15247         (PREADV_REPLACEMENTE): Likewise.
15248         (PREAD): Likewise.
15249         (OFF_T): Likewise.
15250         (preadv64): New function.
15251         * nptl/tst-cancel4.c (tf_preadv): Add test.
15253 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15255         [BZ #20212]
15256         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
15257         argument to itself.
15258         * math/libm-test.inc (acos_test_data): Add sNaN tests.
15260 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15262         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
15263         New symbol defined as libc_hidden_def.
15264         (strcasestr): Became a weak alias to __strcasestr.
15265         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
15266         according to multi-arch support.  Move __stpncpy hidden
15267         definition from here to...
15268         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
15269         symbol stpncpy.
15270         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
15271         libc_hidden_builtin_def.
15272         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
15273         memset symbol to use when multi-arch support is available.
15275 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15277         * dlfcn/tst-rec-dlopen.c: Include string.h.
15279 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15281         * manual/install.texi: Remove mention of --without-tls
15282         * INSTALL: Regenerate.
15284 2016-06-05  Florian Weimer  <fweimer@redhat.com>
15286         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
15287         Remove.
15288         (call_function, interposed_malloc_called): New variables.
15289         (malloc): New function.
15290         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
15291         and clear call_function as needed.
15293 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
15295         * include/wchar.h (__wmemset): Use __typeof.
15297 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
15299         * include/wchar.h (__wmemset): Declare function without typeof.
15301 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
15303         [BZ #20205]
15304         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
15305         exponent when incrementing negative subnormal with low mantissa
15306         word zero.
15307         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15308         Add another test.
15310 2016-06-03  Florian Weimer  <fweimer@redhat.com>
15312         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
15313         __wmemset instead of wmemset.
15315 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
15317         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
15318         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
15319         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
15320         __USE_KERNEL_IPV6_DEFS to 0.
15321         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
15322         Update comment.
15324 2016-06-01  Florian Weimer  <fweimer@redhat.com>
15326         [BZ #19861]
15327         Do not use IFUNC resolver with potentially unrelocated symbol.
15328         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
15329         (DEFINE_FORK): Remove macro and inline definition.
15330         (fork_alias): Renamed from fork_ifunc.
15331         (__fork_alias): Renamed from __fork_ifunc.
15333 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15335         [BZ 19653]
15336         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
15337         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
15339 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15341         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
15342         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
15343         i386-linux-gnu).
15344         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
15345         Set to no.
15346         * sysdeps/mach/hurd/configure: Refresh.
15348 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15350         [BZ #20178]
15351         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
15352         on failure instead of exit.
15354 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15356         [BZ #3629]
15357         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
15358         of POSIX.1-2008.
15360 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15362         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
15363           Use PLT entry for calling _hurd_self_sigstate.
15365 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
15367         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
15368         available logical processors with SMT level type sharing L2
15369         cache for Intel processors.
15371 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15373         [BZ #20160]
15374         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
15375         argument to itself before returning the result.
15376         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15377         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15378         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15379         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15380         Likewise.
15381         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15382         Likewise.
15383         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
15384         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
15385         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15386         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15387         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15388         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15390         [BZ #20160]
15391         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
15392         argument to itself before returning the result.
15393         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15394         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15395         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15396         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
15397         Likewise.
15398         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15399         Likewise.
15400         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
15401         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
15402         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
15403         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15404         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15405         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15407 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15409         * libm-test.inc: Replace usage of M_El with
15410         (lit_e): New macro.
15412 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15414         * libm-test.inc: Replace usage of M_PI_4l with
15415         (lit_pi_4_d): New macro.
15417 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15419         * libm-test.inc: Replace usage of M_PIl with
15420         (lit_pi): New macro.
15422 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15424         * libm-test.inc: Replace usage of M_PI2l with
15425         (lit_pi_2_d): New macro.
15427         * math/test-double.h (LITM): New macro.
15428         * math/test-float.h (LITM): Likewise.
15429         * math/test-ldouble.h (LITM): Likewise.
15431 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15433         * libm-test.inc (M_PI_34l): Rename to
15434         (lit_pi_3_m_4_d): New Macro.
15435         (M_PI_34_LOG10El): Rename to
15436         (lit_pi_3_m_4_ln10_m_d): New Macro.
15437         (M_PI2_LOG10El): Rename to
15438         (lit_pi_2_ln10_m_d):  New Macro.
15439         (M_PI4_LOG10El): Rename to
15440         (lit_pi_4_ln10_m_d):  New Macro.
15441         (M_PI_LOG10El): Rename to
15442         (lit_pi_ln10_d):  New Macro.
15444 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15446         [BZ #20157]
15447         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
15448         determine whether to negate low half if [_ARCH_PPCGR], and integer
15449         comparison otherwise.
15450         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
15451         determine whether to negate low half.
15453         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
15454         (NO_TEST_INLINE_DOUBLE): Likewise.
15455         (TEST_COND_x86_64): Likewise.
15456         (TEST_COND_x86): Likewise.
15457         (M_PI_6l): Likewise.
15459 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15461         * math/libm-test.inc:
15462         (TEST_FLOAT): Change usage to TEST_COND_binary32.
15463         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
15464         (TEST_LDOUBLE): Update usage to evaluate as true if
15465         the guarded tests match the property being tested.
15466         (LDBL_MAX_EXP): Change to MAX_EXP.
15467         (LDBL_MIN_EXP): Change to MIN_EXP.
15468         (LDBL_MANT_DIG): Change to MANT_DIG, except for
15469         nexttoward tests.
15471 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15473         * math/libm-test.inc:
15474         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
15475         (TYPE_MIN): Likewise.
15476         (TYPE_TRUE_MIN): Likewise.
15477         (TYPE_MAX): Likewise.
15478         (MIN_EXP): Likewise.
15479         (MAX_EXP): Likewise.
15480         (MANT_DIG): Likewise.
15482         (FSTR_MAX): New macro.
15483         (__CONCATX): Likewise.
15484         (QTYPE_STR): Likewise.
15485         (TEST_COND_binary32): Likewise.
15486         (TEST_COND_binary64): Likewise.
15487         (TEST_COND_binary128): Likewise.
15488         (TEST_COND_ibm128): Likewise.
15489         (TEST_COND_intel96): Likewise.
15490         (TEST_COND_m68k96): Likewise.
15492         (TEST_COND_flt_32): Redefine as equivalent format test macro.
15493         (TEST_COND_dbl_64): Likewise.
15494         (TEST_COND_ldbl_96_intel): Likewise.
15495         (TEST_COND_ldbl_96_m68k): Likewise.
15496         (TEST_COND_ldbl_128): Likewise.
15497         (TEST_COND_ldbl_128ibm): Likewise.
15499         (plus_zero): Redefine using LIT macro.
15500         (minus_zero): Likewise.
15501         (plus_infty): Redefine as (INF).
15502         (minux_infty): Redefine as (-INF).
15503         (max_value): Redefine as TYPE_MAX.
15504         (min_value): Redefine as TYPE_MIN.
15505         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
15507         (print_float): Refactor to use snprintf to convert FLOAT values
15508         to string. This brings it closer to dropin replacement of strtof
15509         for the TS 18661 defined types.
15510         (update_stats): Likewise.
15511         (print_complex_function_ulps): Likewise.
15512         (print_max_error): Likewise.
15513         (print_complex_max_error): Likewise.
15514         (check_float_internal): Likewise.
15516         * math/test-float.h (PREFIX): New macro.
15517         (LIT): Likewise.
15518         (TYPE_STR): Likewise.
15519         (FTOSTR): Likewise.
15521         * math/test-double.h (PREFIX): New macro.
15522         (LIT): Likewise.
15523         (TYPE_STR): Likewise.
15524         (FTOSTR): Likewise.
15526         * math/test-ldouble.h (PREFIX): New macro.
15527         (LIT): Likewise.
15528         (TYPE_STR): Likewise.
15529         (FTOSTR): Likewise.
15531 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15533         [BZ #20156]
15534         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
15535         to itself when zero or not finite.
15536         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
15537         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15538         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
15539         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
15541 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
15543         [BZ #20153]
15544         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
15545         x * x + x for infinities and NaNs.
15547         [BZ #20151]
15548         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
15549         argument to itself before returning result.
15550         (__ieee754_y0l): Likewise.
15551         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15552         (__ieee754_y1l).
15554         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
15555         (atan_test_data): Likewise.
15556         (ceil_test_data): Likewise.
15557         (cos_test_data): Likewise.
15558         (cosh_test_data): Likewise.
15559         (erf_test_data): Likewise.
15560         (exp2_test_data): Likewise.
15561         (fabs_test_data): Likewise.
15562         (floor_test_data): Likewise.
15563         (ilogb_test_data): Likewise.
15564         (j0_test_data): Likewise.
15565         (j1_test_data): Likewise.
15566         (jn_test_data): Likewise.
15567         (lgamma_test_data): Likewise.
15568         (lrint_test_data): Likewise.
15569         (llrint_test_data): Likewise.
15570         (logb_test_data): Likewise.
15571         (lround_test_data): Likewise.
15572         (llround_test_data): Likewise.
15573         (nearbyint_test_data): Likewise.
15574         (rint_test_data): Likewise.
15575         (round_test_data): Likewise.
15576         (sin_test_data): Likewise.
15577         (sincos_test_data): Likewise.
15578         (sinh_test_data): Likewise.
15579         (sqrt_test_data): Likewise.
15580         (tan_test_data): Likewise.
15581         (tanh_test_data): Likewise.
15582         (tgamma_test_data): Likewise.
15583         (trunc_test_data): Likewise.
15584         (y0_test_data): Likewise.
15585         (y1_test_data): Likewise.
15586         (yn_test_data): Likewise.
15588         * math/libm-test.inc: Update comment about NaN testing.
15589         (TEST_SNAN): New macro.
15590         (snan_value): Likewise.
15591         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
15592         (fpclassify_test_data): Add sNaN tests.
15593         (isfinite_test_data): Likewise.
15594         (isinf_test_data): Likewise.
15595         (isnan_test_data): Likewise.
15596         (isnormal_test_data): Likewise.
15597         (issignaling_test_data): Likewise.
15598         (signbit_test_data): Likewise.
15599         * math/gen-libm-test.pl (%beautify): Add snan_value.
15600         (show_exceptions): Add argument $test_snan.
15601         (parse_args): Handle snan_value as non-finite.  Update call to
15602         show_exceptions.
15603         * math/Makefile (libm-test-no-inline-cflags): Add
15604         -fsignaling-nans.
15606 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15608         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15609         (CFLAGS-oldsendmsg.c): Add rule.
15610         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15611         Correct recvmsg symbol name.
15612         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15613         Likewise.
15615 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15617         * sysdeps/unix/sysv/linux/Makefile
15618         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15619         oldsendmmsg.
15620         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15621         sendmmsg.
15622         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15623         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15624         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15625         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15627         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15628         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15630         Likewise.
15631         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15632         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15633         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15634         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15635         iovlen and controllen fields to adjust to POSIX specification.
15636         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15638         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15639         and change to correct expected type.
15640         (msghdr.msg_controllen): Likewise.
15641         (cmsghdr.cmsg_len): Likewise.
15642         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15643         expected POSIX assumption about the size.
15644         (msghdr.msg_controllen): Likewise.
15645         (msghdr.__glibc_reserved1): Likewise.
15646         (msghdr.__glibc_reserved2): Likewise.
15647         (cmsghdr.cmsg_len): Likewise.
15648         (cmsghdr.__glibc_reserved1): Likewise.
15649         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15650         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15651         (CFLAGS-sendmsg.c): Remove rule.
15652         (CFLAGS-recvmsg.c): Likewise.
15653         (CFLAGS-oldsendmsg.c): Add rule.
15654         (CFLAGS-oldrecvmsg.c): Likewise.
15655         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15656         recvmsg and sendmsg.
15657         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15658         Likewise.
15659         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15660         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15661         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15662         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15663         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15664         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15665         Likewise.
15666         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15667         Likewise.
15668         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15669         Likewise.
15670         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15671         Likewise.
15672         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15673         Likewise.
15674         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15675         Likewise.
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15677         (GLIBC_2.24): Likewise.
15678         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15679         Likewise.
15680         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15681         Likewise.
15682         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15683         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15684         Likewise.
15685         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15686         Likewise.
15687         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15688         Likewise.
15689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15690         (GLIBC_2.24): Likewise.
15691         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15692         Likewise.
15693         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15694         Likewise.
15695         * sysdeps/unix/sysv/linux/Makefile
15696         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15697         (CFLAGS-sendmsg.c): Add rule.
15698         (CFLAGS-recvmsg.c): Likewise.
15699         (CFLAGS-oldsendmsg.c): Likewise.
15700         (CFLAGS-oldrecvmsg.c): Likewise.
15701         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15702         initialization.
15703         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15704         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15705         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15706         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15707         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15708         iovlen and controllen fields to adjust to POSIX specification.
15709         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15710         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15711         added recvmsg and sendmsg.
15712         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15713         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15714         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15715         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15716         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15717         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15718         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15719         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15720         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15721         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15722         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15723         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15725         Likewise.
15726         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15728         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15729         Likewise.
15730         Likewise.
15731         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15732         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15733         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15734         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15735         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15736         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15738         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15740         Likewise.
15741         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15742         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15744         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15745         from auto-generation.
15746         (sendmsg): Likewise.
15747         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15748         (sendmsg): Likewise.
15749         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15750         (sendmsg): Likewise.
15751         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15752         (sendmsg): Likewise.
15753         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15754         (sendmsg): Likewise.
15755         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15756         (sendmsg): Likewise.
15757         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15758         Likewise.
15759         (sendmsg): Likewise.
15760         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15761         (sendmsg): Likewise.
15762         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15764         Remove.
15765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15766         Likewise.
15767         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15768         Undefine.
15769         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15770         Likewise.
15771         * sysdeps/unix/sysv/linux/kernel-features.h
15772         (__ASSUME_SENDMSG_SYSCALL): Define.
15773         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15774         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15776         Remove.
15777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15778         Likewise.
15779         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15780         Undefine.
15781         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15782         Likewise.
15783         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15784         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15785         Remove.
15786         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15787         Likewise.
15788         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15789         Undefine.
15790         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15791         Likewise.
15792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15793         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15794         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15795         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15796         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15797         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15798         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15799         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15800         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15802 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15804         * stdlib/gen-tst-strtod-round.c: Add backslash to
15805         compile command in comment.
15806         (printfp): Remove the literal suffix, and define an infinite
15807         value as INF to avoid expansion clash with INFINITY.
15808         (round_str): Remove the literal suffix.
15809         (round_for_all): Likewise, remove the now duplicate ldbl-64
15810         entry, and remove some magic constants.
15812         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15813         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15814         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15815         (_CONCAT): New macro.
15816         (CONCAT): Likewise.
15817         (CHOOSE_ld): Likewise.
15818         (CHOOSE_f): Likewise.
15819         (CHOOSE_d): Likewise.
15820         (FTYPE_MEMBER): Likewise.
15821         (BOOL_MEMBER): Likewise.
15822         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15823         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15824         (_XNTRY): Likewise.
15825         (XNTRY): Likewise.
15826         (_ENTRY): Likewise.
15827         (ENTRY): Likewise.
15828         (test_exactness): Generate members via macro.
15829         (test_results): Likewise.
15830         (test): Update members.
15831         (TEST): Redefine using new macros.
15832         (INF): New macro.
15833         (fetestmodes): New structure.
15834         (do_test): Refactor to be type generic.
15835         (test_in_one_mode): Refactor duplicate code into
15836         (GEN_ONE_TEST): New macro.
15838         * stdlib/tst-strtod-round-data.h: Regenerate.
15840         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15841         Extend to pass additional arbitrary parameters to
15842         generators.
15844 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15846         [BZ #15479]
15847         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15848         floating-point state after first floating-point operation on
15849         input.  Restore full floating-point state instead of just rounding
15850         mode.
15851         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15852         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15853         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15854         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15855         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15857         [BZ #15479]
15858         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15859         floating-point state after first floating-point operation on
15860         input.  Restore full floating-point state instead of just rounding
15861         mode.
15862         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15863         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15864         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15865         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15866         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15868 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15870         [BZ #19727]
15871         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15872         valid high surrogate.
15873         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15874         of an utf16 surrogate.
15875         * iconv/gconv_simple.c (BODY): Likewise.
15876         * iconvdata/bug-iconv12.c: New file.
15877         * iconvdata/Makefile (tests): Add bug-iconv12.
15879 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15881         [BZ #19726]
15882         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15883         outptrp in case of an illegal input.
15884         * iconv/tst-iconv6.c: New file.
15885         * iconv/Makefile (tests): Add tst-iconv6.
15887 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15889         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15890         an error in case of a value in range of an utf16 low surrogate.
15892 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15894         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15895         an error in case of a value in range of an utf16 low surrogate.
15897 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15899         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15900         Move to ...
15901         * sysdeps/s390/Makefile: ... here.
15902         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15903         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15904         (BRANCH_ON_COUNT): New define.
15905         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15906         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15907         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15908         run on s390-32, too.
15909         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15910         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15911         run on s390-32, too.
15912         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15913         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15914         run on s390-32, too.
15916 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15918         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15919         etf3eh or new vector loop-variant.
15921 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15923         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15924         etf3eh or new vector loop-variant.
15926 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15928         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15929         or new vector loop-variant.
15931 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15933         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15934         Rename to TR_LOOP and usage of tr instead of troo instruction.
15936 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15938         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15939         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15941 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15943         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15944         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15945         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15946         New override define.
15947         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15949 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15951         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15952         * sysdeps/s390/configure.ac: Add test for S390 vector register
15953         support in gcc.
15954         * sysdeps/s390/configure: Regenerated.
15956 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15958         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15959         Install file from $(objpfx)gconv-modules.
15960         ($(objpfx)gconv-modules): Concatenate architecture specific file
15961         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15962         * sysdeps/s390/gconv-modules: New file.
15963         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15964         Deleted.
15965         ($(objpfx)gconv-modules-s390): Deleted.
15966         (sysdeps-gconv-modules): New variable.
15968 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15970         [BZ #15479]
15971         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15972         of immediate operand to rounding instruction.
15973         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15974         Likewise.
15975         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15976         Likewise.
15977         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15978         Likewise.
15980 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15982         * math/libm-test.inc (MIN_EXP): Directly define as
15983         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15985 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15987         * math/libm-test.inc (MANT_DIG): Directly define as
15988         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15990 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15992         * stdlib/gen-tst-strtod-round.c (main):
15993           Change usage to more closely match the generated
15994           output.  Add usage and compilation instructions.
15995           (string_to_fp): Add and use FILE* parameter as
15996           output target.
15997           (print_fp): Likewise.
15998           (round_str): Likewise.
15999           (round_for_all): Likewise.
16000         * stdlib/tst-strtod-round.c (tests): Move into
16001         * stdlib/tst-strtod-round-data.h: New file.
16003 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16005         [BZ #15479]
16006         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
16007         (__round): Do not force "inexact" exception.
16008         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
16009         variable.
16010         (__round): Do not force "inexact" exception.
16011         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
16012         (__roundf): Do not force "inexact" exception.
16013         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
16014         (__roundl): Do not force "inexact" exception.
16015         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
16016         (__roundl): Do not force "inexact" exception.
16017         * math/libm-test.inc (round_test_data): Do not allow spurious
16018         "inexact" exceptions.
16020         [BZ #15479]
16021         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
16022         exception in comment.
16023         (huge): Remove variable.
16024         (__floor): Do not force "inexact" exception.
16025         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
16026         "inexact" exception in comment.
16027         (huge): Remove variable.
16028         (__floor): Do not force "inexact" exception.
16029         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
16030         exception in comment.
16031         (huge): Remove variable.
16032         (__floorf): Do not force "inexact" exception.
16033         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
16034         exception in comment.
16035         (huge): Remove variable.
16036         (__floorl): Do not force "inexact" exception.
16038         [BZ #15479]
16039         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
16040         exception in comment.
16041         (huge): Remove variable.
16042         (__ceil): Do not force "inexact" exception.
16043         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
16044         "inexact" exception in comment.
16045         (huge): Remove variable.
16046         (__ceil): Do not force "inexact" exception.
16047         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
16048         (__ceilf): Do not force "inexact" exception.
16049         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
16050         exception in comment.
16051         (huge): Remove variable.
16052         (__ceill): Do not force "inexact" exception.
16054 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16056         * config.h.in (BIND_NOW): New.
16057         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
16058         * configure: Regenerated.
16059         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
16060         indirect branch via the GOT slot.
16062 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16064         [BZ #19765]
16065         * sysdeps/s390/mempcpy.S: New File.
16066         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16067         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
16068         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16069         Add mempcpy variants.
16070         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
16071         (memcpy): Adjust to be usable from mempcpy entry point.
16072         (__memcpy_mvcle): Likewise.
16073         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16074         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
16075         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
16076         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
16077         (__memcpy_z10): Likewise.
16078         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16080 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16082         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
16083         Remove __GI_ symbol.
16084         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
16085         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
16086         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
16087         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16088         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
16089         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
16091 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16093         * sysdeps/s390/s390-64/memcpy.S (memcpy):
16094         Use cghi instead of chi to compare 64bit value.
16096 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16098         * sysdeps/s390/s390-32/memcpy.S (memcpy):
16099         Jump to 1MB check before executing mvc-loop.
16101 2016-05-24  Florian Weimer  <fweimer@redhat.com>
16103         [BZ #6527]
16104         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
16105         unconditionally.
16106         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
16108 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16110         * stdlib/tst-strtod6.c (do_test): Use new type generic
16111         invocation of the test function.
16112         (test): Refactor into ...
16113         (TEST_STRTOD): New macro base function.
16115 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16117         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
16118         (TEST_STRTOD): New macro.
16119         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
16121 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16123         * stdlib/tst-strtod6.c (do_test): Use new type generic
16124         invocation of the test function.
16125         (test): Refactor into ...
16126         (TEST_STRTOD): New macro base function.
16128 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16130         CVE-2016-4429
16131         [BZ #20112]
16132         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
16133         payload.
16135 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16137         [BZ #20111]
16138         * bits/sockaddr.h (_SS_SIZE): Define.
16139         * bits/socket.h (_SS_SIZE): Remove.
16140         (_SS_PADSIZE): Adjust to account for all padding.
16141         (struct sockaddr_storage): Update comment.  Avoid implicit
16142         padding.
16143         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
16144         (_SS_PADSIZE): Adjust to account for all padding.
16145         (struct sockaddr_storage): Update comment.  Avoid implicit
16146         padding.
16147         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
16148         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
16149         (_SS_PADSIZE): Adjust to account for all padding.
16150         (struct sockaddr_storage): Update comment.  Avoid implicit
16151         padding.
16152         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
16153         __SS_SIZE is 126 in this version.
16154         * inet/tst-sockaddr.c: New file.
16155         * inet/Makefile (tests): Add tst-sockaddr.c
16156         (tst-sockaddr.c): Compile with non-strict aliasing.
16158 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
16160         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
16161         [XPG3 || XPG4].
16162         (NL_ARGMAX): Also expect for [XPG3].
16163         (NL_LANGMAX): Likewise.
16164         (NL_MSGMAX): Likewise.
16165         (NL_NMAX): Likewise.
16166         (NL_SETMAX): Likewise.
16167         (NL_TEXTMAX): Likewise.
16168         (NZERO): Likewise.
16169         (TMP_MAX): Likewise.
16170         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
16171         variable.
16173         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
16174         (PF_MAX): Update value.
16175         (AF_KCM): New macro.
16176         (SOL_NETBEUI): Likewise.
16177         (SOL_LLC): Likewise.
16178         (SOL_DCCP): Likewise.
16179         (SOL_NETLINK): Likewise.
16180         (SOL_TIPC): Likewise.
16181         (SOL_RXRPC): Likewise.
16182         (SOL_PPPOL2TP): Likewise.
16183         (SOL_BLUETOOTH): Likewise.
16184         (SOL_PNPIPE): Likewise.
16185         (SOL_RDS): Likewise.
16186         (SOL_IUCV): Likewise.
16187         (SOL_CAIF): Likewise.
16188         (SOL_ALG): Likewise.
16189         (SOL_NFC): Likewise.
16190         (SOL_KCM): Likewise.
16191         (MSG_BATCH): New enum value and macro.
16193 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
16195         [BZ #18185]
16196         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
16197         sharing L2 cache to 2 for Knights Landing.
16199 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
16201         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
16202         (FTW_DP): Do not expect for [XPG3 || XPG4].
16203         (FTW_SL): Do not expect for [XPG3].
16204         (FTW_SLN): Likewise.
16205         (FTW_PHYS): Likewise.
16206         (FTW_MOUNT): Likewise.
16207         (FTW_DEPTH): Likewise.
16208         (FTW_CHDIR): Likewise.
16209         (nftw): Likewise.
16210         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
16211         variable.
16213 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16215         * manual/errno.texi: Fix various typos & grammar errors.
16217 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16219         * manual/intro.texi: Fix duplicated typo.
16221 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16223         [BZ #13304]
16224         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
16225         <float.h>, <math_private.h> and <stdlib.h>.
16226         (add_split): New function.
16227         (mul_split): Likewise.
16228         (ext_val): New typedef.
16229         (store_ext_val): New function.
16230         (mul_ext_val): New function.
16231         (compare): New function.
16232         (add_split_ext): New function.
16233         (__fmal): After checking for Inf, NaN and zero, compute result as
16234         an exact sum of scaled double values in round-to-nearest before
16235         adding those up and adjusting for other rounding modes.
16236         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
16237         tests of fma.
16238         * math/auto-libm-test-out: Regenerated.
16240 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16242         [BZ #20119]
16243         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
16244         processor level type mask for CPUID with EAX == 11.
16246 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16248         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
16249         logical threads if the HTT bit is 0.
16250         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
16251         (index_cpu_HTT): Likewise.
16252         (reg_HTT): Likewise.
16254 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16256         [BZ #20115]
16257         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
16258         Remove alignments on jump targets.
16260 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16262         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
16263         (getpwent): Likewise.
16264         (setpwent): Likewise.
16265         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
16266         variable.
16268         * conform/data/search.h-data (insque): Do not expect for [XPG3].
16269         (remque): Likewise.
16270         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
16271         variable.
16273 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16275         * math/libm-test.inc: Update comment not to refer to signs of NaNs
16276         not being tested.
16278 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16280         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16281         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
16282         call.
16283         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16284         (__condvar_cleanup1): Likewise.
16286 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16288         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
16289         New
16290         (__pthread_unwind): Renamed to ...
16291         (PTHREAD_UNWIND): This.
16292         (__pthread_enable_asynccancel): Replace
16293         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
16295 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16297         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
16298         (CLONE_NEWCGROUP): New macro.
16300         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
16301         (Q_GETNEXTQUOTA): New macro.
16303 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16305         [BZ #19907]
16306         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
16307         buffer updated by the previous run.
16308         * string/test-memcpy.c (do_one_test): Likewise.
16309         * benchtests/bench-memmove.c (do_one_test): Add a comment.
16310         * string/test-memmove.c (do_one_test): Likewise.
16312 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
16314         [BZ #20094]
16315         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
16316         not [__USE_XOPEN].
16317         (unlockpt): Likewise.
16318         (ptsname): Likewise.
16319         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
16320         variable.
16322         [BZ #20076]
16323         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
16324         instead of [__USE_UNIX98].
16325         (S_ISSOCK): Likewise.
16326         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
16327         variable.
16329         [BZ #20074]
16330         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
16331         [__USE_POSIX].
16332         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
16333         variable.
16335         [BZ #20051]
16336         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
16337         (ttyslot): Do not declare.
16338         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
16339         (ttyslot): New prototype.
16340         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
16341         variable.
16342         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16344 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16346         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
16348 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16350         Fix race condition in tst-mallocfork2, use fewer resources.
16351         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
16352         to current process group.
16353         (signal_sender): Yield in the non-sleeping case.
16355 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
16357         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
16358         (ecvt): Likewise.
16359         (fcvt): Likewise.
16360         (gcvt): Likewise.
16361         (getsubopt): Likewise.
16362         (grantpt): Likewise.
16363         (initstate): Likewise.
16364         (l64a): Likewise.
16365         (mktemp): Likewise.
16366         (mkstemp): Likewise.
16367         (ptsname): Likewise.
16368         (random): Likewise.
16369         (realpath): Likewise.
16370         (setstate): Likewise.
16371         (srandom): Likewise.
16372         (ttyslot): Likewise.
16373         (unlockpt): Likewise.
16374         (valloc): Likewise.
16376         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
16377         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
16378         variable.
16380 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16382         [BZ #20072]
16383         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
16384         init_cpu_features only if SHARED is defined.
16385         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
16387 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16389         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
16390         non-inclusive caches on Intel processors.
16392 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16394         * malloc/malloc.c (dumped_main_arena_start)
16395         (dumped_main_arena_end): New variables.
16396         (DUMPED_MAIN_ARENA_CHUNK): New macro.
16397         (do_check_chunk): Skip dumped fake mmapped chunks.
16398         (munmap_chunk): Likewise.
16399         (__libc_free): Do not adjust statistics for fake mmapped chunks.
16400         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
16401         mmapped chunks.
16402         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
16403         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
16404         and dumped_main_arena_end to cover the dumped heap.
16406 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
16408         * conform/data/time.h-data (getdate_err): Do not expect for
16409         [XPG3].
16410         (getdate): Likewise.
16411         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
16412         variable.
16414         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
16415         (F_ULOCK): Likewise.
16416         (F_TEST): Likewise.
16417         (F_TLOCK): Likewise.
16418         (useconds_t): Likewise.
16419         (intptr_t): Do not expect for [XPG3] or [XPG4].
16420         (brk): Do not expect for [XPG3]
16421         (fchown): Likewise.
16422         (fchdir): Likewise.
16423         (ftruncate): Likewise.
16424         (getdtablesize): Likewise.
16425         (gethostid): Likewise.
16426         (getpagesize): Likewise.
16427         (getpgid): Likewise.
16428         (getsid): Likewise.
16429         (getwd): Likewise.
16430         (lchown): Likewise.
16431         (lockf): Likewise.
16432         (readlink): Likewise.
16433         (sbrk): Likewise.
16434         (setpgrp): Likewise.
16435         (setregid): Likewise.
16436         (setreuid): Likewise.
16437         (symlink): Likewise.
16438         (sync): Likewise.
16439         (truncate): Likewise.
16440         (ualarm): Likewise.
16441         (usleep): Likewise.
16442         (vfork): Likewise.
16443         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
16444         variable.
16446         [BZ #20054]
16447         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
16448         not [__USE_UNIX98].
16449         * conform/data/unistd.h-data (gethostname): Do not expect for
16450         [XPG3].
16452         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
16453         [!POSIX] (S_IFBLK): Likewise.
16454         [!POSIX] (S_IFCHR): Likewise.
16455         [!POSIX] (S_IFIFO): Likewise.
16456         [!POSIX] (S_IFREG): Likewise.
16457         [!POSIX] (S_IFDIR): Likewise.
16458         [!POSIX] (S_IFLNK): Likewise.
16459         [!POSIX] (S_IFSOCK): Likewise.
16460         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
16461         variable.
16462         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16464 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
16466         * sysdeps/aarch64/memset.S (__memset):
16467         Rewrite of optimized memset.
16469 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16471         [BZ #19703]
16472         Partially async-signal-safe fork for single-threaded processes.
16473         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
16474         variable.  Do not acquire and reset/release malloc and libio locks
16475         in single-threaded processes.
16476         * malloc/tst-mallocfork2.c: New file.
16477         * malloc/Makefile (tests): Add it.
16479 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16481         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
16482         argument.  Use scratch buffer instead of extend_alloca.
16483         (gethosts): Use scratch buffer instead of extend_alloca.
16484         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
16485         extend_alloca.
16486         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
16488 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
16490         [BZ #20055]
16491         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
16492         instead of [__USE_UNIX98].
16493         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
16494         [__USE_UNIX98].
16495         * conform/data/termios.h-data (tcgetsid): Do not expect for
16496         [XPG3].
16497         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
16498         variable.
16499         (test-xfail-XPG4/termios.h/conform): Likewise.
16501 2016-05-11  Florian Weimer  <fweimer@redhat.com>
16503         Do not use mcheck in localedef.
16504         * locale/programs/localedef.c (turn_on_mcheck)
16505         (__malloc_initialize_hook): Remove.
16507 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16509         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
16510         * sysdeps/s390/s390-64/Makefile: Likewise.
16512 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16514         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
16515         Remove ifunc-defines.sym.
16516         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
16517         Likewise.
16518         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
16519         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16520         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
16521         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
16522         rtld-global-offsets.sym.
16523         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
16524         * sysdeps/x86/cpu-features-offsets.sym: This.
16525         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
16526         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
16528 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
16530         [BZ #20073]
16531         * io/sys/stat.h (fchmod): Declare for
16532         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
16533         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
16534         variable.
16536         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
16537         [XPG3] (S_IFSOCK): Likewise.
16538         [XPG3] (S_ISVTX): Likewise.
16539         [XPG3] (S_ISLNK): Likewise.
16540         [XPG3] (S_ISSOCK): Likewise.
16541         [XPG3] (fchmod): Likewise.
16542         [XPG3] (lstat): Likewise.
16543         [XPG3] (mknod): Likewise.
16545         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
16546         [XPG3].  Expect type long and XFAIL for [XPG4].
16547         (st_blocks): Likewise.
16549         [BZ #20044]
16550         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
16551         (pthread_atfork): New prototype.
16552         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
16553         variable.
16555         [BZ #20043]
16556         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
16557         prototype.
16559 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16561         [BZ #20017]
16562         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
16563         gmtime.
16565 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16567         [BZ #19994]
16568         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
16569         flag in _res.options.
16571 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
16573         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
16574         [XPG3 || XPG4].
16575         (blksize_t): Likewise.
16576         (clockid_t): Likewise.
16577         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
16578         variable.
16579         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16581 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16583         * sysdeps/unix/sysv/linux/s390/init-first.c:
16584         Add VDSO_SYMBOL(getcpu).
16585         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
16586         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
16587         Add VDSO_SYMBOL(getcpu).
16588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
16589         New define HAVE_GETCPU_VSYSCALL.
16590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16592 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16594         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
16595         instead of <sysdeps/x86_64/cacheinfo.c>.
16596         * sysdeps/x86_64/cacheinfo.c: Moved to ...
16597         * sysdeps/x86/cacheinfo.c: Here.
16599 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16601         * malloc/malloc-internal.h: Adjust header file guard.
16603 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16605         [BZ #19787]
16606         * inet/getnameinfo.c (check_sprintf_result): New function.
16607         (CHECKED_SNPRINTF): New macro.
16608         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16609         to the host buffer.
16610         (gni_host_local): Use checked_copy to copy the host name.
16611         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16612         (gni_serv_local): Use checked_copy to copy the service name.
16613         (getnameinfo): Remove unnecessary truncation of result buffers.
16615 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16617         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16618         in case of inet_ntop failure.
16620 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16622         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16623         avoid long lines.
16624         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16625         variables.
16626         (gni_host_inet, gni_host_local): Add comment.
16627         (gni_host): Add comment.  Use temporary to avoid long lines.
16629 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16631         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16632         registers specifiers where general purpose registers specifiers should
16633         have been used.
16635 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16637         [BZ #19779]
16638         CVE-2016-1234
16639         Avoid copying names of directory entries.
16640         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16641         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16642         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16643         (struct readdir_result): New type.
16644         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16645         (GL_READDIR): New macros.
16646         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16647         (convert_dirent, convert_dirent64): New functions.
16648         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16649         convert_dirent64.  Adjust references to the readdir result.
16650         * sysdeps/unix/sysv/linux/i386/glob64.c:
16651         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16652         * posix/bug-glob2.c (LONG_NAME): Define.
16653         (filesystem): Add LONG_NAME.
16654         (my_DIR): Increase the size of room_for_dirent.
16656 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16658         [BZ #20041]
16659         * misc/sys/select.h (__need_timespec): Only define if
16660         [__USE_XOPEN2K].
16661         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16662         variable.
16663         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16664         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16665         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16667 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16668             Segher Boessenkool  <segher@gcc.gnu.org>
16670         [BZ #20004]
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16672         (__novec_swapcontext): Add missing load.
16674 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16676         [BZ #20023]
16677         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16678         <time.h>.
16679         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16680         variable.
16681         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16683 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16686         flags CLONE_VM compare.
16688 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16690         [BZ #20031]
16691         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16692         completely empty.
16694 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16696         [BZ #19573]
16697         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16698         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16699         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16700         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16701         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16702         (hesiod_free_list): Mark as hidden.
16703         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16704         res_set, res_get.
16705         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16706         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16707         (hesiod_init): Remove obsolete res_ninit call.
16708         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16709         (hesiod_bind): Do not call init.
16710         (get_txt_records): Use res_mkquery, res_send instead of
16711         res_nmkquery, res_nsend.
16712         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16713         instead of _nss_hesiod_init.
16714         (_nss_hesiod_initgroups_dyn): Likewise.
16715         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16716         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16717         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16719 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16721         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16722         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16724 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16726         * hesiod/hesiod.h: Remove RCS keyword.
16727         * hesiod/hesiod_p.h: Likewise.
16729         * hesiod/hesiod.c: Likewise.
16731 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16733         [BZ #12450]
16734         * locale/iso-639.def: Add Samogitian/sgs.
16736 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16738         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16740         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16742 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16743             Carlos O'Donell  <carlos@redhat.com>
16745         [BZ #19072]
16746         * grp/Makefile (headers): Add grp-merge.h
16747         (routines): Add grp-merge.
16748         * grp/getgrgid_r.c: Include grp-merge.h.
16749         (DEEPCOPY_FN): Define.
16750         (MERGE_FN): Define.
16751         * grp/getgrname_r.c: Include grp-merge.h.
16752         (DEEPCOPY_FN): Define.
16753         (MERGE_FN): Define.
16754         * grp/grp-merge.c: New file.
16755         * grp/grp-merge.h: New file.
16756         * include/grp-merge.h: New file.
16757         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16758         __copy_grp@GLIBC_PRIVATE.
16759         * manual/nss.texi (Actions in the NSS configuration): Describe
16760         return, continue, and merge.
16761         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16762         (DEEPCOPY_FN): Define.
16763         (MERGE_FN): Define.
16764         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16765         (DEEPCOPY_FN): Define.
16766         (MERGE_FN): Define.
16767         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16768         [!MERGE_FN]: Define __merge_einval.
16769         (CHECK_MERGE): Define.
16770         (REENTRANT_NAME): Process merge if do_merge is true.
16771         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16772         (__nss_getent_r): Likewise.
16773         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16774         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16776 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16778         [BZ #20012]
16779         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16780         length to calculate the buffer to read.
16781         (fmemopen_write): Set the buffer position based on bytes written.
16782         (fmemopen_seek): Return EINVAL for invalid whence modes.
16784         [BZ #19957]
16785         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16786         tst-getpid2.
16787         (test): Add tst-clone2.
16788         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16789         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16790         pid/tid fields for CLONE_VM.
16791         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16792         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16793         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16794         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16795         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16796         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16797         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16798         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16800         Likewise.
16801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16802         Likewise.
16803         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16804         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16805         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16806         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16807         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16808         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16809         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16810         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16812 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16814         [BZ #19642]
16815         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16816         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16817         (gni_serv_local, gni_serv): New functions extracted from
16818         getnameinfo.
16819         (getnameinfo): Call gni_host and gni_serv to perform the
16820         processing.  Always free scratch buffer.
16822 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16824         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16825         remaining bytes in the dest string, with zeros.
16827 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16829         [BZ #20010]
16830         CVE-2016-3706
16831         * sysdeps/posix/getaddrinfo.c
16832         (convert_hostent_to_gaih_addrtuple): New function.
16833         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16834         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16835         AF_INET data.
16837 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16839         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16840         callback function gl_readdir.
16841         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16842         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16843         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16844         memcpy to copy the name.
16845         * manual/pattern.texi (Calling Glob): Document requirements for
16846         implementations of the gl_readdir callback function.
16847         * manual/examples/mkdirent.c: New example.
16848         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16849         per the manual guidance.
16850         * posix/tst-gnuglob.c (my_readdir): Likewise.
16852 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16854         [BZ #20014]
16855         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16856         not [__USE_POSIX].
16857         (getchar_unlocked): Likewise.
16858         (putc_unlocked): Likewise.
16859         (putchar_unlocked): Likewise.
16860         (flockfile): Likewise.
16861         (ftrylockfile): Likewise.
16862         (funlockfile): Likewise.
16863         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16864         variable.
16865         (test-xfail-XPG4/stdio.h/conform): Likewise.
16867         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16868         Expect constant.
16869         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16870         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16871         variable.
16872         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16873         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16875         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16876         [__USE_LARGEFILE64] (off64_t): Likewise.
16877         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16878         variable.
16880 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16882         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16884 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16886         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16887         * resolv/res_init.c: Likewise.
16888         * resolv/res_mkquery.c: Likewise.
16890 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16892         * resolv/res_init.c (isascii): Do not define.  Use definition in
16893         <ctype.h>.
16894         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16895         (LOG_AUTH): Remove.
16896         (SPRINTF): Remove, adjust caller.
16897         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16899 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16901         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16902         SUNSECURITY conditional.
16903         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16905 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16907         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16908         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16909         Remove BSD-related preprocessor conditionals.
16910         * conf/portability.h: Remove.
16912 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16914         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16915         * resolv/res_data.c: Likewise.
16917 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16919         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16920         * resolv/res_data.c: Remove code conditional on ultrix.
16922 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16924         * resolv/res_init.c (RFC1535): Do not define.  Remove
16925         RFC1535 preprocessor conditionals.
16926         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16927         because there configuration options which make the resolver
16928         behavior different.
16930 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16932         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16933         RESOLVSORT preprocessor conditionals.
16934         * resolv/nss_dns/dns-host.c: Likewise.
16935         * resolv/res_init.c: Likewise.
16937 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16939         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16940         is never defined.
16942 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16944         * inet/inet_lnaof.c: Remove SCSS keyword.
16945         * inet/inet_mkadr.c: Likewise.
16946         * inet/inet_net.c: Likewise.
16947         * inet/inet_netof.c: Likewise.
16948         * inet/rcmd.c: Likewise.
16949         * inet/rexec.c: Likewise.
16950         * inet/ruserpass.c: Likewise.
16952 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16954         * resolv/inet_addr.c: Remove _LIBC conditionals.
16955         * resolv/res_data.c: Likewise.
16956         * resolv/res_init.c: Likewise.
16957         * resolv/res_mkquery.c: Likewise.
16958         * resolv/res_libc.c: Update comment.
16959         * resolv/README: Update.
16961 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16963         * resolv/gethnamaddr.c: Remove SCSS keyword.
16964         * resolv/herror.c: Likewise.
16965         * resolv/inet_addr.c: Likewise.
16966         * resolv/inet_net_ntop.c: Likewise.
16967         * resolv/inet_net_pton.c: Likewise.
16968         * resolv/inet_neta.c: Likewise.
16969         * resolv/inet_ntop.c: Likewise.
16970         * resolv/inet_pton.c: Likewise.
16971         * resolv/ns_date.c: Remove RCS keyword.
16972         * resolv/ns_name.c: Likewise.
16973         * resolv/ns_netint.c: Likewise.
16974         * resolv/ns_parse.c: Likewise.
16975         * resolv/ns_print.c: Likewise.
16976         * resolv/ns_samedomain.c: Likewise.
16977         * resolv/ns_ttl.c: Likewise.
16978         * resolv/nsap_addr.c: Likewise.
16979         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16980         * resolv/res_data.c: Remove RCS keyword.
16981         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16982         * resolv/res_init.c: Likewise.
16983         * resolv/res_mkquery.c: Likewise.
16984         * resolv/res_query.c: Likewise.
16985         * resolv/res_send.c: Likewise.
16987 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16989         * conform/data/stdio.h-data (fdopen): Expect also for
16990         [XPG3 || XPG4].
16992         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16993         (fseeko): Likewise.
16994         (ftello): Likewise.
16995         (ftrylockfile): Likewise.
16996         (funlockfile): Likewise.
16997         (getc_unlocked): Likewise.
16998         (getchar_unlocked): Likewise.
16999         (putc_unlocked): Likewise.
17000         (putchar_unlocked): Likewise.
17002 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17004         [BZ #19868]
17005         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
17006         DNS packet syntax checks (which were not needed before).  Skip
17007         over non-PTR records.
17009 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17011         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
17012         definition.  Include <stddef.h> instead.
17014 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17016         [BZ #19831]
17017         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
17018         function.
17019         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
17020         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
17022 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17024         [BZ #19862]
17025         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
17026         (getanswer_r): Do not call syslog.
17027         (gaih_getanswer_slice): Likewise.
17028         * resolv/gethnamaddr.c (AskedForGot): Remove.
17029         (getanswer): Do not call syslog.
17030         (gethostbyaddr): Likewise.
17032 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17034         * conform/data/signal.h-data (union sigval): Expect also if
17035         [XOPEN2K].
17036         (struct sigevent): Likewise.
17037         (SIGEV_NONE): Likewise.
17038         (SIGEV_SIGNAL): Likewise.
17039         (SIGEV_THREAD): Likewise.
17040         (SIGRTMIN): Likewise.
17041         (SIGRTMAX): Likewise.
17042         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
17043         variable.
17044         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17046 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17048         [BZ #19830]
17049         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
17050         (gaih_getanswer_slice): Likewise.
17051         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
17052         Also check for availability of RR metadata.
17054 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17056         [BZ #19825]
17057         * resolv/res_send.c (send_vc): Remove early *resplen2
17058         initialization.  Set *resplen2 on socket error.  Call
17059         close_and_return_error for other errors.
17061 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17063         * sysdeps/unix/sysv/linux/netiucv/iucv.h
17064         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
17065         (SCM_IUCV_TRGCLS): New define.
17067 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17069         [BZ #20005]
17070         * libio/fmemopen.c (fmemopen_write): Update internal position after
17071         write.
17072         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
17073         * stdio-common/tst-fmemopen4.c: New file..
17075 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
17077         [BZ #19996]
17078         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
17079         not [__USE_XOPEN2K].
17080         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
17081         variable.
17083         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
17084         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
17085         variable.
17087         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
17088         [__USE_XOPEN2K8].
17089         [__USE_LARGEFILE64] (off64_t): Likewise.
17090         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
17091         variable.
17093 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
17095         [BZ #19989]
17096         * libio/stdio.h (cuserid): Do not declare if
17097         [__USE_XOPEN2K && !__USE_GNU].
17098         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
17099         variable.
17101 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17103         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17104         (sysdep_routines): Add P8 and PPC64 strcspn targets.
17105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17106         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17107         ifunc'ed strcspn.
17108         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17109         [EALIGN]: Removed.
17110         [END]: Likewise
17111         [STRSPN]: Define instead of the above to control symbol name.
17112         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
17113         New file.
17114         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
17115         Likewise.
17116         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
17117         Likewise.
17118         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
17119         Likewise.
17120         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17121         [INITIAL_MASK]: New macro.
17122         [STRCSPN]: Likewise.
17123         [UPDATE_MASK]: Likewise.
17124         [USE_AS_STRCSPN]: Likewise.
17126 2016-04-25  Florian Weimer  <fweimer@redhat.com>
17128         [BZ #19931]
17129         * stdio-common/tst-vfprintf-width-prec.c: New file.
17130         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
17131         (tests-special): Add tst-vfprintf-width-prec-mem.out.
17132         (generated): Add mtrace-related files.
17133         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
17134         (tst-%-mem.out): New pattern rule, replaces
17135         tst-printf-bz18872-mem.out.
17136         * stdio-common/vfprintf.c (vfprintf): When handling a precision
17137         specifier, deallocate any previously allocated work buffer.
17139 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
17141         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
17142         Add nop before __startcontext, add explaining comments.
17144 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
17146         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
17147         any more. Notably since IPV6_PKTINFO has been reintroduced with a
17148         completely different API.
17150         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
17151         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
17152         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
17153         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
17154         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
17155         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
17156         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
17157         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
17158         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
17159         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
17161 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
17163         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
17165 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
17167         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
17168         when it is the default of 0.
17170 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17172         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
17173         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17174         (sysdep_routines): Add new strcasestr targets.
17175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17176         (__libc_ifunc_impl_list): Likewise.
17177         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
17178         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
17179         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
17180         * sysdeps/powerpc/powerpc64/power8/Makefile:
17181         New file to add strcasestr-ppc64 to sysdep_routines.
17182         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
17183         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
17185 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
17187         * benchtests/Makefile (wcsmbs-benchset): Include only for
17188         native builds and runs.
17189         (LOCALES): Likewise.
17190         (bench-build): Build timing-type here instead of the bench
17191         target.  Generate locale only for native builds.
17192         * benchtests/README: Add note for cross-building.
17194         * benchtests/Makefile (bench-clean): Clean up extra-objs.
17196         * benchtests/README: Update README to include instructions on
17197         using bench-build.
17199         * Makefile.in (bench-build): New target.
17200         * Rules (PHONY): Add bench-build target.
17201         * benchtests/Makefile (bench): Depend on bench-build.
17202         (bench-build): New target.
17204 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17206         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
17207         profil_reply_port.
17208         (profile_waiter): Do not initialize profil_reply_port.
17209         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
17210         frequency instead of tick length in us.
17212 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
17214         [BZ #18712]
17215         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
17216         (__old_mempcpy_small): Likewise.
17217         (__old_strcpy_small): Likewise.
17218         (__old_stpcpy_small): Likewise.
17219         (__old_strpbrk_c2): Fix compat symbol name.
17220         (__old_strpbrk_c3): Likewise.
17221         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
17222         (__mempcpy_small): Remove.
17223         (__strcpy_small): Remove.
17224         (__stpcpy_small): Remove.
17226 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
17228         [BZ #19400]
17229         * locale/iso-639.def: Add the Talossan/tzl language.
17231 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17233         [BZ #16983]
17234         * locale/programs/ld-address.c (address_finish): Update postal_fmt
17235         comment.  Add "ln" to strchr check on postal_fmt.
17237 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17239         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
17240         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
17241         tel_dom_fmt.
17243 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17245         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17246         (sysdep_routines): Added __strlen_power8.
17247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
17248         __strlen_power8 entry.
17249         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
17250         Implementation for POWER8.
17251         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
17252         for __strlen_power8.
17253         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
17254         Implementation for POWER8.
17256 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
17258         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
17260 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
17262         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
17263         Goldmont and Airmont processors.
17265 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
17267         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
17268         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
17269         (__STRING2_SMALL_GET32): Remove.
17270         (memset): Remove.
17271         (__memset_1): Remove.
17272         (__memset_gc): Remove.
17273         (__mempcpy): Remove.
17274         (mempcpy): Remove.
17275         (__mempcpy_args): Remove.
17276         (strchr): Remove.
17277         (strcpy): Remove.
17278         (strcpy_args): Remove.
17279         (__stpcpy_args): Remove.
17280         (__strcmp_cc): Remove.
17281         (__strcmp_gc): Remove.
17282         (strstr): Remove.
17284 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
17286         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
17287         * nis/nis_call.c (nis_server_cache_add): Likewise.
17289 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17291         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
17293 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17295         * malloc/arena.c (__malloc_fork_lock_parent)
17296         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
17297         internal_function attribute.
17299 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
17301         * stdio-common/printf_fp.c (__printf_fp_l):
17302         Rename ___printf_fp_l to __printf_fp_l and
17303         remove strong alias. Use libc_hidden_def instead
17304         of ldbl_hidden_def macro.
17306 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17308         Remove malloc hooks from fork handler.  They are no longer needed
17309         because malloc runs right before fork, and no malloc calls from
17310         other fork handlers are not possible anymore.
17311         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
17312         declarations.
17313         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
17314         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
17315         (atfork_recursive_cntr): Remove.
17316         (__malloc_fork_lock_parent): Do not override malloc hooks and
17317         thread_arena.
17318         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
17319         thread_arena.
17320         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
17321         thread_arena instead of save_arena.
17323 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17325         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
17326         (thread_atfork, thread_atfork_static): Remove.
17327         * sysdeps/mach/hurd/malloc-machine.h:
17328         (thread_atfork, thread_atfork_static): Remove.
17330 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17332         [BZ #19431]
17333         Run the malloc fork handler as late as possible to avoid deadlocks.
17334         * malloc/malloc-internal.h: New file.
17335         * malloc/malloc.c: Include it.
17336         * malloc/arena.c (ATFORK_MEM): Remove.
17337         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
17338         Update comment.
17339         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
17340         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
17341         Remove outdated comment.
17342         (ptmalloc_init): Do not call thread_atfork.  Remove
17343         thread_atfork_static.
17344         * malloc/tst-malloc-fork-deadlock.c: New file.
17345         * Makefile (tests): Add tst-malloc-fork-deadlock.
17346         (tst-malloc-fork-deadlock): Link against libpthread.
17347         * manual/memory.texi (Aligned Memory Blocks): Update safety
17348         annotation comments.
17349         * sysdeps/nptl/fork.c (__libc_fork): Call
17350         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17351         __malloc_fork_unlock_child.
17352         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
17354 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17356         [BZ #19613]
17357         Remove union wait.
17358         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
17359         (w_stopsig, w_stopval): Remove.
17360         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
17361         stat_loc argument.
17362         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
17363         (__WAIT_STATUS_DEFN): Remove.
17364         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17365         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
17366         (wait, wait3, wait4): Use int * for the stat_loc argument.
17367         * posix/wait.c (__wait): Likewise.
17368         * posix/wait3.c (__wait3): Likewise.
17369         * posix/wait4.c (__wait4): Likewise.
17370         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
17371         (__WAIT_STATUS_DEFN): Remove.
17372         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17373         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
17374         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
17375         argument.
17376         * sysdeps/posix/wait.c (__libc_wait): Likewise.
17377         * sysdeps/posix/wait3.c (__wait3): Likewise.
17378         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
17379         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17380         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
17381         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
17382         stat_loc argument.
17383         * manual/process.texi (BSD Wait Functions): Remove union wait.
17385 2016-04-13  Andreas Schwab  <schwab@suse.de>
17387         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
17388         (test-extras): Add tst-tlsalign-vars.
17389         * math/Makefile: Wrap long lines.
17390         (libm-vec-test-wrappers): Define.
17391         (test-extras): Add $(libm-vec-test-wrappers).
17392         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
17393         * nss/Makefile (extra-test-objs): Add nss_test1.os.
17394         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
17395         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
17396         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
17397         (extra-test-objs): Add corresponding objects.
17399 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
17401         [BZ #19928]
17402         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
17403         New.
17404         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
17405         times of shared cache size.
17406         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
17407         (VMOVNT): New.
17408         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
17409         (VMOVNT): Likewise.
17410         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17411         (VMOVNT): Likewise.
17412         (VMOVU): Changed to movups for smaller code sizes.
17413         (VMOVA): Changed to movaps for smaller code sizes.
17414         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
17415         comments.
17416         (PREFETCH): New.
17417         (PREFETCH_SIZE): Likewise.
17418         (PREFETCHED_LOAD_SIZE): Likewise.
17419         (PREFETCH_ONE_SET): Likewise.
17420         Rewrite to use forward and backward loops, which move 4 vector
17421         registers at a time, to support overlapping addresses and use
17422         non temporal store if size is above the threshold and there is
17423         no overlap between destination and source.
17425 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
17427         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
17428         Include dl-vdso.
17429         * sysdeps/unix/sysv/linux/mips/Versions: Add
17430         __vdso_clock_gettime.
17431         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
17432         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
17433         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
17434         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
17435         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
17436         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
17437         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17438         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17439         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17441 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17443         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
17444         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
17445         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17446         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17447         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17448         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17451         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
17452         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
17453         syscalls generation.
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17455         [__NR_pwrite64] (__NR_write): Remove define.
17456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17457         [__NR_pwrite64] (__NR_write): Remove define.
17458         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
17459         Remove define.
17460         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
17461         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
17462         Remove define.
17463         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
17464         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
17465         Linux implementation as base.
17466         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17468         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
17469         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
17470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17474         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
17475         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
17476         syscall generation.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17478         [__NR_pread64] (__NR_pread): Remove define.
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17480         [__NR_pread64] (__NR_pread): Likewise.
17481         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
17482         define.
17483         (__libc_pread): Use SYSCALL_LL macro on offset argument.
17484         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
17485         Remove define.
17486         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
17487         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
17488         Linux implementation as base.
17489         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17490         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17491         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17493         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
17494         definition.
17495         (__ALIGNMENT_COUNT): Likewise.
17496         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
17497         (__ALIGNMENT_COUNT): Likewise.
17498         (SYSCALL_LL): New define.
17499         (SYSCALL_LL64): Likewise.
17500         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
17501         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
17502         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
17503         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
17505         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17506         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
17507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17508         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17509         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17510         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17512 2016-04-11  Florian Weimer  <fweimer@redhat.com>
17514         [BZ #19865]
17515         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
17516         original buffer before retry.
17518 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17520         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
17521         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
17522         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
17523         GLRO(dl_auxv) list.
17524         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
17525         including <ldsodefs.h>.
17526         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
17528 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
17530         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
17531         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
17532         $(CPPFLAGS).
17534 2016-04-09  Khem Raj  <raj.khem@gmail.com>
17536         [BZ #17950]
17537         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
17538         Add -mfpmath=387.
17540 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
17542         * sysdeps/i386/configure.ac: Change == to = when calling test.
17543         * sysdeps/x86_64/configure.ac: Likewise.
17544         * sysdeps/i386/configure: Regenerated.
17545         * sysdeps/x86_64/configure: Likewise.
17547 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
17549         [BZ #16137]
17550         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
17551         * benchtests/bench-strcoll.c (input_files): Likewise.
17552         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17553         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
17554         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
17556 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
17558         [BZ #19929]
17559         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
17560         [__USE_XOPEN2K8 && !__USE_GNU].
17561         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
17562         variable.
17564         [BZ #19925]
17565         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
17566         define if [!__USE_MISC && __USE_XOPEN2K].
17567         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
17568         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
17569         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
17570         Likewise.
17571         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
17572         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
17573         variable.
17574         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17576 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17578         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17579         (sysdep_routines): Add new strspn targets.
17580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17581         (__libc_ifunc_impl_list): Add strspn.
17582         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17583         New file.
17584         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
17585         Likewise.
17586         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
17587         Likewise.
17588         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17589         Likewise.
17591 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17593         * misc/hsearch_r.c: Include <limits.h>.
17595 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17597         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
17599 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17601         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17602         (MEMCPY_SYMBOL): New.
17603         (MEMPCPY_SYMBOL): Likewise.
17604         (MEMMOVE_CHK_SYMBOL): Likewise.
17605         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17606         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17607         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17608         Provide alias for memcpy in libc.a and ld.so.
17610 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17612         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17613         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17614         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17615         Disabled fro now.
17616         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17617         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17619 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17621         * benchtests/Makefile (string-benchset): Add memcpy-large,
17622         memmove-large and memset-large.
17623         * benchtests/bench-memcpy-large.c: New file.
17624         * benchtests/bench-memmove-large.c: Likewise.
17625         * benchtests/bench-memmove-large.c: Likewise.
17626         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17628 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17630         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17631         32-bit displacement to avoid long nop between instructions.
17633 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17635         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17636         a comment on VMOVU and VMOVA.
17638 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17640         [BZ #19633]
17641         Use specified locale for number formatting in strfmon_l.
17642         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17643         (__nl_lookup_word): New inline functions.
17644         * include/printf.h (__print_fp_l): Declare.
17645         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17646         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17647         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17648         (___printf_fp): New function.
17649         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17650         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17651         * stdlib/tst-strfmon_l.c (do_test): New test.
17652         * stdlib/Makefile (tests): Add kt.
17653         (LOCALES): Build additional locales.
17654         (tst-strfmon_l.out): Require locales.
17656 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17658         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17659         if not in libc.
17660         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17661         Likewise.
17662         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17663         Likewise.
17664         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17665         Likewise.
17667 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17669         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17670         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17671         with unaligned_erms.
17672         (__memmove_erms): Skip if source == destination.
17673         (__memmove_unaligned_erms): Don't check source == destination
17674         first.
17676 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17678         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17679         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17681 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17683         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17684         * string/strspn.c (strspn): Likewise.
17686 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17688         * benchtests/bench-memset.c (do_test): Support 64-byte
17689         alignment.
17690         (test_main): Test 64-byte alignment.
17692 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17694         * benchtests/bench-memmove.c (test_main): Test 64-byte
17695         alignment.
17697 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17699         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17701 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17703         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17704         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17705         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17707         * string/strpbrk.c (strpbrk): Rewrite function.
17708         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17709         (__strpbrk_c2): Likewise.
17710         (__strpbrk_c3): Likewise.
17711         * string/string-inlines.c
17712         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17713         Likewise.
17714         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17715         Likewise.
17717         * string/strspn.c (strcspn): Rewrite function.
17718         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17719         (__strspn_c1): Remove inline function.
17720         (__strspn_c2): Likewise.
17721         (__strspn_c3): Likewise.
17722         * string/string-inlines.c
17723         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17724         compatibility symbol.
17725         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17726         Likewise.
17727         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17728         Likewise.
17729         * string/string-inlines.c: Include generic version.
17731 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17732             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17734         * string/Version (libc): Add GLIBC_2.24.
17735         * string/strcspn.c (strcspn): Rewrite function.
17736         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17737         (__strcspn_c1): Remove inline function.
17738         (__strcspn_c2): Likewise.
17739         (__strcspn_c3): Likewise.
17740         * string/string-inline.c
17741         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17742         compatibility symbol.
17743         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17744         Likewise.
17745         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17746         Likewise.
17747         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17749 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17751         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17752         Use ahi instead of aghi to adjust stack pointer.
17754 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17756         [BZ #19853]
17757         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17758         TEST to take significant digits as second parameter.
17759         [TEST]: Redefine in terms of TEST_N taking 30
17760         significant digits.
17761         (do_test): Add test case to demonstrate precision
17762         failure in the ldbl-128ibm printf.
17763         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17764         (__mpn_extract_long_double): Carry 7 extra intermediate
17765         bits of precision to aide computing difference when
17766         signs differ.
17768 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17770         [BZ #19881]
17771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17772         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17773         memset-avx512-unaligned-erms.
17774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17775         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17776         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17777         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17778         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17779         __memset_sse2_unaligned_erms, __memset_erms,
17780         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17781         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17782         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17783         file.
17784         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17785         Likewise.
17786         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17787         Likewise.
17788         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17789         Likewise.
17791 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17793         [BZ #19776]
17794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17795         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17796         memmove-avx512-unaligned-erms.
17797         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17798         (__libc_ifunc_impl_list): Test
17799         __memmove_chk_avx512_unaligned_2,
17800         __memmove_chk_avx512_unaligned_erms,
17801         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17802         __memmove_chk_sse2_unaligned_2,
17803         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17804         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17805         __memmove_avx512_unaligned_erms, __memmove_erms,
17806         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17807         __memcpy_chk_avx512_unaligned_2,
17808         __memcpy_chk_avx512_unaligned_erms,
17809         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17810         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17811         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17812         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17813         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17814         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17815         __mempcpy_chk_avx512_unaligned_erms,
17816         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17817         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17818         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17819         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17820         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17821         __mempcpy_erms.
17822         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17823         file.
17824         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17825         Likewise.
17826         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17827         Likewise.
17828         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17829         Likewise.
17831 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17833         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17834         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17835         (La_s390_64_regs): Likewise.
17836         (La_s390_32_retval): Append vector register lrv_v24.
17837         (La_s390_64_retval): Likeweise.
17838         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17839         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17840         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17841         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17843 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17845         [BZ #19916]
17846         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17847         to create a non-vector/vector version for _dl_runtime_resolve and
17848         _dl_runtime_profile. Move implementation to ...
17849         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17850         (_dl_runtime_resolve) Save and restore fpr/vrs.
17851         (_dl_runtime_profile) Save and restore vrs and fix some issues
17852         if _dl_call_pltexit is called.
17853         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17854         Choose the correct resolver function if running on a machine with vx.
17855         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17856         to create a non-vector/vector version for _dl_runtime_resolve and
17857         _dl_runtime_profile. Move implementation to ...
17858         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17859         (_dl_runtime_resolve) Save and restore fpr/vrs.
17860         (_dl_runtime_profile) Save and restore vrs and fix some issues
17861         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17862         Choose the correct resolver function if running on a machine with vx.
17864 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17866         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17868 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17870         [BZ #19509]
17871         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17872         skip_map != NULL.
17873         * elf/tst-dlsym-error.c: New file.
17874         * elf/Makefile (tests): Add tst-dlsym-error.
17875         (tst-dlsym-error): Link against libdl.
17877 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17879         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17880         (__ASSUME_FUTIMESAT): Remove macro.
17881         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17883 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17885         [BZ #19879]
17886         CVE-2016-3075
17887         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17888         copy name.
17890 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17892         [BZ #19837]
17893         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17894         error if parse_line fails.
17896 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17898         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17899         (index_cpu_ERMS): Likewise.
17900         (reg_ERMS): Likewise.
17902 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17904         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17905         PER_LINUX_FDPIC): Add.
17907 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17910         memcpy-avx512-no-vzeroupper.
17911         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17912         to ...
17913         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17914         (MEMCPY): Don't define.
17915         (MEMCPY_CHK): Likewise.
17916         (MEMPCPY): Likewise.
17917         (MEMPCPY_CHK): Likewise.
17918         (MEMPCPY_CHK): Renamed to ...
17919         (__mempcpy_chk_avx512_no_vzeroupper): This.
17920         (MEMPCPY_CHK): Renamed to ...
17921         (__mempcpy_chk_avx512_no_vzeroupper): This.
17922         (MEMCPY_CHK): Renamed to ...
17923         (__memmove_chk_avx512_no_vzeroupper): This.
17924         (MEMCPY): Renamed to ...
17925         (__memmove_avx512_no_vzeroupper): This.
17926         (__memcpy_avx512_no_vzeroupper): New alias.
17927         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17929 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17931         [BZ #18858]
17932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17933         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17934         and mempcpy-avx512-no-vzeroupper.
17935         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17936         New.
17937         (MEMPCPY): Likewise.
17938         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17939         (MEMPCPY_CHK): New.
17940         (MEMPCPY): Likewise.
17941         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17942         (MEMPCPY): Likewise.
17943         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17944         (MEMPCPY): Likewise.
17945         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17946         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17947         Likewise.
17948         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17949         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17951 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17952              Amit Pawar  <Amit.Pawar@amd.com>
17954         [BZ #19583]
17955         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17956         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17957         processors.  Set Fast_Copy_Backward for AMD Excavator
17958         processors.
17959         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17960         New.
17961         (index_arch_Fast_Unaligned_Copy): Likewise.
17962         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17963         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17965 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17967         [BZ #19791]
17968         * resolv/res_send.c (close_and_return_error): New function.
17969         (send_dg): Initialize *resplen2 after reopen failure.  Call
17970         close_and_return_error for error returns.  On error paths without
17971         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17972         successful return.
17974 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17976         [BZ #19860]
17977         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17978         zero if the compiler does not provide the AVX512F bit.
17980 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17982         [BZ #19848]
17983         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17984         from 8 to 4.
17985         (__ieee754_powl): Compare integer exponent against 4 not 8.
17986         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17987         from 8 to 4.
17988         (__ieee754_powl): Compare integer exponent against 4 not 8.
17989         * math/auto-libm-test-in: Add more tests of pow.
17990         * math/auto-libm-test-out: Regenerated.
17991         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17994 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17996         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17997         Make code unconditional.
17998         [!__NR_utimensat]: Remove conditional code.
17999         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
18000         Make code unconditional.
18001         [!__NR_utimensat]: Remove conditional code.
18002         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
18003         Make code unconditional.
18004         [!__NR_utimensat]: Remove conditional code.
18006 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18008         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
18009         Make code unconditional.
18011 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
18013         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
18014         call-clobbered %eax on retry path.
18015         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18017 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18019         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
18020         Don't set %rcx twice before "rep movsb".
18022 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18024         [BZ #19583]
18025         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
18026         inline.  Check family before setting family, model and
18027         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
18028         bits here.
18029         (init_cpu_features): Replace HAS_CPU_FEATURE and
18030         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
18031         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
18032         for Intel processors with usable AVX2.  Call get_common_indeces
18033         for other processors with family == NULL.
18034         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
18035         (CPU_FEATURES_ARCH_P): Likewise.
18036         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
18037         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
18039 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18041         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
18042         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
18043         $(shared-thread-library) instead of hardcoding the path to libpthread.
18045 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
18047         * sysdeps/unix/sysv/linux/kernel-features.h
18048         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
18049         * sysdeps/unix/sysv/linux/getdents.c
18050         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
18051         [!have_no_getdents64_defined]: Likewise.
18052         (__GETDENTS): Remove __have_no_getdents64 conditional.
18054 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
18056         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
18057         Remove macro.
18058         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
18059         <kernel-features.h>.
18060         (signalfd) [__NR_signalfd4]: Make code unconditional.
18061         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
18063 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18065         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
18066         style.
18068 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18070         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
18071         (__pthread_enable_asynccancel): Use JUMPTARGET to call
18072         __pthread_unwind.
18073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18074         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
18075         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18076         (__condvar_cleanup1): Likewise.
18078 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
18080         [BZ #19822]
18081         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
18082         move it to the final $@ location.
18084 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18086         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
18087         access where posix_spawn success and pid argument is null.
18088         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
18089         success case.
18091 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
18093         * sysdeps/mach/hurd/i386/c++-types.data: New file.
18095         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
18097         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
18098         and __fcntl.
18099         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
18100         __fcntl only.
18101         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
18102         adding attribute_hidden to __open and __fcntl.
18104         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
18105         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
18106         depend on libc-modules.h,
18107         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
18109 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
18111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
18112         Remove macro.
18113         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
18114         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
18115         entry.
18117         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
18118         Remove macro.
18119         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
18120         include <kernel-features.h>.
18121         [!__ASSUME_FALLOCATE]: Remove conditional code.
18122         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
18124 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18126         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
18127         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
18128         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
18129         (_ZGVdN4v_cos_avx2): Likewise.
18130         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
18131         (_ZGVdN4v_cos): Likewise.
18132         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
18133         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
18134         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
18135         (_ZGVdN4v_exp_avx2): Likewise.
18136         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
18137         (_ZGVdN4v_exp): Likewise.
18138         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
18139         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
18140         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
18141         (_ZGVdN4v_log_avx2): Likewise.
18142         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
18143         (_ZGVdN4v_log): Likewise.
18144         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
18145         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
18146         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
18147         (_ZGVdN4vv_pow_avx2): Likewise.
18148         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
18149         (_ZGVdN4vv_pow): Likewise.
18150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
18151         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
18152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
18153         (_ZGVdN4v_sin_avx2): Likewise.
18154         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
18155         (_ZGVdN4v_sin): Likewise.
18156         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
18157         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
18158         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
18159         (_ZGVdN4vvv_sincos_avx2): Likewise.
18160         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
18161         (_ZGVdN4vvv_sincos): Likewise.
18162         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
18163         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
18164         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
18165         (_ZGVbN4v_cosf_sse4): Likewise.
18166         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
18167         (_ZGVdN8v_cosf_avx2): Likewise.
18168         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
18169         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
18170         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
18171         (_ZGVbN4v_expf_sse4): Likewise.
18172         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
18173         (_ZGVdN8v_expf_avx2): Likewise.
18174         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
18175         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
18176         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
18177         (_ZGVbN4v_logf_sse4): Likewise.
18178         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
18179         (_ZGVdN8v_logf_avx2): Likewise.
18180         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
18181         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
18182         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
18183         (_ZGVbN4vv_powf_sse4): Likewise.
18184         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
18185         (_ZGVdN8vv_powf_avx2): Likewise.
18186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18187         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
18188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18189         (_ZGVbN4vvv_sincosf_sse4): Likewise.
18190         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18191         (_ZGVdN8vvv_sincosf_avx2): Likewise.
18192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
18193         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
18194         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
18195         (_ZGVbN4v_sinf_sse4): Likewise.
18196         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
18197         (_ZGVdN8v_sinf_avx2): Likewise.
18198         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18199         Use JUMPTARGET to call callee.
18200         (WRAPPER_IMPL_SSE2_ff): Likewise.
18201         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18202         (WRAPPER_IMPL_AVX): Likewise.
18203         (WRAPPER_IMPL_AVX_ff): Likewise.
18204         (WRAPPER_IMPL_AVX_fFF): Likewise.
18205         (WRAPPER_IMPL_AVX512): Likewise.
18206         (WRAPPER_IMPL_AVX512_ff): Likewise.
18207         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18208         Likewise.
18209         (WRAPPER_IMPL_SSE2_ff): Likewise.
18210         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18211         (WRAPPER_IMPL_AVX): Likewise.
18212         (WRAPPER_IMPL_AVX_ff): Likewise.
18213         (WRAPPER_IMPL_AVX_fFF): Likewise.
18214         (WRAPPER_IMPL_AVX512): Likewise.
18215         (WRAPPER_IMPL_AVX512_ff): Likewise.
18216         (WRAPPER_IMPL_AVX512_fFF): Likewise.
18218 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18220         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
18221         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
18222         qualifier.
18223         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
18224         internal_function qualifiers.
18226 2016-03-15  Carlos O'Donell <carlos@redhat.com>
18228         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
18229         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
18230         * math/atest-exp.c (exp_mpn): Mark chk unused.
18231         * math/atest-exp2.c (exp_mpn): Likewise.
18232         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
18233         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
18235 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
18237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
18238         Remove macro.
18239         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
18240         <kernel-features.h>.
18241         [__NR_ppoll]: Make code unconditional.
18242         [!__ASSUME_PPOLL]: Remove conditional code.
18244         * sysdeps/unix/sysv/linux/kernel-features.h
18245         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
18246         (__ASSUME_ACCEPT4): Likewise.
18247         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18248         Define.
18249         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
18250         Likewise.
18251         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18252         Likewise.
18253         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
18254         Likewise.
18255         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
18256         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
18257         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18258         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18259         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18260         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18261         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18262         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18263         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18264         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18265         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18266         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18267         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18268         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18269         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18270         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18271         Likewise.
18272         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18273         Likewise.
18274         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18275         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18276         0x040300].
18277         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18278         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18279         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18280         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18281         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18282         0x030300].
18283         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
18284         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18285         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18286         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18287         0x040300].
18288         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18289         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18290         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18291         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18292         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18293         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18294         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18295         0x030300].
18296         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18297         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18298         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18299         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18300         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18301         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18302         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18303         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18304         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18305         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18306         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18307         0x040300].
18308         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18309         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18310         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18311         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18312         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18313         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18314         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18315         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18316         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18317         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18318         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18319         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18320         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18321         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18322         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
18323         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18324         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18325         Likewise.
18326         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18327         Likewise.
18329 2016-03-15  Andreas Schwab  <schwab@suse.de>
18331         [BZ #19257]
18332         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
18333         statp->_u._ext.nscount as loop count.
18335 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18337         * math/test-signgam-finite-c99.c: Also #undef
18338         __LIBC_INTERNAL_MATH_INLINES.
18339         * math/test-signgam-main.c: Likewise.
18341 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
18343         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
18344         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18345         (MADV_FREE): Likewise.
18346         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
18347         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
18348         EPOLLEXCLUSIVE.
18350 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18352         * timezone/README: Remove mention of checktab.awk. Mention wiki
18353         SharedSourceFiles.
18355 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
18357         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18358         WUNTRACED.
18360 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18362         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
18363         order to match the type of p when calling atomic_exchange_acq().
18365 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18367         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
18368         cfi_offset calls.
18369         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18370         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
18371         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
18372         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
18373         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
18375 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
18377         * timezone/checktab.awk: Removed.
18379 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
18381         * manual/math.texi (Errors in Math Functions): Document relaxed
18382         accuracy goals for IBM long double.
18383         * math/libm-test.inc (test_exceptions): Always allow spurious
18384         "underflow" and "inexact" exceptions for IBM long double.
18386 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
18388         [BZ #19762]
18389         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18390         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
18391         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
18392         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
18393         (bit_arch_*): This for feature array.
18394         (bit_*): Renamed to ...
18395         (bit_cpu_*): This for cpu array.
18396         (index_*): Renamed to ...
18397         (index_arch_*): This for feature array.
18398         (index_*): Renamed to ...
18399         (index_cpu_*): This for cpu array.
18400         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
18401         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
18402         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
18403         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
18404         bit_##name with index_cpu_##name and bit_cpu_##name.
18405         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
18406         bit_##name with index_arch_##name and bit_arch_##name.
18408 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
18410         [BZ #19792]
18411         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
18412         Terminate FDE before return label.
18414 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
18416         [BZ #19790]
18417         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
18418         (rintl): Define as macro.
18419         [USE_AS_NEARBYINTL] (__rintl): Likewise.
18420         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
18421         of fesetround.  Ensure results are evaluated before end of scope.
18422         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
18423         USE_AS_NEARBYINTL and include s_rintl.c.
18424         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
18425         Disable exception traps in new environment.
18426         (libc_feholdsetround_ppc_ctx): Likewise.
18428 2016-03-08  Roland McGrath  <roland@hack.frob.com>
18430         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
18431         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
18432         (tst_audit10_aux) [__AVX512F__]: ... here.
18434 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
18436         * include/sys/auxv.h: New file.
18438 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18440         [BZ #19759]
18441         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
18443 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18445         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
18446         operand modifier.
18447         (feclearexcept): Likewise.
18449 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18451         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
18452         to reflect the entire 32-bit HWCAP.
18453         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
18454         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
18456 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18458         [BZ #19783]
18459         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
18460         $(test-via-rtld-prefix).
18461         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
18463 2016-03-08  Florian Weimer  <fweimer@redhat.com>
18465         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
18466         union wait.  Report any non-zero exit status as error.
18468 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18470         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
18471         configured with --enable-hardcoded-path-in-tests.
18473 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
18475         [BZ #19677]
18476         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18477         (__ieee754_remainderl): Put zero low parts in canonical form.
18478         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
18479         file.  Based on
18480         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
18481         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
18482         with wrapper round test-fmodrem-ldbl-128ibm.c.
18483         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
18484         file.
18485         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
18486         Likewise.
18487         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
18488         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
18490 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18492         [BZ #19610]
18493         * elf/ldconfig.c (opt_link): Update comment.
18494         (options): Update help string for option -X.
18495         (search_dir): Unlink stale symbolic link only if updating symbolic
18496         links.
18497         * elf/tst-ldconfig-X.sh: New file.
18498         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
18499         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
18501 2016-03-07  Andreas Schwab  <schwab@suse.de>
18503         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
18504         needed arguments.
18506 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
18508         [BZ #15333]
18509         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
18510         to lstat64.
18512 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18514         * libio/filedoalloc.c (isatty): Remove.
18515         (local_isatty): Add comment.  Call __isatty directly.
18516         (_IO_file_doallocate): Update comment.  Assume _LIBC.
18517         * libio/wfiledoalloc.c (isatty): Remove.
18518         (_IO_wfile_doallocate): Update comment.
18520 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18522         [BZ #19269]
18523         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
18524         tst-audit4-aux.o.
18525         (tst-audit10): Depend on tst-audit10-aux.o.
18526         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
18527         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
18528         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
18529         instead of inline AVX code.
18530         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
18531         instead of inline AVX512 code.
18532         * sysdeps/x86_64/tst-audit4-aux.c: New file
18533         * sysdeps/x86_64/tst-audit10-aux.c: New file
18535         [BZ #19648]
18536         * test-skeleton.c (main): Do not set RLIMIT_DATA.
18538 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18540         [BZ #14750]
18541         [BZ #10354]
18542         [BZ #18433]
18543         * include/sched.h (__clone): Add hidden prototype.
18544         (__clone2): Likewise.
18545         * include/unistd.h (__dup): Likewise.
18546         * posix/Makefile (tests): Add tst-spawn2.
18547         * posix/tst-spawn2.c: New file.
18548         * sysdeps/posix/dup.c (__dup): Add hidden definition.
18549         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
18550         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18551         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18552         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18553         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18554         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
18555         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18556         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
18557         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18558         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18560         Likewise.
18561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18562         Likewise.
18563         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18564         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18565         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18566         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18567         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18568         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18569         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18570         * sysdeps/unix/sysv/linux/nptl-signals.h
18571         (____nptl_is_internal_signal): New function.
18572         * sysdeps/unix/sysv/linux/spawni.c: New file.
18574         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
18575         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
18576         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
18577         * posix/tst-execvp2.c (do_test): Likewise.
18578         * posix/tst-execvp3.c (do_test): Likewise.
18579         * posix/tst-execvp4.c (do_test): Likewise.
18580         * posix/tst-execvpe1.c: New file.
18581         * posix/tst-execvpe2.c: Likewise.
18582         * posix/tst-execvpe3.c: Likewise.
18583         * posix/tst-execvpe4.c: Likewise.
18584         * posix/tst-execvpe5.c: Likewise.
18585         * posix/tst-execvpe6.c: Likewise.
18587         [BZ #19534]
18588         * posix/execl.c (execl): Remove dynamic memory allocation.
18589         * posix/execle.c (execle): Likewise.
18590         * posix/execlp.c (execlp): Likewise.
18592 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18594         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
18595         Replace .text with .text.avx512.
18596         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18597         Likewise.
18599 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
18601         * sysdeps/generic/libnsl.abilist: New file.
18602         * sysdeps/generic/libutil.abilist: New file.
18604 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18606         [BZ #19762]
18607         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18608         HAS_ARCH_FEATURE with Fast_Rep_String.
18609         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18610         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18611         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18612         Likewise.
18613         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18614         Likewise.
18615         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18616         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18617         Likewise.
18618         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18619         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18620         Likewise.
18622 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18624         [BZ #19745]
18625         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18626         with *%rax in call.
18628 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18630         [BZ #19745]
18631         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18632         with *__libc_start_main@GOTPCREL(%rip) in call.
18634 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18636         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18637         inside conditional for nonempty $(CXX).
18639         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18640         nonempty.
18642         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18643         to test for empty $(CXX) rather than $(CXX) of "no".
18645 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18647         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18649 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18650             H.J. Lu  <hongjiu.lu@intel.com>
18652         [BZ #18880]
18653         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18654         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18655         enable __memcpy_ssse3_back.
18657 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18659         [BZ #19758]
18660         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18661         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18663 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18665         [BZ #19490]
18666         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18667         (__fentry__): Likewise.
18669 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18671         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18672         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18674 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18676         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18677         __mcount_internal directly.
18678         (C_LABEL(__fentry__)): Likewise.
18679         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18680         directly.
18682 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18684         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18685         (__start_context): Call __setcontext directly.
18687 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18689         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18690         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18691         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18692         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18693         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18694         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18695         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18696         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18697         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18698         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18699         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18700         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18702         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18703         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18704         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18705         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18706         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18707         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18708         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18709         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18711         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18712         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18713         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18714         Remove conditional code.
18715         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18716         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18717         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18718         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18719         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18720         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18721         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18722         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18723         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18724         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18725         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18726         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18728 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18730         * NEWS (2.23): Fix typo in bug 19048 text.
18732 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18734         [BZ #14259]
18735         * Makeconfig: Rename msgcatdir to localedir.
18736         Rename inst_msgcatdir to inst_localedir.
18737         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18738         * config.make.in: Add localedir.
18739         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18740         (ldd-rewrite): Likewise.
18741         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18742         (install-others): Use inst_localedir.
18743         (CPPFLAGS): Use localedir.
18744         * locale/Makefile (locale-CPPFLAGS): Likewise.
18745         * po/Makefile (mo-installed): Use inst_localedir.
18747         [BZ #19575]
18748         * localedata/charmaps/GB18030: Update comments regarding PAU to
18749         non-PUA mappings.
18751 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18753         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18754         test for header.
18755         * sysdeps/unix/sysv/linux/configure: Regenerated.
18756         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18757         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18758         Remove conditional code.
18759         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18761         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18762         Define to 3.2.0.
18763         (arch_minimum_kernel): Likewise.
18764         * sysdeps/unix/sysv/linux/configure: Regenerated.
18765         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18766         Define to 2.6.32.
18767         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18768         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18769         (arch_minimum_kernel): Define to 2.6.32.
18770         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18771         * README: Document Linux 3.2 requirement.
18772         * manual/install.texi (Linux): Document Linux 3.2 headers
18773         requirement.
18774         * INSTALL: Regenerated.
18776 2016-02-24  Andreas Schwab  <schwab@suse.de>
18778         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18779         if !NO_LONG_DOUBLE.
18781 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18783         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18784         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18786 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18788         [BZ #19512]
18789         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18791 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18793         * posix/tst-dir.c: Include libc-internal.h.
18795 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18797         [BZ #19056]
18798         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18799         * manual/filesys.texi (Reading/Closing Directory): Mention
18800         deprecaion.
18801         * posix/tst-dir.c (main): Disable deprecation warning in test.
18803 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18805         [BZ #19679]
18806         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18807         Renamed to ...
18808         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18809         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18810         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18811         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18812         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18813         * sysdeps/x86_64/dl-trampoline.h
18814         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18815         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18817 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18819         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18821 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18823         * elf/elf.h (R_386_GOT32X): New.
18824         (R_386_NUM): Update.
18825         (R_X86_64_GOTPCRELX: New.
18826         (R_X86_64_REX_GOTPCRELX): New.
18827         (R_X86_64_NUM): Update.
18829 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18831         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18833 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18835         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18836         assign attr->stackaddr to it, and adjust it down when
18837         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18838         [_STACK_GROWS_UP]: Delete assert.
18839         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18840         Implement stack grows up logic.
18841         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18842         stack grows up logic.
18844 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18846         * NEWS: Update with 2.24 template.
18848 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18850         [BZ #19678]
18851         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18852         Ensure +0.0 is returned when taking the next value below the least
18853         positive value.
18855 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18857         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18858         available.  Do not define NO_THREADS.
18859         * malloc/malloc.c: Do not check NO_THREADS.
18860         * malloc/arena.c: Likewise.
18862 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18864         * malloc/malloc.c (__libc_mallinfo): Update comment.
18865         (struct malloc_par): Remove max_total_mem member, it was always 0.
18866         (int_mallinfo): Store 0 into usmblks (no functional change).
18867         * malloc/hooks.c (struct malloc_state): Document that
18868         max_total_mem is always 0.
18869         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18870         always 0.
18871         * manual/memory.texi (Statistics of Malloc): Likewise.
18873 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18875         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18876         * malloc/arena.c (arena_max): Remove.
18877         (heap_trim, _int_new_arena): Do not update arena_max.
18879 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18881         * resolv/res_init.c (res_ninit): Update comment.
18883 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18885         [BZ #19505]
18886         * posix/spawn_int.h: Add headers and include guard.
18887         (__spawn_valid_fd): New function.
18888         * posix/spawn_faction_addopen.c
18889         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18890         * posix/spawn_faction_addclose.c
18891         (posix_spawn_file_actions_addclose): Likewise.
18892         * posix/spawn_faction_adddup2.c
18893         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18894         second file descriptor.
18895         * posix/spawn_valid_fd.c: New file.
18896         * posix/tst-posix_spawn-fd.c: New file.
18897         * posix/Makefile (routines): Add spawn_valid_fd.
18898         (tests): Add tst-posix_spawn-fd.
18900 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18902         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18903         (do_test): Limit the number of arenas, so that we can use fewer
18904         outer threads.  Limit timeout to 3 seconds, in preparation for a
18905         larger TIMEOUT value.
18907 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18909         [BZ #19674]
18910         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18911         sign in overflowing and underflowing results when overflow or
18912         underflow is detected early.  Include sign in result before rather
18913         than after scaling.
18915         [BZ #19603]
18916         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18917         (__ieee754_remainderl): Adjust sign of integer version of low part
18918         when taking absolute value of high part.
18919         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18920         * math/libm-test.inc (remainder_test_data): Add another test.
18921         (remquo_test_data): Likewise.
18923 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18925         [BZ #19602]
18926         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18927         equal high parts and both low parts zero specially.
18928         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18929         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18930         Add test-fmodl-ldbl-128ibm.
18932         [BZ #19595]
18933         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18934         common logic for all cases of shifting subnormal results.  Do not
18935         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18936         exponent to ldbl_insert_mantissa in subnormal case.
18938         [BZ #19594]
18939         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18940         on high and low parts then adjust result and use
18941         ldbl_canonicalize_int if needed.
18943         [BZ #19593]
18944         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18945         on high part and __floor or __ceil on low part then use
18946         ldbl_canonicalize_int if needed.
18948         [BZ #19592]
18949         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18950         high and low parts then use ldbl_canonicalize_int if needed.
18952         [BZ #17899]
18953         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18954         New function.
18955         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18956         on high and low parts then use ldbl_canonicalize_int if needed.
18958 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18960         * configure: Regenerated.
18962         * po/libc.pot: Regenerated.
18964         * po/be.po: Updated translation.
18965         * po/bg.po: Likewise.
18966         * po/ca.po: Likewise.
18967         * po/cs.po: Likewise.
18968         * po/da.po: Likewise.
18969         * po/el.po: Likewise.
18970         * po/eo.po: Likewise.
18971         * po/es.po: Likewise.
18972         * po/fi.po: Likewise.
18973         * po/fr.po: Likewise.
18974         * po/gl.po: Likewise.
18975         * po/hr.po: Likewise.
18976         * po/hu.po: Likewise.
18977         * po/ia.po: Likewise.
18978         * po/id.po: Likewise.
18979         * po/it.po: Likewise.
18980         * po/ja.po: Likewise.
18981         * po/lt.po: Likewise.
18982         * po/nb.po: Likewise.
18983         * po/nl.po: Likewise.
18984         * po/pt_BR.po: Likewise.
18985         * po/rw.po: Likewise.
18986         * po/sk.po: Likewise.
18987         * po/sl.po: Likewise.
18988         * po/sv.po: Likewise.
18989         * po/tr.po: Likewise.
18990         * po/zh_CN.po: Likewise.
18991         * po/zh_TW.po: Likewise.
18993         * version.h (RELEAES): Set to "development".
18994         (VERSION): Set to 2.23.90.
18996         * version.h (RELEASE): Set to "stable".
18997         (VERSION): Set to 2.23.
18998         * include/feature.h (__GLIBC_MINOR__): Set to 23.
19000         * NEWS: Updated fixed bugs.
19002 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
19003             Wilco Dijkstra  <wdijkstr@arm.com>
19005         [BZ #19462]
19006         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
19007         (_STRING_INLINE_unaligned): This.
19008         * include/string.h: Include <string_private.h>.
19009         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
19010         _STRING_INLINE_unaligned.
19011         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
19012         (_STRING_INLINE_unaligned): New.
19013         * sysdeps/aarch64/string_private.h: New file.
19014         * sysdeps/generic/string_private.h: Likewise.
19015         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
19016         * sysdeps/s390/string_private.h: Likewise.
19017         * sysdeps/x86/string_private.h: Likewise.
19018         * sysdeps/m68k/m680x0/m68020/bits/string.h
19019         (_STRING_ARCH_unaligned): Renamed to ...
19020         (_STRING_INLINE_unaligned): This.
19021         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
19022         to ...
19023         (_STRING_INLINE_unaligned): This.
19024         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
19025         to ...
19026         (_STRING_INLINE_unaligned): This.
19027         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
19028         to ...
19029         (_STRING_INLINE_unaligned): This.
19031 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19032             H.J. Lu  <hongjiu.lu@intel.com>
19034         [BZ #19590]
19035         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
19036         relocation.
19038 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
19040         [BZ #18665]
19041         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
19042         *herrno_p.
19043         (gaih_getanswer): Document functional behviour. Return tryagain
19044         if any result is tryagain.
19045         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
19046         when freed.
19047         * resolv/res_send.c: Add copyright text.
19048         (__libc_res_nsend): Document that MAXPACKET is expected.
19049         (send_vc): Document. Remove buffer reuse.
19050         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
19051         size of the buffer. Add Dprint for truncated UDP buffer.
19053 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
19055         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
19056         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
19057         * INSTALL: Regenerate.
19059 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
19060             Jonathan Wakely  <jwakely@redhat.com>
19061             Carlos O'Donell  <carlos@redhat.com>
19063         [BZ 19439]
19064         * math/Makefile (tests): Add test-math-isinff.
19065         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
19066         * math/bits/mathcalls.h [__USE_MISC]: Use
19067         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
19068         functions not in C++11 and which don't conflict e.g. isinff,
19069         isinfl etc.
19070         * math/test-math-isinff.cc: New file.
19072 2016-02-12  Florian Weimer  <fweimer@redhat.com>
19074         * misc/bug18240.c (do_test): Set RLIMIT_AS.
19076 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19078         [BZ #19529]
19079         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
19081 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19083         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19085 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
19087         [BZ #19550]
19088         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
19089         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
19090         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
19091         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
19092         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
19093         New syscall entry.
19094         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
19095         New syscall entry.
19096         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
19097         syscall entry.
19099 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
19101         [BZ #18240]
19102         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
19103         unsigned int wraparound.
19105 2016-01-27  Florian Weimer  <fweimer@redhat.com>
19107         [BZ #18240]
19108         * misc/bug18240.c: New test.
19109         * misc/Makefile (tests): Add it.
19111 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
19112             Joseph Myers  <joseph@codesourcery.com>
19114         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
19115         load in branch delay slot when less than a word of input left.
19117 2016-01-27  Andreas Schwab  <schwab@suse.de>
19119         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
19120         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
19121         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
19122         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
19124 2016-01-26  David S. Miller  <davem@davemloft.net>
19126         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
19128 2016-01-25  David S. Miller  <davem@davemloft.net>
19130         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
19131         __sqrtl_finite.
19132         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
19133         instead using versioned_symbol.
19134         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
19135         of entries.
19137         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
19138         __sqrtl_finite to GLIBC_2.23
19140 2016-01-25  Ricchard Henderson  <rth@redhat.com>
19142         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19144 2016-01-25  Andreas Schwab  <schwab@suse.de>
19146         [BZ #17514]
19147         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
19148         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
19149         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
19150         * nptl/tst-mutex-errorcheck.c: New file.
19152 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19154         [BZ #18560]
19155         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
19156         (IPCOP_semop): Likewise.
19157         (IPCOP_semget): Likewise.
19158         (IPCOP_semctl): Likewise.
19159         (IPCOP_msgsnd): Likewise.
19160         (IPCOP_msgrcv): Likewise.
19161         (IPCOP_msgget): Likewise.
19162         (IPCOP_msgctl): Likewise.
19163         (IPCOP_shmat): Likewise.
19164         (IPCOP_shmdt): Likewise.
19165         (IPCOP_shmget): Likewise.
19166         (IPCOP_shmctl): Likewise.
19168 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19170         * string/tst-endian.c: Include <libc-internal.h>.
19171         (do_test): Ignore tautological-compare warnings around
19172         "htobeXX (beXXtoh (i)) != i" and
19173         "htoleXX (leXXtoh (i)) != i" if-statements.
19175 2016-01-24  David S. Miller  <davem@davemloft.net>
19177         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
19178         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
19179         alias.
19180         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
19181         __sqrtl_finite.
19183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19185 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
19187         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
19188         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
19189         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19191 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19193         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
19194         (thread_func): Use new function to simplify barrier check.
19195         (do_test): Use new function to simplify checking barrier exit
19196         code, and actually join the child thread.
19198 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19200         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
19201         semicolon.
19202         (__libc_tend): Likewise.
19203         (__libc_tabort): Likewise.
19205 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
19207         * sysdeps/nios2/libm-test-ulps: Update.
19208         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
19209         (__gtsf2): Likewise.
19210         (__unorddf2): Likewise.
19211         (__unordsf2): Likewise.
19212         (__ledf2): Likewise.
19214 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
19216         * nis/nis_table.c (__follow_path): Disable diagnostic for
19217         uninitialized variable that is a false positive for gcc 4.7.
19218         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
19220 2016-01-20  Roland McGrath  <roland@hack.frob.com>
19222         * sysdeps/nacl/lowlevellock-futex.h
19223         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
19224         Always evaluate PRIVATE argument.
19226 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
19228         [BZ #19490]
19229         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
19230         (pthread_cond_broadcast): Use ENTRY/END
19231         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
19232         (pthread_cond_signal): Likewise.
19233         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
19234         Likewise.
19235         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
19236         Likewise.
19237         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
19238         Likewise.
19240 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
19242         * sysdeps/ieee754/dbl-64/s_finite.c
19243         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
19244         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
19245         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
19246         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
19247         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
19249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19250         (__gtsf2): Add as optional for libc.so.
19251         (__unordsf2): Likewise.
19252         (__signbit): Remove for libc.so.
19253         (__signbitl): Likewise.
19255 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19257         * iconvdata/bug-iconv11.c (test_ibm93x):
19258         Use %zu printf format specifier for size_t argument.
19260 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
19262         * math/gen-libm-test.pl (parse_ulps): Do not reduce
19263         already-recorded ulps.
19264         * sysdeps/arm/libm-test-ulps: Regenerated.
19265         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19266         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19267         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19269 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19270             Paul Pluzhnikov  <ppluzhnikov@google.com>
19272         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
19273         assembler not supporting AVX-512.
19275 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
19277         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19279 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
19281         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19282         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19284         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19286         * sysdeps/arm/libm-test-ulps: Regenerated.
19288 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19290         [BZ #19451]
19291         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
19293 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19295         [BZ #19486]
19296         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
19297         * sysdeps/generic/fix-fp-int-convert-overflow.h
19298         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
19299         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
19300         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
19301         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19302         Likewise.
19303         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
19304         Avoid conversions to long int where inexact exceptions
19305         could be raised.
19306         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
19307         Likewise.
19308         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
19309         Avoid conversions to long long int where inexact exceptions
19310         could be raised.
19311         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
19312         Likewise.
19314 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
19316         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
19317         * configure: Regenerated.
19319 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19321         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
19323 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
19325         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
19326         outside of comment.
19328 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19330         * nptl/tst-barrier1.c: Add description on first line.
19331         * nptl/tst-barrier2.c: Likewise.
19332         * nptl/tst-barrier3.c: Likewise.
19333         * nptl/tst-barrier4.c: Likewise.
19334         * nptl/tst-barrier5.c: Likewise.
19336 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19338         [BZ #18868]
19339         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
19341 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
19344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19345         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
19346         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
19347         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
19348         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
19349         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19350         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19351         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19352         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19353         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19355 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19357         [BZ #13065]
19358         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
19359         new implementation.
19360         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
19361         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
19362         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
19363         (BARRIER_IN_THRESHOLD): New macro.
19364         * nptl/pthread_barrierattr_setpshared.c
19365         (pthread_barrierattr_setpshared): Clean up.
19366         * nptl/tst-barrier4.c: Correct comment.
19367         * nptl/tst-barrier5.c: New file.
19368         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
19369         (gen-as-const-headers): Remove lowlevelbarrier.sym.
19370         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
19371         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
19372         * nptl/lowlevelbarrier.sym: Remove.
19373         * nptl/DESIGN-barrier.txt: Remove.
19374         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
19375         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
19376         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
19377         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
19378         error.
19379         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
19380         implementation.
19382 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19384         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
19385         (do_child): Mask SIGRTMIN while thr is running.
19387 2016-01-15  Martin Sebor  <msebor@redhat.com>
19389         [BZ #19432]
19390         * iconvdata/Makefile: Add bug-iconv11.
19391         * iconvdata/bug-iconv11.c: New test.
19392         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
19393         * iconvdata/ibm933.c: Same.
19394         * iconvdata/ibm935.c: Same.
19395         * iconvdata/ibm937.c: Same.
19396         * iconvdata/ibm939.c: Same.
19398 2016-01-15  Martin Sebor  <msebor@redhat.com>
19400         [BZ #19443]
19401         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
19402         [DEBUG] (_ufc_set_bits): Declare used.
19403         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
19404         [DEBUG] (print_all): Declare used.
19405         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
19406         operands of the ternary ?: expression to target type.
19407         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
19408         calling the undeclared abort.
19409         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
19411 2016-01-15  Martin Sebor  <msebor@redhat.com>
19413         [BZ #18755]
19414         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
19415         warnings.
19416         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
19417         (__gai_create_helper_thread): Same.
19418         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
19419         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
19420         to suppress -Wmaybe-uninitialized warnings.
19422 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
19424         [BZ #19465]
19425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
19426         inside if.
19427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19428         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19431 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
19433         [BZ #19466]
19434         * time/tst-mktime2.c (time_t_max): Removed.
19435         (time_t_min): Likewise.
19436         (TYPE_SIGNED): New.
19437         (TYPE_MINIMUM): Likewise.
19438         (TYPE_MAXIMUM): Likewise.
19439         (TIME_T_MIN): Likewise.
19440         (TIME_T_MAX): Likewise.
19441         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
19442         and TIME_T_MIN.
19443         (do_test): Likewise.
19445 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
19447         [BZ #19467]
19448         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19449         index_Fast_Unaligned_Load flag for Excavator family CPUs.
19451 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
19453         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
19455 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
19457         * benchtests/Makefile (PYTHON): Define.
19458         (bench-func): Use $(PYTHON) to run python scripts.
19459         ($(objpfx)bench-%.c): Likewise.
19461 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
19463         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
19464         leading slash when `file_name' is "/".
19466 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
19468         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
19469         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
19470         Likewise.
19471         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
19472         Likewise.
19473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
19474         Likewise.
19475         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
19476         enum constant and macro.
19477         (PTRACE_SETSIGMASK): Likewise.
19478         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19479         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19480         (PTRACE_GETSIGMASK): Likewise.
19481         (PTRACE_SETSIGMASK): Likewise.
19482         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19483         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
19484         Likewise.
19485         (PTRACE_SETSIGMASK): Likewise.
19486         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19487         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19488         (PTRACE_GETSIGMASK): Likewise.
19489         (PTRACE_SETSIGMASK): Likewise.
19490         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19491         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
19492         Likewise.
19493         (PTRACE_SETSIGMASK): Likewise.
19494         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19495         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
19496         Likewise.
19497         (PTRACE_SETSIGMASK): Likewise.
19498         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19499         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
19500         Likewise.
19501         (PTRACE_SETSIGMASK): Likewise.
19502         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19504 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
19505             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19507         [BZ #19439]
19508         * math/bits/mathcalls.h
19509         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
19510         prototype.
19511         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
19513 2016-01-11  Andreas Schwab  <schwab@suse.de>
19515         [BZ #19253]
19516         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
19517         cache when TZDEFRULES was used.
19518         * time/tst-tzname.c: New file.
19519         * time/Makefile (test): Add tst-tzname.
19520         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
19521         * timezone/Makefile (test-zones): Add $(posixrules-file).
19522         ($(testdata)/$(posixrules-file)): New rule.
19524 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
19526         Fix doc quoting problems with Texinfo 5
19527         Without this change, in the info file output, Texinfo 5 quotes code
19528         in text with undirected single quotes 'like this' and generates
19529         code examples that with many PDF readers cannot be cut out of PDFs
19530         and pasted into code.
19531         * manual/libc.texinfo: Configure the libc manual like the GNU
19532         Emacs manual, by using @documentencoding and setting
19533         txicodequoteundirected and txicodequotebacktick.  This way,
19534         Texinfo 5 quotes code in text with directed single quotes ‘like
19535         this’ and produces examples that can be cut out of PDFs.  This
19536         change causes Texinfo 5 to generate info files that contain UTF-8
19537         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
19538         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
19540 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19542         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
19543         __libc_tabort, __libc_tend): New wrappers that enforce compiler
19544         barriers to their respective compiler built-ins.
19545         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
19546         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
19547         * sysdeps/powerpc/sysdep.h: Likewise.
19548         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
19549         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
19550         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
19552 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
19554         * scripts/config.guess: Revert previous shebang change.
19555         * scripts/config.sub: Likewise.
19556         * scripts/mkinstalldirs: Likewise.
19558 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19560         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
19561         PPC_FEATURE2_HAS_IEEE128.
19562         * sysdeps/powerpc/dl-procinfo.c:
19563         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
19565 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
19567         [BZ #19415]
19568         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
19569         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
19570         (_dl_lookup_address): Rewrite using function resolver trampoline.
19571         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
19572         two bits in address.
19574 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19576         * longlong.h: Change !__SHMEDIA__ to
19577         (!defined (__SHMEDIA__) || !__SHMEDIA__).
19578         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
19580 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
19581             Joseph Myers  <joseph@codesourcery.com>
19582             Mark Shinwell  <shinwell@codesourcery.com>
19583             Andrew Stubbs  <ams@codesourcery.com>
19584             Rich Felker <dalias@libc.org>
19586         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
19588 2016-01-07  Richard Henderson  <rth@redhat.com>
19590         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
19592 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19594         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
19595         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
19596         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19597         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19598         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
19600 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
19601             Joseph Myers  <joseph@codesourcery.com>
19603         * timezone/private.h: Update from tzcode 2015g.
19604         * timezone/tzfile.h: Likewise.
19605         * timezone/tzselect.ksh: Likewise.
19606         * timezone/zdump.c: Likewise.
19607         * timezone/zic.c: Likewise.
19608         * timezone/ialloc.c: Remove file.
19609         * timezone/scheck.c: Likewise.
19610         * timezone/Makefile (extra-objs): Remove variable.
19611         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19612         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19613         -Wno-maybe-uninitialized.
19614         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19615         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19616         (CFLAGS-ialloc.c): Remove variable.
19617         (CFLAGS-scheck.c): Likewise.
19618         * timezone/README: Update list of files from tzcode.
19620 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19622         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19623         instead of __fxprintf when _LIBC is undefined.
19625 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19627         * catgets/test-gencat.sh: Remove space after shebang.
19628         * conform/GlibcConform.pm: Likewise.
19629         * conform/check-header-lists.sh: Likewise.
19630         * conform/conformtest.pl: Likewise.
19631         * conform/linknamespace.pl: Likewise.
19632         * conform/list-header-symbols.pl: Likewise.
19633         * debug/catchsegv.sh: Likewise.
19634         * elf/genrtldtbl.awk: Likewise.
19635         * elf/tst-pathopt.sh: Likewise.
19636         * elf/tst-rtld-load-self.sh: Likewise.
19637         * grp/tst_fgetgrent.sh: Likewise.
19638         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19639         * iconvdata/gen-8bit-gap.sh: Likewise.
19640         * iconvdata/gen-8bit.sh: Likewise.
19641         * iconvdata/run-iconv-test.sh: Likewise.
19642         * intl/tst-gettext.sh: Likewise.
19643         * intl/tst-gettext2.sh: Likewise.
19644         * intl/tst-gettext4.sh: Likewise.
19645         * intl/tst-gettext6.sh: Likewise.
19646         * intl/tst-translit.sh: Likewise.
19647         * io/ftwtest-sh: Likewise.
19648         * libio/test-freopen.sh: Likewise.
19649         * locale/gen-translit.pl: Likewise.
19650         * malloc/tst-mtrace.sh: Likewise.
19651         * manual/check-safety.sh: Likewise.
19652         * manual/libc-texinfo.sh: Likewise.
19653         * manual/tsort.awk: Likewise.
19654         * manual/xtract-typefun.awk: Likewise.
19655         * nptl/tst-cancel-wrappers.sh: Likewise.
19656         * nptl/tst-tls6.sh: Likewise.
19657         * posix/globtest.sh: Likewise.
19658         * posix/tst-getconf.sh: Likewise.
19659         * posix/wordexp-tst.sh: Likewise.
19660         * scripts/check-c++-types.sh: Likewise.
19661         * scripts/check-local-headers.sh: Likewise.
19662         * scripts/config.guess: Likewise.
19663         * scripts/config.sub: Likewise.
19664         * scripts/cpp: Likewise.
19665         * scripts/cross-test-ssh.sh: Likewise.
19666         * scripts/documented.sh: Likewise.
19667         * scripts/evaluate-test.sh: Likewise.
19668         * scripts/gen-libc-abis: Likewise.
19669         * scripts/gen-sorted.awk: Likewise.
19670         * scripts/list-fixed-bugs.py: Likewise.
19671         * scripts/merge-test-results.sh: Likewise.
19672         * scripts/mkinstalldirs: Likewise.
19673         * scripts/rellns-sh: Likewise.
19674         * scripts/test-installation.pl: Likewise.
19675         * scripts/update-copyrights: Likewise.
19676         * stdio-common/tst-printf.sh: Likewise.
19677         * stdio-common/tst-unbputc.sh: Likewise.
19678         * stdlib/tst-fmtmsg.sh: Likewise.
19679         * stdlib/tst-setcontext3.sh: Likewise.
19680         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19681         * sysdeps/unix/make-syscalls.sh: Likewise.
19683 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19685         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19686         asm stw with atomic_exchange_rel.  Add explanatory comment.
19687         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19688         Likewise.
19690 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19692         [BZ #19122]
19693         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19694         * sysdeps/generic/dl-unistd.h: New file.
19695         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19697 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19699          [BZ #19122]
19700          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19701          * sysdeps/generic/dl-mman.h: New file.
19702          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19704 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19706         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19707         trailing whitespace removed.
19708         * scripts/config.guess: Update to version 2016-01-01.
19709         * scripts/config.sub: Update to version 2016-01-01.
19710         * scripts/move-if-change: Update from gnulib.
19712 2016-01-04  Anton Blanchard  <anton@samba.org>
19714         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19715         for array indices.
19716         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19718 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19720         * NEWS: Update copyright dates.
19721         * catgets/gencat.c (print_version): Likewise.
19722         * csu/version.c (banner): Likewise.
19723         * debug/catchsegv.sh: Likewise.
19724         * debug/pcprofiledump.c (print_version): Likewise.
19725         * debug/xtrace.sh (do_version): Likewise.
19726         * elf/ldconfig.c (print_version): Likewise.
19727         * elf/ldd.bash.in: Likewise.
19728         * elf/pldd.c (print_version): Likewise.
19729         * elf/sotruss.sh: Likewise.
19730         * elf/sprof.c (print_version): Likewise.
19731         * iconv/iconv_prog.c (print_version): Likewise.
19732         * iconv/iconvconfig.c (print_version): Likewise.
19733         * locale/programs/locale.c (print_version): Likewise.
19734         * locale/programs/localedef.c (print_version): Likewise.
19735         * login/programs/pt_chown.c (print_version): Likewise.
19736         * malloc/memusage.sh (do_version): Likewise.
19737         * malloc/memusagestat.c (print_version): Likewise.
19738         * malloc/mtrace.pl: Likewise.
19739         * manual/libc.texinfo: Likewise.
19740         * nptl/version.c (banner): Likewise.
19741         * nscd/nscd.c (print_version): Likewise.
19742         * nss/getent.c (print_version): Likewise.
19743         * nss/makedb.c (print_version): Likewise.
19744         * posix/getconf.c (main): Likewise.
19745         * scripts/test-installation.pl: Likewise.
19746         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19748         * All files with FSF copyright notices: Update copyright dates
19749         using scripts/update-copyrights.
19750         * intl/plural.c: Regenerated.
19751         * locale/programs/charmap-kw.h: Likewise.
19752         * locale/programs/locfile-kw.h: Likewise.
19754 2016-01-02  Helge Deller  <deller@gmx.de>
19756         [BZ #19285]
19757         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19758         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19759         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19760         (MADV_xxK_PAGES): Remove.
19762 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19764         [BZ #15421]
19765         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19766         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19767         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19768         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19770 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19772         [BZ #19408]
19773         * sysdeps/unix/sysv/linux/personality.c: New file.
19774         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19775         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19776         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19777         (sysdep_routines): Add personality.
19778         (tests): Add tst-personality.
19779         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19781         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19782         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19783         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19784         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19785         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19786         Likewise.
19787         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19788         Likewise.
19789         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19790         Likewise.
19791         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19792         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19793         Likewise.
19795 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19797         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19798         (PATH_ARM_SYSTYPE): Remove.
19799         (PATH_CPUINFO): Likewise.
19800         (IO_BASE_FOOTBRIDGE): Likewise.
19801         (IO_SHIFT_FOOTBRIDGE): Likewise.
19802         (struct platform): Likewise.
19803         (init_iosys): Remove compatibility code for 2.4 kernels.
19804         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19806 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19808         * malloc/tst-malloc-thread-fail.c: New file.
19809         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19810         (tst-malloc-thread-fail): Link against libpthread.
19812 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19814         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19815         (get_parser): New function.
19816         (main): New function.
19818 2015-12-29  Rob Wu  <rob@robwu.nl>
19820         [BZ #19369]
19821         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19823 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19825         [BZ #19270]
19826         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19828 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19830         [BZ #15421]
19831         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19833 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19835         [BZ #13690]
19836         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19837         after releasing it.
19838         (__lll_robust_unlock): Likewise.
19839         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19840         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19841         (lll_robust_unlock): Likewise.
19842         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19843         Prevent warnings in callers.
19845 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19847         * malloc/arena.c (list_lock): Update comment.
19849 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19851         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19852         __parse_hwcap_and_convert_at_platform to libc.a.
19854 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19856         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19857         platform and feature support for POWER9.
19858         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19859         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19860         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19861         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19862         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19863         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19864         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19865         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19867 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19869         Harmonize generic stdio-lock support with nptl
19871         This fixes build when _IO_funlockfile is a macro, fixes build where
19872         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19873         stack unwind.
19875         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19876         _IO_release_lock ): Use cleanup attribute on new
19877         _IO_acquire_lock_file variable instead of assuming that
19878         _IO_release_lock will be called.
19879         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19880         _IO_acquire_lock_needs_exceptions_enabled.
19881         (_IO_acquire_lock_clear_flags2): New macro.
19883 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19885         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19887 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19889         [BZ #19182]
19890         * malloc/arena.c (list_lock): Document lock ordering requirements.
19891         (free_list_lock): New lock.
19892         (ptmalloc_lock_all): Comment on free_list_lock.
19893         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19894         (detach_arena): Update comment.  free_list_lock is now needed.
19895         (_int_new_arena): Use free_list_lock around detach_arena call.
19896         Acquire arena lock after list_lock.  Add comment, including FIXME
19897         about incorrect synchronization.
19898         (get_free_list): Switch to free_list_lock.
19899         (reused_arena): Acquire free_list_lock around detach_arena call
19900         and attached threads counter update.  Add two FIXMEs about
19901         incorrect synchronization.
19902         (arena_thread_freeres): Switch to free_list_lock.
19903         * malloc/malloc.c (struct malloc_state): Update comments to
19904         mention free_list_lock.
19906 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19908         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19909         Remove functions.
19910         (sloww, sloww1): Accept argument to offset quadrant.
19911         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19912         quadrant.
19913         (__sin, __cos): Consolidate common code into new functions.
19914         (reduce_sincos_1, do_sincos_1): New functions.
19915         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19917         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19918         code to new functions.
19919         (reduce_sincos_2, do_sincos_2): New functions.
19920         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19922         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19923         common code for sincos.
19924         (__cos) [!IN_SINCOS]: Likewise.
19925         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19926         New function.
19927         (__sincos): Use it.
19929 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19931         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19932         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19933         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19935 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19937         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19940         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19941         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19942         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19943         index_Prefer_No_VZEROUPPER): New feature.
19944         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19945         Prefer_No_VZEROUPPER for Knights Landing.
19947 015-12-18  Torvald Riegel  <triegel@redhat.com>
19949         * math/atest-exp2.c (mp_exp_m1): Remove.
19951 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19953         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19954         syscalls.
19955         (__SYSCALL0): New macro.
19956         (__SYSCALL1): Likewise.
19957         (__SYSCALL2): Likewise.
19958         (__SYSCALL3): Likewise.
19959         (__SYSCALL4): Likewise.
19960         (__SYSCALL5): Likewise.
19961         (__SYSCALL6): Likewise.
19962         (__SYSCALL_CONCAT_X): Likewise.
19963         (__SYSCALL_CONCAT): Likewise.
19964         (__SYSCALL_DIST): Likewise.
19965         (__SYSCALL_CALL): Likewise.
19967 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19969         [BZ #19363]
19970         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19972 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19974         [BZ #19375]
19975         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19976         negative subnormals.
19978 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19981         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19982         (INTERNAL_SYSCALL_NCS): Use it.
19983         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19985 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19987         [BZ #19243]
19988         * malloc/arena.c (get_free_list): Remove assert and adjust
19989         reference count handling.  Add comment about reused_arena
19990         interaction.
19991         (reused_arena): Add comments abount get_free_list interaction.
19992         * malloc/tst-malloc-thread-exit.c: New file.
19993         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19994         (tst-malloc-thread-exit): Link against libpthread.
19996 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19998         [BZ #19367]
19999         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
20000         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
20001         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
20002         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
20003         (index_Prefer_MAP_32BIT_EXEC): Likewise.
20005 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20007         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
20008         Silvermont optimizations for Knights Landing.
20010 2015-12-15  Andreas Schwab  <schwab@suse.de>
20012         [BZ #17197]
20013         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
20014         immediately after emitting SI.
20015         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
20016         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
20017         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
20018         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
20019         * iconvdata/bug-iconv10.c: New file.
20020         * iconvdata/Makefile (tests): Add bug-iconv10.
20021         ($(objpfx)bug-iconv10.out): New rule.
20023 2015-12-15  Florian Weimer  <fweimer@redhat.com>
20025         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
20026         aliasing violation.
20028 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
20030         [BZ #18472]
20031         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
20032         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
20033         conditionals for them.
20034         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
20035         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
20036         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
20037         sys/kdaemon.h.
20038         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
20039         compat-only syscall, obsoleted in glibc 2.23.
20040         (create_module): Likewise.
20041         (get_kernel_syms): Likewise.
20042         (query_module): Likewise.
20043         (uselib): Likewise.
20044         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
20046 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
20048         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
20049         <linux/version.h>.
20050         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
20051         conditional code.
20052         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
20053         and ioshift_name initialization.
20055 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20057         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20058         Fix indentation.
20060 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20062         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
20064 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20066         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
20068 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
20069             Jakub Wilk  <jwilk@debian.org>
20071         [BZ #19347]
20072         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
20073         to change the group of the device to the tty group.
20075 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
20077         Split large string section; add truncation advice
20078         * manual/examples/strncat.c: Remove.
20079         This example was misleading, as the code would have undefined
20080         behavior if "hello" was longer than SIZE.  Anyway, the manual
20081         shouldn't encourage strncpy+strncat for this sort of thing.
20082         * manual/string.texi (Copying Strings and Arrays): Split into
20083         three sections Copying Strings and Arrays, Concatenating Strings,
20084         and Truncating Strings, as this section was way too long.  All
20085         cross-referenced changed.  Add advice about string-truncation
20086         functions.  Remove misleading strncat example.
20088 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
20090         * manual/nss.texi (NSS Modules Interface): Document
20091         NSS_STATUS_NOTFOUND and SUCCESS.
20093 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20095         [BZ 18568]
20096         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20097         201505L, for Unicode 8.
20099 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
20101         * locale/C-translit.h: Regenerate.
20103 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20105         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
20106         and U+0153.
20108 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
20110         [BZ #19351]
20111         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
20112         expanding log(1+z), compare z rather than its square with epsilon
20113         to determine when to avoid evaluating the expansion.
20115         [BZ #19350]
20116         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20117         Increase overflow threshold.
20119         [BZ #19349]
20120         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
20121         when small.
20123         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20124         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20125         New macro.
20126         [__LINUX_KERNEL_VERSION >= 0x040300]
20127         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20128         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20129         Likewise.
20130         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20131         Likewise.
20132         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20133         Likewise.
20134         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20135         Likewise.
20136         [__LINUX_KERNEL_VERSION >= 0x040300]
20137         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20138         [__LINUX_KERNEL_VERSION >= 0x040300]
20139         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20140         [__LINUX_KERNEL_VERSION >= 0x040300]
20141         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20142         [__LINUX_KERNEL_VERSION >= 0x040300]
20143         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20144         [__LINUX_KERNEL_VERSION >= 0x040300]
20145         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20146         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20147         Likewise.
20148         [__LINUX_KERNEL_VERSION >= 0x040300]
20149         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20151         Likewise.
20152         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20153         Likewise.
20154         [__LINUX_KERNEL_VERSION >= 0x040300]
20155         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20156         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20157         Likewise.
20158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20159         Likewise.
20160         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
20162         Likewise.
20163         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
20164         Likewise.
20165         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20166         Likewise.
20167         [__LINUX_KERNEL_VERSION >= 0x040300]
20168         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20169         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20170         Likewise.
20171         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20172         Likewise.
20173         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20174         Likewise.
20175         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20176         Likewise.
20177         [__LINUX_KERNEL_VERSION >= 0x040300]
20178         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20179         [__LINUX_KERNEL_VERSION >= 0x040300]
20180         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20181         [__LINUX_KERNEL_VERSION >= 0x040300]
20182         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20183         [__LINUX_KERNEL_VERSION >= 0x040300]
20184         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20185         [__LINUX_KERNEL_VERSION >= 0x040300]
20186         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20187         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20188         Likewise.
20189         [__LINUX_KERNEL_VERSION >= 0x040300]
20190         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20191         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20192         Likewise.
20193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20194         Likewise.
20195         [__LINUX_KERNEL_VERSION >= 0x040300]
20196         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20197         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20198         Likewise.
20199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20200         Likewise.
20201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20202         (__ASSUME_SOCKET_SYSCALL): Likewise.
20203         (__ASSUME_BIND_SYSCALL): Likewise.
20204         (__ASSUME_CONNECT_SYSCALL): Likewise.
20205         (__ASSUME_LISTEN_SYSCALL): Likewise.
20206         (__ASSUME_ACCEPT_SYSCALL): Likewise.
20207         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20208         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20209         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20210         (__ASSUME_SEND_SYSCALL): Likewise.
20211         (__ASSUME_SENDTO_SYSCALL): Likewise.
20212         (__ASSUME_RECV_SYSCALL): Likewise.
20213         (__ASSUME_RECVFROM_SYSCALL): Likewise.
20214         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
20215         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20216         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20217         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20218         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20219         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20220         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
20221         Likewise.
20222         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
20223         Likewise.
20224         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
20225         Likewise.
20226         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
20227         Likewise.
20228         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
20229         Likewise.
20230         [__LINUX_KERNEL_VERSION >= 0x020625]
20231         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20232         [__LINUX_KERNEL_VERSION >= 0x020625]
20233         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20234         [__LINUX_KERNEL_VERSION >= 0x020625]
20235         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20236         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
20237         Likewise.
20238         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
20239         Likewise.
20240         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
20241         Likewise.
20242         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
20243         Likewise.
20244         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
20245         Likewise.
20246         [__LINUX_KERNEL_VERSION >= 0x020625]
20247         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20248         [__LINUX_KERNEL_VERSION >= 0x020625]
20249         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20250         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
20251         Likewise.
20252         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
20253         Likewise.
20255 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20257         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
20258         record the current if the current ABI and CPU support the FP64
20259         extension.
20260         (has-modd-spreg): Define to record the current if the current ABI and
20261         CPU support 32-bit floating point values in odd FPU registers.
20262         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20263         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
20264         $(has-modd-spreg) equals yes.
20265         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
20266         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
20267         $(has-modd-spreg) equal yes.
20269 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20271         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
20272         basename.
20274 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
20276         * benchtests/Makefile (bench-math): Move ffs and ffsll...
20277         (bench-string): ... here.
20278         (bench): Add bench-string.
20279         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
20280         to *-benchset to reflect what they are.
20281         (benchset): Adjust.
20283         * benchtests/sincos-inputs: Add inputs from sin-inputs and
20284         cos-inputs.
20286 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
20288         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
20289         __attribute__ ((__simd__)) for vector math function declarations.
20291 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20293         Fix typo in strncat, wcsncat manual entries
20294         * manual/string.texi (Copying and Concatenation): Fix typos in
20295         sample implementations of strncat and wcsncat, by having them use
20296         the old value of the destination length, not the new one.
20298 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
20300         [BZ #16961]
20301         [BZ #16962]
20302         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
20303         string on the stack for strtod.
20304         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
20305         a string on the stack for strtof.
20306         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
20307         constructing a string on the stack for strtold.
20308         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
20309         __strtold_nan to GLIBC_PRIVATE.
20310         * math/test-nan-overflow.c: New file.
20311         * math/test-nan-payload.c: Likewise.
20312         * math/Makefile (tests): Add test-nan-overflow and
20313         test-nan-payload.
20315 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20317         Consistency about byte vs character in string.texi
20318         * manual/string.texi (String and Array Utilities):
20319         Distinguish more carefully among bytes, multibyte characters,
20320         and wide characters.  Use "byte" when talking about C 'char',
20321         to distinguish it more clearly from multibyte characters.
20322         Say "wide character" or "multibyte character" instead of
20323         "character", when a wide or multibyte character is intended.
20324         Similarly for "multibyte string" versus "string".
20325         Define these terms more carefully.
20327 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
20329         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
20330         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
20331         Likewise.
20332         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20333         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20334         * sysdeps/sh/math_private.h: New file.
20335         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
20336         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
20337         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
20338         long double function name.
20339         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20340         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20341         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20343         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20345         Remove __finitel, __isinfl, and __isnanl.
20346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20347         Likewise.
20348         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20350         Remove __finitel.
20351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20352         Likewise.
20353         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20355 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
20357         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
20358         installed libmvec_nonshared.a.
20360 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20362         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
20363         (sysdep_routines): Likewise.
20364         (sysdep-rtld-routines): Likewise.
20365         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
20366         [$(subdir) = nptl](tests-static): test-get_hwcap-static
20367         * sysdeps/powerpc/Versions: Added new
20368         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
20369         * sysdeps/powerpc/hwcapinfo.c: New file.
20370         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
20371         and parse hwcap, hwcap2 and platform number information.
20372         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
20373         to store HWCAP+HWCAP2 and platform number.
20374         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
20375         for HWCAP+HWCAP2 and platform number in the TCB.
20376         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
20377         the HWCAP, HWCAP2 and platform number in the TCB.
20378         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
20379         (TLS_INIT_TP): Included calls to add the hwcap and
20380         at_platform values in the TCB in TP initialization.
20381         (TLS_DEFINE_INIT_TP): Likewise.
20382         (THREAD_GET_HWCAP): New macro.
20383         (THREAD_SET_HWCAP): Likewise.
20384         (THREAD_GET_AT_PLATFORM): Likewise.
20385         (THREAD_SET_AT_PLATFORM): Likewise.
20386         * sysdeps/powerpc/powerpc32/dl-machine.h:
20387         (dl_platform_init): New function that calls
20388         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
20389         powerpc32.
20390         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
20391         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
20392         this functionality, static linking case.
20393         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
20394         linking case.
20395         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
20396         __parse_hwcap_and_convert_at_platform for the static linking case.
20397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
20398         Included the new __parse_hwcap_and_convert_at_platform symbol in the
20399         ABI list for GLIBC 2.23.
20400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
20401         Likewise.
20402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
20403         Likewise.
20405 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
20407         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
20408         * configure: Regenerate.
20409         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
20410         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
20412 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
20414         * iconvdata/ibm930.c: Add comment explaining encoding uses.
20415         * iconvdata/ibm933.c: Likewise.
20416         * iconvdata/ibm935.c: Likewise.
20417         * iconvdata/ibm937.c: Likewise.
20418         * iconvdata/ibm939.c: Likewise.
20420 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20422         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
20423         pthread_join.
20424         * nptl/tst-cancel21.c (tf): Likewise.
20426 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
20428         [BZ #19313]
20429         * bits/typesizes.h (__CPU_MASK_TYPE): New.
20430         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20431         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20432         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
20433         Likewise.
20434         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
20435         Likewise.
20436         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
20437         Likewise.
20438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
20439         Likewise.
20440         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
20441         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
20442         unsigned long int with __CPU_MASK_TYPE.
20444 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20446         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20448 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
20450         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
20451         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
20452         t512.x.
20453         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
20455 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
20457         [BZ #19214]
20458         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
20459         argument to return extended model.  Update family and model
20460         with extended family and model when family == 0x0f.
20461         (init_cpu_features): Updated.
20463 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20465         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
20466         signed off_t, so 32bit bigger than 2GiB values are fine actually.
20468         * sysdeps/mach/hurd/mmap64.c: New file.
20470 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
20472         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
20473         rights for its main user thread in NEWTASK.
20475 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
20477         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
20478         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
20480 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
20482         [BZ #14259]
20483         * Makeconfig: Rename localedir to complocaledir.
20484         Rename inst_localedir to inst_complocaledir.
20485         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
20486         * config.make.in: Use complocaledir and libc_cv_complocaledir.
20487         * configure.ac: Use libc_cv_complocaledir.
20488         * configure: Regenerate.
20489         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
20490         -DCOMPLOCALEDIR.
20491         * locale/findlocale.c: Use COMPLOCALEDIR.
20492         * locale/loadarchive.c: Likewise.
20493         * locale/programs/locale.c: Likewise.
20494         * locale/programs/localedef.c: Likewise.
20495         * locale/programs/locarchive.c: Likewise.
20496         * localedata/Makefile: Use inst_complocaledir.
20497         * sysdeps/gnu/configure: Regenerate.
20498         * sysdeps/hppa/configure: Regenerate.
20499         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20500         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20502         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20503         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20504         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20505         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20507 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
20509         [BZ #19058]
20510         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
20511         AS_NEEDED.
20512         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
20513         workaround.
20514         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
20515         libmvec-static-only-routines): Added new file.
20516         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
20518 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20520         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
20521         of interrupted RPC instead of restoring it.
20523         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
20524         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
20525         libc_hidden_def.
20526         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
20527         into initialized data instead of common. Define rtld_hidden_data_def.
20528         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
20529         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
20530         libc_hidden_def.
20531         (if_freenameindex): Add libc_hidden_weak.
20532         (if_nameindex): Add libc_hidden_weak.
20533         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
20534         __open64.
20535         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
20536         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
20537         * sysdeps/mach/nanosleep.c: Include <time.h>
20538         (__nanosleep): Rename to __libc_nanosleep.
20539         (__nanosleep): Add weak_alias.
20540         (nanosleep): Update alias.
20542 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
20544         * stdlib/strtod_nan.c: New file.
20545         * stdlib/strtod_nan_double.h: Likewise.
20546         * stdlib/strtod_nan_float.h: Likewise.
20547         * stdlib/strtod_nan_main.c: Likewise.
20548         * stdlib/strtod_nan_narrow.h: Likewise.
20549         * stdlib/strtod_nan_wide.h: Likewise.
20550         * stdlib/strtof_nan.c: Likewise.
20551         * stdlib/strtold_nan.c: Likewise.
20552         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
20553         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
20554         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
20555         * wcsmbs/wcstod_nan.c: Likewise.
20556         * wcsmbs/wcstof_nan.c: Likewise.
20557         * wcsmbs/wcstold_nan.c: Likewise.
20558         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
20559         strtold_nan.
20560         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
20561         wcstof_nan.
20562         * include/stdlib.h (__strtof_nan): Declare and use
20563         libc_hidden_proto.
20564         (__strtod_nan): Likewise.
20565         (__strtold_nan): Likewise.
20566         (__wcstof_nan): Likewise.
20567         (__wcstod_nan): Likewise.
20568         (__wcstold_nan): Likewise.
20569         * include/wchar.h (____wcstoull_l_internal): Declare.
20570         * stdlib/strtod_l.c: Do not include <ieee754.h>.
20571         (____strtoull_l_internal): Remove declaration.
20572         (STRTOF_NAN): Define macro.
20573         (SET_MANTISSA): Remove macro.
20574         (STRTOULL): Likewise.
20575         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
20576         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
20577         (STRTOF_NAN): Define macro.
20578         (SET_MANTISSA): Remove macro.
20579         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
20580         (SET_MANTISSA): Remove macro.
20581         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
20582         macro.
20583         (SET_MANTISSA): Remove macro.
20584         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
20585         macro.
20586         (SET_MANTISSA): Remove macro.
20587         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
20588         (SET_MANTISSA): Remove macro.
20589         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
20590         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
20591         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
20593         [BZ #19266]
20594         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
20595         upper case and lower case letters inside NAN(), not using TOLOWER.
20596         * stdlib/tst-strtod-nan-locale-main.c: New file.
20597         * stdlib/tst-strtod-nan-locale.c: Likewise.
20598         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
20599         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
20600         Depend on $(gen-locales).
20601         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
20602         * wcsmbs/tst-wcstod-nan-locale.c: New file.
20603         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20604         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20605         Depend on $(gen-locales).
20606         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20608 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20610         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20612         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20614         __finitel, __isinfl, and __isnanl.
20615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20616         Likewise.
20617         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20619         __finitel.
20620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20621         Likewise.
20622         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20624 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20626         * malloc/memusage.c (me): Remove redundant getenv call.
20628 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20630         [BZ #19143]
20631         [BZ #19164]
20632         * nptl/check-cpuset.h: Remove.
20633         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20634         Remove CPU set size check.
20635         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20636         Likewise.
20637         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20638         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20639         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20640         (__pthread_setaffinity_new): Remove CPU set size check.
20641         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20642         (__kernel_cpumask_size): Remove.
20643         (__sched_setaffinity_new): Remove CPU set size check.
20644         * manual/threads.texi (Default Thread Attributes): Remove stale
20645         reference to check_cpuset_attr, determine_cpumask_size in comment.
20646         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20647         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20648         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20649         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20650         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20651         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20652         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20653         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20654         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20655         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20656         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20657         skeleton test file.
20658         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20659         tst-affinity-pid.
20661 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20663         * scripts/update-abilist.sh: New file.
20664         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20665         * Makerules (update-all-abi-%, update-all-abi)
20666         (subdir_update-all-abi): New targets.
20667         * elf/Makefile (update-all-abi): New target.
20669 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20671         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20672         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20673         (__libc_lock_define_initialized): Use it.
20674         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20675         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20676         * malloc/malloc.c (main_arena): Likewise.
20677         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20678         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20680 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20682         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20683         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20684         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20685         (PTRACE_O_MASK): Update value.
20686         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20687         New value in enum __ptrace_setoptions.
20688         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20689         (PTRACE_O_MASK): Update value.
20690         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20691         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20692         (PTRACE_O_MASK): Update value.
20693         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20694         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20695         (PTRACE_O_MASK): Update value.
20696         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20697         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20698         (PTRACE_O_MASK): Update value.
20699         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20700         New value in enum __ptrace_setoptions.
20701         (PTRACE_O_MASK): Update value.
20702         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20703         New value in enum __ptrace_setoptions.
20704         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20705         (PTRACE_O_MASK): Update value.
20707         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20708         New macro.
20709         (PACKET_AUXDATA): Likewise.
20710         (PACKET_ORIGDEV): Likewise.
20711         (PACKET_VERSION): Likewise.
20712         (PACKET_HDRLEN): Likewise.
20713         (PACKET_RESERVE): Likewise.
20714         (PACKET_TX_RING): Likewise.
20715         (PACKET_LOSS): Likewise.
20716         (PACKET_VNET_HDR): Likewise.
20717         (PACKET_TX_TIMESTAMP): Likewise.
20718         (PACKET_TIMESTAMP): Likewise.
20719         (PACKET_FANOUT): Likewise.
20720         (PACKET_TX_HAS_OFF): Likewise.
20721         (PACKET_QDISC_BYPASS): Likewise.
20722         (PACKET_ROLLOVER_STATS): Likewise.
20723         (PACKET_FANOUT_DATA): Likewise.
20724         (PACKET_MR_UNICAST): Likewise.
20726         [BZ #19242]
20727         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20728         (TOUPPER): Likewise.
20729         * stdlib/tst-strtol-locale-main.c: New file.
20730         * stdlib/tst-strtol-locale.c: Likewise.
20731         * stdlib/Makefile (tests): Add tst-strtol-locale.
20732         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20733         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20734         Depend on $(gen-locales).
20735         * wcsmbs/tst-wcstol-locale.c: New file.
20736         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20737         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20738         tr_TR.ISO-8859-9.
20739         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20740         Depend on $(gen-locales).
20742 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20744         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20745         __glibc_likely instead of __builtin_expect.  After falling back to
20746         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20747         system interface to register the code pages as occupied.
20749 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20751         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20752         [!ARM_MATH_PRIVATE_H].
20753         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20754         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20755         [!HPPA_MATH_PRIVATE_H].
20756         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20757         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20758         to [!I386_MATH_PRIVATE_H].
20759         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20760         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20761         Change guard to [!M68K_MATH_PRIVATE_H].
20762         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20763         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20764         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20765         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20766         macro.
20767         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20768         [!MIPS_MATH_PRIVATE_H].
20769         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20770         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20771         [!NIO2_MATH_PRIVATE_H].
20772         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20773         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20774         [!TILE_MATH_PRIVATE_H].
20775         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20777         [BZ #15421]
20778         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20779         initialize with 0 and define as weak alias of __signgam.
20780         * include/math.h [!_ISOMAC] (__signgam): Declare.
20781         * math/Makefile (libm-calls): Add w_lgamma_compat.
20782         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20783         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20784         test-signgam-ullong-init.
20785         (tests-static): Add test-signgam-uchar-static,
20786         test-signgam-uchar-init-static, test-signgam-uint-static,
20787         test-signgam-uint-init-static, test-signgam-ullong-static and
20788         test-signgam-ullong-init-static.
20789         (CFLAGS-test-signgam-uchar.c): New variable.
20790         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20791         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20792         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20793         (CFLAGS-test-signgam-uint.c): Likewise.
20794         (CFLAGS-test-signgam-uint-init.c): Likewise.
20795         (CFLAGS-test-signgam-uint-static.c): Likewise.
20796         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20797         (CFLAGS-test-signgam-ullong.c): Likewise.
20798         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20799         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20800         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20801         * math/Versions (libm): Add GLIBC_2.23.
20802         * math/lgamma-compat.h: New file.
20803         * math/test-signgam-main.c: Likewise.
20804         * math/test-signgam-uchar-init-static.c: Likewise.
20805         * math/test-signgam-uchar-init.c: Likewise.
20806         * math/test-signgam-uchar-static.c: Likewise.
20807         * math/test-signgam-uchar.c: Likewise.
20808         * math/test-signgam-uint-init-static.c: Likewise.
20809         * math/test-signgam-uint-init.c: Likewise.
20810         * math/test-signgam-uint-static.c: Likewise.
20811         * math/test-signgam-uint.c: Likewise.
20812         * math/test-signgam-ullong-init-static.c: Likewise.
20813         * math/test-signgam-ullong-init.c: Likewise.
20814         * math/test-signgam-ullong-static.c: Likewise.
20815         * math/test-signgam-ullong.c: Likewise.
20816         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20817         wrapper of w_lgamma_main.c.
20818         * math/w_lgamma_compat.c: New file.
20819         * math/w_lgamma_compatf.c: Likewise.
20820         * math/w_lgamma_compatl.c: Likewise.
20821         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20822         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20823         defining compatibility symbols.
20824         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20825         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20826         wrapper of w_lgammaf_main.c.
20827         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20828         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20829         defining compatibility symbols.
20830         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20831         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20832         wrapper of w_lgammal_main.c.
20833         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20834         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20835         defining compatibility symbols.
20836         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20837         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20838         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20839         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20840         <lgamma-compat.h>.
20841         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20842         (__ieee754_gamma): Define as alias.
20843         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20844         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20845         <lgamma-compat.h>.
20846         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20847         (__ieee754_gammaf): Define as alias.
20848         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20849         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20850         <lgamma-compat.h>.
20851         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20852         (__ieee754_gammal): Define as alias.
20853         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20854         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20855         <math/w_lgamma_compat.c>.
20856         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20857         Define as alias of __lgamma_compat and use in defining lgammal.
20858         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20859         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20860         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20861         (USE_AS_COMPAT): New macro.
20862         (LGAMMA_OLD_VER): Undefine and redefine.
20863         (lgammal): Do not define here.
20864         (gammal): Only define here if [GAMMA_ALIAS].
20865         * conform/linknamespace.pl (@whitelist): Remove signgam.
20866         * sysdeps/nacl/libm.abilist: Update.
20867         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20868         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20869         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20870         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20871         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20872         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20873         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20874         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20875         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20876         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20877         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20878         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20880         Likewise.
20881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20882         Likewise.
20883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20884         Likewise.
20885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20886         Likewise.
20887         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20888         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20889         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20890         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20891         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20893         Likewise.
20894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20895         Likewise.
20896         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20897         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20898         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20900 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20902         [BZ #16364]
20903         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20904         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20906 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20908         * sysdeps/s390/fpu/bits/mathinline.h:
20909         Use __asm__ [__volatile__] instead of asm [volatile].
20910         * sysdeps/s390/abort-instr.h: Likewise.
20911         * sysdeps/s390/atomic-machine.h: Likewise.
20912         * sysdeps/s390/bits/string.h: Likewise.
20913         * sysdeps/s390/dl-tls.h: Likewise.
20914         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20915         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20916         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20917         * sysdeps/s390/fpu/fesetround.c: Likewise.
20918         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20919         * sysdeps/s390/fpu/s_fma.c: Likewise.
20920         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20921         * sysdeps/s390/memusage.h: Likewise.
20922         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20923         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20924         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20925         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20926         * sysdeps/s390/nptl/tls.h: Likewise.
20927         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20928         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20929         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20930         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20931         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20932         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20933         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20934         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20935         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20936         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20937         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20938         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20939         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20940         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20941         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20942         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20943         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20944         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20945         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20947         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20949         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20951 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20952             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20954         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20955         Add lwarx hint, and use macro for acquire instruction.
20956         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20957         Likewise.
20958         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20959         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20960         update to use new atomic macros.
20962 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20964         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20965         (__lll_trylock_elision): Fix setting of adapt_count.
20966         * sysdeps/unix/sysv/linux/powerpc/htm.h
20967         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20968         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20969         (_ABORT_SYSCALL): Renumber, and clarify definition.
20970         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20972 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20974         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20975         after system headers to prevent MIN/MAX redefinition.  Define
20976         HAVE_ALLOCA to preserve builtin alloca usage.
20978 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20980         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20981         static and don't set or restore rounding.
20982         (__cos)[IN_SINCOS]: Likewise.
20983         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20984         (__sincos): Set and restore rounding mode.  Remove check for infinite
20985         or NaN input.
20987         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20989         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20990         as used.
20992 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20994         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20996 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20998         * config.make.in (have-glob-dat-reloc): New.
20999         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
21000         target supports GLOB_DAT relocaton. AC_SUBST.
21001         * configure: Regenerated.
21002         * elf/Makefile (tests): Add tst-prelink.
21003         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21004         (tst-prelink-ENV): New.
21005         ($(objpfx)tst-prelink-conflict.out): Likewise.
21006         ($(objpfx)tst-prelink-cmp.out): Likewise.
21007         * sysdeps/x86/tst-prelink.c: Moved to ...
21008         * elf/tst-prelink.c: Here.
21009         * sysdeps/x86/tst-prelink.exp: Moved to ...
21010         * elf/tst-prelink.exp: Here.
21011         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
21012         (tst-prelink-ENV): Removed.
21013         ($(objpfx)tst-prelink-conflict.out): Likewise.
21014         ($(objpfx)tst-prelink-cmp.out): Likewise.
21015         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
21017 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
21019         [BZ #14551]
21020         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
21021         (__mpn_construct_long_double): If high part overflows to infinity,
21022         set errno and recompute overflowed result of the correct sign.
21023         * sysdeps/ieee754/ldbl-128ibm/Makefile
21024         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
21025         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
21026         $(libm).
21027         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
21029 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
21031         [BZ #15479]
21032         [BZ #19238]
21033         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
21034         floating-point state after first operation on input.  Restore full
21035         state rather than just rounding mode.
21036         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21037         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21038         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21040         [BZ #19235]
21041         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
21042         add 0.5 to integer arguments.
21043         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
21044         Likewise.
21045         (.LC2): New object.
21047 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
21049         * scripts/pylintrc (reports): Set to no.
21051 2015-11-10  Roland McGrath  <roland@hack.frob.com>
21053         * elf/dl-load.c (open_verify): Take new argument FD.
21054         Skip __open call if passed FD is not -1.
21055         (_dl_map_object, open_path): Update callers.
21056         * elf/dl-sysdep-open.h: New file.
21057         * elf/dl-load.c: Include it.
21058         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
21059         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
21060         * sysdeps/nacl/dl-sysdep-open.h: New file.
21061         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
21062         from libc to rtld.
21064 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21066         [BZ #19228]
21067         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
21068         and restore full floating-point state.
21069         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21070         Likewise.
21071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21072         Likewise.
21073         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21074         Likewise.
21075         * math/test-nearbyint-except-2.c: New file.
21076         * math/Makefile (tests): Add test-nearbyint-except-2.
21078 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
21080         [BZ #19178]
21081         * sysdeps/x86/Makefile (tests): Add tst-prelink.
21082         (tst-prelink-ENV): New.
21083         ($(objpfx)tst-prelink-conflict.out): Likewise.
21084         ($(objpfx)tst-prelink-cmp.out): Likewise.
21085         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21086         * sysdeps/x86/tst-prelink.c: New file.
21087         * sysdeps/x86/tst-prelink.exp: Likewise.
21089 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21091         * math/auto-libm-test-in: Add another test of pow.
21092         * math/auto-libm-test-out: Regenerated.
21093         * math/libm-test.inc (pow_test_data): Add another test.
21095 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21097         [BZ #19219]
21098         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
21099         weak_alias to nearbyintl.
21101 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21103         * sysdeps/aarch64/bits/string.h: New file.
21104         (_STRING_ARCH_unaligned): Define.
21106 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21108         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
21109         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21110         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21111         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
21112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
21114 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
21116         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
21117         for original name of the DSO.  Add it to the name list of the DSO
21118         if it is actually given.
21119         (_dl_map_object): Keep track of whether an audit module rewrote
21120         the file name.  If yes, pass the original name to
21121         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
21122         debugging is enabled, log the change of the file name.
21123         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
21124         _dl_map_object_from_fd.
21125         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
21126         * elf/tst-audit11.c: New file
21127         * elf/tst-auditmod11.c: New file.
21128         * elf/tst-audit11mod1.c: New file.
21129         * elf/tst-audit11mod2.c: New file.
21130         * elf/tst-audit11mod2.map: New file.
21131         * elf/tst-audit12.c: New file
21132         * elf/tst-auditmod12.c: New file.
21133         * elf/tst-audit12mod1.c: New file.
21134         * elf/tst-audit12mod2.c: New file.
21135         * elf/tst-audit12mod2.map: New file.
21136         * elf/tst-audit12mod3.c: New file.
21138 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21140         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
21141         Don't create weak aliases,
21142         because versioned symbols are created later.
21143         * sysdeps/s390/s390-32/setjmp.S
21144         (setjmp, _setjmp): Remove weak and rename to an unique name
21145         in SHARED case due to existing versioned symbols.
21146         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21147         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
21148         (getcontext): Create weak alias only in non SHARED case.
21149         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21151 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21153         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
21154         (__ASSUME_*_SYSCALL) Define new macros.
21155         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
21156         Remove socketcall syscalls.
21157         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
21158         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
21159         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
21160         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
21161         * sysdeps/unix/sysv/linux/send.c (__libc_send):
21162         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
21164 2015-11-09  Florian Weimer  <fweimer@redhat.com>
21166         [BZ #12926]
21167         Terminate process on invalid netlink response.
21168         * sysdeps/unix/sysv/linux/netlinkaccess.h
21169         (__netlink_assert_response): Declare.
21170         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
21171         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
21172         (sysdep_routines): Add netlink_assert_response.
21173         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
21174         __netlink_assert_response.
21175         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21176         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21177         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
21178         __netlink_assert_response.
21180 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21182         [BZ #19178]
21183         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
21184         (RTYPE_CLASS_PLT): Likewise.
21185         (RTYPE_CLASS_COPY): Likewise.
21186         (RTYPE_CLASS_TLS): Likewise.
21187         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
21188         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
21189         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
21190         DL_DEBUG_PRELINK.
21192 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
21194         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
21195         calls with argument -0.5.
21196         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
21198         * configure.ac (libc_cv_z_nodelete): Remove configure test.
21199         (libc_cv_z_nodlopen): Likewise.
21200         (libc_cv_z_initfirst): Likewise.
21201         * configure: Regenerated.
21203 2015-11-06  Florian Weimer  <fweimer@redhat.com>
21205         Simplify abilist format to be line-based.
21206         * scripts/abilist.awk: Collect descriptors in the descs variable.
21207         (emit): Write descs variable and sort it
21208         externally, with sort.
21209         * sysdeps/**/*.abilist: Convert to new format.
21211 2015-11-06  Mark Wielaard  <mjw@redhat.com>
21213         [BZ #11460]
21214         * io/Makefile (routines): Add fts64.
21215         (tests): Add tst-fts and tst-fts-lfs.
21216         (CFLAGS-fts64.c): New.
21217         * io/Versions (GLIBC_2.23): New.
21218         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
21219         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
21220         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
21221         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
21222         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
21223         (FTSENT64): Likewise.
21224         (fts64_children): Likewise.
21225         (fts64_close): Likewise.
21226         (fts64_open): Likewise.
21227         (fts64_read): Likewise.
21228         (fts64_set): Likewise.
21229         * io/fts64.c: New file.
21230         * io/tst-fts.c: New test.
21231         * io/tst-fts-lfs.c: Likewise.
21232         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
21233         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
21234         fts64_set.
21235         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21236         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21237         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21238         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21239         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21240         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21241         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21242         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21243         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21244         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21245         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21246         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21247         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21249         Likewise.
21250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21251         Likewise.
21252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21254         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21255         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21256         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21257         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21258         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21261         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21262         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21263         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21264         * sysdeps/wordsize-64/fts.c: New file.
21265         * sysdeps/wordsize-64/fts64.c: Likewise.
21266         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
21267         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
21268         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
21269         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
21271 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21273         * math/libm-test.inc (NON_FINITE): New macro.
21274         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
21275         * math/gen-libm-test.pl (show_exceptions): Add argument
21276         $non_finite.
21277         (parse_args): Update call to show_exceptions.
21278         * math/test-math-finite.h: New file.
21279         * math/test-math-no-finite.h: Likewise.
21280         * math/test-double-finite.c: Likewise.
21281         * math/test-float-finite.c: Likewise.
21282         * math/test-ldouble-finite.c: Likewise.
21283         * math/test-double.c: Include "test-math-no-finite.h".
21284         * math/test-float.c: Include "test-math-no-finite.h".
21285         * math/test-ldouble.c: Include "test-math-no-finite.h".
21286         * math/test-math-inline.h (TEST_FINITE): New macro.
21287         * math/test-math-vector.h (TEST_FINITE): Likewise.
21288         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
21289         (libm-tests): Add test-float-finite and test-double-finite.
21290         ($(objpfx)test-float-finite.o): New dependency on
21291         $(objpfx)libm-test.stmp.
21292         ($(objpfx)test-double-finite.o): Likewise.
21293         ($(objpfx)test-ldouble-finite.o): Likewise.
21294         (libm-test-no-inline-cflags): New variable.
21295         (libm-test-finite-cflags): Likewise.
21296         (CFLAGS-test-float-finite.c): Likewise.
21297         (CFLAGS-test-double-finite.c): Likewise.
21298         (CFLAGS-test-ldouble-finite.c): Likewise.
21299         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
21300         (CFLAGS-test-double.c): Likewise.
21301         (CFLAGS-test-ldouble.c): Likewise.
21303 2015-11-05  Roland McGrath  <roland@hack.frob.com>
21305         * io/fcntl.c (__fcntl): Add ... to prototype.
21306         * misc/ioctl.c (__ioctl): Likewise.
21307         * misc/syscall.c (syscall): Likewise.
21309 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21311         * scripts/list-fixed-bugs.py: New file.
21313         [BZ #19213]
21314         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
21315         returned for argument 1.
21316         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
21317         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
21318         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
21319         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
21320         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
21321         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
21323         [BZ #19211]
21324         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
21325         __USE_XOPEN], not if [!__USE_ISOC99].
21326         (lgammaf): Likewise.
21327         (lgammal): Likewise.
21328         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
21329         (gammaf): Likewise.
21330         (gammal): Likewise.
21331         * math/test-signgam-finite-c11.c: New file.
21332         * math/test-signgam-finite-c99.c: Likewise.
21333         * math/test-signgam-finite.c: Likewise.
21334         * math/Makefile (tests): Add test-signgam-finite,
21335         test-signgam-finite-c99 and test-signgam-finite-c11.
21336         (CFLAGS-test-signgam-finite.c): New variable.
21337         (CFLAGS-test-signgam-finite-c99.c): Likewise.
21338         (CFLAGS-test-signgam-finite-c11.c): Likewise.
21340         [BZ #19212]
21341         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
21342         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
21343         500].
21344         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
21345         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
21346         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
21347         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
21348         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
21349         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
21350         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
21351         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
21352         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
21353         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
21355         [BZ #19209]
21356         * math/bits/math-finite.h (ldexp): Remove declaration.
21357         (ldexpf): Likewise.
21358         (ldexpl): Likewise.
21360         [BZ #19205]
21361         * math/bits/math-finite.h (acosf): Condition declaration on
21362         [__USE_ISOC99].
21363         (acosl): Likewise.
21364         (acoshf): Likewise.
21365         (acoshl): Likewise.
21366         (asinf): Likewise.
21367         (asinl): Likewise.
21368         (atan2f): Likewise.
21369         (atan2l): Likewise.
21370         (atanhf): Likewise.
21371         (atanhl): Likewise.
21372         (coshf): Likewise.
21373         (coshl): Likewise.
21374         (expf): Likewise.
21375         (expl): Likewise.
21376         (fmodf): Likewise.
21377         (fmodl): Likewise.
21378         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
21379         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
21380         (j0l): Likewise.
21381         (y0f): Likewise.
21382         (y0l): Likewise.
21383         (j1f): Likewise.
21384         (j1l): Likewise.
21385         (y1f): Likewise.
21386         (y1l): Likewise.
21387         (jnf): Likewise.
21388         (jnl): Likewise.
21389         (ynf): Likewise.
21390         (ynl): Likewise.
21391         (lgammaf_r): Condition declaration on [__USE_ISOC99].
21392         (lgammal_r): Likewise.
21393         (__lgamma_r_finite): New declaration.
21394         (__lgammaf_r_finite): Likewise.
21395         (__lgammal_r_finite): Likewise.
21396         (lgamma): Use __lgamma_r_finite.
21397         (lgammaf): Condition definition on [__USE_ISOC99].  Use
21398         __lgammaf_r_finite.
21399         (lgammal): Condition definition on [__USE_ISOC99].  Use
21400         __lgammal_r_finite.
21401         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
21402         __lgamma_r_finite.
21403         (gammaf): Condition definition on [__USE_ISOC99].  Use
21404         __lgammaf_r_finite.
21405         (gammal): Condition definition on [__USE_ISOC99].  Use
21406         __lgammal_r_finite.
21407         (logf): Condition declaration on [__USE_ISOC99].
21408         (logl): Likewise.
21409         (log10f): Likewise.
21410         (log10l): Likewise.
21411         (ldexpf): Likewise.
21412         (ldexpl): Likewise.
21413         (powf): Likewise.
21414         (powl): Likewise.
21415         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
21416         __USE_ISOC99].
21417         (remainderf): Condition declaration on [__USE_ISOC99].
21418         (remainderl): Likewise.
21419         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
21420         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
21421         (scalbl): Likewise.
21422         (sinhf): Condition declaration on [__USE_ISOC99].
21423         (sinhl): Likewise.
21424         (sqrtf): Likewise.
21425         (sqrtl): Likewise.
21427 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21429         * sysdeps/arm/atomic-machine.h
21430         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21431         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21432         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
21433         Remove conditional code.
21434         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21435         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21436         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
21437         Change conditional to [__ASSEMBLER__].
21438         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21439         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
21440         [!__ASSEMBLER__].
21441         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
21442         code.
21443         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
21444         conditional macro definitions.
21445         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
21446         (__arch_compare_and_exchange_val_16_acq): Likewise.
21447         (__arch_compare_and_exchange_val_32_acq): Likewise.
21448         (atomic_exchange_and_add): Likewise.
21449         (atomic_add): Likewise.
21450         (atomic_add_negative): Likewise.
21451         (atomic_add_zero): Likewise.
21452         (atomic_bit_set): Likewise.
21453         (atomic_bit_test_set): Likewise.
21454         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
21455         code unconditional.
21456         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21458         * math/test-math-errno.h: New file.
21459         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
21460         empty.
21461         (TEST_ERRNO): New macro.
21462         (TEST_EXCEPTIONS): Likewise.
21463         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
21464         (TEST_EXCEPTIONS): Likewise.
21465         * math/test-math-vector.h (TEST_ERRNO): Likewise.
21466         * math/test-double.c: Include "test-math-errno.h".
21467         * math/test-float.c: Likewise.
21468         * math/test-ldouble.c: Likewise.
21469         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
21470         code unconditional.
21471         (test_exceptions): Only run code if TEST_EXCEPTIONS.
21472         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
21473         unconditional.
21474         (test_errno): Only run code if TEST_ERRNO.
21475         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
21477 2015-11-04  Florian Weimer  <fweimer@redhat.com>
21479         * nptl/tst-once5.cc: Remove attribution.
21481 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21483         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
21484         sqrt, tan, tanh, y0, y1 and yn.
21485         * math/auto-libm-test-out: Regenerated.
21486         * math/libm-test.inc (scalb_test_data): Add more tests.
21487         (scalbn_test_data): Likewise.
21488         (scalbln_test_data): Likewise.
21489         (signbit_test_data): Likewise.
21490         (sin_test_data): Likewise.
21491         (sincos_test_data): Likewise.
21492         (sinh_test_data): Likewise.
21493         (sqrt_test_data): Likewise.
21494         (tan_test_data): Likewise.
21495         (tanh_test_data): Likewise.
21496         (tgamma_test_data): Likewise.
21497         (y0_test_data): Likewise.
21498         (y1_test_data): Likewise.
21499         (yn_test_data): Likewise.
21500         (significand_test_data): Likewise.
21501         * sysdeps/i386/fpu/libm-test-ulps: Update.
21503 2015-11-03  David Kastrup  <dak@gnu.org>
21505         [BZ #18604]
21506         * assert/assert.h (assert): Don't macro-expand failed assertion
21507         expression in error message.
21508         * malloc/malloc.c (assert): Likewise.
21510 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
21512         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
21513         test.
21514         * configure: Regenerated.
21516 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
21518         * math/libm-test.inc (modf_test_data): Add more tests.
21519         (nearbyint_test_data): Likewise.
21520         (nextafter_test_data): Likewise.
21521         (nexttoward_test_data): Likewise.
21522         (pow_test_data): Likewise.
21523         (remainder_test_data): Likewise.
21524         (remquo_test_data): Likewise.
21525         (rint_test_data): Likewise.
21527         [BZ #19201]
21528         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21529         Check for zero remainder in case of large exponents and ensure
21530         correct sign of result in that case.
21531         * math/libm-test.inc (remainder_test_data): Add more tests.
21533         [BZ #6799]
21534         * math/s_nextafter.c: Include <errno.h>.
21535         (__nextafter): Set errno on overflow and underflow.
21536         * math/s_nexttowardf.c: Include <errno.h>.
21537         (__nexttowardf): Set errno on overflow and underflow.
21538         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
21539         (__nextafterl): Set errno on overflow and underflow.
21540         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
21541         (__nexttoward): Set errno on overflow and underflow.
21542         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
21543         (__nexttowardf): Set errno on overflow and underflow.
21544         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
21545         (__nextafterf): Set errno on overflow and underflow.
21546         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
21547         (__nextafterl): Set errno on overflow and underflow.
21548         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
21549         (__nexttoward): Set errno on overflow and underflow.
21550         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
21551         (__nexttowardf): Set errno on overflow and underflow.
21552         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
21553         (__nextafterl): Set errno on overflow and underflow.
21554         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
21555         (__nexttoward): Set errno on overflow and underflow.
21556         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
21557         (__nexttowardf): Set errno on overflow and underflow.
21558         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
21559         (__nexttoward): Set errno on overflow and underflow.
21560         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
21561         (__nexttowardf): Set errno on overflow and underflow.
21562         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
21563         (__nldbl_nexttowardf): Set errno on overflow and underflow.
21564         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
21565         (__nextafterl): Set errno on overflow and underflow.
21566         * math/libm-test.inc (nextafter_test_data): Do not allow errno
21567         setting to be missing on overflow.  Add more tests.
21568         (nexttoward_test_data): Likewise.
21570         * configure.ac (libc_cv_initfini_array): Remove configure test.
21571         * configure: Regenerated.
21573 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
21575         [BZ #19189]
21576         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
21577         non-finite argument handle arguments with negative sign.
21579         * math/libm-test.inc (j0_test_data): Do not test sign of zero
21580         result from infinite argument.
21581         (j1_test_data): Likewise.
21582         (jn_test_data): Likewise.
21583         (y0_test_data): Likewise.
21584         (y1_test_data): Likewise.
21585         (yn_test_data): Likewise.
21587         [BZ #16171]
21588         * math/w_remainder.c (drem): Define as weak alias of __remainder.
21589         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
21590         * math/w_remainderf.c (dremf): Define as weak alias of
21591         __remainderf.
21592         * math/w_remainderl.c (dreml): Define as weak alias of
21593         __remainderl.
21594         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
21595         __remainder.
21596         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
21597         __remainderf.
21598         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
21599         __remainderl.
21600         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
21601         weak alias of remainderl.
21602         * sysdeps/ieee754/ldbl-opt/w_remainder.c
21603         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21604         alias of __remainder.
21605         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21606         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21607         strong alias of __remainderl.
21608         (dreml): Use long_double_symbol.
21609         * math/Makefile (libm-calls): Remove w_drem.
21610         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21611         (CFLAGS-nldbl-drem.c): Remove variable.
21612         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21613         * math/w_drem.c: Remove file.
21614         * math/w_dremf.c: Likewise.
21615         * math/w_dreml.c: Likewise.
21616         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21617         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21618         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21620         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21621         * sysdeps/i386/configure: Regenerated.
21622         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21623         * sysdeps/x86_64/configure: Regenerated.
21625         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21626         test.
21627         (libc_cv_visibility_attribute): Likewise.
21628         (libc_cv_protected_data): Test unconditionally.
21629         (libc_cv_broken_visibility_attribute): Remove configure test.
21630         (libc_cv_have_sdata_section): Test unconditionally.
21631         * configure: Regenerated.
21633         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21634         * include/scratch_buffer.h: Include <stddef.h> instead of
21635         <libc-internal.h>.
21636         (struct scratch_buffer): Use max_align_t instead of
21637         libc_max_align_t.
21639 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21641         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21642         instead of extend_alloca.  Change control flow to avoid a goto.
21643         Remove assert which is trivially always true.
21645 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21647         [BZ #16068]
21648         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21649         (FE_ALL_EXCEPT_X86): New macro.
21650         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21651         FE_ALL_EXCEPT.  Ensure precision control is included in
21652         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21653         handle "denormal operand exception" and clear FZ and DAZ bits.
21654         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21655         (FE_ALL_EXCEPT_X86): New macro.
21656         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21657         FE_ALL_EXCEPT.  Ensure precision control is included in
21658         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21659         handle "denormal operand exception" and clear FZ and DAZ bits.
21660         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21661         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21662         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21663         test-fenv-x87 and test-fenv-sse-2.
21664         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21666         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21667         * math/test-double.h (BUILD_COMPLEX): New macro.
21668         * math/test-float.h (BUILD_COMPLEX): Likewise.
21669         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21671         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21672         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21673         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21675         instead of DBL_DENORM_MIN in comment.
21676         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21677         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21678         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21679         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21681         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21683 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21685         [BZ #19048]
21686         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21687         attached_threads member.
21688         (main_arena): Initialize attached_threads.
21689         * malloc/arena.c (list_lock): Update comment.
21690         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21691         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21692         (deattach_arena): New function.
21693         (_int_new_arena): Initialize arena reference count and deattach
21694         replaced arena.
21695         (get_free_list, reused_arena): Update reference count and deattach
21696         replaced arena.
21697         (arena_thread_freeres): Update arena reference count and only put
21698         unreferenced arenas on the free list.
21700 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21702         [BZ #19181]
21703         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21704         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21705         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21706         * math/test-fenv-clear-main.c: New file.
21707         * math/test-fenv-clear.c: Likewise.
21708         * math/Makefile (tests): Add test-fenv-clear.
21709         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21710         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21711         test-fenv-clear-sse.
21712         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21714         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21715         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21716         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21718 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21720         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21721         static libc.
21723 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21725         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21726         test.
21727         * sysdeps/i386/configure: Regenerated.
21728         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21729         test.
21730         * sysdeps/x86_64/configure: Regenerated.
21731         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21733         memset-avx2 unconditionally instead of conditionally on
21734         [$(config-cflags-avx2) = yes].
21735         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21736         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21737         unconditional.
21738         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21739         * sysdeps/x86_64/multiarch/memset_chk.S
21740         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21741         to [IS_IN (libc) && SHARED].
21743 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21745         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21746         configure test.
21747         * sysdeps/arm/configure: Regenerated.
21748         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21749         Define variable if not already defined.
21751         [BZ #17404]
21752         * sysdeps/mips/atomic-machine.h
21753         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21754         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21755         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21757         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21758         unconditional.
21759         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21760         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21761         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21762         unconditional.
21763         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21764         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21765         unconditional.
21766         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21767         * stdlib/setenv.c
21768         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21769         code unconditional.
21770         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21771         Remove conditional code.
21772         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21773         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21774         unconditional.
21775         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21776         code.
21777         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21778         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21779         unconditional.
21780         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21781         code.
21782         * sysdeps/ieee754/ldbl-128/k_tanl.c
21783         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21784         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21785         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21786         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21787         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21788         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21789         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21790         unconditional.
21791         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21792         code.
21793         * sysdeps/ieee754/ldbl-96/k_tanl.c
21794         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21795         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21797         * nptl/tst-initializers1-c11.c: New file.
21798         * nptl/tst-initializers1-gnu11.c: Likewise.
21799         * nptl/Makefile (tests): Add these new tests.
21800         (CFLAGS-tst-initializers1-c11.c): New variable.
21801         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21803         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21804         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21805         instead of -std=gnu99.
21806         * configure.ac (systemtap): Test with -std=gnu11 instead of
21807         -std=gnu99.
21808         * configure: Regenerated.
21809         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21810         in compilation command in comment.
21812         * sysdeps/nptl/configure.ac: Remove file.
21813         * sysdeps/nptl/configure: Remove generated file.
21814         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21815         * configure: Regenerated.
21816         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21817         * config.make.in (have-forced-unwind): Remove variable.
21818         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21819         unconditional.
21820         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21821         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21822         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21823         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21824         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21825         unconditional.
21827 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21829         [BZ #19174]
21830         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21831         .skip_lock_out_of_tbegin_retries.
21832         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21833         (__lll_lock_elision): Likewise, and respect a value of
21834         try_tbegin <= 0.
21836 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21838         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21839         statement.
21841 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21843         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21844         variable.
21845         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21846         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21848         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21849         of -std=c1x -D_ISOC11_SOURCE.
21851         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21852         * configure: Regenerated.
21853         * manual/install.texi (Tools for Compilation): Document
21854         requirement for GCC 4.7 or later.
21855         * INSTALL: Regenerated.
21857 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21859         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21860         on CNT to a conditional jump to 'puntdata'.
21862 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21864         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21865         (libc_cv_gcc_tls_model_attr): Likewise.
21866         * configure: Regenerated.
21868         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21869         * configure: Regenerated.
21870         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21872 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21874         * configure.ac (old_glibc_headers): Remove configure test.
21875         * configure: Regenerated.
21876         * config.make.in (old-glibc-headers): Remove variable.
21877         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21878         (install): Remove dependency on remove-old-headers.
21879         (headers2_0): Remove variable.
21880         (remove-old-headers): Remove rule.
21882         * configure.ac (libc_cv_dot_text): Remove configure test.
21883         (libc_cv_asm_set_directive): Use .text instead of
21884         ${libc_cv_dot_text} in configure test.
21885         * configure: Regenerated.
21887 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21889         [BZ #19168]
21890         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21892 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21894         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21895         not support static linking.
21896         * configure: Regenerate.
21898 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21900         * math/libm-test.inc (check_float_internal): Do not special-case
21901         errors up to 0.5 ulp.
21903         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21904         log2.
21905         * math/auto-libm-test-out: Regenerated.
21906         * math/libm-test.inc (MAX_EXP): New macro.
21907         (ilogb_test_data): Add more tests.
21908         (isfinite_test_data): Likewise.
21909         (isgreater_test_data): Likewise.
21910         (isgreaterequal_test_data): Likewise.
21911         (isinf_test_data): Likewise.
21912         (isless_test_data): Likewise.
21913         (islessequal_test_data): Likewise.
21914         (islessgreater_test_data): Likewise.
21915         (isnan_test_data): Likewise.
21916         (isnormal_test_data): Likewise.
21917         (issignaling_test_data): Likewise.
21918         (isunordered_test_data): Likewise.
21919         (j0_test_data): Likewise.
21920         (j1_test_data): Likewise.
21921         (jn_test_data): Likewise.
21922         (lgamma_test_data): Likewise.
21923         (log_test_data): Likewise.
21924         (log10_test_data): Likewise.
21925         (log1p_test_data): Likewise.
21926         (log2_test_data): Likewise.
21927         (logb_test_data): Likewise.
21928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21930         [BZ #18611]
21931         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21932         avoid excess range and precision on underflow.
21933         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21934         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21935         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21936         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21937         underflow.
21938         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21940         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21941         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21942         * math/auto-libm-test-in: Do not allow missing errno setting for
21943         tests of j1 and jn.
21944         * math/auto-libm-test-out: Regenerated.
21946 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21948         [BZ #15491]
21949         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21950         floating-point environment instead of clearing all exceptions.
21951         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21952         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21953         merging in "invalid" exceptions from frndint.
21954         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21955         * math/test-nearbyint-except.c: New file.
21956         * math/Makefile (tests): Add test-nearbyint-except.
21958 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21960         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21962         * sysdeps/tile/libm-test-ulps: Regenerated.
21964 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21967         (__NR_sync_file_range2): Assume it is always defined.
21968         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21969         (__NR_sync_file_range): Assume it is always defined.
21971 2015-10-22  Andreas Schwab  <schwab@suse.de>
21973         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21974         INTERNAL_SYSCALL_ERRNO.
21975         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21976         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21977         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21978         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21979         Likewise.
21980         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21982 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21984         * io/tst-fcntl.c (fd): New static variable.
21985         (do_prepare): Open temporary file here....
21986         (do_test): ...not here.
21988         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21990 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21992         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21993         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21994         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21995         Moved before "#ifdef __ASSEMBLER__".
21997 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21999         [BZ #19156]
22000         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
22001         arguments very close to 0.
22003 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
22005         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
22006         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
22008 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22010         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22011         New.  Defined for GCC 5 and above when not compiling for
22012         profiling.
22013         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22015         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22016         Renamed to ...
22017         (CFLAGS-epoll_pwait.o): This.
22018         (CFLAGS-mmap.c): Renamed to ...
22019         (CFLAGS-mmap.o): This.
22020         (CFLAGS-mmap64.c): Renamed to ...
22021         (CFLAGS-mmap64.o): This.
22022         (CFLAGS-epoll_pwait.os): New.
22023         (CFLAGS-mmap.os): Likewise.
22024         (CFLAGS-mmap64.os): Likewise.
22025         (CFLAGS-semtimedop.os): Likewise.
22026         (CFLAGS-semtimedop.c): Renamed to ...
22027         (CFLAGS-semtimedop.o): This.
22029 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22031         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
22032         warning message.
22034 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22036         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
22037         * Makefile ($(objpfx)c++-types-check.out): Filter out
22038         $(+gccwarn-c) instead of -Wstrict-prototypes.
22040         * io/fts.c (fts_open): Convert to prototype-style function
22041         definition.
22042         * malloc/mcheck.c (mcheck): Likewise.
22043         (mcheck_pedantic): Likewise.
22044         * posix/regexec.c (re_search_2_stub): Likewise.  Use
22045         internal_function.
22046         (re_search_internal): Likewise.
22047         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
22048         prototype-style function definition.
22049         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22050         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
22051         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
22052         (xdr_utmpptr): Likewise.
22053         (xdr_utmparr): Likewise.
22054         (xdr_utmpidle): Likewise.
22055         (xdr_utmpidleptr): Likewise.
22056         (xdr_utmpidlearr): Likewise.
22058         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
22059         log, log10 and log2.
22060         * math/auto-libm-test-out: Regenerated.
22061         * math/libm-test.inc (fmod_test_data): Add more tests.
22062         (fpclassify_test_data): Likewise.
22063         (frexp_test_data): Likewise.
22064         (hypot_test_data): Likewise.
22065         (ilogb_test_data): Likewise.
22067 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
22069         * debug/fortify_fail.c (__fortify_fail): Convert to
22070         prototype-style function definition.  Use internal_function.
22071         * libio/genops.c (save_for_backup): Convert to prototype-style
22072         function definition.
22073         * libio/wgenops.c (save_for_wbackup): Likewise.
22074         * login/grantpt.c (grantpt): Likewise.
22075         * login/ptsname.c (ptsname): Likewise.
22076         (__ptsname_r): Likewise.
22077         * login/unlockpt.c (unlockpt): Likewise.
22078         * mach/msgserver.c (__mach_msg_server): Likewise.
22079         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
22080         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
22081         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
22082         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
22083         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
22084         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
22085         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
22086         Likewise.
22087         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
22088         internal_function.
22089         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
22090         prototype-style function definition.
22091         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
22092         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
22093         (__pthread_create_2_0): Likewise.
22094         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
22095         * nptl/register-atfork.c (__register_atfork): Likewise.
22096         * posix/glob.c (glob): Likewise.
22097         * posix/regcomp.c (re_comp): Likewise.
22098         * posix/regexec.c (re_exec): Likewise.
22099         * stdlib/add_n.c [__STDC__]: Make code unconditional.
22100         [!__STDC__]: Remove conditional code.
22101         * stdlib/cmp.c [__STDC__]: Make code unconditional.
22102         [!__STDC__]: Remove conditional code.
22103         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
22104         [!__STDC__]: Remove conditional code.
22105         * stdlib/divrem.c [__STDC__]: Make code unconditional.
22106         [!__STDC__]: Remove conditional code.
22107         * stdlib/lshift.c [__STDC__]: Make code unconditional.
22108         [!__STDC__]: Remove conditional code.
22109         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
22110         [!__STDC__]: Remove conditional code.
22111         * stdlib/mul.c [__STDC__]: Make code unconditional.
22112         [!__STDC__]: Remove conditional code.
22113         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
22114         [!__STDC__]: Remove conditional code.
22115         * stdlib/rshift.c [__STDC__]: Make code unconditional.
22116         [!__STDC__]: Remove conditional code.
22117         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
22118         function definition.
22119         (STRTOF): Likewise.
22120         * stdlib/strtod_l.c (__STRTOF): Likewise.
22121         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
22122         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
22123         (__strtol_l): Likewise.
22124         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
22125         [!__STDC__]: Remove conditional code.
22126         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
22127         definition.
22128         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22129         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22130         type.
22131         (__strcasecmp): Convert to prototype-style function definition.
22132         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
22133         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22134         type.
22135         (__strncasecmp): Convert to prototype-style function definition.
22136         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
22137         * sunrpc/xdr.c (xdr_union): Likewise.
22138         * sunrpc/xdr_array.c (xdr_array): Likewise.
22139         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
22140         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
22141         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
22142         Likewise.
22143         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
22144         Likewise.
22145         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
22146         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22147         Likewise.
22148         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
22149         (LOCALE_PARAM_PROTO): Likewise.
22150         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
22151         argument type.
22152         (ut_argument_spec): Remove macro.
22153         (ut_argument_spec_iso): Rename to ut_argument_spec.
22154         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
22155         prototype-style function definition.
22156         (memcpy_uppcase): Likewise.
22157         (__strftime_internal): Likewise.
22158         (my_strftime): Likewise.
22159         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
22160         (LOCALE_PARAM_DECL): Likewise.
22161         [_LIBC] (LOCALE_PARAM): Include argument type.
22162         (__strptime_internal): Convert to prototype-style function
22163         definition.
22164         (strptime): Likewise.
22165         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22166         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22167         type.
22168         (__wcscasecmp): Convert to prototype-style function definition.
22169         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
22170         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22171         type.
22172         (__wcsncasecmp): Convert to prototype-style function definition.
22174         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
22175         function definition.
22176         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22177         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22178         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
22179         * elf/dl-minimal.c (_itoa): Likewise.
22180         * hurd/hurdmalloc.c (malloc): Likewise.
22181         (free): Likewise.
22182         (realloc): Likewise.
22183         * inet/inet6_option.c (inet6_option_space): Likewise.
22184         (inet6_option_init): Likewise.
22185         (inet6_option_append): Likewise.
22186         (inet6_option_alloc): Likewise.
22187         (inet6_option_next): Likewise.
22188         (inet6_option_find): Likewise.
22189         * io/ftw.c (FTW_NAME): Likewise.
22190         (NFTW_NAME): Likewise.
22191         (NFTW_NEW_NAME): Likewise.
22192         (NFTW_OLD_NAME): Likewise.
22193         * libio/iofwide.c (_IO_fwide): Likewise.
22194         * libio/strops.c (_IO_str_init_static_internal): Likewise.
22195         (_IO_str_init_static): Likewise.
22196         (_IO_str_init_readonly): Likewise.
22197         (_IO_str_overflow): Likewise.
22198         (_IO_str_underflow): Likewise.
22199         (_IO_str_count): Likewise.
22200         (_IO_str_seekoff): Likewise.
22201         (_IO_str_pbackfail): Likewise.
22202         (_IO_str_finish): Likewise.
22203         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
22204         (_IO_wstr_overflow): Likewise.
22205         (_IO_wstr_underflow): Likewise.
22206         (_IO_wstr_count): Likewise.
22207         (_IO_wstr_seekoff): Likewise.
22208         (_IO_wstr_pbackfail): Likewise.
22209         (_IO_wstr_finish): Likewise.
22210         * locale/programs/localedef.c (normalize_codeset): Likewise.
22211         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22212         (add_locales_to_archive): Likewise.
22213         (delete_locales_from_archive): Likewise.
22214         * malloc/malloc.c (__libc_mallinfo): Likewise.
22215         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
22216         * misc/tsearch.c (__tfind): Likewise.
22217         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
22218         * nptl/pthread_attr_getdetachstate.c
22219         (__pthread_attr_getdetachstate): Likewise.
22220         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22221         Likewise.
22222         * nptl/pthread_attr_getinheritsched.c
22223         (__pthread_attr_getinheritsched): Likewise.
22224         * nptl/pthread_attr_getschedparam.c
22225         (__pthread_attr_getschedparam): Likewise.
22226         * nptl/pthread_attr_getschedpolicy.c
22227         (__pthread_attr_getschedpolicy): Likewise.
22228         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
22229         Likewise.
22230         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
22231         Likewise.
22232         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22233         Likewise.
22234         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22235         Likewise.
22236         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
22237         (__pthread_attr_init_2_0): Likewise.
22238         * nptl/pthread_attr_setdetachstate.c
22239         (__pthread_attr_setdetachstate): Likewise.
22240         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22241         Likewise.
22242         * nptl/pthread_attr_setinheritsched.c
22243         (__pthread_attr_setinheritsched): Likewise.
22244         * nptl/pthread_attr_setschedparam.c
22245         (__pthread_attr_setschedparam): Likewise.
22246         * nptl/pthread_attr_setschedpolicy.c
22247         (__pthread_attr_setschedpolicy): Likewise.
22248         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
22249         Likewise.
22250         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
22251         Likewise.
22252         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22253         Likewise.
22254         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22255         Likewise.
22256         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
22257         Likewise.
22258         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
22259         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22260         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
22261         use internal_function.
22262         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
22263         prototype-style function definition.
22264         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22265         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
22266         internal_function.
22267         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
22268         Convert to prototype-style function definition.
22269         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22270         Likewise.
22271         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
22272         Likewise.
22273         (__pthread_mutex_unlock): Likewise.
22274         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
22275         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
22276         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
22277         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
22278         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
22279         * nss/makedb.c (process_input): Likewise.
22280         * posix/fnmatch.c (__strchrnul): Likewise.
22281         (__wcschrnul): Likewise.
22282         (fnmatch): Likewise.
22283         * posix/fnmatch_loop.c (FCT): Likewise.
22284         * posix/glob.c (globfree): Likewise.
22285         (__glob_pattern_type): Likewise.
22286         (__glob_pattern_p): Likewise.
22287         * posix/regcomp.c (re_compile_pattern): Likewise.
22288         (re_set_syntax): Likewise.
22289         (re_compile_fastmap): Likewise.
22290         (regcomp): Likewise.
22291         (regerror): Likewise.
22292         (regfree): Likewise.
22293         * posix/regexec.c (regexec): Likewise.
22294         (re_match): Likewise.
22295         (re_search): Likewise.
22296         (re_match_2): Likewise.
22297         (re_search_2): Likewise.
22298         (re_search_stub): Likewise.  Use internal_function
22299         (re_copy_regs): Likewise.
22300         (re_set_registers): Convert to prototype-style function
22301         definition.
22302         (prune_impossible_nodes): Likewise.  Use internal_function.
22303         * resolv/inet_net_pton.c (inet_net_pton): Convert to
22304         prototype-style function definition.
22305         (inet_net_pton_ipv4): Likewise.
22306         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22307         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
22308         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
22309         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
22310         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22311         Make variadic.
22312         * time/strptime_l.c (localtime_r): Convert to prototype-style
22313         function definition.
22314         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22315         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22316         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22317         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22319         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
22320         definition.
22321         (_ufc_doit_r): Likewise.
22322         * crypt/crypt_util.c (_ufc_copymem): Likewise.
22323         (_ufc_output_conversion_r): Likewise.
22324         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
22325         * inet/rcmd.c (rcmd_af): Likewise.
22326         (rcmd): Likewise.
22327         (ruserok_af): Likewise.
22328         (ruserok): Likewise.
22329         (ruserok2_sa): Likewise.
22330         (ruserok_sa): Likewise.
22331         (iruserok_af): Likewise.
22332         (iruserok): Likewise.
22333         (__ivaliduser): Likewise.
22334         (__validuser2_sa): Likewise.
22335         * inet/rexec.c (rexec_af): Likewise.
22336         (rexec): Likewise.
22337         * inet/ruserpass.c (ruserpass): Likewise.
22338         * locale/programs/xmalloc.c (xcalloc): Likewise.
22339         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
22340         * math/w_drem.c (__drem): Likewise.
22341         * math/w_dremf.c (__dremf): Likewise.
22342         * math/w_dreml.c (__dreml): Likewise.
22343         * misc/daemon.c (daemon): Likewise.
22344         * resolv/res_debug.c (p_fqnname): Likewise.
22345         * stdlib/div.c (div): Likewise.
22346         * string/memcmp.c (memcmp_bytes): Likewise.
22347         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
22348         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
22350         * crypt/cert.c (main): Convert to prototype-style function
22351         definition.
22352         * io/pipe.c (__pipe): Likewise.
22353         * io/pipe2.c (__pipe2): Likewise.
22354         * misc/futimesat.c (futimesat): Likewise.
22355         * misc/utimes.c (__utimes): Likewise.
22356         * posix/execve.c (__execve): Likewise.
22357         * posix/execvp.c (execvp): Likewise.
22358         * posix/execvpe.c (__execvpe): Likewise.
22359         * posix/fexecve.c (fexecve): Likewise.
22360         * socket/socketpair.c (socketpair): Likewise.
22361         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22362         * stdlib/erand48.c (erand48): Likewise.
22363         * stdlib/erand48_r.c (__erand48_r): Likewise.
22364         * stdlib/jrand48.c (jrand48): Likewise.
22365         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
22366         * stdlib/lcong48.c (lcong48): Likewise.
22367         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
22368         * stdlib/nrand48.c (nrand48): Likewise.
22369         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
22370         * stdlib/seed48.c (seed48): Likewise.
22371         * stdlib/seed48_r.c (__seed48_r): Likewise.
22372         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
22373         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
22374         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
22376 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22378         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
22379         * configure: Regenerated.
22380         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
22381         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
22382         unconditional.
22383         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22384         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22385         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22386         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
22387         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
22388         unconditional.
22389         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22391         * posix/Makefile (CFLAGS-regex.c): Remove variable.
22392         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
22394         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
22395         function definition.
22396         * crypt/crypt_util.c (__encrypt_r): Likewise.
22397         * libio/genops.c (_IO_no_init): Likewise.
22398         * libio/iofopncook.c (_IO_fopencookie): Likewise.
22399         (_IO_old_fopencookie): Likewise.
22400         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22401         * libio/iogetline.c (_IO_getline): Likewise.
22402         (_IO_getline_info): Likewise.
22403         * libio/iogetwline.c (_IO_getwline): Likewise.
22404         (_IO_getwline_info): Likewise.
22405         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
22406         * libio/vswprintf.c (_IO_vswprintf): Likewise.
22407         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
22408         (find_entry): Likewise.
22409         (iterate_table): Likewise.
22410         (lookup): Likewise.
22411         * login/forkpty.c (forkpty): Likewise.
22412         * misc/hsearch_r.c (__hsearch_r): Likewise.
22413         * misc/select.c (__select): Likewise.
22414         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
22415         Likewise.
22416         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
22417         Likewise.
22418         * nptl/old_pthread_cond_timedwait.c
22419         (__pthread_cond_timedwait_2_0): Likewise.
22420         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22421         * nptl/pthread_barrierattr_getpshared.c
22422         (pthread_barrierattr_getpshared): Likewise.
22423         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
22424         Likewise.
22425         * nptl/pthread_mutex_setprioceiling.c
22426         (pthread_mutex_setprioceiling): Likewise.
22427         * nptl/pthread_mutexattr_getprioceiling.c
22428         (pthread_mutexattr_getprioceiling): Likewise.
22429         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22430         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22431         Likewise.
22432         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22433         Likewise.
22434         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
22435         Likewise.
22436         * socket/recvfrom.c (__recvfrom): Likewise.
22437         * socket/sendto.c (__sendto): Likewise.
22438         * socket/setsockopt.c (__setsockopt): Likewise.
22439         * stdio-common/_itoa.c (_itoa): Likewise.
22440         * stdio-common/_itowa.c (_itowa): Likewise.
22441         * stdio-common/reg-printf.c (__register_printf_specifier):
22442         Likewise.
22443         (__register_printf_function): Likewise.
22444         * stdio-common/tempname.c (__path_search): Likewise.
22445         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
22446         * stdlib/mul_1.c (mpn_mul_1): Likewise.
22447         * stdlib/random_r.c (__initstate_r): Likewise.
22448         * stdlib/setenv.c (__add_to_environ): Likewise.
22449         * stdlib/submul_1.c (mpn_submul_1): Likewise.
22450         * streams/getpmsg.c (getpmsg): Likewise.
22451         * streams/putmsg.c (putmsg): Likewise.
22452         * streams/putpmsg.c (putpmsg): Likewise.
22453         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
22454         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
22455         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
22456         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
22457         * sunrpc/pm_getport.c (pmap_getport): Likewise.
22458         * sunrpc/svc_udp.c (cache_get): Likewise.
22459         * sunrpc/xdr_array.c (xdr_vector): Likewise.
22460         * sysdeps/mach/hurd/getcwd.c
22461         (__canonicalize_directory_name_internal): Likewise.
22462         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
22463         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
22464         * sysdeps/mach/hurd/select.c (__select): Likewise.
22465         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
22466         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
22467         * sysdeps/sparc/nptl/pthread_barrier_init.c
22468         (__pthread_barrier_init): Likewise.
22469         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
22470         (__pthread_cond_timedwait): Likewise.
22471         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
22472         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
22473         Likewise.
22474         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
22475         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
22476         Likewise.
22477         * sysvipc/semtimedop.c (semtimedop): Likewise.
22478         * time/setitimer.c (__setitimer): Likewise.
22479         * time/strftime_l.c (emacs_strftime): Likewise.
22481 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22483         * config.make.in (have-ssp): Delete.
22484         (stack-protector): New variable.
22485         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
22486         cache test for -fstack-protector-strong.  Export stack_protector to
22487         the best ssp flag.
22488         * configure: Regenerated.
22489         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
22490         * nscd/Makefile (CFLAGS-nscd): Likewise.
22491         * resolv/Makefile (CFLAGS-libresolv): Likewise.
22493 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
22495         [BZ #19122]
22496         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
22497         attribute_hidden.
22499 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22501         [BZ #18743]
22502         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
22503         code to...
22504         (ELIDE_LOCK): ...here.
22505         (__get_new_count): New function with part of the code from
22506         __elide_lock that updates the value of adapt_count after a
22507         transaction abort.
22508         (__elided_trylock): Moved this code to...
22509         (ELIDE_TRYLOCK): ...here.
22511 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22513         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
22514         * configure: Regenerate.
22515         * INSTALL: Regenerate.
22516         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
22517         and tweak grammar.
22519 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
22521         * login/programs/pt_chown.c: Include signal.h
22522         (main): Clear any signal mask from the parent process.
22524 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22526         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
22527         * configure: Regenerated.
22528         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
22529         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
22530         $(gnu89-inline-CFLAGS).
22532         * configure.ac (libc_cv_asm_weak_directive): Remove configure
22533         test.
22534         (libc_cv_asm_weakext_directive): Likewise.
22535         * configure: Regenerated.
22536         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
22537         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
22538         * include/libc-symbols.h
22539         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
22540         #error.
22541         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
22542         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
22544         * sysdeps/arm/backtrace.c (__backtrace): Convert to
22545         prototype-style function definition.
22546         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22547         * sysdeps/i386/ffs.c (__ffs): Likewise.
22548         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22549         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
22550         Likewise.
22551         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22552         Likewise.
22553         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
22554         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22555         Likewise.
22556         * sysdeps/m68k/ffs.c (__ffs): Likewise.
22557         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
22558         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
22559         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
22560         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
22561         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
22562         * sysdeps/mach/hurd/access.c (__access): Likewise.
22563         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
22564         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
22565         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
22566         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
22567         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
22568         (cthread_getspecific): Likewise.
22569         (cthread_setspecific): Likewise.
22570         (__libc_getspecific): Likewise.
22571         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
22572         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
22573         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
22574         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
22575         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
22576         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
22577         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
22578         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
22579         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
22580         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
22581         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
22582         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
22583         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
22584         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
22585         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
22586         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
22587         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
22588         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
22589         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
22590         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
22591         * sysdeps/mach/hurd/link.c (__link): Likewise.
22592         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
22593         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
22594         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
22595         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
22596         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22597         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
22598         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
22599         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
22600         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22601         * sysdeps/mach/hurd/rename.c (rename): Likewise.
22602         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
22603         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22604         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22605         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22606         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22607         * sysdeps/mach/hurd/send.c (__send): Likewise.
22608         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22609         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22610         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22611         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22612         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22613         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22614         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22615         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22616         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22617         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22618         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22619         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22620         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22621         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22622         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22623         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22624         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22625         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22626         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22627         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22628         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22629         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22630         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22631         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22632         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22633         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22634         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22635         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22636         * sysdeps/posix/alarm.c (alarm): Likewise.
22637         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22638         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22639         * sysdeps/posix/dup.c (__dup): Likewise.
22640         * sysdeps/posix/dup2.c (__dup2): Likewise.
22641         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22642         (main): Likewise.
22643         * sysdeps/posix/flock.c (__flock): Likewise.
22644         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22645         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22646         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22647         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22648         * sysdeps/posix/isatty.c (__isatty): Likewise.
22649         * sysdeps/posix/killpg.c (killpg): Likewise.
22650         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22651         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22652         * sysdeps/posix/raise.c (raise): Likewise.
22653         * sysdeps/posix/remove.c (remove): Likewise.
22654         * sysdeps/posix/rename.c (rename): Likewise.
22655         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22656         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22657         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22658         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22659         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22660         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22661         * sysdeps/posix/sigset.c (sigset): Likewise.
22662         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22663         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22664         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22665         * sysdeps/posix/time.c (time): Likewise.
22666         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22667         (ttyname): Likewise.
22668         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22669         * sysdeps/posix/utime.c (utime): Likewise.
22670         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22671         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22672         Likewise.
22673         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22674         (pthread_spin_trylock): Likewise.
22675         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22676         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22677         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22678         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22679         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22680         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22681         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22682         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22683         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22684         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22685         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22686         * sysdeps/s390/ffs.c (__ffs): Likewise.
22687         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22688         Likewise.
22689         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22690         Likewise.
22691         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22692         Likewise.
22693         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22694         (pthread_barrier_destroy): Likewise.
22695         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22696         (__pthread_barrier_wait): Likewise.
22697         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22698         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22699         (__pthread_barrier_wait): Likewise.
22700         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22701         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22702         (memcmp_not_common_alignment): Likewise.
22703         (MEMCMP): Likewise.
22704         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22705         (_wordcopy_fwd_dest_aligned): Likewise.
22706         (_wordcopy_bwd_aligned): Likewise.
22707         (_wordcopy_bwd_dest_aligned): Likewise.
22708         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22709         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22710         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22711         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22712         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22713         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22714         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22715         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22716         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22717         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22718         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22719         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22720         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22721         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22722         * sysdeps/unix/stime.c (stime): Likewise.
22723         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22724         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22725         Likewise.  Use internal_function.
22726         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22727         Convert to prototype-style function definition.
22728         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22729         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22730         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22731         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22732         Likewise.  Use internal_function.
22733         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22734         prototype-style function definition
22735         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22736         Likewise.
22737         (__getlogin_r): Likewise.
22738         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22739         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22740         (__pthread_cond_broadcast): Likewise.
22741         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22742         (__pthread_cond_destroy): Likewise.
22743         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22744         (__pthread_cond_init): Likewise.
22745         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22746         (__pthread_cond_signal): Likewise.
22747         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22748         (__pthread_cond_wait): Likewise.
22749         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22750         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22751         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22752         Likewise.
22753         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22754         Likewise.
22755         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22756         Likewise.
22757         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22758         Likewise.
22759         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22761         (__ftruncate64): Likewise.
22762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22763         (truncate64): Likewise.
22764         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22765         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22766         (pthread_getcpuclockid): Likewise.
22767         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22768         Likewise.
22769         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22770         Likewise.
22771         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22772         Likewise.
22773         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22774         Likewise.
22775         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22776         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22777         (__libc_sigaction): Likewise.
22778         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22779         Likewise.
22780         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22781         (__sigprocmask): Likewise.
22782         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22783         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22784         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22785         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22786         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22787         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22788         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22789         Likewise.
22790         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22791         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22792         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22793         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22794         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22795         Likewise.
22796         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22797         (__sigprocmask): Likewise.
22798         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22799         (cfgetispeed): Likewise.
22800         (cfsetospeed): Likewise.
22801         (cfsetispeed): Likewise.
22802         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22803         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22804         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22805         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22806         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22807         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22808         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22809         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22810         Likewise.
22811         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22812         Likewise.
22813         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22814         Likewise.
22815         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22816         Likewise.
22817         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22819 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22821         sunrpc: Rewrite with explicit TLS access using __thread.
22822         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22823         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22824         directly.
22825         (__rpc_thread_variables): Access thread_rpc_vars directly.
22826         Eliminate redundant assignment of the tvp variable.
22828 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22830         malloc: Rewrite with explicit TLS access using __thread.
22831         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22832         (tsd_setspecific, tsd_getspecific): Remove.
22833         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22834         (tsd_setspecific, tsd_getspecific): Likewise.
22835         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22836         (tsd_setspecific, tsd_getspecific): Likewise.
22837         * malloc/arena.c (thread_arena): New TLS variable.
22838         (arena_key): Remove variable.
22839         (arena_get): Use thread_arena.
22840         (arena_lookup): Remove macro.
22841         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22842         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22843         (_int_new_arena, get_free_list, reused_arena)
22844         (arena_thread_freeres): Use thread_arena.
22845         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22846         tsd_getspecific, tsd_setspecific from safety annotations.
22847         (Allocating Cleared Space): Remove arena_lookup from safety
22848         annotations.
22850 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22852         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22853         struct scratch_buffer instead of extend_alloca.
22855 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22857         * sysdeps/unix/sysv/linux/kernel-features.h
22858         (__ASSUME_SOCK_CLOEXEC): Remove.
22859         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22860         (__have_paccept): Remove unused macro.
22861         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22862         * misc/syslog.c (openlog_internal): Remove fallback code for
22863         !__ASSUME_SOCK_CLOEXEC.
22864         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22865         missing SOCK_CLOEXEC.
22866         * nscd/connections.c (have_sock_cloexec): Remove definition.
22867         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22868         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22869         !__ASSUME_SOCK_CLOEXEC.
22870         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22871         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22872         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22873         definition.
22874         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22875         code for !__ASSUME_SOCK_CLOEXEC.
22877 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22879         [BZ #18982]
22880         * manual/stdio.texi (Variable Arguments Output): Add portability
22881         note, explaining that vfprintf clobbers the va_list pointer.
22883 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22885         * math/libm-test.inc (fabs_test_data): Add more tests.
22886         (fdim_test_data): Likewise.
22887         (fma_test_data): Likewise.
22888         (fmax_test_data): Likewise.
22889         (fmin_test_data): Likewise.
22890         (fmod_test_data): Likewise.
22892 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22894         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22895         data.
22897 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22899         * math/libm-test.inc (ceil_test_data): Add more tests and more
22900         expectations for "inexact".
22901         (floor_test_data): Add more tests.
22902         (round_test_data): Likewise.
22903         (trunc_test_data): Likewise.
22905         * crypt/cert.c (good_bye): Convert to prototype-style function
22906         definition.
22907         (get8): Likewise.
22908         (put8): Likewise.
22909         * crypt/crypt-entry.c (crypt): Likewise.
22910         (__fcrypt): Likewise.
22911         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22912         (_ufc_set_bits): Likewise.
22913         (_ufc_clearmem): Likewise.
22914         (__init_des_r): Likewise.
22915         (shuffle_sb): Likewise.
22916         (shuffle_sb): Likewise.
22917         (_ufc_setup_salt_r): Likewise.
22918         (_ufc_mk_keytab_r): Likewise.
22919         (_ufc_dofinalperm_r): Likewise.
22920         (encrypt): Likewise.
22921         (__setkey_r): Likewise.
22922         (setkey): Likewise.
22923         * crypt/md5.c (md5_init_ctx): Likewise.
22924         (md5_read_ctx): Likewise.
22925         (md5_finish_ctx): Likewise.
22926         (md5_stream): Likewise.
22927         (md5_buffer): Likewise.
22928         (md5_process_bytes): Likewise.
22929         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22930         (__sha256_finish_ctx): Likewise.
22931         (__sha256_process_bytes): Likewise.
22932         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22933         (__sha512_finish_ctx): Likewise.
22934         (__sha512_process_bytes): Likewise.
22935         * ctype/isctype.c (__isctype): Likewise.
22936         * debug/backtrace.c (__backtrace): Likewise.
22937         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22938         * debug/fgets_chk.c (__fgets_chk): Likewise.
22939         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22940         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22941         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22942         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22943         * debug/memset_chk.c (__memset_chk): Likewise.
22944         * debug/strcat_chk.c (__strcat_chk): Likewise.
22945         * debug/strncat_chk.c (__strncat_chk): Likewise.
22946         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22947         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22948         * dirent/dirfd.c (dirfd): Likewise.
22949         * dirent/getdents.c (__getdirentries): Likewise.
22950         * dirent/getdents64.c (getdirentries64): Likewise.
22951         * dirent/rewinddir.c (__rewinddir): Likewise.
22952         * dirent/seekdir.c (seekdir): Likewise.
22953         * dirent/telldir.c (telldir): Likewise.
22954         * elf/sln.c (makesymlinks): Likewise.
22955         (makesymlink): Likewise.
22956         * gmon/gmon.c (__moncontrol): Likewise.
22957         (__monstartup): Likewise.
22958         (write_hist): Likewise.
22959         (write_call_graph): Likewise.
22960         (write_bb_counts): Likewise.
22961         * grp/setgroups.c (setgroups): Likewise.
22962         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22963         * inet/inet_net.c (inet_network): Likewise.
22964         * inet/inet_netof.c (inet_netof): Likewise.
22965         * inet/rcmd.c (rresvport_af): Likewise.
22966         (rresvport): Likewise.
22967         * io/access.c (__access): Likewise.
22968         * io/chdir.c (__chdir): Likewise.
22969         * io/chmod.c (__chmod): Likewise.
22970         * io/chown.c (__chown): Likewise.
22971         * io/close.c (__close): Likewise.
22972         * io/creat.c (creat): Likewise.
22973         * io/creat64.c (creat64): Likewise.
22974         * io/dup.c (__dup): Likewise.
22975         * io/dup2.c (__dup2): Likewise.
22976         * io/dup3.c (__dup3): Likewise.
22977         * io/euidaccess.c (__euidaccess): Likewise.
22978         * io/faccessat.c (faccessat): Likewise.
22979         * io/fchmod.c (__fchmod): Likewise.
22980         * io/fchmodat.c (fchmodat): Likewise.
22981         * io/fchown.c (__fchown): Likewise.
22982         * io/fchownat.c (fchownat): Likewise.
22983         * io/fcntl.c (__fcntl): Likewise.
22984         * io/flock.c (__flock): Likewise.
22985         * io/fts.c (fts_load): Likewise.
22986         (fts_close): Likewise.
22987         (fts_read): Likewise.
22988         (fts_set): Likewise.
22989         (fts_children): Likewise.
22990         (fts_build): Likewise.
22991         (fts_stat): Likewise.
22992         (fts_sort): Likewise.
22993         (fts_alloc): Likewise.
22994         (fts_lfree): Likewise.
22995         (fts_palloc): Likewise.
22996         (fts_padjust): Likewise.
22997         (fts_maxarglen): Likewise.
22998         (fts_safe_changedir): Likewise.
22999         * io/getwd.c (getwd): Likewise.
23000         * io/isatty.c (__isatty): Likewise.
23001         * io/lchown.c (__lchown): Likewise.
23002         * io/link.c (__link): Likewise.
23003         * io/linkat.c (linkat): Likewise.
23004         * io/lseek.c (__libc_lseek): Likewise.
23005         * io/mkdir.c (__mkdir): Likewise.
23006         * io/mkdirat.c (mkdirat): Likewise.
23007         * io/mkfifo.c (mkfifo): Likewise.
23008         * io/mkfifoat.c (mkfifoat): Likewise.
23009         * io/open.c (__libc_open): Likewise.
23010         * io/open64.c (__libc_open64): Likewise.
23011         * io/readlink.c (__readlink): Likewise.
23012         * io/readlinkat.c (readlinkat): Likewise.
23013         * io/rmdir.c (__rmdir): Likewise.
23014         * io/symlink.c (__symlink): Likewise.
23015         * io/symlinkat.c (symlinkat): Likewise.
23016         * io/ttyname.c (ttyname): Likewise.
23017         * io/ttyname_r.c (__ttyname_r): Likewise.
23018         * io/umask.c (__umask): Likewise.
23019         * io/unlink.c (__unlink): Likewise.
23020         * io/unlinkat.c (unlinkat): Likewise.
23021         * io/utime.c (utime): Likewise.
23022         * libio/clearerr.c (clearerr): Likewise.
23023         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
23024         * libio/feof.c (_IO_feof): Likewise.
23025         * libio/feof_u.c (feof_unlocked): Likewise.
23026         * libio/ferror.c (_IO_ferror): Likewise.
23027         * libio/ferror_u.c (ferror_unlocked): Likewise.
23028         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23029         * libio/fileno.c (__fileno): Likewise.
23030         * libio/fputc.c (fputc): Likewise.
23031         * libio/fputc_u.c (fputc_unlocked): Likewise.
23032         * libio/fputwc.c (fputwc): Likewise.
23033         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
23034         * libio/freopen.c (freopen): Likewise.
23035         * libio/freopen64.c (freopen64): Likewise.
23036         * libio/fseek.c (fseek): Likewise.
23037         * libio/fseeko.c (fseeko): Likewise.
23038         * libio/fseeko64.c (fseeko64): Likewise.
23039         * libio/ftello.c (__ftello): Likewise.
23040         * libio/ftello64.c (ftello64): Likewise.
23041         * libio/fwide.c (fwide): Likewise.
23042         * libio/genops.c (_IO_un_link): Likewise.
23043         (_IO_link_in): Likewise.
23044         (_IO_least_marker): Likewise.
23045         (_IO_switch_to_main_get_area): Likewise.
23046         (_IO_switch_to_backup_area): Likewise.
23047         (_IO_switch_to_get_mode): Likewise.
23048         (_IO_free_backup_area): Likewise.
23049         (_IO_switch_to_put_mode): Likewise.
23050         (__overflow): Likewise.
23051         (__underflow): Likewise.
23052         (__uflow): Likewise.
23053         (_IO_setb): Likewise.
23054         (_IO_doallocbuf): Likewise.
23055         (_IO_default_underflow): Likewise.
23056         (_IO_default_uflow): Likewise.
23057         (_IO_default_xsputn): Likewise.
23058         (_IO_sgetn): Likewise.
23059         (_IO_default_xsgetn): Likewise.
23060         (_IO_sync): Likewise.
23061         (_IO_default_setbuf): Likewise.
23062         (_IO_default_seekpos): Likewise.
23063         (_IO_default_doallocate): Likewise.
23064         (_IO_init): Likewise.
23065         (_IO_old_init): Likewise.
23066         (_IO_default_sync): Likewise.
23067         (_IO_default_finish): Likewise.
23068         (_IO_default_seekoff): Likewise.
23069         (_IO_sputbackc): Likewise.
23070         (_IO_sungetc): Likewise.
23071         (_IO_set_column): Likewise.
23072         (_IO_set_column): Likewise.
23073         (_IO_adjust_column): Likewise.
23074         (_IO_get_column): Likewise.
23075         (_IO_init_marker): Likewise.
23076         (_IO_remove_marker): Likewise.
23077         (_IO_marker_difference): Likewise.
23078         (_IO_marker_delta): Likewise.
23079         (_IO_seekmark): Likewise.
23080         (_IO_unsave_markers): Likewise.
23081         (_IO_nobackup_pbackfail): Likewise.
23082         (_IO_default_pbackfail): Likewise.
23083         (_IO_default_seek): Likewise.
23084         (_IO_default_stat): Likewise.
23085         (_IO_default_read): Likewise.
23086         (_IO_default_write): Likewise.
23087         (_IO_default_showmanyc): Likewise.
23088         (_IO_default_imbue): Likewise.
23089         (_IO_iter_next): Likewise.
23090         (_IO_iter_file): Likewise.
23091         * libio/getc.c (_IO_getc): Likewise.
23092         * libio/getwc.c (_IO_getwc): Likewise.
23093         * libio/iofclose.c (_IO_new_fclose): Likewise.
23094         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23095         * libio/iofflush.c (_IO_fflush): Likewise.
23096         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
23097         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
23098         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
23099         * libio/iofgets.c (_IO_fgets): Likewise.
23100         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
23101         * libio/iofgetws.c (fgetws): Likewise.
23102         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23103         * libio/iofopen64.c (_IO_fopen64): Likewise.
23104         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23105         (_IO_cookie_write): Likewise.
23106         (_IO_cookie_seek): Likewise.
23107         (_IO_cookie_close): Likewise.
23108         (_IO_cookie_seekoff): Likewise.
23109         (_IO_old_cookie_seek): Likewise.
23110         * libio/iofputs.c (_IO_fputs): Likewise.
23111         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
23112         * libio/iofputws.c (fputws): Likewise.
23113         * libio/iofputws_u.c (fputws_unlocked): Likewise.
23114         * libio/iofread.c (_IO_fread): Likewise.
23115         * libio/iofread_u.c (__fread_unlocked): Likewise.
23116         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
23117         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
23118         * libio/ioftell.c (_IO_ftell): Likewise.
23119         * libio/iofwrite.c (_IO_fwrite): Likewise.
23120         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23121         * libio/iogets.c (_IO_gets): Likewise.
23122         * libio/iopadn.c (_IO_padn): Likewise.
23123         * libio/iopopen.c (_IO_new_proc_open): Likewise.
23124         (_IO_new_popen): Likewise.
23125         (_IO_new_proc_close): Likewise.
23126         * libio/ioputs.c (_IO_puts): Likewise.
23127         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
23128         (_IO_seekoff): Likewise.
23129         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
23130         (_IO_seekpos): Likewise.
23131         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
23132         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
23133         * libio/ioungetc.c (_IO_ungetc): Likewise.
23134         * libio/ioungetwc.c (ungetwc): Likewise.
23135         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23136         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
23137         * libio/iowpadn.c (_IO_wpadn): Likewise.
23138         * libio/libc_fatal.c (__libc_fatal): Likewise.
23139         * libio/memstream.c (__open_memstream): Likewise.
23140         (_IO_mem_sync): Likewise.
23141         (_IO_mem_finish): Likewise.
23142         * libio/oldfileops.c (_IO_old_file_init): Likewise.
23143         (_IO_old_file_close_it): Likewise.
23144         (_IO_old_file_finish): Likewise.
23145         (_IO_old_file_fopen): Likewise.
23146         (_IO_old_file_attach): Likewise.
23147         (_IO_old_file_setbuf): Likewise.
23148         (_IO_old_do_write): Likewise.
23149         (old_do_write): Likewise.
23150         (_IO_old_file_underflow): Likewise.
23151         (_IO_old_file_overflow): Likewise.
23152         (_IO_old_file_sync): Likewise.
23153         (_IO_old_file_seekoff): Likewise.
23154         (_IO_old_file_write): Likewise.
23155         (_IO_old_file_xsputn): Likewise.
23156         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
23157         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23158         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
23159         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
23160         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23161         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
23162         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
23163         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
23164         (_IO_old_popen): Likewise.
23165         (_IO_old_proc_close): Likewise.
23166         * libio/oldpclose.c (__old_pclose): Likewise.
23167         * libio/pclose.c (__new_pclose): Likewise.
23168         * libio/peekc.c (_IO_peekc_locked): Likewise.
23169         * libio/putc.c (_IO_putc): Likewise.
23170         * libio/putc_u.c (putc_unlocked): Likewise.
23171         * libio/putchar.c (putchar): Likewise.
23172         * libio/putchar_u.c (putchar_unlocked): Likewise.
23173         * libio/putwc.c (putwc): Likewise.
23174         * libio/putwc_u.c (putwc_unlocked): Likewise.
23175         * libio/putwchar.c (putwchar): Likewise.
23176         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
23177         * libio/rewind.c (rewind): Likewise.
23178         * libio/setbuf.c (setbuf): Likewise.
23179         * libio/setlinebuf.c (setlinebuf): Likewise.
23180         * libio/vasprintf.c (_IO_vasprintf): Likewise.
23181         * libio/vscanf.c (_IO_vscanf): Likewise.
23182         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
23183         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
23184         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23185         * libio/wgenops.c (_IO_least_wmarker): Likewise.
23186         (_IO_switch_to_main_wget_area): Likewise.
23187         (_IO_switch_to_wbackup_area): Likewise.
23188         (_IO_wsetb): Likewise.
23189         (_IO_wdefault_pbackfail): Likewise.
23190         (_IO_wdefault_finish): Likewise.
23191         (_IO_wdefault_uflow): Likewise.
23192         (__woverflow): Likewise.
23193         (__wuflow): Likewise.
23194         (__wunderflow): Likewise.
23195         (_IO_wdefault_xsputn): Likewise.
23196         (_IO_wdefault_xsgetn): Likewise.
23197         (_IO_wdoallocbuf): Likewise.
23198         (_IO_wdefault_doallocate): Likewise.
23199         (_IO_switch_to_wget_mode): Likewise.
23200         (_IO_free_wbackup_area): Likewise.
23201         (_IO_switch_to_wput_mode): Likewise.
23202         (_IO_sputbackwc): Likewise.
23203         (_IO_sungetwc): Likewise.
23204         (_IO_adjust_wcolumn): Likewise.
23205         (_IO_init_wmarker): Likewise.
23206         (_IO_wmarker_delta): Likewise.
23207         (_IO_seekwmark): Likewise.
23208         (_IO_unsave_wmarkers): Likewise.
23209         * libio/wmemstream.c (open_wmemstream): Likewise.
23210         (_IO_wmem_sync): Likewise.
23211         (_IO_wmem_finish): Likewise.
23212         * locale/nl_langinfo.c (nl_langinfo): Likewise.
23213         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
23214         * locale/programs/simple-hash.c (init_hash): Likewise.
23215         (delete_hash): Likewise.
23216         (insert_entry): Likewise.
23217         (set_entry): Likewise.
23218         (next_prime): Likewise.
23219         (is_prime): Likewise.
23220         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
23221         (xmalloc): Likewise.
23222         (xrealloc): Likewise.
23223         * locale/programs/xstrdup.c (xstrdup): Likewise.
23224         * localedata/collate-test.c (xstrcoll): Likewise.
23225         * localedata/xfrm-test.c (xstrcmp): Likewise.
23226         * login/getlogin_r.c (__getlogin_r): Likewise.
23227         * login/getpt.c (__posix_openpt): Likewise.
23228         * login/login_tty.c (login_tty): Likewise.
23229         * login/setlogin.c (setlogin): Likewise.
23230         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
23231         (mach_msg_destroy_port): Likewise.
23232         (mach_msg_destroy_memory): Likewise.
23233         * malloc/mcheck.c (flood): Likewise.
23234         * misc/acct.c (acct): Likewise.
23235         * misc/brk.c (__brk): Likewise.
23236         * misc/chflags.c (chflags): Likewise.
23237         * misc/chroot.c (chroot): Likewise.
23238         * misc/fchflags.c (fchflags): Likewise.
23239         * misc/fstab.c (getfsspec): Likewise.
23240         (getfsfile): Likewise.
23241         * misc/fsync.c (fsync): Likewise.
23242         * misc/ftruncate.c (__ftruncate): Likewise.
23243         * misc/ftruncate64.c (__ftruncate64): Likewise.
23244         * misc/getdomain.c (getdomainname): Likewise.
23245         (getdomainname): Likewise.
23246         * misc/gethostname.c (__gethostname): Likewise.
23247         * misc/getpass.c (getpass): Likewise.
23248         * misc/getttyent.c (skip): Likewise.
23249         (value): Likewise.
23250         * misc/gtty.c (gtty): Likewise.
23251         * misc/hsearch.c (hsearch): Likewise.
23252         (hcreate): Likewise.
23253         * misc/hsearch_r.c (__hcreate_r): Likewise.
23254         (__hdestroy_r): Likewise.
23255         * misc/ioctl.c (__ioctl): Likewise.
23256         * misc/mkdtemp.c (mkdtemp): Likewise.
23257         * misc/mkostemp.c (mkostemp): Likewise.
23258         * misc/mkostemp64.c (mkostemp64): Likewise.
23259         * misc/mkostemps.c (mkostemps): Likewise.
23260         * misc/mkostemps64.c (mkostemps64): Likewise.
23261         * misc/mkstemp.c (mkstemp): Likewise.
23262         * misc/mkstemp64.c (mkstemp64): Likewise.
23263         * misc/mkstemps.c (mkstemps): Likewise.
23264         * misc/mkstemps64.c (mkstemps64): Likewise.
23265         * misc/mktemp.c (__mktemp): Likewise.
23266         * misc/preadv.c (preadv): Likewise.
23267         * misc/preadv64.c (preadv64): Likewise.
23268         * misc/pwritev.c (pwritev): Likewise.
23269         * misc/pwritev64.c (pwritev64): Likewise.
23270         * misc/readv.c (__readv): Likewise.
23271         * misc/revoke.c (revoke): Likewise.
23272         * misc/setdomain.c (setdomainname): Likewise.
23273         * misc/setegid.c (setegid): Likewise.
23274         * misc/seteuid.c (seteuid): Likewise.
23275         * misc/sethostid.c (sethostid): Likewise.
23276         * misc/sethostname.c (sethostname): Likewise.
23277         * misc/setregid.c (__setregid): Likewise.
23278         * misc/setreuid.c (__setreuid): Likewise.
23279         * misc/sstk.c (sstk): Likewise.
23280         * misc/stty.c (stty): Likewise.
23281         * misc/syscall.c (syscall): Likewise.
23282         * misc/syslog.c (setlogmask): Likewise.
23283         * misc/truncate.c (__truncate): Likewise.
23284         * misc/truncate64.c (truncate64): Likewise.
23285         * misc/ualarm.c (ualarm): Likewise.
23286         * misc/usleep.c (usleep): Likewise.
23287         * misc/ustat.c (ustat): Likewise.
23288         * misc/writev.c (__writev): Likewise.
23289         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
23290         * nptl/old_pthread_cond_broadcast.c
23291         (__pthread_cond_broadcast_2_0): Likewise.
23292         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
23293         Likewise.
23294         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
23295         Likewise.
23296         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
23297         Likewise.
23298         * nptl/pt-raise.c (raise): Likewise.
23299         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
23300         Likewise.
23301         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
23302         * nptl/pthread_barrierattr_destroy.c
23303         (pthread_barrierattr_destroy): Likewise.
23304         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23305         Likewise.
23306         * nptl/pthread_barrierattr_setpshared.c
23307         (pthread_barrierattr_setpshared): Likewise.
23308         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23309         Likewise.
23310         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
23311         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23312         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
23313         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
23314         Likewise.
23315         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
23316         Likewise.
23317         * nptl/pthread_condattr_getpshared.c
23318         (pthread_condattr_getpshared): Likewise.
23319         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
23320         Likewise.
23321         * nptl/pthread_condattr_setpshared.c
23322         (pthread_condattr_setpshared): Likewise.
23323         * nptl/pthread_detach.c (pthread_detach): Likewise.
23324         * nptl/pthread_equal.c (__pthread_equal): Likewise.
23325         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
23326         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
23327         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
23328         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
23329         Likewise.
23330         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
23331         Likewise.
23332         * nptl/pthread_mutex_getprioceiling.c
23333         (pthread_mutex_getprioceiling): Likewise.
23334         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
23335         Likewise.
23336         * nptl/pthread_mutexattr_getprotocol.c
23337         (pthread_mutexattr_getprotocol): Likewise.
23338         * nptl/pthread_mutexattr_getpshared.c
23339         (pthread_mutexattr_getpshared): Likewise.
23340         * nptl/pthread_mutexattr_getrobust.c
23341         (pthread_mutexattr_getrobust): Likewise.
23342         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23343         Likewise.
23344         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
23345         Likewise.
23346         * nptl/pthread_mutexattr_setprioceiling.c
23347         (pthread_mutexattr_setprioceiling): Likewise.
23348         * nptl/pthread_mutexattr_setprotocol.c
23349         (pthread_mutexattr_setprotocol): Likewise.
23350         * nptl/pthread_mutexattr_setpshared.c
23351         (pthread_mutexattr_setpshared): Likewise.
23352         * nptl/pthread_mutexattr_setrobust.c
23353         (pthread_mutexattr_setrobust): Likewise.
23354         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
23355         Likewise.
23356         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
23357         Likewise.
23358         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
23359         Likewise.
23360         * nptl/pthread_rwlockattr_getkind_np.c
23361         (pthread_rwlockattr_getkind_np): Likewise.
23362         * nptl/pthread_rwlockattr_getpshared.c
23363         (pthread_rwlockattr_getpshared): Likewise.
23364         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
23365         Likewise.
23366         * nptl/pthread_rwlockattr_setkind_np.c
23367         (pthread_rwlockattr_setkind_np): Likewise.
23368         * nptl/pthread_rwlockattr_setpshared.c
23369         (pthread_rwlockattr_setpshared): Likewise.
23370         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
23371         Likewise.
23372         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
23373         Likewise.
23374         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
23375         Likewise.
23376         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
23377         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
23378         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
23379         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
23380         * nptl/sem_close.c (sem_close): Likewise.
23381         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
23382         * nptl/sem_init.c (__old_sem_init): Likewise.
23383         * nptl/sigaction.c (__sigaction): Likewise.
23384         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23385         * posix/_exit.c (_exit): Likewise.
23386         * posix/alarm.c (alarm): Likewise.
23387         * posix/confstr.c (confstr): Likewise.
23388         * posix/fpathconf.c (__fpathconf): Likewise.
23389         * posix/getgroups.c (__getgroups): Likewise.
23390         * posix/getpgid.c (__getpgid): Likewise.
23391         * posix/group_member.c (__group_member): Likewise.
23392         * posix/pathconf.c (__pathconf): Likewise.
23393         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
23394         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
23395         * posix/setgid.c (__setgid): Likewise.
23396         * posix/setpgid.c (__setpgid): Likewise.
23397         * posix/setuid.c (__setuid): Likewise.
23398         * posix/sleep.c (__sleep): Likewise.
23399         * posix/sysconf.c (__sysconf): Likewise.
23400         * posix/times.c (__times): Likewise.
23401         * posix/uname.c (__uname): Likewise.
23402         * posix/waitid.c (__waitid): Likewise.
23403         * pwd/getpw.c (__getpw): Likewise.
23404         * resolv/base64.c (b64_pton): Likewise.
23405         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
23406         * resolv/gethnamaddr.c (Dprintf): Likewise.
23407         (gethostbyname): Likewise.
23408         (gethostbyname2): Likewise.
23409         (gethostbyaddr): Likewise.
23410         (_sethtent): Likewise.
23411         (_gethtbyname): Likewise.
23412         (_gethtbyname2): Likewise.
23413         (_gethtbyaddr): Likewise.
23414         (map_v4v6_address): Likewise.
23415         (map_v4v6_hostent): Likewise.
23416         (addrsort): Likewise.
23417         (ht_sethostent): Likewise.
23418         (ht_gethostbyname): Likewise.
23419         (ht_gethostbyaddr): Likewise.
23420         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
23421         (inet_net_ntop_ipv4): Likewise.
23422         * resolv/inet_neta.c (inet_neta): Likewise.
23423         * resolv/inet_ntop.c (inet_ntop): Likewise.
23424         (inet_ntop4): Likewise.
23425         (inet_ntop6): Likewise.
23426         * resolv/inet_pton.c (__inet_pton): Likewise.
23427         (inet_pton4): Likewise.
23428         (inet_pton6): Likewise.
23429         * resolv/res_debug.c (loc_aton): Likewise.
23430         (loc_ntoa): Likewise.
23431         * resource/getpriority.c (__getpriority): Likewise.
23432         * resource/getrusage.c (__getrusage): Likewise.
23433         * resource/nice.c (nice): Likewise.
23434         * resource/setpriority.c (__setpriority): Likewise.
23435         * resource/setrlimit64.c (setrlimit64): Likewise.
23436         * resource/vlimit.c (vlimit): Likewise.
23437         * resource/vtimes.c (vtimes): Likewise.
23438         * rt/aio_error.c (aio_error): Likewise.
23439         * rt/aio_return.c (aio_return): Likewise.
23440         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
23441         * signal/kill.c (__kill): Likewise.
23442         * signal/killpg.c (killpg): Likewise.
23443         * signal/raise.c (raise): Likewise.
23444         * signal/sigaction.c (__sigaction): Likewise.
23445         * signal/sigaddset.c (sigaddset): Likewise.
23446         * signal/sigaltstack.c (sigaltstack): Likewise.
23447         * signal/sigandset.c (sigandset): Likewise.
23448         * signal/sigblock.c (__sigblock): Likewise.
23449         * signal/sigdelset.c (sigdelset): Likewise.
23450         * signal/sigempty.c (sigemptyset): Likewise.
23451         * signal/sigfillset.c (sigfillset): Likewise.
23452         * signal/sighold.c (sighold): Likewise.
23453         * signal/sigignore.c (sigignore): Likewise.
23454         * signal/sigintr.c (siginterrupt): Likewise.
23455         * signal/sigisempty.c (sigisemptyset): Likewise.
23456         * signal/sigismem.c (sigismember): Likewise.
23457         * signal/signal.c (signal): Likewise.
23458         * signal/sigorset.c (sigorset): Likewise.
23459         * signal/sigpause.c (__sigpause): Likewise.
23460         * signal/sigpending.c (sigpending): Likewise.
23461         * signal/sigprocmask.c (__sigprocmask): Likewise.
23462         * signal/sigrelse.c (sigrelse): Likewise.
23463         * signal/sigreturn.c (__sigreturn): Likewise.
23464         * signal/sigset.c (sigset): Likewise.
23465         * signal/sigsetmask.c (__sigsetmask): Likewise.
23466         * signal/sigstack.c (sigstack): Likewise.
23467         * signal/sigsuspend.c (__sigsuspend): Likewise.
23468         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
23469         * signal/sysv_signal.c (__sysv_signal): Likewise.
23470         * socket/accept.c (accept): Likewise.
23471         * socket/accept4.c (__libc_accept4): Likewise.
23472         * socket/bind.c (__bind): Likewise.
23473         * socket/connect.c (__connect): Likewise.
23474         * socket/getpeername.c (getpeername): Likewise.
23475         * socket/getsockname.c (__getsockname): Likewise.
23476         * socket/getsockopt.c (getsockopt): Likewise.
23477         * socket/listen.c (__listen): Likewise.
23478         * socket/recv.c (__recv): Likewise.
23479         * socket/recvmsg.c (__recvmsg): Likewise.
23480         * socket/send.c (__send): Likewise.
23481         * socket/sendmsg.c (__sendmsg): Likewise.
23482         * socket/shutdown.c (shutdown): Likewise.
23483         * socket/sockatmark.c (sockatmark): Likewise.
23484         * socket/socket.c (__socket): Likewise.
23485         * stdio-common/ctermid.c (ctermid): Likewise.
23486         * stdio-common/cuserid.c (cuserid): Likewise.
23487         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
23488         * stdio-common/remove.c (remove): Likewise.
23489         * stdio-common/rename.c (rename): Likewise.
23490         * stdio-common/renameat.c (renameat): Likewise.
23491         * stdio-common/tempname.c (__gen_tempname): Likewise.
23492         * stdio-common/xbug.c (InitBuffer): Likewise.
23493         (AppendToBuffer): Likewise.
23494         (ReadFile): Likewise.
23495         * stdlib/a64l.c (a64l): Likewise.
23496         * stdlib/drand48_r.c (drand48_r): Likewise.
23497         * stdlib/getcontext.c (getcontext): Likewise.
23498         * stdlib/getenv.c (getenv): Likewise.
23499         * stdlib/l64a.c (l64a): Likewise.
23500         * stdlib/llabs.c (llabs): Likewise.
23501         * stdlib/lldiv.c (lldiv): Likewise.
23502         * stdlib/lrand48_r.c (lrand48_r): Likewise.
23503         * stdlib/mrand48_r.c (mrand48_r): Likewise.
23504         * stdlib/putenv.c (putenv): Likewise.
23505         * stdlib/random.c (__srandom): Likewise.
23506         (__initstate): Likewise.
23507         (__setstate): Likewise.
23508         * stdlib/random_r.c (__srandom_r): Likewise.
23509         (__setstate_r): Likewise.
23510         (__random_r): Likewise.
23511         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
23512         * stdlib/setcontext.c (setcontext): Likewise.
23513         * stdlib/setenv.c (setenv): Likewise.
23514         (unsetenv): Likewise.
23515         * stdlib/srand48.c (srand48): Likewise.
23516         * stdlib/srand48_r.c (__srand48_r): Likewise.
23517         * stdlib/swapcontext.c (swapcontext): Likewise.
23518         * stdlib/system.c (__libc_system): Likewise.
23519         * stdlib/tst-strtod.c (expand): Likewise.
23520         * stdlib/tst-strtol.c (expand): Likewise.
23521         * stdlib/tst-strtoll.c (expand): Likewise.
23522         * streams/fattach.c (fattach): Likewise.
23523         * streams/fdetach.c (fdetach): Likewise.
23524         * streams/getmsg.c (getmsg): Likewise.
23525         * streams/isastream.c (isastream): Likewise.
23526         * string/ffs.c (__ffs): Likewise.
23527         * string/ffsll.c (ffsll): Likewise.
23528         * string/memcmp.c (memcmp_common_alignment): Likewise.
23529         (memcmp_not_common_alignment): Likewise.
23530         (MEMCMP): Likewise.
23531         * string/memcpy.c (memcpy): Likewise.
23532         * string/memmove.c (MEMMOVE): Likewise.
23533         * string/memset.c (memset): Likewise.
23534         * string/rawmemchr.c (RAWMEMCHR): Likewise.
23535         * string/strchrnul.c (STRCHRNUL): Likewise.
23536         * string/strerror.c (strerror): Likewise.
23537         * string/strndup.c (__strndup): Likewise.
23538         * string/strverscmp.c (__strverscmp): Likewise.
23539         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
23540         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
23541         (clnttcp_freeres): Likewise.
23542         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
23543         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
23544         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
23545         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
23546         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
23547         (xdr_callhdr): Likewise.
23548         * sunrpc/rpcinfo.c (udpping): Likewise.
23549         (tcpping): Likewise.
23550         (pstatus): Likewise.
23551         (pmapdump): Likewise.
23552         (brdcst): Likewise.
23553         (deletereg): Likewise.
23554         (getprognum): Likewise.
23555         (getvers): Likewise.
23556         (get_inet_address): Likewise.
23557         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
23558         * sunrpc/svc_udp.c (svcudp_create): Likewise.
23559         (svcudp_stat): Likewise.
23560         (svcudp_recv): Likewise.
23561         (svcudp_reply): Likewise.
23562         (svcudp_getargs): Likewise.
23563         (svcudp_freeargs): Likewise.
23564         (svcudp_destroy): Likewise.
23565         * sunrpc/xdr.c (xdr_bytes): Likewise.
23566         (xdr_netobj): Likewise.
23567         (xdr_string): Likewise.
23568         (xdr_wrapstring): Likewise.
23569         * sunrpc/xdr_float.c (xdr_float): Likewise.
23570         (xdr_double): Likewise.
23571         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
23572         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
23573         * sysvipc/ftok.c (ftok): Likewise.
23574         * sysvipc/msgctl.c (msgctl): Likewise.
23575         * sysvipc/msgget.c (msgget): Likewise.
23576         * sysvipc/msgrcv.c (msgrcv): Likewise.
23577         * sysvipc/msgsnd.c (msgsnd): Likewise.
23578         * sysvipc/semget.c (semget): Likewise.
23579         * sysvipc/semop.c (semop): Likewise.
23580         * sysvipc/shmat.c (shmat): Likewise.
23581         * sysvipc/shmctl.c (shmctl): Likewise.
23582         * sysvipc/shmdt.c (shmdt): Likewise.
23583         * sysvipc/shmget.c (shmget): Likewise.
23584         * termios/cfmakeraw.c (cfmakeraw): Likewise.
23585         * termios/speed.c (cfgetospeed): Likewise.
23586         (cfgetispeed): Likewise.
23587         (cfsetospeed): Likewise.
23588         (cfsetispeed): Likewise.
23589         * termios/tcflow.c (tcflow): Likewise.
23590         * termios/tcflush.c (tcflush): Likewise.
23591         * termios/tcgetattr.c (__tcgetattr): Likewise.
23592         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
23593         * termios/tcgetsid.c (tcgetsid): Likewise.
23594         * termios/tcsendbrk.c (tcsendbreak): Likewise.
23595         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
23596         * time/adjtime.c (__adjtime): Likewise.
23597         * time/dysize.c (dysize): Likewise.
23598         * time/ftime.c (ftime): Likewise.
23599         * time/getitimer.c (__getitimer): Likewise.
23600         * time/gettimeofday.c (__gettimeofday): Likewise.
23601         * time/gmtime.c (__gmtime_r): Likewise.
23602         (gmtime): Likewise.
23603         * time/localtime.c (__localtime_r): Likewise.
23604         (localtime): Likewise.
23605         * time/offtime.c (__offtime): Likewise.
23606         * time/settimeofday.c (__settimeofday): Likewise.
23607         * time/stime.c (stime): Likewise.
23608         * time/strftime_l.c (tm_diff): Likewise.
23609         (iso_week_days): Likewise.
23610         * time/strptime.c (strptime): Likewise.
23611         * time/time.c (time): Likewise.
23612         * time/timespec_get.c (timespec_get): Likewise.
23613         * time/tzset.c (tzset_internal): Likewise.
23614         (compute_change): Likewise.
23615         (__tz_compute): Likewise.
23616         * wcsmbs/btowc.c (__btowc): Likewise.
23617         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23618         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23619         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23620         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23621         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23622         * wcsmbs/wcscat.c (__wcscat): Likewise.
23623         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23624         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23625         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23626         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23627         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23628         * wcsmbs/wcslen.c (__wcslen): Likewise.
23629         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23630         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23631         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23632         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23633         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23634         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23635         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23636         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23637         * wcsmbs/wcstok.c (wcstok): Likewise.
23638         * wcsmbs/wctob.c (wctob): Likewise.
23639         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23640         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23641         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23642         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23643         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23644         * wcsmbs/wmemset.c (__wmemset): Likewise.
23645         * wctype/wcfuncs.c (__towlower): Likewise.
23646         (__towupper): Likewise.
23648         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23649         (lll_unlock_elision): Add adapt_count parameter.
23651 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23653         * sysdeps/nptl/configure.ac: Do not give errors based on the
23654         results of top-level configure tests.
23655         * sysdeps/nptl/configure: Regenerated.
23657         * configure.ac (libc_cv_Bgroup): Remove configure test.
23658         * configure: Regenerated.
23659         * config.make.in (have-Bgroup): Remove variable.
23661         * configure.ac (sizeof_long_double): Remove configure test.
23662         * configure: Regenerated.
23663         * config.make.in (sizeof-long-double): Remove variable.
23665         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23666         * configure: Regenerated.
23667         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23668         variable.
23669         (exceptions): Likewise.
23670         * sysdeps/arm/configure: Regenerated.
23671         * config.make.in (exceptions): Remove variable.
23672         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23673         $(exceptions).
23674         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23675         (CFLAGS-vdprintf_chk.c): Likewise.
23676         (CFLAGS-printf_chk.c): Likewise.
23677         (CFLAGS-fprintf_chk.c): Likewise.
23678         (CFLAGS-vprintf_chk.c): Likewise.
23679         (CFLAGS-vfprintf_chk.c): Likewise.
23680         (CFLAGS-gets_chk.c): Likewise.
23681         (CFLAGS-fgets_chk.c): Likewise.
23682         (CFLAGS-fgets_u_chk.c): Likewise.
23683         (CFLAGS-fread_chk.c): Likewise.
23684         (CFLAGS-fread_u_chk.c): Likewise.
23685         (CFLAGS-wprintf_chk.c): Likewise.
23686         (CFLAGS-fwprintf_chk.c): Likewise.
23687         (CFLAGS-vwprintf_chk.c): Likewise.
23688         (CFLAGS-vfwprintf_chk.c): Likewise.
23689         (CFLAGS-fgetws_chk.c): Likewise.
23690         (CFLAGS-fgetws_u_chk.c): Likewise.
23691         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23692         (CFLAGS-fputc.c): Likewise.
23693         (CFLAGS-fputwc.c): Likewise.
23694         (CFLAGS-freopen64.c): Likewise.
23695         (CFLAGS-freopen.c): Likewise.
23696         (CFLAGS-fseek.c): Likewise.
23697         (CFLAGS-fseeko64.c): Likewise.
23698         (CFLAGS-fseeko.c): Likewise.
23699         (CFLAGS-ftello64.c): Likewise.
23700         (CFLAGS-ftello.c): Likewise.
23701         (CFLAGS-fwide.c): Likewise.
23702         (CFLAGS-genops.c): Likewise.
23703         (CFLAGS-getc.c): Likewise.
23704         (CFLAGS-getchar.c): Likewise.
23705         (CFLAGS-getwc.c): Likewise.
23706         (CFLAGS-getwchar.c): Likewise.
23707         (CFLAGS-iofclose.c): Likewise.
23708         (CFLAGS-iofflush.c): Likewise.
23709         (CFLAGS-iofgetpos64.c): Likewise.
23710         (CFLAGS-iofgetpos.c): Likewise.
23711         (CFLAGS-iofgets.c): Likewise.
23712         (CFLAGS-iofgetws.c): Likewise.
23713         (CFLAGS-iofputs.c): Likewise.
23714         (CFLAGS-iofputws.c): Likewise.
23715         (CFLAGS-iofread.c): Likewise.
23716         (CFLAGS-iofsetpos64.c): Likewise.
23717         (CFLAGS-iofsetpos.c): Likewise.
23718         (CFLAGS-ioftell.c): Likewise.
23719         (CFLAGS-iofwrite.c): Likewise.
23720         (CFLAGS-iogetdelim.c): Likewise.
23721         (CFLAGS-iogetline.c): Likewise.
23722         (CFLAGS-iogets.c): Likewise.
23723         (CFLAGS-iogetwline.c): Likewise.
23724         (CFLAGS-ioputs.c): Likewise.
23725         (CFLAGS-ioseekoff.c): Likewise.
23726         (CFLAGS-ioseekpos.c): Likewise.
23727         (CFLAGS-iosetbuffer.c): Likewise.
23728         (CFLAGS-iosetvbuf.c): Likewise.
23729         (CFLAGS-ioungetc.c): Likewise.
23730         (CFLAGS-ioungetwc.c): Likewise.
23731         (CFLAGS-oldfileops.c): Likewise.
23732         (CFLAGS-oldiofclose.c): Likewise.
23733         (CFLAGS-oldiofgetpos64.c): Likewise.
23734         (CFLAGS-oldiofgetpos.c): Likewise.
23735         (CFLAGS-oldiofsetpos64.c): Likewise.
23736         (CFLAGS-oldiofsetpos.c): Likewise.
23737         (CFLAGS-peekc.c): Likewise.
23738         (CFLAGS-putc.c): Likewise.
23739         (CFLAGS-putchar.c): Likewise.
23740         (CFLAGS-putwc.c): Likewise.
23741         (CFLAGS-putwchar.c): Likewise.
23742         (CFLAGS-rewind.c): Likewise.
23743         (CFLAGS-wfileops.c): Likewise.
23744         (CFLAGS-wgenops.c): Likewise.
23745         (CFLAGS-oldiofopen.c): Likewise.
23746         (CFLAGS-iofopen.c): Likewise.
23747         (CFLAGS-iofopen64.c): Likewise.
23748         (CFLAGS-oldtmpfile.c): Likewise.
23749         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23750         (CFLAGS-fprintf.c): Likewise.
23751         (CFLAGS-printf.c): Likewise.
23752         (CFLAGS-vfwprintf.c): Likewise.
23753         (CFLAGS-vfscanf.c): Likewise.
23754         (CFLAGS-vfwscanf.c): Likewise.
23755         (CFLAGS-fscanf.c): Likewise.
23756         (CFLAGS-scanf.c): Likewise.
23757         (CFLAGS-isoc99_vfscanf.c): Likewise.
23758         (CFLAGS-isoc99_vscanf.c): Likewise.
23759         (CFLAGS-isoc99_fscanf.c): Likewise.
23760         (CFLAGS-isoc99_scanf.c): Likewise.
23761         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23762         (CFLAGS-isoc99_fwscanf.c): Likewise.
23763         (CFLAGS-isoc99_vwscanf.c): Likewise.
23764         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23766         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23767         after mkstemp64.
23768         * login/tst-utmp.c (do_prepare): Likewise.
23769         * rt/tst-aio.c (do_prepare): Likewise.
23770         * rt/tst-aio64.c (do_prepare): Likewise.
23772 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23774         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23775         (__lll_lock_elision): Remove adapt_count decrement...
23776         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23777         (__lll_trylock_elision): Likewise.
23778         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23779         (__lll_unlock_elision): ... to here. And utilize
23780         new adapt_count parameter.
23781         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23782         (__lll_unlock_elision): Update to include adapt_count
23783         parameter.
23784         (lll_unlock_elision): Pass pointer to adapt_count
23785         variable.
23787 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23789         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23790         Add elision adapt_count parameter to list of arguments.
23791         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23792         (lll_unlock_elision): Update with new parameter list
23793         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23794         (lll_unlock_elision): Likewise.
23795         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23796         (lll_unlock_elision): Likewise.
23798 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23800         [BZ #19122]
23801         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23802         attribute_hidden.
23804         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23805         attribute_hidden.
23806         [IS_IN (rtld)] (__strdup): Likewise.
23807         [IS_IN (rtld)] (__strerror_r): Likewise.
23808         [IS_IN (rtld)] (__strsep_g): Likewise.
23809         [IS_IN (rtld)] (memchr): Likewise.
23810         [IS_IN (rtld)] (memcmp): Likewise.
23811         [IS_IN (rtld)] (memcpy): Likewise.
23812         [IS_IN (rtld)] (memmove): Likewise.
23813         [IS_IN (rtld)] (memset): Likewise.
23814         [IS_IN (rtld)] (rawmemchr): Likewise.
23815         [IS_IN (rtld)] (stpcpy): Likewise.
23816         [IS_IN (rtld)] (strchr): Likewise.
23817         [IS_IN (rtld)] (strcmp): Likewise.
23818         [IS_IN (rtld)] (strlen): Likewise.
23819         [IS_IN (rtld)] (strnlen): Likewise.
23820         [IS_IN (rtld)] (strsep): Likewise.
23822         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23823         attribute_hidden.
23824         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23826         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23827         attribute_hidden.
23828         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23830         * include/setjmp.h (__longjmp): Add attribute_hidden.
23831         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23833         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23834         Add attribute_hidden.
23836         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23837         [IS_IN (rtld)] (__open): Likewise.
23838         [IS_IN (rtld)] (__fcntl): Likewise.
23840         * include/dirent.h (__opendirat): Add attribute_hidden.
23841         (__getdents): Likewise.
23842         (__getdents64): Likewise.
23843         (__alloc_dir): Likewise.
23844         [IS_IN (rtld)] (__closedir): Likewise.
23845         [IS_IN (rtld)] (__fdopendir): Likewise.
23846         [IS_IN (rtld)] (__readdir): Likewise.
23847         [IS_IN (rtld)] (__readdir64): Likewise.
23848         [IS_IN (rtld)] (__rewinddir): Likewise.
23850         * include/dlfcn.h (_dl_catch_error): Moved to ...
23851         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23852         attribute_hidden.
23854         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23855         (_itoa_word): Likewise.
23857         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23858         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23859         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23860         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23861         (_dl_higher_prime_number): Likewise.
23862         (_dl_debug_printf_c): Likewise.
23863         (_dl_signal_cerror): Likewise.
23864         (_dl_receive_error): Likewise.
23865         (_dl_reloc_bad_type): Likewise.
23866         (_dl_resolve_conflicts): Likewise.
23867         (_dl_check_all_versions): Likewise.
23868         (_dl_check_map_versions): Likewise.
23869         (_dl_sort_fini): Likewise.
23870         (_dl_debug_initialize): Likewise.
23871         (_dl_init_paths): Likewise.
23872         (_dl_show_auxv): Likewise.
23873         (_dl_next_ld_env_entry): Likewise.
23874         (_dl_important_hwcaps): Likewise.
23875         (_dl_load_cache_lookup): Likewise.
23876         (_dl_update_slotinfo): Likewise.
23877         (_dl_show_scope): Likewise.
23879         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23880         attribute_hidden.
23881         (_wordcopy_fwd_dest_aligned): Likewise.
23882         (_wordcopy_bwd_aligned): Likewise.
23883         (_wordcopy_bwd_dest_aligned): Likewise.
23885         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23886         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23887         Likewise.
23888         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23889         Likewise.
23890         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23892 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23895         GCC 5 requirement.
23897 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23899         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23900         test.
23901         * sysdeps/i386/configure: Regenerated.
23902         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23903         code unconditional.
23905         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23906         test.
23907         (libc_cv_asm_popsection_directive): Likewise.
23908         * configure: Regenerated.
23909         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23910         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23911         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23912         (__make_section_unallocated): Make definition unconditional.
23913         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23914         Remove conditional definition.
23915         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23916         (__make_section_unallocated): Likewise.
23918         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23919         * configure: Regenerated.
23920         * config.make.in (static-libgcc): Remove variable.
23921         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23922         $(static-libgcc).
23923         (build-module-helper): Likewise.
23925         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23926         * configure: Regenerated.
23928 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23930         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23931         (struct char_buffer): New type.
23932         (char_buffer_start, char_buffer_size, char_buffer_error)
23933         (char_buffer_rewind, char_buffer_add): New functions.
23934         (ADDW): Remove macro, replaced by the char_buffer_add function.
23935         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23936         of extend_alloca.  Make control flow more explicit.
23938 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23940         [BZ #19137]
23941         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23942         Add -fomit-frame-pointer.
23943         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23945 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23947         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23948         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23949         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23950         only if !__GNUC_PREREQ (5,0).
23951         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23952         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23953         (INTERNAL_SYSCALL_NCS): Likewise.
23954         (LOADREGS_0): New macro for GCC 5.
23955         (ASMARGS_0): Likewise.
23956         (LOADREGS_1): Likewise.
23957         (ASMARGS_1): Likewise.
23958         (LOADREGS_2): Likewise.
23959         (ASMARGS_2): Likewise.
23960         (LOADREGS_3): Likewise.
23961         (ASMARGS_3): Likewise.
23962         (LOADREGS_4): Likewise.
23963         (ASMARGS_4): Likewise.
23964         (LOADREGS_5): Likewise.
23965         (ASMARGS_5): Likewise.
23966         (LOADREGS_6): Likewise.
23967         (ASMARGS_6): Likewise.
23969 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23971         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23972         -fomit-frame-pointer.
23973         (CFLAGS-mmap64.c): Likewise.
23974         (CFLAGS-semtimedop.c): Likewise.
23975         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23976         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23977         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23978         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23980 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23982         [BZ #18928]
23983         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23984         _dl_pointer_guard member.
23985         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23986         initializer.
23987         (security_init): Always set up pointer guard.
23988         (process_envvars): Do not process LD_POINTER_GUARD.
23990 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #19134]
23993         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23994         (.LC2): Likewise.
23995         (.LC3): Likewise.
23996         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23998 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24000         [BZ #19129]
24001         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
24002         r0 and r1.
24004 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
24006         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
24008 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
24010         * include/stap-probe.h: Fix macro definition formatting.
24012 2015-10-14  Florian Weimer  <fweimer@redhat.com>
24014         [BZ #19074]
24015         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
24016         load and store num_ifs.
24018 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24020         [BZ #18822]
24021         * sysdeps/unix/sysv/linux/sched_getaffinity.c
24022         (__sched_getaffinity_new): Add libc_hidden_proto and
24023         libc_hidden_def.
24025 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24027         [BZ #19007]
24028         * scripts/localplt.awk: Also allow GOT references.
24029         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
24030         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
24031         with "+ REL R_386_GLOB_DAT".
24032         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
24033         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
24035 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24037         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
24038         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24039         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
24040         Likewise.
24041         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24042         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
24043         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24044         INTERNAL_SYSCALLINTERNAL_SYSCALL and
24045         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24046         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24047         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24048         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24049         Likewise.
24050         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24052 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24054         [BZ #19125]
24055         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
24056         <math_private.h> and <stdint.h>.
24057         (__llround): Avoid conversions to and from long long int, and
24058         subtractions, where those might raise spurious exceptions.
24059         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24060         <math_private.h> and <stdint.h>.
24061         (__llroundf): Avoid conversions to and from long long int, and
24062         subtractions, where those might raise spurious exceptions.
24064 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24066         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
24067         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24068         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24069         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
24070         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24071         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24072         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
24073         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
24074         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
24075         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24076         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24077         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24078         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
24079         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24080         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24081         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
24082         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
24083         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24084         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
24085         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
24086         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24087         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
24088         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
24089         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24090         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
24091         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24092         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
24093         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24094         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24095         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
24096         (__xstat64_conv): Likewise.
24097         (__xstat32_conv): Likewise.
24099 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24101         * sysdeps/unix/sysv/linux/sysdep.h: New file.
24102         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
24103         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
24104         <sysdeps/unix/sysv/linux/sysdep.h>.
24105         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24106         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
24107         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
24108         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24109         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24110         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
24111         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
24112         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
24113         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
24114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24116         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24117         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24118         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24119         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24120         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24121         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
24122         (sysdep-dl-routines): Add sysdep.
24123         [$(subdir) == nptl] (libpthread-routines): Likewise.
24124         [$(subdir) == rt] (librt-routines): Likewise.
24125         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
24126         PIC when branching to SYSCALL_ERROR_LABEL.
24127         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
24128         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
24129         <sysdeps/unix/sysv/linux/sysdep.h>.
24130         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
24131         (SYSCALL_ERROR_ERRNO): Removed.
24132         (SYSCALL_ERROR_HANDLER): Changed to empty.
24133         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
24134         (__syscall_error): New prototype.
24135         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
24136         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
24138 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24140         [BZ #19124]
24141         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
24142         (_dl_runtime_resolve_avx512): Make it a hidden alias of
24143         _dl_runtime_resolve_avx.
24144         (_dl_runtime_profile_avx512): Make it a hidden alias of
24145         _dl_runtime_profile_avx.
24147 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24149         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
24150         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
24151         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
24152         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
24154         [BZ #16422]
24155         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
24156         New configure test.
24157         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
24158         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
24159         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
24160         <math_private.h> and <stdint.h>.
24161         (__llrint): Avoid conversions to long long int where those might
24162         raise spurious exceptions.
24163         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24164         <math_private.h> and <stdint.h>.
24165         (__llrintf): Avoid conversions to long long int where those might
24166         raise spurious exceptions.
24168 2015-10-12  Andreas Schwab  <schwab@suse.de>
24170         [BZ #18969]
24171         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
24172         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
24173         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
24174         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
24175         $(gen-locales).
24176         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
24177         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
24178         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
24179         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
24180         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
24181         $(gen-locales).
24182         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
24183         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
24184         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
24185         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
24186         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
24187         ($(objpfx)tst-ftell-active-handler.out)
24188         ($(objpfx)tst-ftell-append.out)
24189         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
24190         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
24191         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
24192         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
24193         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
24194         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
24195         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
24196         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
24197         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
24198         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
24199         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
24200         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
24201         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
24202         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
24203         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
24204         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
24205         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
24206         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
24207         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
24208         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
24209         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
24210         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
24211         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
24212         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
24213         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
24214         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
24215         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
24216         $(gen-locales).
24217         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
24218         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
24219         $(gen-locales).
24220         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
24221         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
24222         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
24223         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
24224         $(gen-locales).
24225         * libio/tst_wprintf2.c (main): Use explicit locale.
24226         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
24228 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24230         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
24231         __msg_sig_post.
24232         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
24234 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24236         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24237         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24239         * sysdeps/arm/libm-test-ulps: Regenerated.
24241         [BZ #15470]
24242         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
24244         [BZ #16399]
24245         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
24246         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
24247         and <fix-fp-int-convert-overflow.h>.
24248         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24249         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24250         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
24251         and <fix-fp-int-convert-overflow.h>.
24252         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
24253         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24254         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
24255         <fix-fp-int-convert-overflow.h>.
24256         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24257         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24258         * sysdeps/ieee754/dbl-64/s_lround.c: Include
24259         <fix-fp-int-convert-overflow.h>.
24260         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
24261         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24262         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
24263         and <fix-fp-int-convert-overflow.h>.
24264         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24265         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24266         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
24267         <limits.h> and <fix-fp-int-convert-overflow.h>.
24268         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24269         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24270         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
24271         and <fix-fp-int-convert-overflow.h>.
24272         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24273         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24274         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
24275         and <fix-fp-int-convert-overflow.h>.
24276         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24277         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24278         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
24280 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
24282         [BZ #18589]
24283         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
24284         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
24285         $(gen-locales).
24287 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24288             Phil Blundell <pb@pbcl.net>
24290         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
24291         * nptl/tst-cancel26.c: New file.
24292         * nptl/tst-cancel27.c: Likewise.
24294 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
24296         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
24297         __ILP32__ isn't defined.
24298         (lrint): Likewise.
24299         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
24300         (lrintf): Likewise.
24301         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
24302         (lrintl): Likewise.
24303         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
24304         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
24305         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
24307 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24309         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
24310         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
24312         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
24313         file.
24314         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
24315         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
24317 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24319         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
24320         configure test.
24321         * sysdeps/i386/configure: Regenerated.
24322         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
24323         configure test.
24324         * sysdeps/x86_64/configure: Regenerated.
24325         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
24326         Make code unconditional.
24328         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
24329         test.
24330         * sysdeps/i386/configure: Regenerated.
24331         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
24332         test.
24333         * sysdeps/x86_64/configure: Regenerated.
24334         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
24335         Make code unconditional.
24336         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24337         Likewise.
24338         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
24339         Likewise.
24340         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24341         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
24342         code unconditional.
24343         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24344         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
24345         code unconditional.
24346         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24347         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
24348         code unconditional.
24349         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
24350         code unconditional.
24351         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24352         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
24353         code unconditional.
24354         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24355         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
24356         code unconditional.
24357         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24358         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
24359         code unconditional.
24360         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24361         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
24362         code unconditional.
24363         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24364         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
24366         [BZ #19095]
24367         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
24368         mantissa to long int before shifting left.
24370 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24372         [BZ #19094]
24373         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
24374         <limits.h>.
24375         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24376         when result overflows but exception would not result from cast.
24377         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
24378         <limits.h>.
24379         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24380         when result overflows but exception would not result from cast.
24381         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
24382         <limits.h>.
24383         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24384         when result overflows but exception would not result from cast.
24385         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
24386         <limits.h>.
24387         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24388         when result overflows but exception would not result from cast.
24389         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
24390         <limits.h>.
24391         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24392         when result overflows but exception would not result from cast.
24393         * math/libm-test.inc (lrint_test_data): Add more tests.
24394         (llrint_test_data): Likewise.
24396 2015-10-08  Roland McGrath  <roland@hack.frob.com>
24398         [BZ #18872]
24399         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
24400         Move out from under [$(run-built-tests) = yes] conditional.
24401         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
24402         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
24404 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
24406         [BZ #18589]
24407         * string/Makefile (tests): Add bug-strcoll2.
24408         (LOCALES): Add cs_CZ.UTF-8.
24409         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
24411         [BZ #18589]
24412         * string/bug-strcoll2.c: New file.
24413         * locale/categories.def: Revert commit
24414         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
24415         * locale/langinfo.h: Likewise.
24416         * locale/localeinfo.h: Likewise.
24417         * locale/C-collate.c: Likewise.
24418         * locale/programs/ld-collate.c (collate_output): Likewise.
24419         * string/strcoll_l.c (STRDIFF): Likewise.
24420         (STRCOLL): Likewise.
24421         * wcsmbs/wcscoll_l.c: Likewise.
24423 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24425         * math/libm-test.inc (lround_test_data): Do not expect the absence
24426         of "inexact" for some tests with non-integer arguments.
24427         (llround_test_data): Likewise.
24429         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
24430         test.
24431         (libc_cv_cc_sse2avx): Likewise.
24432         * sysdeps/i386/configure: Regenerated.
24433         * sysdeps/i386/i686/multiarch/Makefile
24434         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
24435         [$(subdir) = math].
24436         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
24437         code unconditional.
24438         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24439         Likewise.
24440         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
24441         Likewise.
24442         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24443         Likewise.
24444         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
24445         test.
24446         (libc_cv_cc_sse2avx): Likewise.
24447         * sysdeps/x86_64/configure: Regenerated.
24448         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
24449         unconditional.
24450         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
24451         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
24452         unconditional.
24453         (_dl_runtime_profile)
24454         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
24455         conditional code.
24456         * sysdeps/x86_64/fpu/multiarch/Makefile
24457         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
24458         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24459         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24460         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24461         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24462         * sysdeps/x86_64/fpu/multiarch/e_log.c
24463         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24464         * sysdeps/x86_64/fpu/multiarch/s_atan.c
24465         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24466         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24467         Likewise.
24468         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24469         Likewise.
24470         * sysdeps/x86_64/fpu/multiarch/s_sin.c
24471         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24472         * sysdeps/x86_64/fpu/multiarch/s_tan.c
24473         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24474         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
24475         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
24476         (HAVE_SSE2AVX_SUPPORT): Likewise.
24478 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
24480         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
24481         instead of #pragma optimize.
24483 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24485         [BZ #17195]
24486         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
24487         as is similarly done in systrim and _int_free already.
24489 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24491         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
24493 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24495         [BZ #19088]
24496         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
24497         <limits.h>.
24498         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24499         overflows but exception would not result from cast.
24500         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
24501         and <limits.h>.
24502         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24503         overflows but exception would not result from cast.
24504         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
24505         <limits.h>.
24506         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24507         overflows but exception would not result from cast.
24508         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
24509         <limits.h>.
24510         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24511         overflows but exception would not result from cast.
24512         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
24513         <limits.h>.
24514         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24515         overflows but exception would not result from cast.
24516         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
24517         <limits.h>.
24518         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24519         overflows but exception would not result from cast.
24520         * math/libm-test.inc (lround_test_data): Add more tests.
24521         (llround_test_data): Likewise.
24523 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
24525         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
24526         (CFLAGS-ialloc.c): Ditto.
24527         (CFLAGS-scheck.c): Ditto.
24529 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24531         [BZ #19086]
24532         * manual/filesys.texi (Storage Allocation): Fix argument order for
24533         posix_fallocate64.
24535 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24537         [BZ #19085]
24538         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
24539         exponent below 48 inside case for non-overflowing exponent.
24540         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
24542 2015-10-07  Florian Weimer  <fweimer@redhat.com>
24544         * iconvdata/cp737.h (from_idx): Add const.
24545         * iconvdata/cp775.h (from_idx): Likewise.
24547 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24549         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
24550         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
24551         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
24553         [BZ #19079]
24554         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
24555         file, conditioned on [!_LP64].
24556         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
24557         [!_LP64] (__lround): Do not define as function or alias.
24558         [!_LP64] (lround): Likewise.
24559         [!_LP64] (__lroundl): Likewise.
24560         [!_LP64] (lroundl): Likewise.
24561         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
24562         macro.
24563         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24564         Likewise.
24566 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24568         * math/libm-test.inc (lrint_test_data): Add more tests.
24569         (llrint_test_data): Likewise.
24570         (lround_test_data): Likewise.
24571         (llround_test_data): Likewise.
24573         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24574         (llrint_test_data): Add tests used for lrint.
24576         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
24577         test.
24578         * sysdeps/i386/configure: Regenerated.
24579         * sysdeps/i386/i686/multiarch/Makefile
24580         [$(config-cflags-sse4) = yes]: Make code unconditional.
24581         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24582         Likewise.
24583         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
24584         Likewise.
24585         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
24586         test.
24587         * sysdeps/x86_64/configure: Regenerated.
24588         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
24589         Make code unconditional.
24590         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24591         Likewise.
24592         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
24593         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
24595         * scripts/rpm2dynsym.sh: Remove file.
24597 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24599         * configure.ac (libc_cv_cxx_thread_local): Define.
24600         * configure: Regenerate.
24601         * config.make.in (have-cxx-thread_local): Define.
24602         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
24603         (LDLIBS-tst-thread_local1): Define.
24604         (tests): Add tst-thread_local1.
24605         [have-cxx-thread_local != yes] (tests-unsupported): Add
24606         tst-thread_local1.
24607         * nptl/tst-thread_local1.cc: New file.
24609 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24611         [BZ #19078]
24612         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24613         (u_thres): Likewise.
24614         (__expl): Determine whether to call __kernel_standard_l based on
24615         value of result, not argument.
24617         * math/libm-test.inc (scalb_test_data): Add more expectations for
24618         the "inexact" exception.
24620         [BZ #19077]
24621         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24622         0.0L for argument 1.0L.
24624         [BZ #19076]
24625         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24626         constant 0.0L when computing infinite result.
24628 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24630         [BZ #10432]
24631         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24632         malloc_usable_size.
24634 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24636         [BZ #19018]
24637         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24638         Mangle function pointer before storing it.
24639         (__call_tls_dtors): Demangle function pointer before calling it.
24641 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24643         [BZ #19012]
24644         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24645         Clean up on failure.
24647 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24649         [BZ #19071]
24650         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24651         long int variable to store possibly incremented high part of
24652         mantissa.
24653         * math/libm-test.inc (lround_test_data): Add tests used for
24654         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24655         for tests requiring 64-bit long.  Do not condition tests on
24656         [TEST_FLOAT] unnecessarily.
24657         (llround_test_data): Add tests used for lround.  Add another
24658         expectation for the "inexact" exception.  Do not condition tests
24659         on [TEST_FLOAT] unnecessarily.
24661         [BZ #887]
24662         [BZ #19049]
24663         [BZ #19050]
24664         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24665         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24666         <fix-int-fp-convert-zero.h>.
24667         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24668         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24669         <fix-int-fp-convert-zero.h>.
24670         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24671         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24672         <fix-int-fp-convert-zero.h>.
24673         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24674         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24675         <fix-int-fp-convert-zero.h>.
24676         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24677         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24678         <fix-int-fp-convert-zero.h>.
24679         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24680         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24681         <fix-int-fp-convert-zero.h>.
24682         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24683         * sysdeps/ieee754/flt-32/s_erff.c: Include
24684         <fix-int-fp-convert-zero.h>.
24685         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24686         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24687         <fix-int-fp-convert-zero.h>.
24688         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24690         <fix-int-fp-convert-zero.h>.
24691         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24692         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24693         <fix-int-fp-convert-zero.h>.
24694         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24695         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24696         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24697         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24698         file.
24699         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24701 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24703         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24705 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24707         [BZ #19059]
24708         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24709         overflowing computation.
24710         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24711         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24712         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24713         Likewise.
24714         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24715         Likewise.
24716         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24717         Likewise.
24718         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24719         Likewise.
24720         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24721         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24722         Likewise.
24723         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24724         Likewise.
24725         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24727         * nss/rewrite_field.c (__nss_rewrite_field): Use
24728         internal_function.
24729         * nss/valid_field.c (__nss_valid_field): Likewise.
24730         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24732 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24734         [BZ #18724]
24735         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24736         (__nss_invalid_field_characters, __nss_valid_field)
24737         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24738         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24739         tst-field.c: New file.
24740         * nss/Makefile (routines): Add valid_field, rewrite_field.
24741         (tests-static): Define unconditionally.
24742         (tests): Include tests-static.
24743         [build-static-nss] (tests-static): Use append.
24744         [build-static-nss] (tests): Remove modification.
24745         * nss/getent.c (print_group): Call putgrent.  Report error.
24746         (print_gshadow): Call putsgent.  Report error.
24747         (print_passwd): Call putpwent.  Report error.
24748         (print_shadow): Call putspent.  Report error.
24749         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24750         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24751         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24752         name, password, directory, shell fields for valid syntax.  Rewrite
24753         GECOS field to match syntax.
24754         * pwd/Makefile (tests): Add tst-putpwent.
24755         * pwd/tst-putpwent.c: New file.
24756         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24757         Check grName, grpasswd, gr_mem fields for valid syntax.
24758         Change loop variable i to size_t.
24759         * grp/Makefile (tests): Add tst-putgrent.
24760         * grp/tst-putgrent.c: New file.
24761         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24762         valid syntax.
24763         * shadow/Makefile (tests): Add tst-putspent.
24764         * shadow/tst-putspent.c: New file.
24765         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24766         sg_mem fields for valid syntax.
24767         * gshadow/Makefile (tests): Add tst-putsgent.
24768         * gshadow/tst-putsgent.c: New file.
24770 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24772         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24773         assembly instructions.
24775 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24777         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24778         prefix from operands.
24780 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24782         [BZ #16347]
24783         [BZ #19046]
24784         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24785         <libc-internal.h>.
24786         (MAXLGM): Do not use diagnostic control macros.
24787         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24788         threshold for ldbl-128ibm.
24789         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24790         instead of multiplying by log then subtracting.
24791         * math/auto-libm-test-in: Add more tests of lgamma.
24792         * math/auto-libm-test-out: Regenerated.
24794         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24795         (TYPE_HEX_DIG): Likewise.
24796         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24797         precisions when printing floating-point numbers.
24798         (check_float_internal): Likewise.
24800 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24802         [BZ #16620]
24803         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24804         of log (10) rounded downward to 48 bits.
24805         (log10_low): Use corresponding low part of log (10).
24807         [BZ #19032]
24808         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24809         compute result as (x - x) / (x - x) not as 0 / 0.
24810         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24811         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24813         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24814         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24815         and expm1.
24816         * math/auto-libm-test-out: Regenerated.
24817         * math/libm-test.inc (acos_test_data): Add more tests.
24818         (asin_test_data): Likewise.
24819         (asinh_test_data): Likewise.
24820         (atan_test_data): Likewise.
24821         (atanh_test_data): Likewise.
24822         (atan2_test_data): Likewise.
24823         (cbrt_test_data): Likewise.
24824         (ceil_test_data): Likewise.
24825         (copysign_test_data): Likewise.
24826         (cos_test_data): Likewise.
24827         (cosh_test_data): Likewise.
24828         (erf_test_data): Likewise.
24829         (erfc_test_data): Likewise.
24830         (exp_test_data): Likewise.
24831         (exp10_test_data): Likewise.
24832         (exp2_test_data): Likewise.
24833         (expm1_test_data): Likewise.
24834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24836 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24838         [BZ #19006]
24839         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24840         to ...
24841         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24842         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24843         to ...
24844         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24845         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24846         to ...
24847         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24848         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24849         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24850         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24851         to ...
24852         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24853         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24854         Moved to ...
24855         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24856         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24857         Moved to ...
24858         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24859         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24860         to ...
24861         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24862         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24863         Moved to ...
24864         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24865         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24866         to ...
24867         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24868         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24869         Removed.
24870         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24871         Likewise.
24872         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24873         Likewise.
24874         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24875         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24876         Likewise.
24877         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24878         Likewise.
24879         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24880         Likewise.
24881         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24882         Likewise.
24883         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24884         Likewise.
24885         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24886         Likewise.
24887         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24888         Likewise.
24889         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24890         Likewise.
24891         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24892         Likewise.
24893         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24894         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24895         Likewise.
24896         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24897         Likewise.
24898         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24899         Likewise.
24900         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24901         Likewise.
24902         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24903         Likewise.
24904         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24905         Replace ../i486/pthread_cond_timedwait.S with
24906         ../pthread_cond_timedwait.S.
24908 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24910         * math/libm-test.inc (acos_test_data): Refine expectations for
24911         errno and "inexact" exceptions.
24912         (acosh_test_data): Likewise.
24913         (asin_test_data): Likewise.
24914         (asinh_test_data): Likewise.
24915         (atan_test_data): Likewise.
24916         (atanh_test_data): Likewise.
24917         (atan2_test_data): Likewise.
24918         (cbrt_test_data): Likewise.
24919         (ceil_test_data): Likewise.
24920         (copysign_test_data): Likewise.
24921         (cosh_test_data): Likewise.
24922         (erf_test_data): Likewise.
24923         (erfc_test_data): Likewise.
24924         (exp_test_data): Likewise.
24925         (exp10_test_data): Likewise.
24926         (exp2_test_data): Likewise.
24927         (expm1_test_data): Likewise.
24928         (fabs_test_data): Likewise.
24929         (floor_test_data): Likewise.
24930         (fma_test_data): Likewise.
24931         (fmax_test_data): Likewise.
24932         (fmin_test_data): Likewise.
24933         (fmod_test_data): Likewise.
24934         (fpclassify_test_data): Likewise.
24935         (frexp_test_data): Likewise.
24936         (hypot_test_data): Likewise.
24937         (ilogb_test_data): Likewise.
24938         (isgreater_test_data): Likewise.
24939         (isgreaterequal_test_data): Likewise.
24940         (isinf_test_data): Likewise.
24941         (isless_test_data): Likewise.
24942         (islessequal_test_data): Likewise.
24943         (islessgreater_test_data): Likewise.
24944         (isnan_test_data): Likewise.
24945         (isnormal_test_data): Likewise.
24946         (issignaling_test_data): Likewise.
24947         (isunordered_test_data): Likewise.
24948         (j0_test_data): Likewise.
24949         (j1_test_data): Likewise.
24950         (jn_test_data): Likewise.
24951         (lgamma_test_data): Likewise.
24952         (lrint_test_data): Likewise.
24953         (llrint_test_data): Likewise.
24954         (log_test_data): Likewise.
24955         (log10_test_data): Likewise.
24956         (log1p_test_data): Likewise.
24957         (log2_test_data): Likewise.
24958         (logb_test_data): Likewise.
24959         (lround_test_data): Likewise.
24960         (llround_test_data): Likewise.
24961         (modf_test_data): Likewise.
24962         (nearbyint_test_data): Likewise.
24963         (nextafter_test_data): Likewise.
24964         (nexttoward_test_data): Likewise.
24965         (pow_test_data): Likewise.
24966         (remainder_test_data): Likewise.
24967         (remquo_test_data): Likewise.
24968         (rint_test_data): Likewise.
24969         (round_test_data): Likewise.
24970         (signbit_test_data): Likewise.
24971         (sinh_test_data): Likewise.
24972         (sqrt_test_data): Likewise.
24973         (tanh_test_data): Likewise.
24974         (tgamma_test_data): Likewise.
24975         (trunc_test_data): Likewise.
24976         (y0_test_data): Likewise.
24977         (y1_test_data): Likewise.
24978         (yn_test_data): Likewise.
24979         (significand_test_data): Likewise.
24981 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24983         * manual/filesys.texi (Storage Allocation): Document that
24984         posix_fallocate emulation fails when fd is open with O_WRONLY.
24986 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24988         [BZ #19016]
24989         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24990         allow more cases with X^2 + Y^2 >= 0.5.
24991         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24992         normal element in sum instead of special-casing based on values of
24993         arguments.
24994         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24995         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24996         -1 as normal element in sum instead of special-casing based on
24997         values of arguments.
24998         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24999         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
25000         (__x2y2m1): Update comment.
25001         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
25002         as normal element in sum instead of special-casing based on values
25003         of arguments.
25004         * math/s_clog.c (__clog): Handle more cases using log1p without
25005         hypot.
25006         * math/s_clog10.c (__clog10): Likewise.
25007         * math/s_clog10f.c (__clog10f): Likewise.
25008         * math/s_clog10l.c (__clog10l): Likewise.
25009         * math/s_clogf.c (__clogf): Likewise.
25010         * math/s_clogl.c (__clogl): Likewise.
25011         * math/auto-libm-test-in: Add more tests of clog and clog10.
25012         * math/auto-libm-test-out: Regenerated.
25013         * sysdeps/i386/fpu/libm-test-ulps: Update.
25014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25016 2015-09-28  Martin Sebor  <msebor@redhat.com>
25018         [BZ #18969]
25019         * string/Makefile (LOCALES): Define.
25020         (gen-locales.mk): Include.
25021         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
25022         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
25023         * string/tst-strxfrm2.c (do_test): Print the name of the locale
25024         on setlocale failure.
25026 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
25028         [BZ #18985]
25029         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
25030         (__strftime_internal): Likewise.
25031         * time/tst-strftime.c (do_bz18985): New test.
25032         (do_test): Call it.
25034 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
25036         [BZ #18956]
25037         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
25038         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
25039         extracting high part.
25040         * math/auto-libm-test-in: Add another test of pow.
25041         * math/auto-libm-test-out: Regenerated.
25042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25044 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25046         [BZ #18825]
25047         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
25048         New macro.
25049         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
25050         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25051         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
25052         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
25053         DBL_NARROW_EVAL, reloading the PIC register as needed.
25054         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
25055         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
25056         FLT_NARROW_EVAL.  Use separate return path for case when first
25057         argument is NaN.
25058         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
25059         DEFINE_LDBL_MIN.
25060         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
25061         PIC register.
25062         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
25063         math_check_force_underflow_nonneg.
25064         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
25065         underflow for subnormal result.
25066         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
25067         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
25068         math_check_force_underflow_nonneg.
25069         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
25070         math_check_force_underflow.
25071         * sysdeps/x86_64/fpu/x86_64-math-asm.h
25072         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
25073         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
25074         DEFINE_LDBL_MIN.
25075         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
25076         * math/auto-libm-test-in: Add more tests of pow.
25077         * math/auto-libm-test-out: Regenerated.
25079 2015-09-25  Florian Weimer  <fweimer@redhat.com>
25081         * nss/bug17079.c (init_test_items): Add diagnostic for
25082         inconsistent entries.
25083         (test_buffer_size): Skip inconsistent entries.
25085 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25087         [BZ #13304]
25088         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
25089         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
25090         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
25092         [BZ #13304]
25093         * sysdeps/microblaze/s_fma.c: New file.
25094         * sysdeps/microblaze/s_fmaf.c: Likewise.
25095         * sysdeps/microblaze/sfp-machine.h: Likewise.
25097 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
25099         [BZ #17250]
25100         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
25101         member.
25103 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25105         [BZ #18803]
25106         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
25107         (MO): New macro.
25108         (__ieee754_hypot) [PIC]: Load PIC register.
25109         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
25110         DBL_NARROW_EVAL.
25111         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
25112         math_check_force_underflow_nonneg in case where result might be
25113         tiny.
25114         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25115         Likewise.
25116         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25117         Likewise.
25118         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
25119         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
25120         * math/auto-libm-test-in: Add more tests of hypot.
25121         * math/auto-libm-test-out: Regenerated.
25123 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
25125         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
25127 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25129         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
25130         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
25131         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25132         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25133         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
25134         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25135         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25137         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
25138         LOAD_PIC_REG.
25140         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
25141         (FLT_CHECK_FORCE_UFLOW): Likewise.
25142         (DBL_CHECK_FORCE_UFLOW): Likewise.
25143         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
25144         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
25145         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
25146         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25147         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25148         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25149         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25150         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25151         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
25152         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25153         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
25154         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
25155         (flt_min): Replace with use of DEFINE_FLT_MIN.
25156         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
25157         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
25158         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25159         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
25160         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
25161         (flt_min): Replace with use of DEFINE_FLT_MIN.
25162         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
25163         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
25164         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25165         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
25166         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
25167         (flt_min): Replace with use of DEFINE_FLT_MIN.
25168         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
25169         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
25170         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25171         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25172         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
25173         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25174         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25175         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
25176         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25177         (__atan): Use DBL_CHECK_FORCE_UFLOW.
25178         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
25179         (flt_min): Replace with use of DEFINE_FLT_MIN.
25180         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
25181         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
25182         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25183         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
25184         main computation.
25185         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
25186         (flt_min): Replace with use of DEFINE_FLT_MIN.
25187         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
25188         main computation.
25189         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
25190         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25191         (MO): New macro.
25192         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
25193         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
25194         (flt_min): Replace with use of DEFINE_FLT_MIN.
25195         (MO): New macro.
25196         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
25197         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
25198         (__log1pl): Use MO.
25200         [BZ #19003]
25201         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
25202         $(config-cflags-nofma).
25204 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25206         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25208 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
25210         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
25211         (TWO127): Likewise.
25213         * sysdeps/generic/math_private.h (fabs_tg): New macro.
25214         (min_of_type): Likewise.
25215         (math_check_force_underflow): Likewise.
25216         (math_check_force_underflow_nonneg): Likewise.
25217         (math_check_force_underflow_complex): Likewise.
25218         * math/e_exp2l.c (__ieee754_exp2l): Use
25219         math_check_force_underflow_nonneg.
25220         * math/k_casinh.c (__kernel_casinh): Likewise.
25221         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25222         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25223         * math/s_catan.c (__catan): Use
25224         math_check_force_underflow_complex.
25225         * math/s_catanf.c (__catanf): Likewise.
25226         * math/s_catanh.c (__catanh): Likewise.
25227         * math/s_catanhf.c (__catanhf): Likewise.
25228         * math/s_catanhl.c (__catanhl): Likewise.
25229         * math/s_catanl.c (__catanl): Likewise.
25230         * math/s_ccosh.c (__ccosh): Likewise.
25231         * math/s_ccoshf.c (__ccoshf): Likewise.
25232         * math/s_ccoshl.c (__ccoshl): Likewise.
25233         * math/s_cexp.c (__cexp): Likewise.
25234         * math/s_cexpf.c (__cexpf): Likewise.
25235         * math/s_cexpl.c (__cexpl): Likewise.
25236         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
25237         * math/s_clog10.c (__clog10): Likewise.
25238         * math/s_clog10f.c (__clog10f): Likewise.
25239         * math/s_clog10l.c (__clog10l): Likewise.
25240         * math/s_clogf.c (__clogf): Likewise.
25241         * math/s_clogl.c (__clogl): Likewise.
25242         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
25243         * math/s_csinf.c (__csinf): Likewise.
25244         * math/s_csinh.c (__csinh): Likewise.
25245         * math/s_csinhf.c (__csinhf): Likewise.
25246         * math/s_csinhl.c (__csinhl): Likewise.
25247         * math/s_csinl.c (__csinl): Likewise.
25248         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
25249         * math/s_csqrtf.c (__csqrtf): Likewise.
25250         * math/s_csqrtl.c (__csqrtl): Likewise.
25251         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
25252         * math/s_ctanf.c (__ctanf): Likewise.
25253         * math/s_ctanh.c (__ctanh): Likewise.
25254         * math/s_ctanhf.c (__ctanhf): Likewise.
25255         * math/s_ctanhl.c (__ctanhl): Likewise.
25256         * math/s_ctanl.c (__ctanl): Likewise.
25257         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
25258         instead of volatile.
25259         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
25260         math_check_force_underflow.
25261         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25262         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
25263         volatile when forcing underflow.
25264         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25265         math_check_force_underflow_nonneg.
25266         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25267         Likewise.
25268         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
25269         math_check_force_underflow.
25270         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25271         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25272         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25273         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
25274         math_check_force_underflow_nonneg.
25275         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
25276         math_check_force_underflow.
25277         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
25279         instead of volatile.
25280         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
25281         math_check_force_underflow.
25282         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25283         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25284         math_check_force_underflow_nonneg.
25285         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
25286         math_check_force_underflow.
25287         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
25288         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25289         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
25290         math_check_force_underflow_nonneg.
25291         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25292         Likewise.
25293         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
25294         math_check_force_underflow.
25295         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25296         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25297         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
25298         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
25299         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
25300         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
25301         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25302         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25303         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25304         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
25305         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
25306         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25307         Likewise.
25308         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
25309         math_check_force_underflow_nonneg.
25310         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25311         Likewise.
25312         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
25313         math_check_force_underflow.
25314         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25315         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
25316         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25317         Likewise.
25318         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
25319         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
25320         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
25321         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
25322         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
25323         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
25324         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
25325         instead of volatile.
25326         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
25327         math_check_force_underflow.
25328         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
25329         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
25330         math_check_force_underflow.
25331         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
25332         Likewise.
25333         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25334         Use math_check_force_underflow_nonneg.
25335         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
25336         math_check_force_underflow.
25337         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25338         Likewise.
25339         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25340         Likewise.
25341         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25342         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25343         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25344         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25345         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
25346         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25347         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25348         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25349         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
25350         math_check_force_underflow_nonneg.
25351         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
25352         math_check_force_underflow.
25353         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25354         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25355         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
25356         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
25357         math_check_force_underflow_nonneg.
25358         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
25359         math_check_force_underflow.
25360         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
25362         instead of volatile.
25363         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
25364         math_check_force_underflow.
25366         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
25367         * stdlib/strtod_l.c: Include <math_private.h>.
25368         (overflow_value): Use math_narrow_eval.
25369         (underflow_value): Likewise.
25370         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25371         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25372         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
25373         (__ieee754_gamma_r): Likewise.
25374         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
25375         Likewise.
25376         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
25377         Likewise.
25378         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
25379         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
25380         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
25381         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
25382         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
25383         (__ieee754_gammaf_r): Likewise.
25384         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25385         Likewise.
25386         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
25387         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
25388         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
25389         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
25390         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
25391         volatile.
25392         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
25393         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
25394         math_narrow_eval.
25395         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25396         Likewise.
25397         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25398         Likewise.
25399         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
25400         Likewise.
25401         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
25402         volatile.
25403         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
25404         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
25405         math_narrow_eval.
25406         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25407         Likewise.
25408         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25409         Likewise.
25411 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
25413         * nptl/Versions: Remove ignored symbols.
25415 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25417         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
25418         * nss/Makefile (tests): Update.
25420 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25422         * nss/bug18287.c: New file.
25423         * nss/Makefile (tests): Add bug18287.
25425 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25427         * mach/Versions (__mach_host_self_): Add symbol.
25429 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25431         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
25432         vm_page_size.
25434 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25436         Really fix sysdeps/i386/fpu/s_scalbn.S build
25438         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
25439         (libc: GLIBC_2_22): Remove unused version set.
25441 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25443         * config.make.in (enable-timezone-tools): New variable.
25444         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
25445         (enable_timezone_tools): Export to generated files.
25446         * configure: Regenerate.
25447         * INSTALL: Regenerate.
25448         * manual/install.texi (--disable-timezone-tools): Document new flag.
25449         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
25450         ifeq ($(enable-timezone-tools),yes) check.
25452 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25454         * timezone/Makefile: Revert previous change.
25456         [BZ #18980]
25457         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
25458         (DEFINE_DBL_MIN): Likewise.
25459         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25460         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25461         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25462         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25463         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
25464         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25465         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25466         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
25467         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
25468         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25469         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25470         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
25471         (flt_min): Replace with use of DEFINE_FLT_MIN.
25472         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25473         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
25474         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25475         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25476         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
25477         (flt_min): Replace with use of DEFINE_FLT_MIN.
25478         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25479         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
25480         (flt_min): Replace with use of DEFINE_FLT_MIN.
25481         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25482         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
25483         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
25484         (__ieee754_hypot): Use DBL_NARROW_EVAL.
25485         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
25486         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
25487         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
25488         (__ieee754_pow): Use DBL_NARROW_EVAL.
25489         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
25490         (__ieee754_powf): Use FLT_NARROW_EVAL.
25491         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
25492         (__ieee754_expf_sse2): Convert double-precision result to single
25493         precision.
25494         * sysdeps/i386/fpu/libm-test-ulps: Update.
25496 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25498         * timezone/Makefile: Ignore unused variable errors due to private.h
25499         (time_t_min) and (time_t_max).
25500         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
25501         Likewise.
25503 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25505         [BZ #18981]
25506         * sysdeps/i386/fpu/i386-math-asm.h: New file.
25507         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
25508         (__ieee754_scalb): Use DBL_NARROW_EVAL.
25509         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
25510         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
25511         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
25512         (__scalbn): Use DBL_NARROW_EVAL.
25513         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
25514         (__scalbnf): Use FLT_NARROW_EVAL.
25516 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25518         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
25519         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
25520         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
25521         * stdio-common/printf_fp.c (___printf_fp):
25522         Use signbit to get the sign. Use isinf macro to allow inlining.
25523         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
25524         * stdio-common/printf_size.c (__printf_size): Likewise.
25526 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25528         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
25530 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25532         [BZ #18980]
25533         * sysdeps/generic/math_private.h: Include <float.h>.
25534         (math_narrow_eval): New macro.
25535         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
25536         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
25537         math_narrow_eval on overflowing return value.
25538         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
25539         Likewise.
25540         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25541         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
25542         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
25543         Likewise.
25544         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25546 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25548         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
25549         * math/Makefile: Remove isinf_ns.c.
25550         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
25551         * math/multc3.c (__multc3): Likewise.
25552         * math/s_casin.c (__casin): Likewise.
25553         * math/s_casinf.c (__casinf): Likewise.
25554         * math/s_casinl.c (__casinl): Likewise.
25555         * math/s_cproj.c (__cproj): Likewise.
25556         * math/s_cprojf.c (__cprojf): Likewise.
25557         * math/s_cprojl.c (__cprofl): Likewise.
25558         * math/s_ctan.c (__ctan): Likewise.
25559         * math/s_ctanf.c (__ctanf): Likewise.
25560         * math/s_ctanh.c (__ctanh): Likewise.
25561         * math/s_ctanhf.c (__ctanhf): Likewise.
25562         * math/s_ctanhl.c (__ctanhl): Likewise.
25563         * math/s_ctanl.c (__ctanl): Likewise.
25564         * math/w_fmod.c (__fmod): Likewise.
25565         * math/w_fmodf.c (__fmodf): Likewise.
25566         * math/w_fmodl.c (_fmodl): Likewise.
25567         * math/w_remainder.c (__remainder): Likewise.
25568         * math/w_remainderf.c (__remainderf): Likewise.
25569         * math/w_remainderl.c (__remainderl): Likewise.
25570         * math/w_scalb.c (__scalb): Likewise.
25571         * math/w_scalbf.c (__scalbf): Likewise.
25572         * math/w_scalbl.c (__scalbl): Likewise.
25573         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
25574         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
25575         with isinf.
25576         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
25577         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
25578         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
25579         __isinf_nsf with isinf.
25580         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
25581         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
25582         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
25583         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
25584         with isinf.
25585         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
25586         __isinf_nsl with isinf.
25587         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
25588         with isinf.
25589         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
25590         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
25591         __isinf_nsl with isinf.
25592         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
25593         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
25594         with isinf.
25596 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25598         * resolv/base64.c (rcsid): Remove unused static.
25599         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
25600         static.  (tqpi1): Likewise.
25601         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
25602         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
25603         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25604         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25605         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25606         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25607         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25608         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25609         Likewise.
25611 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25613         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25614         <nptl/pthreadP.h>.
25615         (_longjmp_unwind): Use __libc_ptf_call.
25616         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25618 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25620         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25621         * sysdeps/arm/__longjmp.S: Likewise.
25623 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25625         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25626         Use __builtin_signbit.
25627         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25628         Use __builtin_signbitf.
25629         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25630         Use __builtin_signbitl.
25631         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25632         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25634 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25636         [BZ #15367]
25637         [BZ #17441]
25639         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25640         * math/math.h (fpclassify): Use __builtin_fpclassify when
25641         available.  (signbit): Use __builtin_signbit(f/l).
25642         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25643         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25644         (isinf): Use __builtin_isinf_sign.
25646 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25648         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25649         * benchtests/bench-math-inlines.c: New benchmark.
25650         * benchtests/bench-util.h: New file.
25651         * benchtests/bench-util.c: New file.
25652         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25654 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25656         * elf/tst-dlmopen1.c: Define TEST_SO.
25657         (do_test): Use TEST_SO.
25659         * elf/dl-load.c: Include libc-internal.h.
25660         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25662 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25664         [BZ #17887]
25665         * time/strptime_l.c (__strptime_internal): Make %z accept
25666         [+-]HH:MM time zones.
25668 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25670         [BZ #17886]
25671         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25672         valid time zone.
25674 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25676         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25677         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25679         (__ASSUME_FDATASYNC): Delete.
25681 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25683         * conform/linknamespace.pl: Require weak undefined symbols to be
25684         in the standard namespace.
25685         (%strong_syms): Rename to %seen_syms.
25686         (%strong_seen): Rename to %seen_where.
25688 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25690         [BZ #18970]
25691         * misc/error.c (error): Replace pthread_setcancelstate with
25692         __pthread_setcancelstate.
25693         (error_at_line): Likewise.
25694         * posix/wordexp.c (parse_comm): Likewise.
25695         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25696         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25697         (__pthread_setcancelstate): This.
25698         (pthread_setcancelstate): Add an alias.
25699         * nptl/nptl-init.c (pthread_functions): Replace
25700         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25701         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25702         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25703         hidden_proto.
25704         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25705         it with hidden_def.
25706         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25707         (pthread_setcancelstate): Renamed to ...
25708         (__pthread_setcancelstate): This.
25709         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25710         __libc_ptf_call with __pthread_setcancelstate.
25712 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25713             Andreas Schwab  <schwab@suse.de>
25715         [BZ #17118]
25716         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25717         result when imaginary part of argument is infinite using sine and
25718         cosine.
25719         * math/s_ctanf.c (__ctanf): Likewise.
25720         * math/s_ctanl.c (__ctanl): Likewise.
25721         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25722         of result when real part of argument is infinite using sine and
25723         cosine.
25724         * math/s_ctanhf.c (__ctanhf): Likewise.
25725         * math/s_ctanhl.c (__ctanhl): Likewise.
25726         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25727         (ctanh_test_data): Add more tests of ctanh.
25729 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25731         [BZ #15384]
25732         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25733         bit-mask as in subtraction.
25734         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25735         Likewise.
25736         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25737         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25738         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25740         [BZ #18951]
25741         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25742         underflow exception for small results.
25743         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25744         Likewise.
25745         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25746         Likewise.
25747         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25748         Likewise.
25749         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25750         Likewise.
25751         * math/auto-libm-test-in: Add more tests of tgamma.
25752         * math/auto-libm-test-out: Regenerated.
25754 2015-09-17  Andreas Schwab  <schwab@suse.de>
25756         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25758 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25760         [BZ #18977]
25761         * math/bits/mathcalls.h
25762         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25763         not declare.
25764         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25765         Likewise.
25766         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25767         Likewise.
25768         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25769         Likewise.
25770         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25771         Likewise.
25772         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25773         Likewise.
25774         * conform/data/math.h-data
25775         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25776         function.
25777         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25778         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25779         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25780         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25781         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25782         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25783         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25784         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25785         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25786         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25787         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25789         [BZ #6803]
25790         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25791         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25792         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25793         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25794         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25795         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25796         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25797         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25798         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25800         Likewise.
25801         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25802         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25803         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25804         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25805         long_double_symbol calls.
25806         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25807         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25808         strong alias of __ldexpl.
25809         (scalbnl): Define using long_double_symbol.
25810         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25811         Remove alias.
25812         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25813         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25814         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25815         (scalbln_test_data): Add more errno expectations.
25817 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25819         Cache the host port like we cache the task port.  This way we do not
25820         need to call the kernel just to get the port.  Furthermore, we no
25821         longer increase the reference count on every invocation of
25822         `mach_host_self'.
25824         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25825         Protect declarations against the macro expansion.
25826         * mach/mach_init.c (__mach_host_self_): New variable.
25827         (mach_init): Initialize `__mach_host_self_'.
25828         * mach/mach_init.h (__mach_host_self_): New declaration.
25829         (__mach_host_self, mach_host_self): New macros.
25830         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25831         Release reference.
25833 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25835         [BZ #4404]
25836         * po/de.po: Update from Translation Project.
25838         [BZ #16415]
25839         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25840         (__expm1l): Remove code to handle positive infinity and overflow.
25841         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25842         variable.
25843         (__expm1l): Remove code to handle positive infinity and overflow.
25845 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25846             Paul Pluzhnikov  <ppluzhnikov@google.com>
25848         [BZ #18872]
25849         * stdio-common/Makefile (tst-printf-bz18872): New test.
25850         (tst-printf-bz18872-mem.out): Likewise.
25851         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25852         * stdio-common/vfprintf.c: Fix memory leaks.
25854 2015-09-16  Andreas Schwab  <schwab@suse.de>
25856         [BZ #17244]
25857         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25858         Remove extra va_start/va_end calls.
25860         [BZ #17243]
25861         * posix/execl.c (execl): Add missing va_end.
25862         * posix/execle.c (execle): Likewise.
25863         * posix/execlp.c (execlp): Likewise.
25865 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25867         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25868         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25870 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25872         [BZ #18967]
25873         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25874         undefine around includes of <bits/mathcalls.h>.
25875         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25876         not declare function.
25877         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25878         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25879         (scalb): Likewise.
25880         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25881         not define macro.
25882         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25883         variable.
25884         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25885         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25886         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25888         [BZ #18857]
25889         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25890         return non-finite argument without doing ordered comparisons on
25891         it.
25893         [BZ #16296]
25894         * math/fenv.h (fegetround): Use __attribute_pure__.
25895         * include/fenv.h (__fegetround): Likewise.
25897         [BZ #18595]
25898         * math/s_ctan.c (__ctan): Force underflow exception for results
25899         whose real or imaginary part has small absolute value.
25900         * math/s_ctanf.c (__ctanf): Likewise.
25901         * math/s_ctanh.c (__ctanh): Likewise.
25902         * math/s_ctanhf.c (__ctanhf): Likewise.
25903         * math/s_ctanhl.c (__ctanhl): Likewise.
25904         * math/s_ctanl.c (__ctanl): Likewise.
25905         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25906         and ctanh.  Add more tests of ctan and ctanh.
25908         [BZ #15918]
25909         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25910         handling of cases where one argument is an infinity.
25912         [BZ #18875]
25913         [BZ #18966]
25914         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25915         (MO): New macro.
25916         (__ieee754_exp10): For small results, force underflow exception
25917         and remove excess range and precision from return value.
25918         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25919         (MO): New macro.
25920         (__ieee754_exp10f): For small results, force underflow exception
25921         and remove excess range and precision from return value.
25922         * math/auto-libm-test-in: Add more tests of exp10.
25923         * math/auto-libm-test-out: Regenerated.
25925 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25927         [BZ #18875]
25928         [BZ #18961]
25929         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25930         (MO): New macro.
25931         (__ieee754_exp): For small results, force underflow exception and
25932         remove excess range and precision from return value.
25933         (__exp_finite): Likewise.
25934         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25935         (MO): New macro.
25936         (__ieee754_expf): For small results, force underflow exception and
25937         remove excess range and precision from return value.
25938         (__expf_finite): Likewise.
25939         * math/auto-libm-test-in: Add more tests of exp.
25940         * math/auto-libm-test-out: Regenerated.
25942         [BZ #16521]
25943         [BZ #18875]
25944         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25945         small results.
25946         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25947         (MO): New macro.
25948         (__ieee754_exp2): For small results, force underflow exception and
25949         remove excess range and precision from return value.
25950         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25951         (MO): New macro.
25952         (__ieee754_exp2f): For small results, force underflow exception
25953         and remove excess range and precision from return value.
25954         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25955         (MO): New macro.
25956         (__ieee754_exp2l): Force underflow exception for small results.
25957         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25958         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25959         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25960         (MO): New macro.
25961         (__ieee754_exp2l): Force underflow exception for small results.
25962         * math/auto-libm-test-in: Add more tests or exp2.
25963         * math/auto-libm-test-out: Regenerated.
25965 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25967         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25969         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25970         /dev/null.
25972 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25974         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25975         io fs process)): Drop spurious backslash.
25977 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25979         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25980         Use sysinfo system call instead of parsing /proc/meminfo.
25981         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25982         Likewise.
25984 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25986         [BZ #16985]
25987         * programs/localedef.c (main): Display argv[remaining] when
25988         output_path is NULL.
25990 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25992         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25993         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25994         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25995         tanh.
25996         * math/auto-libm-test-out: Regenerated.
25997         * sysdeps/i386/fpu/libm-test-ulps: Update.
25998         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25999         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26002 2015-09-11  Roland McGrath  <roland@hack.frob.com>
26004         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
26005         Use 'override' keyword to freeze the value here, preventing
26006         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
26008 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26010         [BZ #14912]
26011         * sysdeps/aarch64/bits/atomic.h: Move to ...
26012         * sysdeps/aarch64/atomic-machine.h: ...here.
26013         (_AARCH64_BITS_ATOMIC_H): Rename macro to
26014         _AARCH64_ATOMIC_MACHINE_H.
26015         * sysdeps/alpha/bits/atomic.h: Move to ...
26016         * sysdeps/alpha/atomic-machine.h: ...here.
26017         * sysdeps/arm/bits/atomic.h: Move to ...
26018         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
26019         * bits/atomic.h: Move to ...
26020         * sysdeps/generic/atomic-machine.h: ...here.
26021         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26022         * sysdeps/i386/bits/atomic.h: Move to ...
26023         * sysdeps/i386/atomic-machine.h: ...here.
26024         * sysdeps/ia64/bits/atomic.h: Move to ...
26025         * sysdeps/ia64/atomic-machine.h: ...here.
26026         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
26027         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
26028         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26029         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
26030         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
26031         * sysdeps/microblaze/bits/atomic.h: Move to ...
26032         * sysdeps/microblaze/atomic-machine.h: ...here.
26033         * sysdeps/mips/bits/atomic.h: Move to ...
26034         * sysdeps/mips/atomic-machine.h: ...here.
26035         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
26036         * sysdeps/powerpc/bits/atomic.h: Move to ...
26037         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
26038         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
26039         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
26040         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
26041         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
26042         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
26043         <atomic-machine.h> instead of <bits/atomic.h>.
26044         * sysdeps/s390/bits/atomic.h: Move to ...
26045         * sysdeps/s390/atomic-machine.h: ...here.
26046         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
26047         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
26048         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26049         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
26050         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
26051         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
26052         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
26053         * sysdeps/tile/bits/atomic.h: Move to ...
26054         * sysdeps/tile/atomic-machine.h: ...here.
26055         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
26056         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
26057         <sysdeps/tile/atomic-machine.h> instead of
26058         <sysdeps/tile/bits/atomic.h>.
26059         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26060         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
26061         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
26062         <sysdeps/tile/atomic-machine.h> instead of
26063         <sysdeps/tile/bits/atomic.h>.
26064         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26065         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
26066         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
26067         <sysdeps/arm/atomic-machine.h> instead of
26068         <sysdeps/arm/bits/atomic.h>.
26069         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
26070         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
26071         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26072         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
26073         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
26074         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26075         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
26076         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
26077         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
26078         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
26079         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
26080         * sysdeps/x86_64/bits/atomic.h: Move to ...
26081         * sysdeps/x86_64/atomic-machine.h: ...here.
26082         * include/atomic.h: Include <atomic-machine.h> instead of
26083         <bits/atomic.h>.
26085         * sysdeps/mips/mips32/libm-test-ulps: Update.
26086         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26088         [BZ #18952]
26089         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
26090         not convert non-integer negative arguments to int to determine the
26091         value of signgam.
26092         * math/auto-libm-test-in: Add more tests of lgamma.
26093         * math/auto-libm-test-out: Regenerated.
26095         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
26096         cosh, csqrt, erfc, expm1 and lgamma.
26097         * math/auto-libm-test-out: Regenerated.
26098         * sysdeps/i386/fpu/libm-test-ulps: Update.
26099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26101 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
26103         [BZ #2542]
26104         [BZ #2543]
26105         [BZ #2558]
26106         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
26107         __lgamma_neg for arguments from -28.0 to -2.0.
26108         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
26109         __lgamma_negf for arguments from -15.0 to -2.0.
26110         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26111         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
26112         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
26113         Call __lgamma_negl for arguments from -33.0 to -2.0.
26114         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
26115         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
26116         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
26117         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
26118         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
26119         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
26120         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
26121         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
26122         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
26123         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
26124         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
26125         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
26126         (__lgamma_neg): Likewise.
26127         (__lgamma_negl): Likewise.
26128         (__lgamma_product): Likewise.
26129         (__lgamma_productl): Likewise.
26130         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
26131         * math/auto-libm-test-in: Add more tests of lgamma.
26132         * math/auto-libm-test-out: Regenerated.
26133         * sysdeps/i386/fpu/libm-test-ulps: Update.
26134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26136 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
26138         [BZ #18675]
26139         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
26141 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
26143         [BZ #14912]
26144         * bits/libc-lock.h: Move to ...
26145         * sysdeps/generic/libc-lock.h: ...here.
26146         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26147         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
26148         * sysdeps/mach/hurd/libc-lock.h: ...here.
26149         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26150         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
26151         * sysdeps/mach/bits/libc-lock.h: Move to ...
26152         * sysdeps/mach/libc-lock.h: ...here.
26153         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26154         * sysdeps/nptl/bits/libc-lock.h: Move to ...
26155         * sysdeps/nptl/libc-lock.h: ...here.
26156         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26157         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
26158         * sysdeps/nptl/libc-lockP.h: ...here.
26159         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
26160         * crypt/crypt_util.c: Include <libc-lock.h> instead of
26161         <bits/libc-lock.h>.
26162         * dirent/scandir-tail.c: Likewise.
26163         * dlfcn/dlerror.c: Likewise.
26164         * elf/dl-close.c: Likewise.
26165         * elf/dl-iteratephdr.c: Likewise.
26166         * elf/dl-lookup.c: Likewise.
26167         * elf/dl-open.c: Likewise.
26168         * elf/dl-support.c: Likewise.
26169         * elf/dl-writev.h: Likewise.
26170         * elf/rtld.c: Likewise.
26171         * grp/fgetgrent.c: Likewise.
26172         * gshadow/fgetsgent.c: Likewise.
26173         * gshadow/sgetsgent.c: Likewise.
26174         * iconv/gconv_conf.c: Likewise.
26175         * iconv/gconv_db.c: Likewise.
26176         * iconv/gconv_dl.c: Likewise.
26177         * iconv/gconv_int.h: Likewise.
26178         * iconv/gconv_trans.c: Likewise.
26179         * include/link.h: Likewise.
26180         * inet/getnameinfo.c: Likewise.
26181         * inet/getnetgrent.c: Likewise.
26182         * inet/getnetgrent_r.c: Likewise.
26183         * intl/bindtextdom.c: Likewise.
26184         * intl/dcigettext.c: Likewise.
26185         * intl/finddomain.c: Likewise.
26186         * intl/gettextP.h: Likewise.
26187         * intl/loadmsgcat.c: Likewise.
26188         * intl/localealias.c: Likewise.
26189         * intl/textdomain.c: Likewise.
26190         * libidn/idn-stub.c: Likewise.
26191         * libio/libioP.h: Likewise.
26192         * locale/duplocale.c: Likewise.
26193         * locale/freelocale.c: Likewise.
26194         * locale/newlocale.c: Likewise.
26195         * locale/setlocale.c: Likewise.
26196         * login/getutent_r.c: Likewise.
26197         * login/getutid_r.c: Likewise.
26198         * login/getutline_r.c: Likewise.
26199         * login/utmp-private.h: Likewise.
26200         * login/utmpname.c: Likewise.
26201         * malloc/mtrace.c: Likewise.
26202         * misc/efgcvt.c: Likewise.
26203         * misc/error.c: Likewise.
26204         * misc/fstab.c: Likewise.
26205         * misc/getpass.c: Likewise.
26206         * misc/mntent.c: Likewise.
26207         * misc/syslog.c: Likewise.
26208         * nis/nis_call.c: Likewise.
26209         * nis/nis_callback.c: Likewise.
26210         * nis/nss-default.c: Likewise.
26211         * nis/nss_compat/compat-grp.c: Likewise.
26212         * nis/nss_compat/compat-initgroups.c: Likewise.
26213         * nis/nss_compat/compat-pwd.c: Likewise.
26214         * nis/nss_compat/compat-spwd.c: Likewise.
26215         * nis/nss_nis/nis-alias.c: Likewise.
26216         * nis/nss_nis/nis-ethers.c: Likewise.
26217         * nis/nss_nis/nis-grp.c: Likewise.
26218         * nis/nss_nis/nis-hosts.c: Likewise.
26219         * nis/nss_nis/nis-network.c: Likewise.
26220         * nis/nss_nis/nis-proto.c: Likewise.
26221         * nis/nss_nis/nis-pwd.c: Likewise.
26222         * nis/nss_nis/nis-rpc.c: Likewise.
26223         * nis/nss_nis/nis-service.c: Likewise.
26224         * nis/nss_nis/nis-spwd.c: Likewise.
26225         * nis/nss_nisplus/nisplus-alias.c: Likewise.
26226         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
26227         * nis/nss_nisplus/nisplus-grp.c: Likewise.
26228         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
26229         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
26230         * nis/nss_nisplus/nisplus-network.c: Likewise.
26231         * nis/nss_nisplus/nisplus-proto.c: Likewise.
26232         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
26233         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
26234         * nis/nss_nisplus/nisplus-service.c: Likewise.
26235         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
26236         * nis/ypclnt.c: Likewise.
26237         * nptl/libc_pthread_init.c: Likewise.
26238         * nss/getXXbyYY.c: Likewise.
26239         * nss/getXXent.c: Likewise.
26240         * nss/getXXent_r.c: Likewise.
26241         * nss/nss_db/db-XXX.c: Likewise.
26242         * nss/nss_db/db-netgrp.c: Likewise.
26243         * nss/nss_db/nss_db.h: Likewise.
26244         * nss/nss_files/files-XXX.c: Likewise.
26245         * nss/nss_files/files-alias.c: Likewise.
26246         * nss/nsswitch.c: Likewise.
26247         * posix/regex_internal.h: Likewise.
26248         * posix/wordexp.c: Likewise.
26249         * pwd/fgetpwent.c: Likewise.
26250         * resolv/res_hconf.c: Likewise.
26251         * resolv/res_libc.c: Likewise.
26252         * shadow/fgetspent.c: Likewise.
26253         * shadow/lckpwdf.c: Likewise.
26254         * shadow/sgetspent.c: Likewise.
26255         * socket/opensock.c: Likewise.
26256         * stdio-common/reg-modifier.c: Likewise.
26257         * stdio-common/reg-printf.c: Likewise.
26258         * stdio-common/reg-type.c: Likewise.
26259         * stdio-common/vfprintf.c: Likewise.
26260         * stdio-common/vfscanf.c: Likewise.
26261         * stdlib/abort.c: Likewise.
26262         * stdlib/cxa_atexit.c: Likewise.
26263         * stdlib/fmtmsg.c: Likewise.
26264         * stdlib/random.c: Likewise.
26265         * stdlib/setenv.c: Likewise.
26266         * string/strsignal.c: Likewise.
26267         * sunrpc/auth_none.c: Likewise.
26268         * sunrpc/bindrsvprt.c: Likewise.
26269         * sunrpc/create_xid.c: Likewise.
26270         * sunrpc/key_call.c: Likewise.
26271         * sunrpc/rpc_thread.c: Likewise.
26272         * sysdeps/arm/backtrace.c: Likewise.
26273         * sysdeps/generic/ldsodefs.h: Likewise.
26274         * sysdeps/generic/stdio-lock.h: Likewise.
26275         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
26276         * sysdeps/i386/backtrace.c: Likewise.
26277         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26278         * sysdeps/m68k/backtrace.c: Likewise.
26279         * sysdeps/mach/hurd/cthreads.c: Likewise.
26280         * sysdeps/mach/hurd/dirstream.h: Likewise.
26281         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26282         * sysdeps/nptl/malloc-machine.h: Likewise.
26283         * sysdeps/nptl/stdio-lock.h: Likewise.
26284         * sysdeps/posix/dirstream.h: Likewise.
26285         * sysdeps/posix/getaddrinfo.c: Likewise.
26286         * sysdeps/posix/system.c: Likewise.
26287         * sysdeps/pthread/aio_suspend.c: Likewise.
26288         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26289         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26290         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26291         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26292         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
26293         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
26294         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
26295         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26296         * sysdeps/unix/sysv/linux/system.c: Likewise.
26297         * sysdeps/x86_64/backtrace.c: Likewise.
26298         * time/alt_digit.c: Likewise.
26299         * time/era.c: Likewise.
26300         * time/tzset.c: Likewise.
26301         * wcsmbs/wcsmbsload.c: Likewise.
26302         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
26303         instead of <bits/libc-lock.h> in comment.
26305 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
26307         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
26308         Only use .set mips2 if the current ISA is below mips2.
26309         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
26310         Likewise.
26311         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
26312         mips32r2 if the current ISA is below mips32r2.
26313         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
26314         (TLS_IE): Updated to use the TLD_RDHWR macro.
26315         (TLS_LE): Likewise.
26316         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
26317         __ASSEMBLER__ condition.
26319 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26321         Fix parallel build of before-compile targets.
26323         * sysdeps/mach/Makefile ($(patsubst
26324         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
26325         mach-before-compile target.
26326         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26327         io fs process)): Move rule to dedicated hurd-before-compile target.
26329 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26331         Fix rules generating headers in hurd/ and mach/ when initial make call
26332         has subdir= explicitly set.
26334         * sysdeps/mach/Makefile ($(patsubst
26335         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
26336         calling $(MAKE).
26337         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26338         io fs process)): Force subdir to hurd when calling $(MAKE).
26339         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
26340         subdir to mach when calling $(MAKE).
26342 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
26344         Check sysheaders when looking for Mach and Hurd headers
26346         * sysdeps/mach/configure.ac: Add sysheaders check.
26347         * sysdeps/mach/configure: Regenerate.
26348         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
26349         * sysdeps/mach/hurd/configure: Regenerate.
26351 2015-09-04  Roland McGrath  <roland@hack.frob.com>
26353         [BZ #18921]
26354         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
26355         Fix inverted sense of test of 'o_directory_works' value.
26356         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
26357         Bernhard Voelker <mail@bernhard-voelker.de>.
26359 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26361         [BZ #14912]
26362         * bits/linkmap.h: Move to ...
26363         * sysdeps/generic/linkmap.h: ...here.
26364         * sysdeps/aarch64/bits/linkmap.h: Move to ...
26365         * sysdeps/aarch64/linkmap.h: ...here.
26366         * sysdeps/arm/bits/linkmap.h: Move to ...
26367         * sysdeps/arm/linkmap.h: ...here.
26368         * sysdeps/hppa/bits/linkmap.h: Move to ...
26369         * sysdeps/hppa/linkmap.h: ...here.
26370         * sysdeps/ia64/bits/linkmap.h: Move to ...
26371         * sysdeps/ia64/linkmap.h: ...here.
26372         * sysdeps/mips/bits/linkmap.h: Move to ...
26373         * sysdeps/mips/linkmap.h: ...here.
26374         * sysdeps/s390/bits/linkmap.h: Move to ...
26375         * sysdeps/s390/linkmap.h: ...here.
26376         * sysdeps/sh/bits/linkmap.h: Move to ...
26377         * sysdeps/sh/linkmap.h: ...here.
26378         * sysdeps/x86/bits/linkmap.h: Move to ...
26379         * sysdeps/x86/linkmap.h: ...here.
26380         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
26382 2015-09-04  Andreas Schwab  <schwab@suse.de>
26384         [BZ #18635]
26385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
26386         (__makecontext): Terminate FDE before return label.
26387         (__novec_makecontext): Likewise.
26389 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26391         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
26392         first member of struct sv in syscall macro.
26394 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26396         [BZ #14912]
26397         * bits/stdio-lock.h: Move to ...
26398         * sysdeps/generic/stdio-lock.h: ...here.
26399         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26400         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
26401         * sysdeps/nptl/stdio-lock.h: ...here.
26402         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26403         * include/libio.h: Include <stdio-lock.h> instead of
26404         <bits/stdio-lock.h>.
26405         * sysdeps/nptl/fork.c: Likewise.
26406         * sysdeps/pthread/flockfile.c: Likewise.
26407         * sysdeps/pthread/ftrylockfile.c: Likewise.
26408         * sysdeps/pthread/funlockfile.c: Likewise.
26410         [BZ #14912]
26411         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
26412         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
26413         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
26414         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
26415         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
26416         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26417         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
26419 2015-09-03  Roland McGrath  <roland@hack.frob.com>
26421         * elf/Makefile (test-xfail-tst-protected1a): New variable.
26422         (test-xfail-tst-protected1b): New variable.
26424 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
26426         [BZ #14912]
26427         * bits/libc-tsd.h: Move to ...
26428         * sysdeps/generic/libc-tsd.h: ...here.
26429         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
26430         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
26431         * sysdeps/mach/hurd/libc-tsd.h: ...here.
26432         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
26433         * include/ctype.h: Include <libc-tsd.h> instead of
26434         <bits/libc-tsd.h>.
26435         * include/rpc/rpc.h: Likewise.
26436         * locale/localeinfo.h: Likewise.
26437         * sunrpc/rpc_thread.c: Likewise.
26438         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26439         * sysdeps/nptl/malloc-machine.h: Likewise.
26441         * Makefile (headers): Remove bits/libc-lock.h.
26442         * libio/Makefile (headers): Remove bits/stdio-lock.h.
26444         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
26445         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
26446         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
26447         <bits/stdio-lock.h>.
26448         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
26449         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
26451 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26453         [BZ #18757]
26454         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
26455         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
26456         BZ #18757.
26458 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26460         * malloc/mtrace.pl: Filter out NULL entries.
26462 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
26464         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
26465         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
26466         macro.
26468         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
26469         (TCP_CC_INFO): Likewise.
26470         (TCP_SAVE_SYN): Likewise.
26471         (TCP_SAVED_SYN): Likewise.
26473 2015-08-31  Brett Neumeier <brett@neumeier.us>
26475         [BZ #18870]
26476         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
26478 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26480         [BZ #18873]
26481         Fix broken overflow check in posix_fallocate
26482         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
26483         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26484         Fix parenthesization typo.
26486 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
26488         [BZ #18887]
26489         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
26490         tst-mntent-blank-passno.
26491         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
26492         * misc/tst-mntent-blank-corrupt.c: New test.
26493         * misc/tst-mntent-blank-passno.c: New test ripped from ...
26494         * misc/tst-mntent.c (do_test): ... here.
26496 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
26498         [BZ #4404]
26499         * po/de.po: Fix SIGALRM typo.
26501 2015-08-28  James Perkins  <james@loowit.net>
26503         * time/tst-strptime2.c (tests): Replace short list of test
26504         strings for strptime %z specifier with code which exhaustively
26505         tests every combination of sign and 0 to 5 digits. Tests for
26506         rejection of invalid strings.
26508 2015-08-28  James Perkins  <james@loowit.net>
26510         [BZ #16141]
26511         * time/strptime_l.c (__strptime_internal): Fix %z minutes
26512         calculation, removing incorrect decimal time rounding, so that
26513         all minute values result in a valid seconds value.
26514         * time/strptime_l.c (__strptime_internal): Extend %z time zone
26515         offset range limits to UTC-99:59 through UTC+99:59 to parse
26516         current and historical use cases.
26517         * time/tst-strptime2.c (tests): Modify and add tests for the
26518         strptime %z input field descriptor, specifically conversion of
26519         minutes to seconds and validating an offset range of -9959 to
26520         +9959.
26522 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26523             Dmitry V. Levin  <ldv@altlinux.org>
26525         [BZ #18877]
26526         * posix/Makefile (tests): Add tst-mmap-offset.
26527         * posix/tst-mmap.c: New file.
26528         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
26529         offset calculation for negative values.
26531 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26533         * sysdeps/i386/init-arch.h: New file.
26534         * sysdeps/i386/i586/init-arch.h: Likewise.
26535         * sysdeps/i386/i686/init-arch.h: Likewise.
26536         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
26537         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
26538         * sysdeps/x86/cpu-features.h (bit_I586): New.
26539         (bit_I686): Likewise.
26540         (bit_CX8): Likewise.
26541         (bit_CMOV): Likewise.
26542         (index_CX8): Likewise.
26543         (index_CMOV): Likewise.
26544         (index_I586): Likewise.
26545         (index_I686): Likewise.
26546         (reg_CX8): Likewise.
26547         (reg_CMOV): Likewise.
26548         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
26549         available at compile-time.
26550         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
26551         available at compile-time.
26552         * sysdeps/x86/init-arch.h (USE_I586): New macro.
26553         (USE_I686): Likewise.
26555 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26557         * sysdeps/i386/bcopy.S: New file.
26558         * sysdeps/i386/bzero.S: Likewise.
26559         * sysdeps/i386/memcpy.S: Likewise.
26560         * sysdeps/i386/memmove.S: Likewise.
26561         * sysdeps/i386/mempcpy.S: Likewise.
26562         * sysdeps/i386/memset.S: Likewise.
26563         * sysdeps/i386/bzero.c: Removed.
26564         * sysdeps/i386/memset.c: Likewise.
26565         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
26566         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
26567         * sysdeps/i386/i586/memset_chk.S: Likewise.
26568         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
26569         * sysdeps/i386/memcpy_chk.S: Here.
26570         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
26571         * sysdeps/i386/memmove_chk.S: Here.
26572         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
26573         * sysdeps/i386/mempcpy_chk.S: Likewise.
26574         * sysdeps/i386/i686/memset_chk.S: Moved to ...
26575         * sysdeps/i386/memset_chk.S: Likewise.
26577 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
26579         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
26580         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
26581         file, move DIAG_POP_NEEDS_COMMENT to end of file.
26582         * soft-fp/fmadf4.c: Ditto.
26583         * soft-fp/fmatf4.c: Ditto.
26585 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26587         * sysdeps/i386/i586/Implies: Removed.
26588         * sysdeps/i386/i686/Implies: Likewise.
26590 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26592         * sysdeps/i386/i486/strlen.S: Moved to ...
26593         * sysdeps/i386/strlen.S: Here.
26595 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26597         * sysdeps/i386/i486/strcat.S: Moved to ...
26598         * sysdeps/i386/strcat.S: Here.
26600 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26602         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
26603         * sysdeps/i386/pthread_spin_trylock.S: Here.
26604         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26605         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26607 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26609         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26610         * sysdeps/i386/string-inlines.c: Here.
26612 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26614         * sysdeps/i386/i486/htonl.S: Moved ...
26615         * sysdeps/i386/htonl.S: here.
26617 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26619         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26620         * sysdeps/i386/bits/atomic.h: Here.
26622 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26624         * sysdeps/i386/i486/Versions: Removed.
26626 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26628         [BZ #2898]
26629         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26630         Based on patch by Aurelien Jarno.
26632 2015-08-26  Stan Shebs  <stanshebs@google.com>
26634         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26635         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26637 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26639         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26640         * sysdeps/powerpc/dl-procinfo.c:
26641         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26642         feature so it shows when LD_SHOW_AUXV=1.
26644 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26646         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26647         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26648         definition.  ISA 2.07B no longer requires full sync.
26650 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26652         [BZ #18863]
26653         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26654         (si_call_addr): Define.
26655         (si_syscall): Define.
26656         (si_arch): Define.
26658 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26660         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26661         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26662         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26663         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26664         (__memset_zero_constant_len_parameter): New.
26665         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26666         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26667         (__memset_zero_constant_len_parameter): Don't define if
26668         __memset_chk or USE_AS_BZERO are defined.
26670         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26671         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26672         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26674         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26675         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26676         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26677         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26678         comments.
26679         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26680         -mno-mmx for $(all-rtld-routines).
26681         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26682         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26683         i386.
26685 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26687         * sysdeps/generic/unwind.h
26688         (_Unwind_Word): Use __mode__(__unwind_word__)
26689         instead of __mode__(__word__).
26690         (_Unwind_Sword): Likewise.
26692         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26693         (MAX_NEEDED_INPUT): New define.
26694         (MAX_NEEDED_OUTPUT): New define.
26696         * NEWS: New item for IBM z13 string optimizations.
26698         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26699         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26700         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26701         * sysdeps/s390/multiarch/Makefile
26702         (sysdep_routines): Add memrchr functions.
26703         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26704         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26706         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26707         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26708         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26709         * sysdeps/s390/multiarch/Makefile
26710         (sysdep_routines): Add wmemcmp functions.
26711         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26712         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26713         * benchtests/bench-wmemcmp.c: New File.
26714         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26716         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26717         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26718         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26719         * sysdeps/s390/multiarch/Makefile
26720         (sysdep_routines): Add wmemset functions.
26721         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26722         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26723         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26724         * string/test-memset.c: Add wmemset support.
26725         * wcsmbs/test-wmemset.c: New File.
26726         * wcsmbs/Makefile (strop-tests): Add wmemset.
26727         * benchtests/bench-memset.c: Add wmemset support.
26728         * benchtests/bench-wmemset.c: New File.
26729         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26731         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26732         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26733         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26734         * sysdeps/s390/multiarch/Makefile
26735         (sysdep_routines): Add memccpy functions.
26736         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26737         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26738         * string/memccpy.c: Use MEMCCPY if defined.
26740         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26741         * sysdeps/s390/multiarch/memchr.c: Likewise.
26742         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26743         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26744         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26745         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26746         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26747         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26748         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26749         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26750         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26751         and rawmemchr functions.
26752         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26753         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26754         and wmemchr.
26755         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26756         * string/test-memchr.c: Add wmemchr support.
26757         * wcsmbs/test-wmemchr.c: New File.
26758         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26759         * benchtests/bench-memchr.c: Add wmemchr support.
26760         * benchtests/bench-wmemchr.c: New File.
26761         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26763         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26764         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26765         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26766         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26767         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26768         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26769         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26770         wcscspn functions.
26771         * sysdeps/s390/multiarch/ifunc-impl-list.c
26772         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26773         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26774         * string/test-strcspn.c: Add wcscspn support.
26775         * wcsmbs/test-wcscspn.c: New File.
26776         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26777         * benchtests/bench-strcspn.c: Add wcscspn support.
26778         * benchtests/bench-wcscspn.c: New File.
26779         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26781         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26782         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26783         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26784         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26785         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26786         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26787         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26788         wcspbrk functions.
26789         * sysdeps/s390/multiarch/ifunc-impl-list.c
26790         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26791         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26792         * string/test-strpbrk.c: Add wcspbrk support.
26793         * wcsmbs/test-wcspbrk.c: New File.
26794         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26795         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26796         * benchtests/bench-wcspbrk.c: New File.
26797         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26799         * sysdeps/s390/multiarch/strspn-c.c: New File.
26800         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26801         * sysdeps/s390/multiarch/strspn.c: Likewise.
26802         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26803         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26804         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26805         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26806         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26807         wcsspn functions.
26808         * sysdeps/s390/multiarch/ifunc-impl-list.c
26809         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26810         * string/test-strspn.c: Add wcsspn support.
26811         * wcsmbs/test-wcsspn.c: New File.
26812         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26813         * benchtests/bench-strspn.c: Add wcsspn support.
26814         * benchtests/bench-wcsspn.c: New File.
26815         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26817         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26818         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26819         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26820         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26821         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26822         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26823         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26824         wcsrchr functions.
26825         * sysdeps/s390/multiarch/ifunc-impl-list.c
26826         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26827         * benchtests/bench-wcsrchr.c: New File.
26828         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26830         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26831         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26832         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26833         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26834         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26835         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26836         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26837         wcschrnul functions.
26838         * sysdeps/s390/multiarch/ifunc-impl-list.c
26839         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26840         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26841         * string/test-strchr.c: Add wcschrnul support.
26842         * wcsmbs/test-wcschrnul.c: New File.
26843         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26844         * benchtests/bench-strchr.c: Add wcschrnul support.
26845         * benchtests/bench-wcschrnul.c: New File.
26846         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26848         * sysdeps/s390/multiarch/strchr-c.c: New File.
26849         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26850         * sysdeps/s390/multiarch/strchr.c: Likewise.
26851         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26852         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26853         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26854         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26855         wcschr functions.
26856         * sysdeps/s390/multiarch/ifunc-impl-list.c
26857         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26858         * string/strchr.c (STRCHR): Define and use macro.
26859         * benchtests/bench-wcschr.c: New File.
26860         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26862         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26863         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26864         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26865         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26866         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26867         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26868         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26869         wcsncmp functions.
26870         * sysdeps/s390/multiarch/ifunc-impl-list.c
26871         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26872         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26873         * benchtests/bench-strncmp.c: Add wcsncmp support.
26874         * benchtests/bench-wcsncmp.c: New File.
26875         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26877         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26878         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26879         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26880         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26881         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26882         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26883         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26885         wcscmp functions.
26886         * sysdeps/s390/multiarch/ifunc-impl-list.c
26887         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26888         * string/strcmp.c (STRCMP): Define and use macro.
26889         * benchtests/bench-wcscmp.c: New File.
26890         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26891         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26892         instead of _HAVE_STRING_ARCH_memchr.
26894         * sysdeps/s390/multiarch/strncat-c.c: New File.
26895         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26896         * sysdeps/s390/multiarch/strncat.c: Likewise.
26897         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26898         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26899         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26900         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26901         wcsncat functions.
26902         * sysdeps/s390/multiarch/ifunc-impl-list.c
26903         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26904         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26905         * string/test-strncat.c: Add wcsncat support.
26906         * wcsmbs/test-wcsncat.c: New File.
26907         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26908         * benchtests/bench-strncat.c: Add wcsncat support.
26909         * benchtests/bench-wcsncat.c: New File.
26910         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26912         * sysdeps/s390/multiarch/strcat-c.c: New File.
26913         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26914         * sysdeps/s390/multiarch/strcat.c: Likewise.
26915         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26916         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26917         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26918         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26919         wcscat functions.
26920         * sysdeps/s390/multiarch/ifunc-impl-list.c
26921         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26922         * string/strcat.c (STRCAT): Define and use macro.
26923         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26924         * string/test-strcat.c: Add wcscat support.
26925         * wcsmbs/test-wcscat.c: New File.
26926         * wcsmbs/Makefile (strop-tests): Add wcscat.
26927         * benchtests/bench-strcat.c: Add wcscat support.
26928         * benchtests/bench-wcscat.c: New File.
26929         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26931         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26932         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26933         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26934         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26935         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26936         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26937         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26938         wcpncpy functions.
26939         * sysdeps/s390/multiarch/ifunc-impl-list.c
26940         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26941         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26942         * string/test-stpncpy.c: Add wcpncpy support.
26943         * wcsmbs/test-wcpncpy.c: New File.
26944         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26945         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26946         * benchtests/bench-wcpncpy.c: New File.
26947         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26949         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26950         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26951         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26952         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26953         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26954         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26955         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26956         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26957         wcsncpy functions.
26958         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26959         * sysdeps/s390/multiarch/ifunc-impl-list.c
26960         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26961         * string/test-strncpy.c: Add wcsncpy support.
26962         * wcsmbs/test-wcsncpy.c: New File.
26963         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26964         * benchtests/bench-strncpy.c: Add wcsncpy support.
26965         * benchtests/bench-wcsncpy.c: New File.
26966         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26968         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26969         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26970         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26971         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26972         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26973         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26974         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26975         wcpcpy functions.
26976         * string/stpcpy.c: Use STPCPY if defined.
26977         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26978         * sysdeps/s390/multiarch/ifunc-impl-list.c
26979         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26980         * string/test-stpcpy.c: Add wcpcpy support.
26981         * wcsmbs/test-wcpcpy.c: New File.
26982         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26983         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26984         * benchtests/bench-wcpcpy.c: New File.
26985         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26987         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26988         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26989         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26990         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26991         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26992         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26993         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26994         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26995         wcscpy functions.
26996         * sysdeps/s390/multiarch/ifunc-impl-list.c
26997         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26998         * benchtests/bench-wcscpy.c: New File.
26999         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
27001         * sysdeps/s390/multiarch/strnlen-c.c: New File.
27002         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
27003         * sysdeps/s390/multiarch/strnlen.c: Likewise.
27004         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
27005         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
27006         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
27007         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
27008         wcsnlen functions.
27009         * sysdeps/s390/multiarch/ifunc-impl-list.c
27010         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
27011         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
27012         * string/test-strnlen.c: Add wcsnlen support.
27013         * wcsmbs/test-wcsnlen.c: New File.
27014         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
27015         * benchtests/bench-strnlen.c: Add wcsnlen support.
27016         * benchtests/bench-wcsnlen.c: New File.
27017         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
27019         * sysdeps/s390/multiarch/Makefile: New File.
27020         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
27021         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
27022         * sysdeps/s390/multiarch/strlen.c: Likewise.
27023         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
27024         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
27025         * sysdeps/s390/multiarch/wcslen.c: Likewise.
27026         * string/strlen.c (STRLEN): Define and use macro.
27027         * sysdeps/s390/multiarch/ifunc-impl-list.c
27028         (IFUNC_VX_IMPL): New macro function.
27029         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
27030         * benchtests/Makefile (wcsmbs-bench): New variable.
27031         (string-bench-all): Added wcsmbs-bench.
27032         * benchtests/bench-wcslen.c: New File.
27034         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
27035         s390_vx_libc_ifunc2): New macro function.
27037         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
27038         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
27039         assembler support.
27040         * sysdeps/s390/configure: Regenerated.
27042         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
27043         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27045         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
27046         * sysdeps/s390/dl-procinfo.h: Add vector capability.
27047         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
27049         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
27050         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
27051         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
27052         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
27053         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
27054         (memcmp, bcmp): Use __memcmp_default as alias source.
27055         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
27056         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
27057         Rename to __memcmp_default.
27058         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
27059         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
27060         (memcpy): Use __memcpy_default as alias source.
27061         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
27062         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
27063         Rename to __memcpy_default.
27064         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
27065         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
27066         (memset): Use __memset_default as alias source.
27067         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
27068         * sysdeps/s390/s390-32/memset.S (__memset_g5):
27069         Rename to __memset_default.
27070         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
27071         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
27072         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
27073         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
27074         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
27075         (memcmp, bcmp): Use __memcmp_default as alias source.
27076         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
27077         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
27078         Rename to __memcmp_default.
27079         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
27080         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
27081         (memcpy): Use __memcpy_default as alias source.
27082         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
27083         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
27084         Rename to __memcpy_default.
27085         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
27086         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
27087         (memset): Use __memset_default as alias source.
27088         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
27089         * sysdeps/s390/s390-64/memset.S (__memset_z900):
27090         Rename to __memset_default.
27091         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
27092         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
27094         [BZ #18610]
27095         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
27096         __ieee_instruction_pointer to __unused.
27097         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
27098         __ieee_instruction_pointer.
27099         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
27100         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
27101         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27102         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27103         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
27104         Mark dxc-field as reserved.
27106 2015-08-25  Roland McGrath  <roland@hack.frob.com>
27108         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
27109         if the weak reference is not null.
27111 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27113         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
27115         [BZ #11214]
27116         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
27118 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27120         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
27121         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
27122         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
27123         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
27124         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
27125         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
27126         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
27127         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
27128         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
27129         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
27130         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
27131         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
27132         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
27133         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
27134         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
27135         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
27136         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
27137         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
27139 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27141         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
27142         register other than r0 for tabort, it has special meaning.
27143         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
27144         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
27145         transaction before starting syscall.
27147 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27149         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
27151 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27153         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
27155         * sysdeps/x86_64/rtld-memcmp.c: Removed.
27156         * sysdeps/x86_64/rtld-memset.S: Likewise.
27157         * sysdeps/x86_64/rtld-strchr.S: Likewise.
27158         * sysdeps/x86_64/rtld-strlen.S: Likewise.
27159         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
27160         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27162         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
27164 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
27166         * debug/strcpy_chk.c: Improve performance.
27167         * debug/stpcpy_chk.c: Likewise.
27168         * sysdeps/x86_64/strcpy_chk.S: Remove.
27169         * sysdeps/x86_64/stpcpy_chk.S: Remove.
27171         [BZ #18240]
27172         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
27174 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27176         [BZ #15128]
27177         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
27178         ifuncmain8.
27179         (modules-names): Add ifuncmod8.
27180         ($(objpfx)ifuncmain8): New rule.
27181         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
27182         <cpuid.h>.
27183         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
27184         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
27185         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
27186         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
27187         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
27188         * sysdeps/x86_64/dl-trampoline.h: Likewise.
27189         * sysdeps/x86_64/ifuncmain8.c: New file.
27190         * sysdeps/x86_64/ifuncmod8.c: Likewise.
27191         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
27192         Removed.
27193         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
27194         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
27195         Change rtld_savespace_sse to __glibc_unused2.
27196         (RTLD_CHECK_FOREIGN_CALL): Removed.
27197         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
27198         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
27199         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
27201 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27203         * sysdeps/aarch64/bzero.S (__bzero): Remove.
27205 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27207         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
27208         Unconditionally set __fpcr to avoid uninialized warning.
27209         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
27211 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27213         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
27214         is corrupt.
27216         * malloc/arena.c (arena_get2): Drop unused argument.
27217         (arena_lock): Adjust.
27218         (arena_get_retry): Likewise.
27220 2015-08-24  Andreas Schwab  <schwab@suse.de>
27222         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
27223         Don't define.
27224         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
27225         (__ASSUME_IPC64): Don't undef.
27226         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27227         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27228         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27229         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
27230         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27231         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
27232         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
27233         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
27234         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
27235         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
27236         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
27237         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
27238         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
27239         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
27240         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
27241         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
27242         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
27243         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
27244         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
27245         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
27246         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
27248 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
27250         * manual/Makefile (install): Only build manual when perl is available.
27252 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27254         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
27255         '#undef memcpy' by '#undef memchr'.
27257 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27259         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
27260         memchr not point to the internal __GI_memchr implementation.
27262 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27264         * timezone/Makefile (CFLAGS-zdump.c): Remove
27265         -Wno-strict-prototypes.
27266         (CFLAGS-zic.c): Likewise.
27267         (CFLAGS-ialloc.c): Likewise.
27268         (CFLAGS-scheck.c): Likewise.
27270         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
27271         -Wno-error=undef.
27273 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27275         * i386/i686/multiarch/strcasestr-c.c: Removed.
27276         * x86_64/multiarch/strcasestr.c: Likewise.
27277         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27278         Remove strcasestr.
27280 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27282         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
27284         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
27285         variables for high and low parts before possibly modifying them.
27287 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27289         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
27290         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
27291         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
27292         of "multiarch/init-arch.h".
27293         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
27294         * sysdeps/x86/init-arch.h: This.
27296 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27298         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
27299         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
27301 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
27303         [BZ #17787]
27304         * manual/macros.texi: Add twoexp macro.
27305         * manual/filesys.texi: Fix exponents.
27306         * manual/llio.texi: Likewise.
27307         * manual/stdio.texi: Likewise.
27309 2015-08-20  Florian Weimer  <fweimer@redhat.com>
27311         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
27312         incorrect use.
27314 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27316         [BZ #18370]
27317         * math/s_csqrt.c (__csqrt): Force underflow exception for results
27318         whose real or imaginary part has small absolute value.
27319         * math/s_csqrtf.c (__csqrtf): Likewise.
27320         * math/s_csqrtl.c (__csqrtl): Likewise.
27321         * math/auto-libm-test-in: Add more tests of csqrt.
27322         * math/auto-libm-test-out: Regenerated.
27323         * sysdeps/i386/fpu/libm-test-ulps: Update.
27325 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27327         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
27328         __ppc_set_ppr_very_low): New functions.
27329         * manual/platform.texi: Add documentation about
27330         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
27332 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
27334         * string/stpncpy.c (stpncpy): Improve performance using
27335         __strnlen/memcpy/memset.
27337 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27339         [BZ #18796]
27340         * scripts/test-installation.pl: Don't add -lmvec to build options if
27341         libmvec wasn't built.
27343 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27345         [BZ #14341]
27346         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
27347         case when there is a gap between DT_REL and DT_JMPREL sections.
27348         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
27349         (LDFLAGS-tst-split-dynreloc): New.
27350         (tst-split-dynreloc-ENV): Likewise.
27351         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
27352         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
27354 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27356         [BZ #18822]
27357         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
27358         attribute_hidden.
27359         (__xstat64_conv): Likewise.
27360         (__xstat32_conv): Likewise.
27362 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27364         [BZ #18822]
27365         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
27366         Don't load %ebx when calling __setcontext.  Call __setcontext
27367         with HIDDEN_JUMPTARGET.
27368         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
27369         libc_hidden_def.
27371 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27373         * sysdeps/i386/i686/Makefile
27374         [$(subdir) == string] (sysdep_routines): Moved to ...
27375         * sysdeps/i386/Makefile: Here.
27376         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
27377         * sysdeps/i386/cacheinfo.c: Here.
27378         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
27379         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
27380         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
27381         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
27383 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27385         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
27386         __i586__ is defined.
27387         (HAS_I686): Defined to 1 if __i686__ is defined.
27389 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27391         * elf/Makefile [$(have-z-execstack) = yes]
27392         (CPPFLAGS-tst-execstack.c): New variable.
27394         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
27395         conditional to [defined UTMPX || _HAVE_UT_TYPE].
27396         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
27397         UTMPX || _HAVE_UT_TV].
27398         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
27399         UTMPX || _HAVE_UT_TV - 0].
27401 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
27403         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
27404         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
27405         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
27407 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27409         * sysdeps/powerpc/dl-procinfo.c:
27410         (_dl_powerpc_cap_flags): Added missing strings for some
27411         hwcap features.
27412         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
27414 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27416         Port the 0x7efe...feff pattern to GCC 6.
27417         See Steve Ellcey's bug report in:
27418         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
27419         * string/memrchr.c (MEMRCHR):
27420         * string/rawmemchr.c (RAWMEMCHR):
27421         * string/strchr.c (strchr):
27422         * string/strchrnul.c (STRCHRNUL):
27423         Rewrite code to avoid issues with signed shift overflow.
27425 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
27427         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
27428         whether cpuid is available only if HAS_CPUID is 0.
27429         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
27430         (HAS_I586): Likewise.
27431         (HAS_I686): Likewise.
27433 2015-08-18  Zack Weinberg  <zackw@panix.com>
27435         * misc/Versions (libc): Add GLIBC_2.23.
27437 2015-08-18  Alan Modra  <amodra@gmail.com>
27439         [BZ #18421]
27440         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
27441         .Lp__global.
27442         (_start): Load %dp via .Lp__global.
27443         [!SHARED]: Use .section .rodata.
27445 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27447         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
27448         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
27450 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27452         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
27453         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
27455 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27457         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
27458         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
27460 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27462         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
27463         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
27465 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27467         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
27468         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
27470 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27472         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
27473         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
27475 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27477         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
27479 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27481         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
27482         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
27483         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27484         (__ASSUME_LWS_CAS): Delete.
27486 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27488         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
27489         * sysdeps/hppa/configure: Regenerated.
27490         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
27491         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
27492         * sysdeps/hppa/nptl/tls.h: Likewise.
27494 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
27496         [BZ #18823]
27497         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
27498         for scaling up small arguments.
27499         * math/s_csqrtf.c (__csqrtf): Likewise.
27500         * math/s_csqrtl.c (__csqrtl): Likewise.
27501         * math/auto-libm-test-in: Add more tests of csqrt.
27502         * math/auto-libm-test-out: Regenerated.
27504 2015-08-17  Andreas Schwab  <schwab@suse.de>
27506         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
27507         version set GLIBC_2.19.
27509 2015-08-16  Zack Weinberg  <zackw@panix.com>
27511         [BZ #18681]
27512         * misc/regexp.h: This interface is no longer supported.
27513         Remove all contents, leaving only an #error directive.
27514         * misc/regexp.c (loc1, loc2, locs, step, advance):
27515         Demote to compatibility symbols.
27517 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
27519         [BZ #18084]
27520         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
27521         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
27522         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27523         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
27524         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
27525         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
27526         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
27527         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
27528         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27530 2015-08-15  Zack Weinberg  <zackw@panix.com>
27532         [BZ #18795]
27533         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
27534         buffer length is known to be too large, not if it's known to be
27535         small enough.
27536         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
27537         overflow at runtime, involving a length parameter, twice: once
27538         with a compile-time constant length parameter, once without.
27540 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
27542         [BZ #18824]
27543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
27544         scaling x * y up instead of down.
27545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27547         * math/auto-libm-test-in: Add more tests of fma.
27548         * math/auto-libm-test-out: Regenerated.
27550 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27552         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27554 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27556         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
27557         unnecessary movq.
27558         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
27559         Likewise.
27561 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
27563         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27564         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
27565         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
27566         and tgamma.
27567         * math/auto-libm-test-out: Regenerated.
27568         * sysdeps/i386/fpu/libm-test-ulps: Update.
27569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27571         [BZ #16520]
27572         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
27573         (__tanh): Force underflow exception for arguments with small
27574         absolute value.
27575         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
27576         (__tanhf): Force underflow exception for arguments with small
27577         absolute value.
27578         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
27579         (__tanhl): Force underflow exception for arguments with small
27580         absolute value.
27581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
27582         (__tanhl): Force underflow exception for arguments with small
27583         absolute value.
27584         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
27585         (__tanhl): Force underflow exception for arguments with small
27586         absolute value.
27587         * math/auto-libm-test-in: Add more tests of tanh.
27588         * math/auto-libm-test-out: Regenerated.
27589         * sysdeps/i386/fpu/libm-test-ulps: Update.
27591 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27593         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
27594         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
27596 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27598         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
27599         <cpuid.h>.
27601 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27603         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27604         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27606 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27608         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27609         Remove $(objpfx)init-arch.o.
27610         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27611         init-arch.
27612         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27613         (INIT_ARCH_EXT): Defined as empty.
27614         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27615         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27616         __init_cpu_features call.  Replace HAS_XXX with
27617         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27618         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27619         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27620         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27621         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27622         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27623         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27624         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27625         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27626         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27627         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27629         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27630         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27631         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27632         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27633         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27634         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27635         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27636         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27637         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27638         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27639         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27641         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27642         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27643         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27644         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27645         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27646         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27647         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27648         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27649         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27650         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27651         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27654 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27656         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27657         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27658         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27659         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27660         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27661         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27662         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27663         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27664         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27665         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27666         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27667         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27668         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27669         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27670         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27671         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27672         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27673         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27674         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27675         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27676         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27677         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27678         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27679         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27680         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27681         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27682         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27683         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27684         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27685         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27686         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27687         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27688         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27689         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27690         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27691         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27692         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27693         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27694         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27695         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27696         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27697         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27698         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27700 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27702         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27703         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27704         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27705         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27706         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27707         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27708         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27709         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27710         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27711         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27712         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27713         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27714         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27715         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27716         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27717         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27718         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27719         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27720         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27721         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27723         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27724         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27725         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27726         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27727         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27728         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27729         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27730         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27731         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27732         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27733         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27734         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27735         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27736         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27737         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27738         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27739         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27740         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27741         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27742         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27743         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27744         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27746 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27748         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27749         (dl_platform_init): Call init_cpu_features.
27750         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27751         * sysdeps/i386/i686/cacheinfo.c
27752         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27753         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27754         * sysdeps/i386/i686/multiarch/Versions: Removed.
27755         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27756         Removed.
27757         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27758         * sysdeps/unix/sysv/linux/x86/Makefile
27759         (libpthread-sysdep_routines): Remove init-arch.
27760         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27761         <sysdeps/x86_64/dl-procinfo.c> instead of
27762         sysdeps/generic/dl-procinfo.c>.
27763         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27764         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27765         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27766         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27767         [$(subdir) == elf] (tests-static): Add
27768         tst-get-cpu-features-static.
27769         * sysdeps/x86/Versions: New file.
27770         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27771         * sysdeps/x86/cpu-features.c: Likewise.
27772         * sysdeps/x86/cpu-features.h: Likewise.
27773         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27774         * sysdeps/x86/libc-start.c: Likewise.
27775         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27776         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27777         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27778         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27779         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27780         Assume USE_MULTIARCH is defined and don't check it.
27781         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27782         (is_amd): Likewise.
27783         (max_cpuid): Likewise.
27784         (intel_check_word): Likewise.
27785         (__cache_sysconf): Don't call __init_cpu_features.
27786         (__x86_preferred_memory_instruction): Removed.
27787         (init_cacheinfo): Don't call __init_cpu_features. Replace
27788         __cpu_features with GLRO(dl_x86_cpu_features).
27789         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27790         (dl_platform_init): Call init_cpu_features.
27791         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27792         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27793         * sysdeps/x86_64/multiarch/Versions: Removed.
27794         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27795         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27796         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27797         Removed.
27798         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27800 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27802         [BZ #18820]
27803         * libio/Makefile (test-fmemopen-mem): New test.
27804         * libio/test-fmemopen.c (do_bz18820): New test.
27805         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27806         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27808 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27810         [BZ #16734]
27811         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27812         (FREE_BUF): Delete.
27813         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27814         * libio/genops.c (_IO_setb): Use malloc and free directly.
27815         (_IO_default_doallocate, _IO_default_finish): Likewise.
27816         ( _IO_unbuffer_all): Likewise.
27817         ( libc_freeres_fn): Likewise.
27818         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27819         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27820         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27821         (_IO_wdefault_doallocate): Likewise.
27823 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27825         [BZ #18086]
27826         * sysdeps/posix/nice.c (nice): Restore old errno.
27827         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27829 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27831         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27833 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27835         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27836         __bcopy and add a weak_alias to bcopy.
27837         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27838         for static build.
27840         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27841         cleanup macro usage.
27842         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27845         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27846         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27847         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27848         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27849         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27850         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27851         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27852         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27853         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27854         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27855         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27856         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27857         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27858         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27859         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27860         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27862         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27863         libc_hidden_def.
27864         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27866         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27867         (sysdep_routines): Add strstr-ppc64.
27868         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27870 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27872         [BZ #18778]
27873         * elf/Makefile (tests): Add Add tst-nodelete2.
27874         (modules-names): Add tst-nodelete2mod.
27875         (tst-nodelete2mod.so-no-z-defs): New.
27876         ($(objpfx)tst-nodelete2): Likewise.
27877         ($(objpfx)tst-nodelete2.out): Likewise.
27878         (LDFLAGS-tst-nodelete2): Likewise.
27879         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27880         out of loop through all loaded libraries.
27881         * elf/tst-nodelete2.c: New file.
27882         * elf/tst-nodelete2mod.c: Likewise.
27883         * elf/tst-znodelete-zlib.cc: Delete.
27885 2015-08-11  Andreas Schwab  <schwab@suse.de>
27887         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27888         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27889         (__openat64_nocancel): Likewise.
27891 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27893         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27894         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27895         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27896         * math/auto-libm-test-out: Regenerated.
27897         * sysdeps/i386/fpu/libm-test-ulps: Update.
27898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27900 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27902         [BZ #18790]
27903         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27904         threshold for returning +/- 1.
27905         * math/auto-libm-test-in: Add more tests of tanh.
27906         * math/auto-libm-test-out: Regenerated.
27907         * sysdeps/i386/fpu/libm-test-ulps: Update.
27909 2015-08-10  Andreas Schwab  <schwab@suse.de>
27911         [BZ #18781]
27912         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27913         MORE_OFLAGS to oflag.
27914         * io/test-lfs.c (do_test): Test openat64.
27916 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27918         [BZ #18789]
27919         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27920         smaller threshold for returning the argument.
27921         * math/auto-libm-test-in: Add more tests of sinh.
27922         * math/auto-libm-test-out: Regenerated.
27923         * sysdeps/i386/fpu/libm-test-ulps: Update.
27925 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27927         [BZ #18674]
27928         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27929         break.
27931 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27933         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27934         (generated): Don't add $(addprefix z.,$(tzfiles)).
27936 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27938         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27939         * scripts/sysd-rules.awk: Likewise.
27941 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27943         * iconvdata/tst-tables.sh: Change echo -n to printf.
27944         * nss/db-Makefile: Likewise.
27945         * posix/tst-getconf.sh: Likewise.
27946         * stdio-common/tst-unbputc.sh: Likewise.
27948 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27950         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27951         MADV_*_PAGES defines behind this feature check.
27953 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27955         [BZ #18480]
27956         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27957         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27958         Define.
27959         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27960         LOAD_REGS_5, LOAD_REGS_6): Update.
27961         (INTERNAL_SYSCALL): Update using new LOAD defines.
27962         (INTERNAL_SYSCALL_NCS): Likewise.
27963         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27965 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27967         [BZ #16734]
27968         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27970 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27972         [BZ #17905]
27973         * catgets/Makefile (tst-catgets-mem): New test.
27974         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27975         * catgets/open_catalog.c (__open_catalog): Likewise.
27976         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27978 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27980         [BZ #18787]
27981         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27982         clobber registers.
27983         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27984         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27985         Cast return to __typeof (oldval).
27987 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27989         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27990         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27991         and delete sys/syscall.h include.
27993 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27995         [BZ #16517]
27996         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27997         (tan): Force underflow exception for arguments with small absolute
27998         value.
27999         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
28000         (__kernel_tanf): Force underflow exception for arguments with
28001         small absolute value.
28002         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
28003         (__kernel_tanl): Force underflow exception for arguments with
28004         small absolute value.
28005         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
28006         (__kernel_tanl): Force underflow exception for arguments with
28007         small absolute value.
28008         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
28009         (__kernel_tanl): Force underflow exception for arguments with
28010         small absolute value.
28011         * math/auto-libm-test-in: Add more tests of tan.
28012         * math/auto-libm-test-out: Regenerated.
28014 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28016         Fix sysdeps/i386/fpu/s_scalbn.S build
28018         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
28020 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
28022         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28024 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28026         Fix gcrt0.o compilation
28028         When static-start-installed-name is different from
28029         start-installed-name, we must not use the shared objects.
28031         * csu/Makefile
28032         (extra-objs): Add gmon-start.o when building shared library and
28033         $(static-start-installed-name) is different from
28034         $(start-installed-name).
28035         $(objpfx)g$(static-start-installed-name): When building shared
28036         library and $(static-start-installed-name) is different from
28037         $(static-start-installed-name), revert to non-shared rule,
28038         i.e. using $(objpfx)% and gmon-start.o.
28040 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
28042         [BZ #16519]
28043         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
28044         (__ieee754_sinh): Force underflow exception for arguments with
28045         small absolute value.
28046         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
28047         (__ieee754_sinhf): Force underflow exception for arguments with
28048         small absolute value.
28049         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
28050         (__ieee754_sinhl): Force underflow exception for arguments with
28051         small absolute value.
28052         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
28053         (__ieee754_sinhl): Force underflow exception for arguments with
28054         small absolute value.
28055         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
28056         (__ieee754_sinhl): Force underflow exception for arguments with
28057         small absolute value.
28058         * math/auto-libm-test-in: Add more tests of sinh.
28059         * math/auto-libm-test-out: Regenerated.
28060         * sysdeps/i386/fpu/libm-test-ulps: Update.
28062 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28064         * libio/oldfileops.c: Include unistd.h.
28066 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
28068         * stdlib/isomac.c: Include ctype.h.
28070 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
28072         * dirent/tst-seekdir.c (main): Converted to ...
28073         (do_test): ... this.
28074         (TEST_FUNCTION): New macro.
28075         Include test-skeleton.c.
28076         * elf/tst-dlmodcount.c (main): Converted to ...
28077         (do_test): ... this.
28078         (TEST_FUNCTION): New macro.
28079         Include test-skeleton.c.
28080         * elf/tst-order-main.c (main): Converted to ...
28081         (do_test): ... this.
28082         (TEST_FUNCTION): New macro.
28083         Include test-skeleton.c.
28084         * elf/tst-pie2.c (main): Converted to ...
28085         (do_test): ... this.
28086         (TEST_FUNCTION): New macro.
28087         Include test-skeleton.c.
28088         * inet/tst-ether_aton.c (main): Converted to ...
28089         (do_test): ... this.
28090         (TEST_FUNCTION): New macro.
28091         Include test-skeleton.c.
28092         * misc/tst-mntent.c (main): Converted to ...
28093         (do_test): ... this.
28094         (TEST_FUNCTION): New macro.
28095         Include test-skeleton.c.
28096         * misc/tst-tsearch.c (main): Converted to ...
28097         (do_test): ... this.
28098         (TEST_FUNCTION): New macro.
28099         Include test-skeleton.c.
28100         * posix/tst-regexloc.c (main): Converted to ...
28101         (do_test): ... this.
28102         (TEST_FUNCTION): New macro.
28103         Include test-skeleton.c.
28104         * resolv/tst-aton.c (main): Converted to ...
28105         (do_test): ... this.
28106         (TEST_FUNCTION): New macro.
28107         Include test-skeleton.c.
28108         * stdio-common/test-fwrite.c (main): Converted to ...
28109         (do_test): ... this.
28110         (TEST_FUNCTION): New macro.
28111         Include test-skeleton.c.
28112         * stdio-common/tst-ferror.c (main): Converted to ...
28113         (do_test): ... this.
28114         (TEST_FUNCTION): New macro.
28115         Include test-skeleton.c.
28116         * stdio-common/tst-printf.c (main): Converted to ...
28117         (do_test): ... this.
28118         (TEST_FUNCTION): New macro.
28119         Include test-skeleton.c.
28120         * stdio-common/tst-printfsz.c (main): Converted to ...
28121         (do_test): ... this.
28122         (TEST_FUNCTION): New macro.
28123         Include test-skeleton.c.
28124         * stdlib/tst-strtod.c (main): Converted to ...
28125         (do_test): ... this.
28126         (TEST_FUNCTION): New macro.
28127         Include test-skeleton.c.
28128         * string/tst-strlen.c (main): Converted to ...
28129         (do_test): ... this.
28130         (TEST_FUNCTION): New macro.
28131         Include test-skeleton.c.
28132         * string/tst-svc.c (main): Converted to ...
28133         (do_test): ... this.
28134         (TEST_FUNCTION): New macro.
28135         Include test-skeleton.c.
28136         * time/tst-strptime.c (main): Converted to ...
28137         (do_test): ... this.
28138         (TEST_FUNCTION): New macro.
28139         Include test-skeleton.c.
28140         * timezone/tst-timezone.c (main): Converted to ...
28141         (do_test): ... this.
28142         (TEST_FUNCTION): New macro.
28143         Include test-skeleton.c.
28145 2015-08-05  Zack Weinberg  <zackw@panix.com>
28147         * misc/regexp.h: Update comments.
28149 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
28151         [BZ #18635]
28152         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
28153         before return label.
28155 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28157         [BZ #18661]
28158         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
28159         when calling __errno_location.
28160         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
28161         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
28163 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28165         [BZ #18661]
28166         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
28167         (__lll_timedwait_tid): Align stack to 16 bytes when calling
28168         __gettimeofday.
28170 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28172         [BZ #18661]
28173         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28174         (__start_context): Don't use pop to restore %rdi so that stack
28175         is aligned to 16 bytes when calling __setcontext.
28177 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28179         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
28180         only for libc.
28181         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28183 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28185         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
28186         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
28187         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
28189 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28191         * string/memccpy.c (memccpy):
28192         Improve performance by using memchr/memcpy/__mempcpy.
28194 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28196         * string/strncpy.c (strncpy):
28197         Improve performance by using __strnlen/memcpy.
28199 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28201         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28202         Optimize to avoid an unnecessary FPCR read.
28204 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28206         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28207         Optimize to reduce FPCR/FPSR accesses.
28209 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28211         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
28212         dead->data[category] != NULL.
28214 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
28216         [BZ #18647]
28217         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
28218         and |x| close to 1, use absolute value of x when computing log.
28219         * math/auto-libm-test-in: Add more tests of pow.
28220         * math/auto-libm-test-out: Regenerated.
28222 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28224         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
28225         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
28226         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
28228 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
28230         [BZ #18525]
28231         * locales/km_KH: Remove timezone definition.
28232         * locales/lo_LA: Likewise.
28233         * locales/my_MM: Likewise.
28234         * locales/nan_TW@latin: Likewise.
28235         * locales/th_TH: Likewise.
28236         * locales/uk_UA: Likewise.
28238 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28240         [BZ #18265]
28241         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
28242         (wcsncat): Likewise.
28243         (wcscmp): Likewise.
28244         (wcsncmp): Likewise.
28246 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28248         * test-skeleton.c (usage): New function.
28249         (main): Call usage when opt is '?'.
28251 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28253         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
28254         before first use.
28256 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28258         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
28259         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
28260         in there too.
28262 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
28264         * version.h (RELEASE): Set to "development".
28265         (VERSION): Set to "2.22.90"
28267         * version.h (RELEASE): Set to "stable".
28268         (VERSION): Set to "2.22"
28269         * include/features.h (__GLIBC_MINOR__): Set to 22.
28271 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
28273         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
28274         Restructure macro to avoid "value computed is not used" warning.
28275         (atomic_compare_and_exchange_val_acq): Likewise.
28277 2015-08-04  Andreas Schwab  <schwab@suse.de>
28279         [BZ #18635]
28280         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
28281         ret.
28282         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
28284 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
28286         * po/pl.po: Updated translation.
28287         * po/uk.po: Likewise.
28288         * po/fi.po: Likewise.
28289         * po/ko.po: Likewise.
28290         * po/ru.po: Likewise.
28291         * po/vi.po: Likewise.
28293 2015-07-31  Zack Weinberg  <zackw@panix.com>
28295         [BZ #18681]
28296         * regexp.h: Add unconditional #warning stating that this header
28297         will be removed soon.  Revise banner comment to match.
28298         (compile): Consistently use ERROR instead of RETURN to report
28299         errors (partial fix for BZ #18681).
28300         * regexp.c: Don't include regexp.h. Remove some unnecessary
28301         declarations.
28303 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
28305         * po/libc.pot: Regenerated.
28307 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28309         [BZ #18740]
28310         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
28311         float-vlen4-arch-ext-cflags): Removed.
28312         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
28313         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
28315 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28317         [BZ #14113]
28318         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
28319         aligned to __aligned__.
28320         (pthread_cond_t, pthread_rwlock_t): Likewise.
28322 2015-07-30  Torvald Riegel  <triegel@redhat.com>
28324         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
28326 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28328         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
28329         (struct sigaction): Change sa_flags from a long to an int, and add
28330         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
28332 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28334         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
28335         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
28336         sysdeps/generic/sysdep.h include.
28337         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
28338         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
28339         sysdeps/hppa/sysdep.h.
28340         (ENTRY, PSEUDO): Undefine before defining.
28342 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28344         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
28345         from scratch to use INTERNAL_SYSCALL.
28347 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28349         [BZ #18078]
28350         * scripts/check-localplt.awk: Support alternate relocations.
28351         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
28352         sections.
28353         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
28354         malloc entries with + REL R_386_GLOB_DAT.
28355         * sysdeps/x86_64/localplt.data: New file.
28357 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
28359         [BZ #18731]
28360         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
28361         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28362         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28364 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28366         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
28368 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28370         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
28371         directly in terms of __sync_fetch_and_add and delete (int) cast.
28373 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28375         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
28376         the -D_ASM_IA64_CURRENT_H flag.
28378 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28380         [BZ #18641]
28381         * pwd/pwd.h (putpwent): Delete __nonnull markings.
28383 2015-07-27  Andreas Schwab  <schwab@suse.de>
28385         * conform/conformtest.pl (checknamespace): Filter out string
28386         literals while tokenizing.
28388 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28390         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28391         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
28392         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28394 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28396         * nptl/tst-join7mod.c: Add #include <string.h>.
28398 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28400         * sysdeps/nios2/libm-test-ulps: Update.
28402 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28404         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
28405         Fix order of arguments to the rt_sigprocmask syscall.
28406         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
28407         Likewise.
28409 2015-07-24  Roland McGrath  <roland@hack.frob.com>
28411         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
28413 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28415         [BZ #18457]
28416         * nptl/Makefile (tests): New test case tst-join7.
28417         (modules-names): New test case module tst-join7mod.
28418         * nptl/tst-join7.c: New file.
28419         * nptl/tst-join7mod.c: New file.
28420         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
28421         all translation units in libc.so, libpthread.so and rtld.
28423 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28427 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28429         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
28430         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28431         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28432         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28434         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28435         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28436         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28437         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28438         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28439         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28440         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28441         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
28442         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28443         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
28444         implementation.
28446 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28448         [BZ #17711]
28449         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28450         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
28451         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28452         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28453         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
28454         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28456 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28458         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
28459         instead of just saying load lock in the comments.
28461 2015-07-23  Roland McGrath  <roland@hack.frob.com>
28463         * sysdeps/unix/Subdirs: Moved ...
28464         * sysdeps/posix/Subdirs: ... here.
28465         * login/pty.h (struct termios, struct winsize): Add forward decls.
28466         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
28467         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
28468         * sysdeps/arm/nacl/libc.abilist: Updated.
28469         * sysdeps/nacl/libutil.abilist: New file.
28471         * bits/signum.h: Update comments to mention 1003.1-2013 too.
28472         (SIGWINCH): New macro.
28474         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
28475         * sysdeps/arm/nacl/libc.abilist: Add it.
28477 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28479         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
28481 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28483         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28484         Swap __glibc_reserved0 and sa_flags order.
28486 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28488         [BZ #18657]
28489         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
28490         are pending TLS destructor calls.
28491         * include/link.h (struct link_map): Add concurrency note for
28492         L_TLS_DTOR_COUNT.
28493         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28494         Don't touch the link map flag.  Atomically increment
28495         l_tls_dtor_count.
28496         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
28497         Avoid taking the load lock and don't touch the link map flag.
28498         * stdlib/tst-tls-atexit-nodelete.c: New test case.
28499         * stdlib/Makefile (tests): Use it.
28500         * stdlib/tst-tls-atexit.c (do_test): dlopen
28501         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
28502         to allow tst-tls-atexit-nodelete test case to use it.
28504 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28506         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
28507         to bits/types.h.
28508         (msgqnum_t): New typedef.
28509         (msglen_t): Likewise.
28510         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
28511         and msg_qbytes type to msglen_t.
28513 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28515         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
28516         pad0 to __glibc_reserved0.
28517         (struct stat64): Likewise.
28519 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28521         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28522         Change sa_flags from a long to an int and add __glibc_reserved0 before
28523         it for padding.
28525 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28527         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
28528         anonymous by deleting "siginfo" name.
28530 2015-07-21  Roland McGrath  <roland@hack.frob.com>
28532         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
28533         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
28534         rather than __nacl_irt_filename.
28535         * sysdeps/nacl/xstat.c (__xstat): Likewise.
28537         * NEWS: New item for arm-nacl port.
28538         * sysdeps/arm/nacl/libc.abilist: New file.
28539         * sysdeps/nacl/ld.abilist: New file.
28540         * sysdeps/nacl/libBrokenLocale.abilist: New file.
28541         * sysdeps/nacl/libanl.abilist: New file.
28542         * sysdeps/nacl/libcrypt.abilist: New file.
28543         * sysdeps/nacl/libdl.abilist: New file.
28544         * sysdeps/nacl/libm.abilist: New file.
28545         * sysdeps/nacl/libpthread.abilist: New file.
28546         * sysdeps/nacl/libresolv.abilist: New file.
28547         * sysdeps/nacl/librt.abilist: New file.
28549 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
28551         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
28552         __startcontext to initialize the new context.
28553         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
28554         up CFI directive to forbid further backtracing.
28556 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
28558         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
28559         reference.
28560         * charmaps/ANSI_X3.4-1968: Likewise.
28561         * charmaps/BS_4730: Likewise.
28562         * charmaps/BS_VIEWDATA: Likewise.
28563         * charmaps/CP1250: Likewise.
28564         * charmaps/CP1251: Likewise.
28565         * charmaps/CP1252: Likewise.
28566         * charmaps/CP1253: Likewise.
28567         * charmaps/CP1254: Likewise.
28568         * charmaps/CP1255: Likewise.
28569         * charmaps/CP1256: Likewise.
28570         * charmaps/CSN_369103: Likewise.
28571         * charmaps/EBCDIC-DK-NO: Likewise.
28572         * charmaps/GB_1988-80: Likewise.
28573         * charmaps/GREEK-CCITT: Likewise.
28574         * charmaps/GREEK7: Likewise.
28575         * charmaps/INIS-8: Likewise.
28576         * charmaps/ISIRI-3342: Likewise.
28577         * charmaps/ISO_2033-1983: Likewise.
28578         * charmaps/ISO_5427-EXT: Likewise.
28579         * locales/POSIX: Likewise.
28580         * locales/ar_SA: Likewise.
28581         * locales/be_BY: Likewise.
28582         * locales/be_BY@latin: Likewise.
28583         * locales/ca_ES: Likewise.
28584         * locales/cs_CZ: Likewise.
28585         * locales/da_DK: Likewise.
28586         * locales/de_BE: Likewise.
28587         * locales/de_CH: Likewise.
28588         * locales/de_LU: Likewise.
28589         * locales/en_AU: Likewise.
28590         * locales/en_BW: Likewise.
28591         * locales/en_CA: Likewise.
28592         * locales/en_DK: Likewise.
28593         * locales/en_GB: Likewise.
28594         * locales/en_IE: Likewise.
28595         * locales/en_NZ: Likewise.
28596         * locales/en_ZA: Likewise.
28597         * locales/en_ZW: Likewise.
28598         * locales/es_AR: Likewise.
28599         * locales/es_BO: Likewise.
28600         * locales/es_CL: Likewise.
28601         * locales/es_CO: Likewise.
28602         * locales/es_DO: Likewise.
28603         * locales/es_EC: Likewise.
28604         * locales/es_ES: Likewise.
28605         * locales/es_HN: Likewise.
28606         * locales/es_MX: Likewise.
28607         * locales/es_PA: Likewise.
28608         * locales/es_PE: Likewise.
28609         * locales/es_PY: Likewise.
28610         * locales/es_SV: Likewise.
28611         * locales/es_US: Likewise.
28612         * locales/es_UY: Likewise.
28613         * locales/es_VE: Likewise.
28614         * locales/et_EE: Likewise.
28615         * locales/fa_IR: Likewise.
28616         * locales/fo_FO: Likewise.
28617         * locales/fr_CA: Likewise.
28618         * locales/fr_CH: Likewise.
28619         * locales/gv_GB: Likewise.
28620         * locales/he_IL: Likewise.
28621         * locales/hr_HR: Likewise.
28622         * locales/id_ID: Likewise.
28623         * locales/is_IS: Likewise.
28624         * locales/it_CH: Likewise.
28625         * locales/iw_IL: Likewise.
28626         * locales/kl_GL: Likewise.
28627         * locales/ko_KR: Likewise.
28628         * locales/kw_GB: Likewise.
28629         * locales/lg_UG: Likewise.
28630         * locales/lt_LT: Likewise.
28631         * locales/lv_LV: Likewise.
28632         * locales/mi_NZ: Likewise.
28633         * locales/nhn_MX: Likewise.
28634         * locales/nl_BE: Likewise.
28635         * locales/pl_PL: Likewise.
28636         * locales/sk_SK: Likewise.
28637         * locales/sl_SI: Likewise.
28638         * locales/sv_FI: Likewise.
28639         * locales/tl_PH: Likewise.
28640         * locales/tr_TR: Likewise.
28641         * locales/vi_VN: Likewise.
28643 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28645         [BZ #17475]
28646         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28647         of tu_IN and bh_IN.
28649 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28651         [BZ #18694]
28652         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28653         bits/wordsize.h.
28654         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28656 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28658         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28659         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28660         (spawn_thread): New function.
28661         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28662         (do_test): ... here.  Use IS_LOADED to test for its
28663         availability.
28665 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28667         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28669 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28671         [BZ #18696]
28672         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28673         si_addr_bnd.
28674         (si_lower): New.
28675         (si_upper): Likewise.
28677 2015-07-16  David S. Miller  <davem@davemloft.net>
28679         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28681 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28683         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28684         buffer.
28685         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28686         fail output information.
28688 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28691         and strstr-ppc64..
28692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28693         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28694         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28695         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28696         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28698 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28700         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28701         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28702         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28703         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28705 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28707         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28708         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28709         rtld_hidden_proto.
28710         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28712 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28714         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28715         the test can fail.
28717         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28719         [BZ #18676]
28720         * elf/tst-nodelete-opened.c: New test case.
28721         * elf/tst-nodelete-opened-lib.c: New test case module.
28722         * elf/Makefile (tests, modules-names): Use them.
28723         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28724         early.
28726 2015-07-15  David S. Miller  <davem@davemloft.net>
28728         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28729         futex-intenal.h
28730         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28731         * sysdeps/sparc/sparc64/Makefile: Likewise.
28732         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28733         Remove space from macro define.
28734         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28736 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28738         [BZ #17475]
28739         * locale/iso-639.def: Update Bhili and Tulu language codes as
28740         per iso639-3.
28742 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28744         * elf/tst-leaks1.c (main): Converted to ...
28745         (do_test): ... this.
28746         (TEST_FUNCTION): New macro.
28747         Include test-skeleton.c.
28748         * localedata/tst-langinfo.c (main): Converted to ...
28749         (do_test): ... this.
28750         (TEST_FUNCTION): New macro.
28751         Include test-skeleton.c.
28752         * math/test-fpucw.c (main): Converted to ...
28753         (do_test): ... this.
28754         (TEST_FUNCTION): New macro.
28755         Include test-skeleton.c.
28756         * math/test-tgmath.c (main): Converted to ...
28757         (do_test): ... this.
28758         (TEST_FUNCTION): New macro.
28759         Include test-skeleton.c.
28760         * math/test-tgmath2.c (main): Converted to ...
28761         (do_test): ... this.
28762         (TEST_FUNCTION): New macro.
28763         Include test-skeleton.c.
28764         * setjmp/tst-setjmp.c (main): Converted to ...
28765         (do_test): ... this.
28766         (TEST_FUNCTION): New macro.
28767         Include test-skeleton.c.
28768         * stdio-common/tst-sscanf.c (main): Converted to ...
28769         (do_test): ... this.
28770         (TEST_FUNCTION): New macro.
28771         Include test-skeleton.c.
28772         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28773         (do_test): ... this.
28774         (TEST_FUNCTION): New macro.
28775         Include test-skeleton.c.
28777         * elf/tst-audit9.c (main): Converted to ...
28778         (do_test): ... this.
28779         (TEST_FUNCTION): New macro.
28780         Include test-skeleton.c.
28782 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28784         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28786 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28788         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28789         New variable.
28791 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28793         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28795 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28797         * sysdeps/generic/dl-fileid.h: New file.
28798         * sysdeps/posix/dl-fileid.h: New file.
28799         * sysdeps/nacl/dl-fileid.h: New file.
28800         * include/link.h: Include <dl-fileid.h>.
28801         (struct link_map): Replace l_dev and l_ino with l_file_id.
28802         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28803         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28804         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28806 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28808         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28810 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28812         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28813         Add iff $CXX is set.
28814         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28815         Likewise.
28816         (tst-nodelete-zmodiff): Likewise.
28817         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28819 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28821         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28823 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28825         * sysdeps/aarch64/fpu/math_private.h
28826         (define math_opt_barrier): Add AArch64 version.
28827         (math_force_eval): Likewise.
28829 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28831         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28833 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28835         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28836         %ld with %jd and cast to intmax_t.
28837         (do_test_length_zero): Likewise.
28839 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28841         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28843 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28845         * sysdeps/tile/libm-test-ulps: Regenerated.
28847         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28848         Comment out the whole function, not just its body.
28850 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28852         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28853         locks.
28855         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28857 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28859         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28860         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28862 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28864         * sysdeps/nptl/futex-internal.h: New file.
28865         * sysdeps/nacl/futex-internal.h: New file.
28866         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28867         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28868         error checking.
28869         (setxid_unmark_thread): Likewise.
28870         (__nptl_setxid): Likewise.
28871         (__wait_lookup_done): Likewise.
28872         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28873         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28874         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28875         * nptl/pthread_once.c (clear_once_control): Likewise.
28876         (__pthread_once_slow): Likewise.
28877         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28878         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28879         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28880         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28881         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28882         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28883         Likewise.
28884         (__pthread_rwlock_rdlock): Likewise.
28885         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28886         Likewise.
28887         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28888         Likewise.
28889         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28890         Likewise.
28891         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28892         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28893         Likewise.
28894         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28895         __ASSUME_PRIVATE_FUTEX check.
28896         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28897         Check that shared futexes are supported.
28898         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28899         wrappers with error checking.
28900         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28901         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28902         * nptl/pthread_barrierattr_setpshared.c
28903         (pthread_barrierattr_setpshared): Check that shared futexes are
28904         supported.
28905         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28906         Likewise.
28907         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28908         Likewise.
28909         * nptl/sem_init.c (futex_private_if_supported): Remove.
28910         (__new_sem_init): Adapt and check that shared futexes are supported.
28911         * nptl/sem_open.c (sem_open): Likewise.
28912         * nptl/sem_post.c (futex_wake): Remove.
28913         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28914         (do_futex_wait): Use futex wrappers with error checking.
28915         * nptl/sem_wait.c: Include lowlevellock.h.
28916         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28917         Use futex_supports_pshared.
28918         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28919         Use futex wrappers with error checking.
28920         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28921         Likewise.
28922         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28923         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28924         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28925         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28926         (futex_wake): Likewise.
28927         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28928         (do_futex_wait): Use futex wrappers with error checking.
28929         (__new_sem_wait_slow): Update EINTR handling.
28930         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28932 2015-07-09  Martin Sebor  <msebor@redhat.com>
28934         [BZ #18435]
28935         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28936         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28937         * nptl/Makefile (test-xfail-tst-once5): Define.
28939 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28941         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28942         * elf/dl-minimal.c: For readability, reorder some definitions and
28943         introduce more page breaks.  Include <stdio.h>.
28944         (__libc_fatal): New function.
28946         * include/unistd.h: Add rtld_hidden_proto for _exit.
28947         * posix/_exit.c: Add rtld_hidden_def.
28948         * sysdeps/mach/hurd/_exit.c: Likewise.
28949         * sysdeps/nacl/_exit.c: Likewise.
28950         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28951         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28953 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28955         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28956         bndmov encoding with zero displacement.
28958 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28959             H.J. Lu  <hongjiu.lu@intel.com>
28961         [BZ #18134]
28962         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28963         * sysdeps/i386/configure: Regenerated.
28964         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28965         (_dl_runtime_profile): Save and restore Intel MPX return bound
28966         registers when calling _dl_call_pltexit.  Add
28967         PRESERVE_BND_REGS_PREFIX before return.
28968         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28969         (LRV_BND1_OFFSET): Likewise.
28970         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28971         lrv_bnd1.
28972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28973         typo in bndmov encoding.
28974         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28975         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28976         branch instructions to preserve bounds.
28978 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28981         [GLIBC_2.22]: Add fmemopen.
28983 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28985         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28986         returns an error, also try to use host port from __mach_host_self for
28987         the __vm_wire call.
28988         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28990 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28992         [BZ #18400]
28993         [BZ #18648]
28994         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28995         Fix pr_uid and pr_gid members.
28996         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28997         definition to elf_greg_t.
28999 2015-07-08  Roland McGrath  <roland@hack.frob.com>
29001         [BZ #18383]
29002         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
29003         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
29004         * sysdeps/arm/configure: Regenerated.
29005         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
29006         (test-xfail-tst-tlsalign-static): Variable removed.
29008         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
29009         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
29010         rather than explicit 'ln -s'.
29012         * resolv/rpc/netdb.h: New file.
29013         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
29015 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29017         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
29018         length buffers.
29019         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29020         test-skeleton.c.
29022         [BZ #6544]
29023         [BZ #11216]
29024         [BZ #12836]
29025         [BZ #13151]
29026         [BZ #13152]
29027         [BZ #14292]
29028         * include/stdio.h (fmemopen): Remove hidden prototype.
29029         (__fmemopen): Add new hidden prototype.
29030         * libio/Makefile: Add oldfmemopen object.
29031         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
29032         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
29033         compliance.
29034         * libio/oldfmemopen.c: New file: old fmemopen implementation for
29035         symbol compatibility.
29036         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
29037         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
29038         fmemopen.
29039         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
29040         on append and read mode.
29041         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
29042         fmemopen.
29043         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
29044         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
29045         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
29046         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
29047         Likewise.
29048         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
29049         [GLIBC_2.22]: Likewise.
29050         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
29051         Likewise.
29052         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
29053         Likewise.
29054         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
29055         [GLIBC_2.22]: Likewise.
29056         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
29057         [GLIBC_2.22]: Likewise.
29058         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
29059         [GLIBC_2.22]: Likewise.
29060         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
29061         [GLIBC_2.22]: Likewise.
29062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
29063         [GLIBC_2.22]: Likewise.
29064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
29065         [GLIBC_2.22]: Likewise.
29066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
29067         [GLIBC_2.22]: Likewise.
29068         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
29069         Likewise.
29070         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
29071         Likewise.
29072         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
29073         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
29074         [GLIBC_2.22]: Likewise.
29075         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
29076         [GLIBC_2.22]: Likewise.
29077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
29078         [GLIBC_2.22]: Likewise.
29079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
29080         [GLIBC_2.22]: Likewise.
29081         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
29082         Likewise.
29083         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
29084         Likewise.
29085         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
29086         Likewise.
29087         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
29088         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
29090 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29092         [BZ #18643]
29093         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
29094         IPV6_PATHMTU, and IPV6_DONTFRAG.
29096 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
29098         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
29099         and _IO_UNBUFFERED.
29100         * libio/oldfileops.c: Likewise.
29101         * libio/wfileops.c: Likewise.
29103 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29105         * nscd/selinux.c: Delete selinux/flask.h include.
29107 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29109         [BZ #18641]
29110         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
29111         (putpwent): Likewise.
29112         (getpwnam): Likewise.
29113         (getpwent_r): Likewise.
29114         (getpwuid_r): Likewise.
29115         (getpwnam_r): Likewise.
29116         (fgetpwent_r): Likewise.
29118 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29120         [BZ #18557]
29121         * inet/rcmd.c (__validuser2_sa): Check user first to
29122         short-circuit host check.
29124 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
29125             Mikhail Ilin  <m.ilin@samsung.com>
29127         [BZ #17833]
29128         * elf/Makefile (tests): Add tst-nodelete.
29129         (modules-names): Add tst-nodelete-uniquemod.
29130         (tst-nodelete-uniquemod.so-no-z-defs): New.
29131         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
29132         (tst-nodelete-zmod.so-no-z-defs): Likewise.
29133         ($(objpfx)tst-nodelete): Likewise.
29134         ($(objpfx)tst-nodelete.out): Likewise.
29135         (LDFLAGS-tst-nodelete): Likewise.
29136         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
29137         * elf/dl-close.c (_dl_close_worker): Add a parameter to
29138         implement forced object deletion.
29139         (_dl_close): Pass false to _dl_close_worker.
29140         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
29141         * elf/tst-nodelete.cc: New file.
29142         * elf/tst-nodeletelib.cc: Likewise.
29143         * elf/tst-znodeletelib.cc: Likewise.
29144         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
29146 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29148         [BZ #18508]
29149         * stdlib/Makefile ($(objpfx)tst-makecontext3):
29150         Depend on $(libdl).
29151         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
29152         is not called infinitely times.
29153         (backtrace_helper): New function.
29154         (trace_arg): New struct.
29155         (st1): Enlarge stack size.
29156         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29157         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
29158         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29159         Likewise.
29161 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29163         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29165 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29167         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
29168         Include sys/types.h instead of bits/types.h.
29169         Remove inclusion of bits/wordsize.h.
29171 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29173         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
29174         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
29175         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
29176         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
29177         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
29178         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
29180 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29182         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
29183         link-defines.sym.
29184         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
29185         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
29186         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
29187         and LR_SIZE.
29188         * sysdeps/i386/link-defines.sym: New file.
29190 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29192         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
29193         (modules-names): Add tst-auditmod3a tst-auditmod3b.
29194         ($(objpfx)tst-audit3): New rule.
29195         ($(objpfx)tst-audit3.out): Likewise.
29196         * sysdeps/i386/tst-audit3.c: New file.
29197         * sysdeps/i386/tst-audit3.h: Likewise.
29198         * sysdeps/i386/tst-auditmod3a.c: Likewise.
29199         * sysdeps/i386/tst-auditmod3b.c: Likewise.
29201 2015-07-07  Torvald Riegel  <triegel@redhat.com>
29203         [BZ #18633]
29204         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
29205         pointer in C code.
29206         (__strcat_c): Likewise.
29207         (__strcat_g): Likewise.
29209 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
29211         [BZ #18592]
29212         * misc/sbrk.c: Set errno to ENOMEM on overflow.
29214 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29216         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
29217         New function.  (__ieee754_sqrtf): New function.
29218         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
29219         New function.
29220         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
29221         New function.
29223 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29225         * sysdeps/ieee754/support.c: Remove unused file.
29227 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29229         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
29230         registers instead of d ones so the layout is kernel abi compatible.
29231         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
29232         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
29233         Likewise.
29235 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29237         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29239 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29241         [BZ #18619]
29242         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
29243         and return argument in case of subnormal argument.
29245 2015-07-01  Martin Sebor  <msebor@redhat.com>
29247         [BZ #18435]
29248         * nptl/Makefile: Add tst-once5.cc.
29249         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29250         Remove macro redefinitions.
29251         * nptl/tst-once5.cc: New test.
29253 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29255         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29257         * sysdeps/arm/libm-test-ulps: Regenerated.
29259         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29260         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29262 2015-06-30  Torvald Riegel  <triegel@redhat.com>
29264         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
29265         lll_lock_wait_private and lll_futex_wake probes.
29267         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
29269         Likewise.
29270         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
29271         atomic_spin_nop.
29272         * sysdeps/x86_64/bits/atomic.h: Likewise.
29273         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
29274         to atomic_spin_nop and move ...
29275         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29276         ... here and ...
29277         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
29278         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
29279         atomic_spin_nop instead of BUSY_WAIT_NOP.
29280         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29281         Likewise.
29282         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
29283         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29284         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
29285         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
29286         instead of atomic_delay.
29288 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
29290         [BZ #18613]
29291         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
29292         X_ADJ not X when adjusting exponent.
29293         (__ieee754_gamma_r): Do intermediate computations in
29294         round-to-nearest then adjust overflowing and underflowing results
29295         as needed.
29296         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
29297         of X_ADJ not X when adjusting exponent.
29298         (__ieee754_gammaf_r): Do intermediate computations in
29299         round-to-nearest then adjust overflowing and underflowing results
29300         as needed.
29301         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
29302         log of X_ADJ not X when adjusting exponent.
29303         (__ieee754_gammal_r): Do intermediate computations in
29304         round-to-nearest then adjust overflowing and underflowing results
29305         as needed.  Use 1.0L not 1.0f as numerator of division.
29306         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
29307         log of X_ADJ not X when adjusting exponent.
29308         (__ieee754_gammal_r): Do intermediate computations in
29309         round-to-nearest then adjust overflowing and underflowing results
29310         as needed.  Use 1.0L not 1.0f as numerator of division.
29311         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
29312         of X_ADJ not X when adjusting exponent.
29313         (__ieee754_gammal_r): Do intermediate computations in
29314         round-to-nearest then adjust overflowing and underflowing results
29315         as needed.  Use 1.0L not 1.0f as numerator of division.
29316         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
29317         to auto-libm-test-in.
29318         (tgamma_test): Use ALL_RM_TEST.
29319         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
29320         tests of tgamma with spurious-overflow.
29321         * math/auto-libm-test-out: Regenerated.
29322         * math/gen-libm-have-vector-test.sh: Do not check for START.
29323         * sysdeps/i386/fpu/libm-test-ulps: Update.
29324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29326         [BZ #18612]
29327         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
29328         arguments, just return 0.5 times the argument, with underflow
29329         forced as needed.
29330         * math/auto-libm-test-in: Add more tests of j1.
29331         * math/auto-libm-test-out: Regenerated.
29333         [BZ #16559]
29334         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
29335         (__ieee754_j1): Force underflow exception for small results.
29336         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29337         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
29338         (__ieee754_j1f): Force underflow exception for small results.
29339         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29340         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29341         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29342         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
29343         (__ieee754_j1l): Force underflow exception for small results.
29344         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29345         * math/auto-libm-test-in: Add more tests of j1 and jn.
29346         * math/auto-libm-test-out: Regenerated.
29348         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
29349         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
29350         (PF_MPLS): Likewise.
29351         (AF_IB): Likewise.
29352         (AF_MPLS): Likewise.
29353         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
29354         value and macro.
29355         (MS_RMT_MASK): Include MS_LAZYTIME.
29357 2015-06-26  Mel Gorman  <mgorman@suse.de>
29359         [BZ #18502]
29360         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
29361         already minimal.
29363 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
29365         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
29366         (DT_MIPS_NUM): Update.
29367         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
29368         DT_MIPS_RLD_MAP_REL.
29370 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
29372         [BZ #16559]
29373         [BZ #18602]
29374         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
29375         round-to-nearest internally then recompute results that
29376         underflowed to zero in the original rounding mode.
29377         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29378         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29380         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29381         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
29382         * sysdeps/i386/fpu/libm-test-ulps: Update.
29383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29385 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29387         * NEWS: Fixed description of link with vector math library.
29389 2015-06-25  Andreas Schwab  <schwab@suse.de>
29391         [BZ #18549]
29392         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
29393         * libio/test-fmemopen.c (do_test): Add test for it.
29395 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29397         [BZ #17841]
29398         * Makeconfig (no-pie-ldflag): New.
29399         (+link): Set to $(+link-pie) if default to PIE.
29400         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
29401         * config.make.in (build-pie-default): New.
29402         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
29403         is default.  AC_SUBST.
29404         * configure: Regenerated.
29405         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
29407 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29409         * nptl/descr.h (struct pthread): Change type of field setxid_futex
29410         to 'unsigned int'.
29412         * resolv/gai_misc.h (struct waitlist): Change type of field
29413         counterp to 'volatile unsigned int *'.
29414         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
29415         FUTEXADDR and OLDVAL.
29416         * resolv/getaddrinfo_a.c (getaddrinfo_a):
29417         Give local variable TOTAL type 'volatile unsigned int'.
29418         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29419         * resolv/gai_suspend.c (gai_suspend):
29420         Give local variable CNTR type 'unsigned int'.
29422         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
29423         counterp to 'volatile unsigned int *'.
29424         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
29425         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
29426         (aio_suspend): Give local variable CNTR type 'unsigned int'.
29427         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
29428         Give local variable TOTAL type 'volatile unsigned int'.
29429         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29431 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29433         [BZ #18383]
29434         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
29435         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
29436         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
29437         comment for i386/x86-64.
29438         (test-xfail-tst-tlsalign-extern-static): Removed.
29440 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29442         * math/test-double.h: New file.
29443         * math/test-float.h: Likewise.
29444         * math/test-ldouble.h: Likewise.
29445         * math/test-math-inline.h: Likewise.
29446         * math/test-math-no-inline.h: Likewise.
29447         * math/test-math-scalar.h: Likewise.
29448         * math/test-math-vector.h: Likewise.
29449         * math/test-vec-loop.h: Remove file.  Contents moved into
29450         test-math-vector.h.
29451         * math/libm-test.inc (MATHCONST): Do not document macro.
29452         * math/test-double.c: Include test-double.h, test-math-no-inline.h
29453         and test-math-scalar.h.
29454         (FUNC): Remove macro.
29455         (FUNC_TEST): Likewise.
29456         (FLOAT): Likewise.
29457         (MATHCONST): Likewise.
29458         (PRINTF_EXPR): Likewise.
29459         (PRINTF_XEXPR): Likewise.
29460         (PRINTF_NEXPR): Likewise.
29461         (TEST_DOUBLE): Likewise.
29462         (TEST_MATHVEC): Likewise.
29463         (__NO_MATH_INLINES): Likewise.
29464         * math/test-float.c: Include test-float.h, test-math-no-inline.h
29465         and test-math-scalar.h.
29466         (FUNC): Remove macro.
29467         (FUNC_TEST): Likewise.
29468         (FLOAT): Likewise.
29469         (MATHCONST): Likewise.
29470         (PRINTF_EXPR): Likewise.
29471         (PRINTF_XEXPR): Likewise.
29472         (PRINTF_NEXPR): Likewise.
29473         (TEST_FLOAT): Likewise.
29474         (TEST_MATHVEC): Likewise.
29475         (__NO_MATH_INLINES): Likewise.
29476         * math/test-idouble.c: Include test-double.h, test-math-inline.h
29477         and test-math-scalar.h.
29478         (FUNC): Remove macro.
29479         (FUNC_TEST): Likewise.
29480         (FLOAT): Likewise.
29481         (MATHCONST): Likewise.
29482         (PRINTF_EXPR): Likewise.
29483         (PRINTF_XEXPR): Likewise.
29484         (PRINTF_NEXPR): Likewise.
29485         (TEST_DOUBLE): Likewise.
29486         (TEST_MATHVEC): Likewise.
29487         (TEST_INLINE): Likewise.
29488         (__NO_MATH_INLINES): Likewise.
29489         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
29490         test-math-scalar.h.
29491         (FUNC): Remove macro.
29492         (FUNC_TEST): Likewise.
29493         (FLOAT): Likewise.
29494         (MATHCONST): Likewise.
29495         (PRINTF_EXPR): Likewise.
29496         (PRINTF_XEXPR): Likewise.
29497         (PRINTF_NEXPR): Likewise.
29498         (TEST_FLOAT): Likewise.
29499         (TEST_MATHVEC): Likewise.
29500         (TEST_INLINE): Likewise.
29501         (__NO_MATH_INLINES): Likewise.
29502         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
29503         and test-math-scalar.h.
29504         (FUNC): Remove macro.
29505         (FUNC_TEST): Likewise.
29506         (FLOAT): Likewise.
29507         (MATHCONST): Likewise.
29508         (PRINTF_EXPR): Likewise.
29509         (PRINTF_XEXPR): Likewise.
29510         (PRINTF_NEXPR): Likewise.
29511         (TEST_LDOUBLE): Likewise.
29512         (TEST_MATHVEC): Likewise.
29513         (TEST_INLINE): Likewise.
29514         (__NO_MATH_INLINES): Likewise.
29515         * math/test-ldouble.c: Include test-ldouble.h,
29516         test-math-no-inline.h and test-math-scalar.h.
29517         (FUNC): Remove macro.
29518         (FUNC_TEST): Likewise.
29519         (FLOAT): Likewise.
29520         (MATHCONST): Likewise.
29521         (PRINTF_EXPR): Likewise.
29522         (PRINTF_XEXPR): Likewise.
29523         (PRINTF_NEXPR): Likewise.
29524         (TEST_LDOUBLE): Likewise.
29525         (TEST_MATHVEC): Likewise.
29526         (__NO_MATH_INLINES): Likewise.
29527         * math/test-double-vlen2.h: Include test-double.h,
29528         test-math-no-inline.h and test-math-vector.h.
29529         (FLOAT): Remove macro.
29530         (FUNC): Likewise.
29531         (MATHCONST): Likewise.
29532         (PRINTF_EXPR): Likewise.
29533         (PRINTF_XEXPR): Likewise.
29534         (PRINTF_NEXPR): Likewise.
29535         (TEST_DOUBLE): Likewise.
29536         (TEST_MATHVEC): Likewise.
29537         (__NO_MATH_INLINES): Likewise.
29538         (CNCT): Likewise.
29539         (CONCAT): Likewise.
29540         (WRAPPER_NAME): Likewise.
29541         (WRAPPER_DECL): Likewise.
29542         (WRAPPER_DECL_ff): Likewise.
29543         (WRAPPER_DECL_fFF): Likewise.
29544         (VECTOR_WRAPPER): Likewise.
29545         (VECTOR_WRAPPER_ff): Likewise.
29546         (VECTOR_WRAPPER_fFF): Likewise.
29547         (VEC_LEN): New macro.
29548         * math/test-double-vlen4.h: Include test-double.h,
29549         test-math-no-inline.h and test-math-vector.h.
29550         (FLOAT): Remove macro.
29551         (FUNC): Likewise.
29552         (MATHCONST): Likewise.
29553         (PRINTF_EXPR): Likewise.
29554         (PRINTF_XEXPR): Likewise.
29555         (PRINTF_NEXPR): Likewise.
29556         (TEST_DOUBLE): Likewise.
29557         (TEST_MATHVEC): Likewise.
29558         (__NO_MATH_INLINES): Likewise.
29559         (CNCT): Likewise.
29560         (CONCAT): Likewise.
29561         (WRAPPER_NAME): Likewise.
29562         (WRAPPER_DECL): Likewise.
29563         (WRAPPER_DECL_ff): Likewise.
29564         (WRAPPER_DECL_fFF): Likewise.
29565         (VECTOR_WRAPPER): Likewise.
29566         (VECTOR_WRAPPER_ff): Likewise.
29567         (VECTOR_WRAPPER_fFF): Likewise.
29568         (VEC_LEN): New macro.
29569         * math/test-double-vlen8.h: Include test-double.h,
29570         test-math-no-inline.h and test-math-vector.h.
29571         (FLOAT): Remove macro.
29572         (FUNC): Likewise.
29573         (MATHCONST): Likewise.
29574         (PRINTF_EXPR): Likewise.
29575         (PRINTF_XEXPR): Likewise.
29576         (PRINTF_NEXPR): Likewise.
29577         (TEST_DOUBLE): Likewise.
29578         (TEST_MATHVEC): Likewise.
29579         (__NO_MATH_INLINES): Likewise.
29580         (CNCT): Likewise.
29581         (CONCAT): Likewise.
29582         (WRAPPER_NAME): Likewise.
29583         (WRAPPER_DECL): Likewise.
29584         (WRAPPER_DECL_ff): Likewise.
29585         (WRAPPER_DECL_fFF): Likewise.
29586         (VECTOR_WRAPPER): Likewise.
29587         (VECTOR_WRAPPER_ff): Likewise.
29588         (VECTOR_WRAPPER_fFF): Likewise.
29589         (VEC_LEN): New macro.
29590         * math/test-float-vlen4.h: Include test-float.h,
29591         test-math-no-inline.h and test-math-vector.h.
29592         (FLOAT): Remove macro.
29593         (FUNC): Likewise.
29594         (MATHCONST): Likewise.
29595         (PRINTF_EXPR): Likewise.
29596         (PRINTF_XEXPR): Likewise.
29597         (PRINTF_NEXPR): Likewise.
29598         (TEST_FLOAT): Likewise.
29599         (TEST_MATHVEC): Likewise.
29600         (__NO_MATH_INLINES): Likewise.
29601         (CNCT): Likewise.
29602         (CONCAT): Likewise.
29603         (WRAPPER_NAME): Likewise.
29604         (WRAPPER_DECL): Likewise.
29605         (WRAPPER_DECL_ff): Likewise.
29606         (WRAPPER_DECL_fFF): Likewise.
29607         (VECTOR_WRAPPER): Likewise.
29608         (VECTOR_WRAPPER_ff): Likewise.
29609         (VECTOR_WRAPPER_fFF): Likewise.
29610         (VEC_LEN): New macro.
29611         * math/test-float-vlen8.h: Include test-float.h,
29612         test-math-no-inline.h and test-math-vector.h.
29613         (FLOAT): Remove macro.
29614         (FUNC): Likewise.
29615         (MATHCONST): Likewise.
29616         (PRINTF_EXPR): Likewise.
29617         (PRINTF_XEXPR): Likewise.
29618         (PRINTF_NEXPR): Likewise.
29619         (TEST_FLOAT): Likewise.
29620         (TEST_MATHVEC): Likewise.
29621         (__NO_MATH_INLINES): Likewise.
29622         (CNCT): Likewise.
29623         (CONCAT): Likewise.
29624         (WRAPPER_NAME): Likewise.
29625         (WRAPPER_DECL): Likewise.
29626         (WRAPPER_DECL_ff): Likewise.
29627         (WRAPPER_DECL_fFF): Likewise.
29628         (VECTOR_WRAPPER): Likewise.
29629         (VECTOR_WRAPPER_ff): Likewise.
29630         (VECTOR_WRAPPER_fFF): Likewise.
29631         (VEC_LEN): New macro.
29632         * math/test-float-vlen16.h: Include test-float.h,
29633         test-math-no-inline.h and test-math-vector.h.
29634         (FLOAT): Remove macro.
29635         (FUNC): Likewise.
29636         (MATHCONST): Likewise.
29637         (PRINTF_EXPR): Likewise.
29638         (PRINTF_XEXPR): Likewise.
29639         (PRINTF_NEXPR): Likewise.
29640         (TEST_FLOAT): Likewise.
29641         (TEST_MATHVEC): Likewise.
29642         (__NO_MATH_INLINES): Likewise.
29643         (CNCT): Likewise.
29644         (CONCAT): Likewise.
29645         (WRAPPER_NAME): Likewise.
29646         (WRAPPER_DECL): Likewise.
29647         (WRAPPER_DECL_ff): Likewise.
29648         (WRAPPER_DECL_fFF): Likewise.
29649         (VECTOR_WRAPPER): Likewise.
29650         (VECTOR_WRAPPER_ff): Likewise.
29651         (VECTOR_WRAPPER_fFF): Likewise.
29652         (VEC_LEN): New macro.
29653         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29654         test-vec-loop.h.
29655         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29656         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29657         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29658         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29659         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29660         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29661         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29663 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29665         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29666         (__getlogin_r): ... this.
29668 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29670         [BZ #18594]
29671         * math/s_ccosh.c (__ccosh): Compare with least normal value
29672         instead of comparing class with FP_SUBNORMAL.
29673         * math/s_ccoshf.c (__ccoshf): Likewise.
29674         * math/s_ccoshl.c (__ccoshl): Likewise.
29675         * math/s_cexp.c (__cexp): Likewise.
29676         * math/s_cexpf.c (__cexpf): Likewise.
29677         * math/s_cexpl.c (__cexpl): Likewise.
29678         * math/s_csin.c (__csin): Likewise.
29679         * math/s_csinf.c (__csinf): Likewise.
29680         * math/s_csinh.c (__csinh): Likewise.
29681         * math/s_csinhf.c (__csinhf): Likewise.
29682         * math/s_csinhl.c (__csinhl): Likewise.
29683         * math/s_csinl.c (__csinl): Likewise.
29684         * math/s_ctan.c (__ctan): Likewise.
29685         * math/s_ctanf.c (__ctanf): Likewise.
29686         * math/s_ctanh.c (__ctanh): Likewise.
29687         * math/s_ctanhf.c (__ctanhf): Likewise.
29688         * math/s_ctanhl.c (__ctanhl): Likewise.
29689         * math/s_ctanl.c (__ctanl): Likewise.
29690         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29691         csin, csinh, ctan and ctanh.
29692         * math/auto-libm-test-out: Regenerated.
29693         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29694         * sysdeps/i386/fpu/libm-test-ulps: Update.
29695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29697 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29699         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29700         return value is wrong, print the expected value too.
29702 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29704         [BZ #18585]
29705         * elf/readlib.c (is_gdb_python_file): New.
29706         (process_file): Don't issue errors on filenames with -gdb.py
29707         suffix.
29709 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29711         * math/auto-libm-test-in: Add more tests of csin and csinh.
29712         * math/auto-libm-test-out: Regenerated.
29713         * math/libm-test.inc (csin_test_data): Remove tests moved to
29714         auto-libm-test-in.
29715         (csinh_test_data): Likewise.
29717         [BZ #18593]
29718         * math/s_csin.c (__csin): Negate before rather than after possibly
29719         overflowing multiplication.
29720         * math/s_csinf.c (__csinf): Likewise.
29721         * math/s_csinh.c (__csinh): Likewise.
29722         * math/s_csinhf.c (__csinhf): Likewise.
29723         * math/s_csinhl.c (__csinhl): Likewise.
29724         * math/s_csinl.c (__csinl): Likewise.
29725         * math/auto-libm-test-in: Add some tests of csin and csinh.
29726         * math/auto-libm-test-out: Regenerated.
29727         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29728         (csinh_test_data): Likewise.
29729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29731         [BZ #18586]
29732         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29733         underflow exception for small results.
29735 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29737         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29738         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29739         variable and included header.
29740         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29741         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29742         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29743         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29744         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29748         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29749         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29750         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29751         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29752         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29753         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29754         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29755         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29757 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29759         [BZ #16526]
29760         [BZ #16538]
29761         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29762         (__sin): Force underflow exception for arguments with small
29763         absolute value.
29764         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29765         (__kernel_sinf): Force underflow exception for arguments with
29766         small absolute value.
29767         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29768         (__kernel_sincosl): Force underflow exception for arguments with
29769         small absolute value.
29770         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29771         (__kernel_sinl): Force underflow exception for arguments with
29772         small absolute value.
29773         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29774         (__kernel_sincosl): Force underflow exception for arguments with
29775         small absolute value.
29776         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29777         (__kernel_sinl): Force underflow exception for arguments with
29778         small absolute value.
29779         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29780         (__kernel_sinl): Force underflow exception for arguments with
29781         small absolute value.
29782         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29783         (__kernel_sinf): Force underflow exception for arguments with
29784         small absolute value.
29785         * math/auto-libm-test-in: Add more tests of sin and sincos.
29786         * math/auto-libm-test-out: Regenerated.
29788         [BZ #18245]
29789         [BZ #18583]
29790         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29791         (__kernel_standard_l): Use feholdexcept and fesetenv around
29792         conversion to double instead of special-casing overflow and
29793         underflow.
29794         * math/libm-test.inc (fmod_test_data): Add more tests.
29795         (remainder_test_data): Likewise.
29796         (sqrt_test_data): Likewise.
29798 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29800         [BZ #17403]
29801         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29802         atomic_read_barrier, atomic_write_barrier): Define.
29803         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29804         atomic_read_barrier, atomic_write_barrier): Define.
29806 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29808         * math/Makefile [$(PERL) != no]
29809         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29810         dependency on libm-test.stmp below the inclusion of Rules.
29812 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29814         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29815         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29816         and included header.
29817         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29818         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29819         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29820         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29821         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29822         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29823         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29825         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29826         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29827         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29828         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29829         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29830         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29831         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29832         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29833         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29834         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29835         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29837 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29839         [BZ #18371]
29840         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29841         intermediate but not final result might underflow.
29842         * math/s_csqrtf.c (__csqrtf): Likewise.
29843         * math/s_csqrtl.c (__csqrtl): Likewise.
29844         * math/auto-libm-test-in: Add more tests of csqrt.
29845         * math/auto-libm-test-out: Regenerated.
29846         * sysdeps/i386/fpu/libm-test-ulps: Update.
29848         [BZ #18219]
29849         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29850         threshold on absolute value of exponent for which scaling is used.
29851         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29852         * math/auto-libm-test-in: Add more tests of exp2.
29853         * math/auto-libm-test-out: Regenerated.
29855 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29857         [BZ #17977]
29858         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29859         when initializing interface list, based on the bug analysis
29860         and the patch proposed by Eric Newton.
29861         * resolv/tst-res_hconf_reorder.c: New test.
29862         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29863         tst-res_hconf_reorder.
29864         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29865         and $(shared-thread-library).
29866         (tst-res_hconf_reorder-ENV): New variable.
29868         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29869         in comment.
29871 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29873         [BZ #16353]
29874         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29875         (__expm1): Force underflow exception for arguments with small
29876         absolute value.
29877         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29878         (__expm1f): Force underflow exception for arguments with small
29879         absolute value.
29880         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29881         (__expm1): Force underflow exception for arguments with small
29882         absolute value.
29883         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29884         (__expm1f): Force underflow exception for arguments with small
29885         absolute value.
29886         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29887         Check for small arguments before calling __expm1.
29888         * math/auto-libm-test-in: Do not mark underflow exceptions as
29889         possibly missing for bug 16353.
29890         * math/auto-libm-test-out: Regenerated.
29892 2015-06-22  Andreas Schwab  <schwab@suse.de>
29894         [BZ #18513]
29895         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29896         PTR queries.
29898 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29900         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29902         * string/strcoll_l.c: Remove unused struct element idxnow.
29904 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29906         [BZ #18569]
29907         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29908         underflow and return argument in case of subnormal argument.
29909         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29910         Likewise.
29911         * math/auto-libm-test-in: Add more tests of expm1.
29912         * math/auto-libm-test-out: Regenerated.
29914         [BZ #16361]
29915         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29916         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29917         tiny results.
29918         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29919         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29920         tiny results.
29921         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29922         mark underflow exceptions as possibly missing for bug 16361.
29923         * math/auto-libm-test-out: Regenerated.
29925 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29927         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29928         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29929         Remove variable.
29930         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29931         (test-xfail-XOPEN2K8/utmpx.h/conform).
29933         * conform/conformtest.pl ($xerrors): New variable.
29934         (note_error): New function.
29935         (compiletest): New argument $xfail.  Use not_error.
29936         (runtest): Likewise.
29937         (top level): Handle xfail- lines.  Update calls to compiletest and
29938         runtest.  Handle xfail- and optional- in headers listed with
29939         allow-header.
29940         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29941         (O_EXEC): Likewise.
29942         (O_SEARCH): Likewise.
29943         * conform/data/stropts.h-data (ioctl): Likewise.
29944         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29945         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29946         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29947         (msghdr.msg_controllen): Likewise.
29948         (cmsghdr.cmsg_len): Likewise.
29949         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29950         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29951         variable.
29952         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29953         (test-xfail-XPG4/stropts.h/conform): Likewise.
29954         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29955         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29956         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29957         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29958         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29959         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29960         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29961         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29962         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29963         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29964         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29965         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29966         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29967         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29968         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29969         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29970         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29971         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29972         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29974 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29976         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29977         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29978         definitions for proper unfolding of __MATHDECL_VEC.
29980 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29982         * benchtests/bench-strcoll.c:
29983         Include string.h.
29984         (main): Remove unused variable res.
29986 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29988         * timezone/Makefile (%/UTC %/Universal):
29989         Generate test-result files for UTC and Universal.
29991 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29993         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29995 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29997         [BZ #16350]
29998         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29999         for arguments with small absolute value.
30000         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
30001         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
30002         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
30003         (__asinh): Force underflow exception for arguments with small
30004         absolute value.
30005         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
30006         (__asinhf): Force underflow exception for arguments with small
30007         absolute value.
30008         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
30009         (__asinhl): Force underflow exception for arguments with small
30010         absolute value.
30011         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
30012         (__asinhl): Force underflow exception for arguments with small
30013         absolute value.
30014         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
30015         (__asinhl): Force underflow exception for arguments with small
30016         absolute value.
30017         * math/auto-libm-test-in: Do not mark underflow exceptions as
30018         possibly missing for bug 16350.
30019         * math/auto-libm-test-out: Regenerated.
30021         * include/bits/ipc.h: Remove file.
30022         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
30023         variable.
30024         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30025         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30026         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30027         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30028         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30029         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30030         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30031         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30032         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30034         * math/auto-libm-test-in: Remove spurious underflow allowance for
30035         tests of cexp.
30036         * math/auto-libm-test-out: Regenerated.
30038         [BZ #18558]
30039         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
30040         unconditional definition.
30041         (MCAST_BLOCK_SOURCE): Likewise.
30042         (MCAST_UNBLOCK_SOURCE): Likewise.
30043         (MCAST_LEAVE_GROUP): Likewise.
30044         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30045         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30046         (MCAST_MSFILTER): Likewise.
30047         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
30048         Remove variable.
30049         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30050         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30051         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30052         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30053         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30055 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
30057         * NEWS: Mention addition of x86_64 vector sincosf.
30058         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
30059         * math/test-float-vlen4.h: Likewise.
30060         * math/test-float-vlen8.h: Likewise.
30061         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30062         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
30063         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30064         * sysdeps/x86_64/fpu/Versions: New versions added.
30065         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30066         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30067         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30068         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
30069         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
30070         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
30071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
30072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
30073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
30074         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
30075         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
30076         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
30077         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
30078         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
30079         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
30080         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
30081         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
30082         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30083         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30084         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30085         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30086         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30087         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30088         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30090         * NEWS: Mention addition of x86_64 vector sincos.
30091         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
30092         * math/math.h (__MATHDECL_VEC): New macro.
30093         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
30094         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
30095         declaration under condition.
30096         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
30097         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
30098         TEST_VEC_LOOP change.
30099         * math/test-double-vlen4.h: Likewise.
30100         * math/test-double-vlen8.h: Likewise.
30101         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
30102         * math/test-float-vlen4.h: Likewise.
30103         * math/test-float-vlen8.h: Likewise.
30104         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30105         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
30106         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30107         * sysdeps/x86_64/fpu/Versions: New versions added.
30108         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30109         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30110         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30111         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
30112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
30113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
30114         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
30115         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
30116         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
30117         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
30118         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
30119         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
30120         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
30121         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
30122         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
30123         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
30124         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
30125         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30126         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30127         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30128         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30129         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30130         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30131         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30133         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30134         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30135         redirections for powf.
30136         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30137         * sysdeps/x86_64/fpu/Versions: New versions added.
30138         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30139         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30140         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30141         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
30142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
30143         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
30144         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
30145         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
30146         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
30147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
30148         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
30149         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
30150         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
30151         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
30152         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
30153         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
30154         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
30155         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30156         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30157         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30158         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30159         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30160         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30161         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30162         * math/test-float-vlen16.h: Fixed 2 argument macro.
30163         * math/test-float-vlen4.h: Likewise.
30164         * math/test-float-vlen8.h: Likewise.
30165         * NEWS: Mention addition of x86_64 vector powf.
30167 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
30169         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30170         and redefine.
30171         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30172         and redefine.
30173         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
30174         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30175         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30177         [BZ #18553]
30178         * resource/getpriority.c (getpriority): Rename to __getpriority
30179         and define as weak alias of __getpriority.
30180         * resource/setpriority.c (setpriority): Rename to __setpriority
30181         and define as weak alias of __setpriority.
30182         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
30183         __getpriority and define as weak alias of __getpriority.
30184         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
30185         __setpriority and define as weak alias of __setpriority.
30186         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
30187         strong name.
30188         (setpriority): Use __setpriority as strong name.
30189         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
30190         __getpriority and define as weak alias of __getpriority.
30191         * include/sys/resource.h (__getpriority): Declare.  Use
30192         libc_hidden_proto.
30193         (__setpriority): Likewise.
30194         (getpriority): Don't use libc_hidden_proto.
30195         (setpriority): Likewise.
30196         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
30197         getpriority.  Call __setpriority instead of setpriority.
30198         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
30199         Remove variable.
30201         [BZ #18547]
30202         * misc/getttyent.c (getttynam): Rename to __getttynam and define
30203         as weak alias of __getttynam.  Use prototype function definition.
30204         Call __setttyent, __getttyent and __endttyent instead of
30205         setttyent, getttyent and endttyent.
30206         (getttyent): Rename to __getttyent and define as weak alias of
30207         __getttyent.  Call __setttyent instead of setttyent.  Call
30208         __fgets_unlocked instead of fgets_unlocked.
30209         (setttyent): Rename to __setttyent and define as weak alias of
30210         __setttyent.
30211         (endttyent): Rename to __endttyent and define as weak alias of
30212         __endttyent.
30213         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
30214         (__setttyent): Likewise.
30215         (__endttyent): Likewise.
30216         (getttyent): Don't use libc_hidden_proto.
30217         (setttyent): Likewise.
30218         (endttyent): Likewise.
30219         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
30220         __endttyent instead of setttyent, getttyent and endttyent.
30221         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
30222         Remove variable.
30224         [BZ #18546]
30225         * socket/recv.c (__recv): Use libc_hidden_def.
30226         * socket/socket.c (__socket): Likewise.
30227         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30228         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
30229         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
30230         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
30231         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
30232         libc_hidden_def.
30233         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
30234         libc_hidden_weak.
30235         * include/sys/socket.h (__socket): Do not use attribute_hidden.
30236         Use libc_hidden_proto.
30237         (__recv): Likewise.
30238         * socket/Versions (libc): Export __recv and __socket at version
30239         GLIBC_PRIVATE.
30240         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
30241         instead of recv.
30242         (init_mq_netlink): Call __socket instead of socket.
30243         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
30244         Remove variable.
30246         [BZ #18545]
30247         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
30248         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
30249         hidden_weak.
30250         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
30251         define as alias of __mq_timedsend.  Use hidden_weak.
30252         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
30253         __mq_timedsend as strong name.
30254         (mq_timedreceive): Use __mq_timedreceive as strong name.
30255         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
30256         (__mq_timedreceive): Likewise.
30257         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
30258         __mq_timedreceive instead of mq_timedreceive.
30259         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
30260         instead of mq_timedsend.
30261         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
30262         Remove variable.
30264         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
30265         hidden_def and hidden_weak instead of libc_hidden_def and
30266         libc_hidden_weak.
30267         (top level): Refer to hidden_def in comment.
30268         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
30269         macro.  Use it instead of libc_hidden_def.
30270         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
30271         specify __GI_* name explicitly.
30272         (mq_timedreceive): Likewise.
30273         (mq_setattr): Likewise.
30275         [BZ #18544]
30276         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
30277         __pthread_barrier_init and define as weak alias of
30278         __pthread_barrier_init.
30279         * sysdeps/sparc/nptl/pthread_barrier_init.c
30280         (pthread_barrier_init): Likewise.
30281         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
30282         __pthread_barrier_wait and define as weak alias of
30283         __pthread_barrier_wait.
30284         * sysdeps/sparc/nptl/pthread_barrier_wait.c
30285         (pthread_barrier_wait): Likewise.
30286         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
30287         (pthread_barrier_wait): Likewise.
30288         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
30289         (pthread_barrier_wait): Likewise.
30290         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
30291         (pthread_barrier_wait): Likewise.
30292         * nptl/Versions (libpthread): Export __pthread_barrier_init and
30293         __pthread_barrier_wait at version GLIBC_PRIVATE.
30294         * include/pthread.h (__pthread_barrier_init): Declare.
30295         (__pthread_barrier_wait): Likewise.
30296         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
30297         Call __pthread_barrier_wait instead of pthread_barrier_wait.
30298         (helper_thread): Likewise.
30299         (init_mq_netlink): Call __pthread_barrier_init instead of
30300         pthread_barrier_init.
30302         [BZ #18542]
30303         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
30304         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
30305         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
30306         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
30307         vswscanf.
30308         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
30309         Remove variable.
30311         [BZ #18540]
30312         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
30313         strong alias of _IO_fflush.  Use libc_hidden_def.
30314         * libio/iofflush_u.c (fflush_unlocked): Rename to
30315         __fflush_unlocked and define as weak alias of __fflush_unlocked.
30316         Use libc_hidden_weak.
30317         * include/stdio.h (__fflush_unlocked): Declare.  Use
30318         libc_hidden_proto.
30319         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
30320         fflush_unlocked.
30321         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
30322         Remove variable.
30324         [BZ #18539]
30325         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
30326         define as weak alias of __addseverity.
30327         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
30328         Remove variable.
30329         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30330         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30331         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30333         [BZ #18536]
30334         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
30335         (__tfind): Likewise.
30336         (__tdelete): Likewise.
30337         (__twalk): Likewise.
30338         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
30339         __twalk to GLIBC_PRIVATE.
30340         * include/search.h (__tsearch): Use libc_hidden_proto.
30341         (__tfind): Likewise.
30342         (__tdelete): Likewise.
30343         (__twalk): Likewise.
30344         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
30345         Call __tdelete instead of tdelete.
30346         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
30347         tfind.  Call __tsearch instead of tsearch.
30348         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
30349         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
30350         Remove variable.
30351         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30353         [BZ #18534]
30354         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
30355         (dprintf): Define as a weak alias of __dprintf, not a strong
30356         alias.
30357         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
30358         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
30359         dprintf.
30360         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
30361         Remove variable.
30362         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30363         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30365         [BZ #18533]
30366         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
30367         not a strong alias.
30368         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
30369         Remove variable.
30371         [BZ #18532]
30372         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
30373         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
30374         (in6addr_loopback): Rename to __in6addr_loopback and define as
30375         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
30376         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
30377         libc_hidden_proto.
30378         (__in6addr_any): Likewise.
30379         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
30380         in6addr_any.
30381         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
30382         variable.
30383         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30385 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
30387         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
30388         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
30389         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30390         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30391         redirections for pow.
30392         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30393         * sysdeps/x86_64/fpu/Versions: New versions added.
30394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30395         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30396         build of SSE, AVX2 and AVX512 IFUNC versions.
30397         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
30398         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
30399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
30400         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
30401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
30402         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
30403         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
30404         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
30405         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
30406         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
30407         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
30408         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
30409         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
30410         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
30411         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30412         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30413         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30414         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30415         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30416         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30417         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30418         * NEWS: Mention addition of x86_64 vector pow.
30420         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30421         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30422         redirections for expf.
30423         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30424         * sysdeps/x86_64/fpu/Versions: New versions added.
30425         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30426         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30427         build of SSE, AVX2 and AVX512 IFUNC versions.
30428         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
30429         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
30430         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
30431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
30432         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
30433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
30434         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
30435         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
30436         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
30437         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
30438         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
30439         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
30440         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
30441         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30442         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30443         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30444         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30445         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30446         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30447         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30448         * NEWS: Mention addition of x86_64 vector expf.
30450         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
30451         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
30452         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30453         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30454         redirections for exp.
30455         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30456         * sysdeps/x86_64/fpu/Versions: New versions added.
30457         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30458         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30459         build of SSE, AVX2 and AVX512 IFUNC versions.
30460         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
30461         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
30462         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
30463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
30464         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
30465         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
30466         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
30467         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
30468         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
30469         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
30470         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
30471         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
30472         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
30473         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30474         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30475         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30476         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30477         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30478         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30479         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30480         * NEWS: Mention addition of x86_64 vector exp.
30482         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30483         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30484         redirections for logf.
30485         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30486         * sysdeps/x86_64/fpu/Versions: New versions added.
30487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30488         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30489         build of SSE, AVX2 and AVX512 IFUNC versions.
30490         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
30491         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
30492         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
30493         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
30494         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
30495         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
30496         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
30497         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
30498         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
30499         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
30500         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
30501         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
30502         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
30503         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30504         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30505         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30506         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30507         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30508         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30509         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30510         * NEWS: Mention addition of x86_64 vector logf.
30512         * bits/libm-simd-decl-stubs.h: Added stubs for log.
30513         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
30514         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30515         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30516         redirections for log.
30517         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30518         * sysdeps/x86_64/fpu/Versions: New versions added.
30519         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30520         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30521         build of SSE, AVX2 and AVX512 IFUNC versions.
30522         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
30523         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
30524         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
30525         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
30526         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
30527         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
30528         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
30529         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
30530         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
30531         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
30532         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
30533         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
30534         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
30535         test.
30536         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30537         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30538         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30539         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30540         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30541         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30542         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30543         * NEWS: Mention addition of x86_64 vector log.
30545 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30547         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
30548         cfi_adjust_cfa_offset argument.
30549         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
30550         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
30552         [BZ #18034]
30553         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
30554         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
30555         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
30556         ordering using ldar.
30557         (_dl_tlsdesc_dynamic): Likewise.
30558         (_dl_tlsdesc_return_lazy): Likewise.
30559         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
30560         relaxed atomics instead of volatile and synchronize with release store.
30561         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
30562         volatile.
30563         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30565 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
30567         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30568         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
30569         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30570         * sysdeps/x86_64/fpu/Versions: New versions added.
30571         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30572         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30573         build of SSE, AVX2 and AVX512 IFUNC versions.
30574         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
30575         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
30576         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
30577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
30578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
30579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
30580         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
30581         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
30582         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
30583         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
30584         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
30585         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
30586         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
30587         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30588         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30589         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30590         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30591         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30592         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30593         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30594         * NEWS: Mention addition of x86_64 vector sinf.
30596 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
30598         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
30599         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
30600         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
30601         Remove variable.
30602         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30603         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30605 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30607         [BZ #18530]
30608         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30609         strong alias of _IO_fputs.  Use libc_hidden_def.
30610         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30611         and define as weak alias of __fputs_unlocked.  Use
30612         libc_hidden_weak.
30613         * include/stdio.h (__fputs_unlocked): Declare.  Use
30614         libc_hidden_proto.
30615         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30616         fputs_unlocked.
30618         [BZ #18529]
30619         * resolv/netdb.h [__USE_POSIX]: Change condition to
30620         [__USE_XOPEN2K].
30621         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30622         not expect.
30623         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30624         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30625         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30626         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30627         [XPG4 || UNIX98] (AI_ALL): Likewise.
30628         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30629         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30630         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30631         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30632         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30633         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30634         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30635         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30636         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30637         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30638         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30639         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30640         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30641         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30642         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30643         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30644         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30645         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30646         [XPG4 || UNIX98] (gai_strerror): Likewise.
30647         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30648         [XPG4 || UNIX98] (getnameinfo): Likewise.
30650         [BZ #18528]
30651         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30652         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30653         __USE_XOPEN2K8].
30654         (getgrent): Likewise.
30655         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30656         expect.
30657         [XPG3 || POSIX2008] (endgrent): Likewise.
30658         [XPG3] (setgrent): Likewise.
30659         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30660         variable.
30661         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30663         [BZ #18527]
30664         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30665         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30666         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30667         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30668         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30669         * include/unistd.h (__getlogin_r): Declare.  Use
30670         libc_hidden_proto.
30671         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30672         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30673         variable.
30674         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30675         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30676         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30678 2015-06-12  Martin Sebor  <msebor@redhat.com>
30680         [BZ #18512]
30681         * Makerules (check-install-supported): New target.
30682         (install): Add check-install-supported as a dependency.
30683         * manual/install.texi (Installing the C Library): Document
30684         that overriding prefix and exec_prefix is not supported.
30685         Mention DESTDIR.
30686         * INSTALL: Regenerate from the above.
30688 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30690         [BZ #18519]
30691         * posix/Versions (libc): Export __libc_pread at version
30692         GLIBC_PRIVATE.
30693         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30694         instead of pread.
30695         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30696         variable.
30698         [BZ #18522]
30699         * misc/efgcvt_r.c
30700         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30701         (cvt_symbol): Use weak_alias instead of strong_alias.
30702         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30703         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30704         Remove variable.
30705         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30706         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30708         [BZ #18520]
30709         * inet/herrno.c (h_errno): Rename to __h_errno.
30710         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30711         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30712         to __h_errno instead of h_errno.
30713         * nptl/herrno.c (h_errno): Rename to __h_errno.
30714         (__h_errno_location): Refer to __h_errno not h_errno.
30715         * resolv/Versions (h_errno): Rename to __h_errno.
30716         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30717         Remove variable.
30718         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30720 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30722         * configure.ac: More strict check for AVX512 assembler support.
30723         * configure: Regenerated.
30725         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30726         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30727         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30728         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30729         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30730         * sysdeps/x86_64/fpu/Versions: New versions added.
30731         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30732         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30733         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30734         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30735         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30736         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30737         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30738         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30739         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30740         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30741         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30742         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30743         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30744         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30745         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30746         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30747         test.
30748         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30749         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30750         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30751         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30752         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30753         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30754         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30755         * NEWS: Mention addition of x86_64 vector sin.
30757 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30759         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30760         comment.
30762 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30764         [BZ #18479]
30765         * nptl/pt-interp.c: New file.
30766         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30767         Add pt-interp.
30768         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30769         $(common-objpfx)runtime-linker.h.
30771 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30773         * Makeconfig (+interp): Remove unused variable.
30774         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30775         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30776         $(elf-objpfx)runtime-linker.h.
30777         ($(elf-objpfx)runtime-linker.h): Rename to
30778         $(common-objpfx)runtime-linker.h and move ...
30779         * Makerules [$(build-shared) = yes]: ... here.
30780         * elf/interp.c: Include <runtime-linker.h> instead of
30781         <elf/runtime-linker.h>.
30783 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30785         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30786         (__gettimeofday_syscall): Remove vsyscall fallback.
30787         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30788         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30789         Add syscall fallback function.
30790         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30791         if vDSO is not present.
30792         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30793         fallback function.
30794         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30795         present.
30796         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30797         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30799 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30801         [BZ #18497]
30802         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30803         of wcscmp.
30804         (wcscmp): Define as weak alias of WCSCMP.
30805         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30806         wcscoll.
30807         (USE_HIDDEN_DEF): Define.
30808         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30809         __wcscoll.  Don't use libc_hidden_weak.
30810         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30811         wcscmp.
30812         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30813         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30814         __GI_wcscmp.
30815         (weak_alias): Undefine and redefine.
30816         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30817         __wcscmp and define as weak alias of __wcscmp.
30818         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30819         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30820         (__wcscoll): Likewise.
30821         (wcscmp): Don't use libc_hidden_proto.
30822         (wcscoll): Likewise.
30823         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30824         wcscoll.
30825         * posix/regexec.c (check_node_accept_bytes): Likewise.
30826         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30827         variable.
30828         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30829         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30831         [BZ #18507]
30832         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30833         __fstatvfs and define as weak alias of __fstatvfs.  Use
30834         libc_hidden_weak.
30835         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30836         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30837         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30838         Define as alias of __fstatvfs, not fstatvfs.
30839         (fstatvfs64): Likewise.
30840         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30841         Define as alias of __statvfs, not statvfs.
30842         (statvfs64): Likewise.
30843         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30844         Remove variable.
30846 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30849         (HAVE_GETCPU_VSYSCALL): Define.
30850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30851         (HAVE_GETCPU_VSYSCALL): Likewise.
30852         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30853         * sysdeps/unix/sysv/linux/sched_getcpu.c
30854         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30855         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30856         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30857         prototype.
30858         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30859         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30860         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30861         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30862         Define.
30863         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30864         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30865         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30866         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30868 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30870         * sysdeps/x86_64/fpu/Makefile: New file.
30871         * sysdeps/x86_64/fpu/Versions: New file.
30872         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30873         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30874         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30875         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30876         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30877         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30878         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30879         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30880         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30881         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30884         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30885         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30886         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30887         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30888         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30889         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30890         * sysdeps/x86_64/configure: Regenerated.
30891         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30892         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30893         * manual/install.texi (Configuring and compiling): Document
30894         --disable-mathvec.
30895         * INSTALL: Regenerated.
30896         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30898         * math/Makefile: Added rules for vector tests.
30899         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30900         declaration under condition.
30901         * math/test-double-vlen2.h: New file.
30902         * math/test-double-vlen4.h: New file.
30903         * math/test-double-vlen8.h: New file.
30904         * math/test-vec-loop.h: Added initialization macro.
30905         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30906         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30907         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30908         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30909         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30912         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30913         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30914         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30915         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30917         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30918         * sysdeps/x86_64/fpu/Versions: New versions added.
30919         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30920         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30921         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30922         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30923         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30925         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30926         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30927         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30928         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30929         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30930         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30931         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30932         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30933         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30934         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30935         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30936         * NEWS: Mention addition of x86_64 vector cosf.
30938         * math/Makefile: Added CFLAGS for new tests.
30939         * math/test-float-vlen16.h: New file.
30940         * math/test-float-vlen4.h: New file.
30941         * math/test-float-vlen8.h: New file.
30942         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30943         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30944         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30945         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30946         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30947         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30948         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30949         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30951         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30952         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30954 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30956         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30957         * locale/programs/ld-ctype.c: Likewise.
30959 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30961         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30962         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30963         bit_ZMM16_31_state): New macro.
30964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30965         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30967 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30969         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30971 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30973         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30975 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30977         [BZ #18498]
30978         * libio/memstream.c (open_memstream): Rename to __open_memstream
30979         and define as weak alias of __open_memstream.
30980         * include/stdio.h (__open_memstream): Declare.  Use
30981         libc_hidden_proto.
30982         (open_memstream): Don't use libc_hidden_proto.
30983         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30984         open_memstream.
30985         * posix/getopt.c (_getopt_internal_r): Likewise.
30986         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30987         variable.
30988         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30989         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30990         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30992         [BZ #18496]
30993         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30994         instead of wcrtomb.
30996         [BZ #18483]
30997         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30998         [__USE_XOPEN2K8].  Remove redundant #endif.
30999         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
31000         Remove redundant #if.
31001         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
31002         Remove variable.
31003         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31004         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31006         [BZ #18495]
31007         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
31008         (__iswlower): Likewise.
31009         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
31010         (__iswlower): Likewise.
31011         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
31012         instead of towlower.
31013         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
31014         instead of iswlower.  Call __towupper instead of towupper.
31015         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
31016         instead of iswalnum.
31018 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31020         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
31021         errors to stderr.
31023 2015-06-05  Florian Weimer  <fweimer@redhat.com>
31025         [BZ #15661]
31026         [BZ #17322]
31027         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31028         Check for overflow properly.  Check for O_APPEND.  Ignore large
31029         file system block sizes.  Add comments about problems.
31030         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
31031         * manual/filesys.texi (Storage Allocation): New node.
31033 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31035         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
31036         cancellable syscalls.
31037         (SYS_ify): Add guard to no redefine it.
31038         (INLINE_SYSCALL): Likewise.
31039         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
31040         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
31041         SYSCALL_CANCEL instead.
31042         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
31043         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31044         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31045         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31046         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31047         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
31048         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
31049         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
31050         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31051         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31052         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
31053         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
31054         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
31055         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
31056         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
31057         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31058         Likewise.
31059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31060         (__libc_pread64): Likewise.
31061         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
31062         (__libc_preadv): Likewise.
31063         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
31064         (__libc_readv64): Likewise.
31065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31066         (__libc_pwrite): Likewise.
31067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31068         (__libc_pwrite64): Likewise.
31069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
31070         (__libc_pwritev): Likewise.
31071         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
31072         (__libc_pwritev64): Likewise.
31073         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
31074         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
31075         (sync_file_range): Likewise.
31076         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
31077         Likewise.
31078         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
31079         Likewise.
31080         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31081         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31082         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31083         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31084         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31085         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31086         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31087         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
31088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31089         Likewise.
31090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31091         (__libc_read64): Likewise.
31092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
31093         Likewise.
31094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
31095         Likewise.
31096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
31097         Likewise.
31098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
31099         Likewise.
31100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31101         (__libc_pread64): Likewise.
31102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
31103         Likewise.
31104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31105         (__libc_pwrite64): Likewise.
31106         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
31107         (sync_file_range): Likewise.
31108         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
31109         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31110         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31111         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
31112         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
31113         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31114         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31115         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
31116         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
31117         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31118         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31119         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31120         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31121         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31122         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
31123         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31124         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31125         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31126         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31127         Likewise.
31128         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
31129         Likewise.
31130         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
31131         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
31132         Likewise.
31133         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
31134         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
31135         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
31136         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
31137         Likewise.
31138         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
31139         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
31140         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
31141         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
31142         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
31144 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
31146         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
31147         Include dl-vdso.
31148         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
31149         Use VDSO routines for gettimeofday, clock_gettime if
31150         available.
31151         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
31152         Declare VDSO symbols.
31153         * sysdeps/unix/sysv/linux/arm/sysdep.h:
31154         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
31155         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31156         * sysdeps/unix/sysv/linux/arm/Versions: Add
31157         __vdso_clock_gettime.
31159 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31161         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
31162         be an inline implementation regardless of library is built within.
31163         (open_not_cancel_2): Likewise.
31164         (__read_nocancel): Likewise.
31165         (__write_nocancel): Likewise.
31166         (openat_not_cancel): Likewise.
31167         (openat_not_cancel_3): Likewise.
31168         (openat64_not_cancel): Likewise.
31169         (openat64_not_cancel_3): Likewise.
31170         (__close_nocancel): Likewise.
31171         (pause_not_cancel): Likewise.
31172         (nanosleep_not_cancel): Likewise.
31173         (sigsuspend_not_cancel): Likewise.
31175 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31177         [BZ #14958]
31178         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
31179         wake-up.
31180         (__pthread_rwlock_rdlock_slow): Likewise.
31181         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31182         Likewise.
31183         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31184         Likewise.
31185         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
31186         * nptl/tst-rwlock16.c: New file.
31187         * nptl/Makefile (tests): Add new test.
31189 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31191         [BZ #18324]
31192         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
31193         missing wake-up of readers.
31194         * nptl/tst-rwlock15.c: New file.
31195         * nptl/Makefile (tests): Add new test.
31197 2015-06-03  Roland McGrath  <roland@hack.frob.com>
31199         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
31200         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
31201         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
31202         and __nacl_supply_interface_rtld.
31203         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
31204         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
31205         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
31206         Add __nacl_supply_interface_rtld.
31207         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
31209 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31211         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
31212         isfinite.
31213         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31214         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
31216 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31218         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
31219         __signbit* with standard C99 macros.
31220         * math/e_exp10l.c: Likewise.
31221         * math/e_exp2l.c: Likewise.
31222         * math/e_scalb.c: Likewise.
31223         * math/e_scalbf.c: Likewise.
31224         * math/e_scalbl.c: Likewise.
31225         * math/s_ldexp.c: Likewise.
31226         * math/s_ldexpf.c: Likewise.
31227         * math/s_ldexpl.c: Likewise.
31228         * math/w_atan2.c: Likewise.
31229         * math/w_atan2f.c: Likewise.
31230         * math/w_atan2l.c: Likewise.
31231         * math/w_cosh.c: Likewise.
31232         * math/w_coshf.c: Likewise.
31233         * math/w_coshl.c: Likewise.
31234         * math/w_exp10.c: Likewise.
31235         * math/w_exp10f.c: Likewise.
31236         * math/w_exp10l.c: Likewise.
31237         * math/w_exp2.c: Likewise.
31238         * math/w_exp2f.c: Likewise.
31239         * math/w_exp2l.c: Likewise.
31240         * math/w_fmod.c: Likewise.
31241         * math/w_fmodf.c: Likewise.
31242         * math/w_fmodl.c: Likewise.
31243         * math/w_hypot.c: Likewise.
31244         * math/w_hypotf.c: Likewise.
31245         * math/w_hypotl.c: Likewise.
31246         * math/w_jnl.c: Likewise.
31247         * math/w_lgamma.c: Likewise.
31248         * math/w_lgamma_r.c: Likewise.
31249         * math/w_lgammaf.c: Likewise.
31250         * math/w_lgammaf_r.c: Likewise.
31251         * math/w_lgammal.c: Likewise.
31252         * math/w_lgammal_r.c: Likewise.
31253         * math/w_pow.c: Likewise.
31254         * math/w_powf.c: Likewise.
31255         * math/w_powl.c: Likewise.
31256         * math/w_remainder.c: Likewise.
31257         * math/w_remainderf.c: Likewise.
31258         * math/w_remainderl.c: Likewise.
31259         * math/w_scalb.c: Likewise.
31260         * math/w_scalbf.c: Likewise.
31261         * math/w_scalbl.c: Likewise.
31262         * math/w_scalbln.c: Likewise.
31263         * math/w_scalblnf.c: Likewise.
31264         * math/w_scalblnl.c: Likewise.
31265         * math/w_sinh.c: Likewise.
31266         * math/w_sinhf.c: Likewise.
31267         * math/w_sinhl.c: Likewise.
31268         * math/w_tgamma.c: Likewise.
31269         * math/w_tgammaf.c: Likewise.
31270         * math/w_tgammal.c: Likewise.
31271         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31272         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
31273         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31274         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31275         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31277         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31278         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31279         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31280         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31281         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31282         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31283         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31284         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31285         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31286         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31287         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31288         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31289         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31290         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31291         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31292         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31293         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31294         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31295         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31296         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31297         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
31298         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31299         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31301         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
31302         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
31303         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
31304         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
31305         * stdio-common/printf_fp.c: Likewise.
31306         * stdio-common/printf_fphex.c: Likewise.
31307         * stdio-common/printf_size.c: Likewise.
31309 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
31311         [BZ #18470]
31312         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
31313         strnlen.
31314         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
31315         Remove variable.
31316         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31317         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31318         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31319         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31320         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31321         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31322         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31323         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31324         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31325         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31327         [BZ #18468]
31328         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
31329         weak alias of __wmemchr.  Use libc_hidden_weak.
31330         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
31331         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
31332         instead of wmemchr.
31334 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31336         [BZ #18383]
31337         * elf/tst-tlsalign-extern.c: New file.
31338         * elf/tst-tlsalign-extern-static.c: New file.
31339         * elf/tst-tlsalign-vars.c: New file.
31340         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
31341         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
31342         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
31343         ($(objpfx)tst-tlsalign-extern-static): Likewise.
31344         (test-xfail-tst-tlsalign-extern-static): New variable.
31346 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
31348         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
31349         Use variable name _sc_err instead of err.
31350         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
31351         instead of ret.
31352         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
31353         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
31354         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
31355         (INLINE_SYSCALL): Likewise.
31357         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
31358         * include/string.h (__strnlen): Use libc_hidden_proto.
31359         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
31360         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
31361         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
31362         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
31363         (libc_hidden_def): Undefine and redefine.
31364         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
31365         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
31366         __GI_strnlen.
31367         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
31368         libc_hidden_def.
31369         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
31371         [BZ #18469]
31372         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
31373         weak alias of __towlower.  Use libc_hidden_weak.
31374         (towupper): Rename to __towupper and define as weak alias of
31375         __towupper.  Use libc_hidden_weak.
31376         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
31377         (__towupper): Likewise.
31378         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
31379         __towlower instead of towlower.
31381 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31383         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
31384         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
31386 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31388         * sysdeps/aarch64/libm-test-ulps: Update.
31390 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31392         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
31393         Define.
31394         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31395         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31396         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31397         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31398         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
31399         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
31400         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
31402 2015-06-01  Martin Sebor  <msebor@redhat.com>
31404         [BZ #18116]
31405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31406         (__setcontext): Use extended four-operand version of mtsf whenever
31407         possible.
31408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31409         (__novec_swapcontext): Likewise.
31411 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31413         * benchtests/scripts/compare_bench.py: New file.
31414         * benchtests/scripts/import_bench.py (mean): New function.
31415         (split_list): Likewise.
31416         (do_for_all_timings): Likewise.
31417         (compress_timings): Likewise.
31419         * benchtests/scripts/import_bench.py: New file.
31420         * benchtests/scripts/validate_benchout.py: Import import_bench
31421         instead of jsonschema.
31422         (validate_bench): Remove function.
31423         (main): Use import_bench.
31425 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
31427         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
31428         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
31430 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31434 2015-05-28  Roland McGrath  <roland@hack.frob.com>
31436         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
31437         set THREAD_SELF->tid to a magic value and futex-wake it.
31438         Pass its address to the thread_exit system call.
31439         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
31440         bit is clear.
31441         * sysdeps/nacl/lowlevellock.h: New file.
31442         * sysdeps/nacl/lll_timedwait_tid.c: New file.
31444         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
31445         Add TIMEOUT to current time, don't subtract it.
31447 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
31449         [BZ #2981]
31450         [BZ #18422]
31451         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
31452         ($(objpfx)tst-audit2.out): Also depend on
31453         $(objpfx)tst-auditmod9b.so.
31454         * elf/tst-audit2.c: Include <dlfcn.h>.
31455         (calloc_called): New.
31456         (calloc): Allow to be called more than once.
31457         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
31459 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
31461         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
31462         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
31464 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
31466         * stdlib/monetary.h: Fix comment.
31468 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
31470         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
31471         Avoid using variables in #defines that might cause shadowing.
31472         (INTERNAL_VSYSCALL_CALL): Likewise.
31474 2015-05-26  Roland McGrath  <roland@hack.frob.com>
31476         * sysdeps/nacl/lll_timedlock_wait.c: New file.
31478         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
31479         * nptl/lll_timedlock_wait.c: ... to this new file.
31480         * nptl/Makefile (libpthread-routines): Add it.
31481         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
31482         * nptl/lll_timedwait_tid.c: ... to this new file.
31483         * nptl/Makefile (libpthread-routines): Add it.
31484         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
31485         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
31486         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
31487         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
31488         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
31489         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
31490         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
31491         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
31492         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
31493         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
31495 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31497         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
31498         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31499         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31500         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
31501         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
31502         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31503         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31505         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31506         * sysdeps/unix/sysv/linux/tile/sysdep.h
31507         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31508         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
31509         using vDSO syscall macro.
31511 2015-05-26  Andriy Rysin  <arysin@gmail.com>
31513         [BZ #17293]
31514         * uk_UA: Fix sorting order for Ukrainian locale
31516 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
31518         * stdlib/monetary.h: Fix comment.
31520 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31522         [BZ #18234]
31523         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
31524         st_mtim and st_ctim members.
31525         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
31526         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
31527         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
31528         (struct stat64): Likewise.
31529         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
31530         (struct stat64): Likewise.
31531         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
31532         (struct stat64): Likewise.
31534 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31536         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
31537         Define and include sysdep-vdso.h.
31538         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
31539         Likewise.
31540         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
31541         Likewise.
31542         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
31543         Define with VDSO_SYMBOL and use PTR_MANGLE.
31544         (__vdso_clock_gettime): Likewise.
31545         (__vdso_clock_getres): Likewise.
31546         (_libc_vdso_platform_setup): Likewise.
31547         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31548         Likewise.
31549         (_libc_vdso_platform_setup): Likewise.
31550         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
31551         Likewise.
31552         (__vdso_clock_gettime): Likewise.
31553         (__vdso_clock_getres): Likewise.
31554         (__vdso_get_tbfreq): Likewise.
31555         (__vdso_getcpu): Likewise.
31556         (__vdso_time): Likewise.
31557         (__vdso_sigtramp_rt64): Likewise.
31558         (__vdso_signtramp32): Likewise.
31559         (__vdso_sigtramp_rt32): Likewise.
31560         (_libc_vdso_platform_setup): Likewise.
31561         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
31562         Likewise.
31563         (__vdso_clock_gettime): Likewise.
31564         (__vdso_clock_getres): Likewise.
31565         (_libc_vdso_platform_setup): Likewise.
31566         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
31567         Likewise.
31568         (__vdso_clock_gettime): Likewise.
31569         (_libc_vdso_platform_setup): Likewise.
31570         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31571         Likewise.
31572         (__vdso_getcpu): Likewise.
31573         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
31574         Use VDSO_SYMBOL macro to define.
31575         (__vdso_clock_gettime): Likewise.
31576         (__vdso_clock_getres): Likewise.
31577         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
31578         Likewise.
31579         (__vdso_clock_gettime): Likewise.
31580         (__vdso_clock_getres): Likewise.
31581         (__vdso_get_tbfreq): Likewise.
31582         (__vdso_getcpu): Likewise.
31583         (__vdso_time): Likewise.
31584         (__vdso_sigtramp_rt64): Likewise.
31585         (__vdso_signtramp32): Likewise.
31586         (__vdso_sigtramp_rt32): Likewise.
31587         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
31588         Likewise.
31589         (__vdso_clock_gettime): Likewise.
31590         (__vdso_clock_getres): Likewise.
31591         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
31592         Likewise.
31593         (__vdso_clock_gettime): Likewise.
31594         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31595         Likewise.
31596         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
31597         macro.
31598         (INTERNAL_VSYSCALL): Likewise.
31599         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
31600         Remove macro.
31601         (INTERNAL_VSYSCALL): Likewise.
31602         (INTERNAL_VSYSCALL_NCS): Likewise.
31603         (INTERNAL_VSYSCALL_CALL): New macro.
31604         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31605         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31606         Likewise.
31607         (INTERNAL_VSYSCALL): Likewise.
31608         (INTERNAL_VSYSCALL_NCS): Likewise.
31609         (INTERNAL_VSYSCALL_CALL): New macro.
31610         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31612         (INLINE_VSYSCALL): Remove macro.
31613         (INTERNAL_VSYSCALL): Remove macro.
31614         (INTERNAL_VSYSCALL_NCS): Remove macro.
31615         (INTERNAL_VSYSCALL_CALL): New macro.
31616         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31617         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31618         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31619         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31620         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31622         (INLINE_VSYSCALL): Remove macro.
31623         (INTERNAL_VSYSCALL): Likewise.
31624         (INTERNAL_VSYSCALL_NCS): Likewise.
31625         (INTERNAL_VSYSCALL_CALL): New macro.
31626         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31627         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31628         PTR_DEMANGLE on vDSO pointer.
31629         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31630         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31631         macro.
31632         (INTERNAL_SYSCALL): Likewise.
31633         (INTERNAL_VSYSCALL_NCS): Remove macro.
31634         (INTERNAL_VSYSCALL_CALL): New macro.
31635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31636         Remove macro.
31637         (INTERNAL_VSYSCALL): Likewise.
31638         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31639         sysdep-vdso.h instead of libc-vdso.h.
31640         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31641         definition.
31642         (INLINE_VSYSCALL): Likewise.
31643         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31644         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31645         definition.
31646         (INLINE_VSYSCALL): Likewise.
31647         (INTERNAL_VSYSCALL): Likewise.
31648         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31649         * sysdeps/unix/sysv/linux/timespec_get.c
31650         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31651         (timespec_get): Use ANSI prototype.
31652         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31653         and definition for Linux.
31655 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31657         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31658         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31660 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31662         [BZ #2981]
31663         [BZ #18410]
31664         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31665         for missing DT_PLTRELSZ.
31667 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31669         Remove obsolete aliases that broke 'locale -a'
31670         [BZ #18412]
31671         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31672         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31673         breaking some applications that use 'locale -a' output.
31674         Change the encoding of this file from Latin-1 to ASCII to avoid
31675         other potential problems with people grepping this file.
31677 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31679         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31680         -fasynchronous-unwind-tables.
31681         (CFLAGS-sendto.c): Likewise.
31682         (CFLAGS-sendmsg.c): Likewise.
31683         (CFLAGS-connect.c): Likewise.
31684         (CFLAGS-recvmsg.c): Likewise.
31685         (CFLAGS-recvfrom.c): Likewise.
31686         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31687         (SOCKETCALL): New macro: non-cancellable socketcall.
31688         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31689         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31690         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31691         * sysdeps/unix/sysv/linux/accept.c: New file.
31692         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31693         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31694         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31695         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31696         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31697         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31698         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31699         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31700         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31701         * sysdeps/unix/sysv/linux/send.c: Likewise.
31702         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31703         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31704         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31705         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31706         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31707         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31708         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31709         prototype.
31710         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31711         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31712         instead of __internal_xxx function.
31713         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31714         prototype.
31715         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31716         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31717         instead of __internal_xxx function.
31718         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31719         prototype.
31720         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31721         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31722         instead of __internal_xxx function.
31723         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31724         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31725         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31726         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31727         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31728         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31729         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31730         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31731         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31732         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31733         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31734         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31735         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31736         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31737         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31738         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31739         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31740         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31741         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31742         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31745         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31746         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31747         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31748         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31749         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31750         * sysdeps/unix/sysv/linux/send.S: Likewise.
31751         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31752         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31753         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31754         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31755         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31756         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31757         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31758         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31759         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31760         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31761         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31762         socketcall is implemented in GLIBC.
31764 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31766         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31767         (__fma): Ignore uninitialized warnings around packing.
31768         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31769         (__fmaf): Ignore uninitialized warnings around packing.
31770         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31771         (__fmal): Ignore uninitialized warnings around packing.
31773         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31774         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31775         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31776         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31778         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31779         switch statement into default case.
31780         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31782         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31783         a conditional in forcing "inexact".
31784         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31785         Likewise.
31787 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31789         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31790         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31791         for each INTERNAL_SYSCALL use.
31793 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31795         [BZ #438]
31796         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31797         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31798         variable.
31800         [BZ #18444]
31801         * string/basename.c (basename): Rename to __basename and define as
31802         weak alias of __basename.  Use libc_hidden_weak.
31803         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31804         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31805         __basename instead of basename.
31806         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31807         Remove variable.
31808         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31810 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31812         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31813         (_IO_JUMPS_FILE_plus): New.
31814         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31815         _IO_CAST_FIELD_ACCESS.
31816         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31817         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31818         * libio/freopen.c (freopen): Likewise.
31819         * libio/freopen64.c (freopen64): Likewise.
31820         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31821         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31822         * libio/iofwide.c (_IO_fwide): Likewise.
31823         * libio/memstream.c (open_memstream): Likewise.
31824         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31825         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31826         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31828 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31830         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31831         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31832         NADJ.
31833         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31834         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31835         NADJ.
31836         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31837         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31838         NADJ.
31840         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31841         (p == 4) case.
31843         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31844         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31845         Remove variable.
31846         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31847         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31848         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31850 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31852         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31853         Adjust jump table label generation macros.
31855 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31857         * stdio-common/vfprintf.c (vfprintf): Move local variables
31858         args_malloced, specs, specs_malloced, and the code after
31859         do_positional to the printf_positional function.
31860         (printf_positional): New function.
31862 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31864         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31865         function.
31866         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31867         STEP4_TABLE, process_arg): Move macro definitions
31868         out of the vfprintf function.  (Cosmetic change only.)
31870 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31872         * benchtests/Makefile (stdio-common-bench): Define.
31873         (benchset): Add stdio-common-bench.
31874         * sprintf-inputs: New file.
31875         * sprintf-source.c: New file.
31877 2015-05-21  Andreas Schwab  <schwab@suse.de>
31879         [BZ #13028]
31880         [BZ #17053]
31881         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31882         of struct __res_state.
31883         * resolv/res_send.c (__libc_res_nsend): Likewise.
31884         (get_nsaddr): New function.
31885         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31886         statp directly.
31888 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31890         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31891         -D_POSIX_C_SOURCE=199506L.
31893         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31895         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31896         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31897         Do not mention otherwise.
31898         [POSIX] (_XOPEN_VERSION): Do not expect.
31899         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31900         [POSIX] (_POSIX2_C_BIND): Likewise.
31901         [POSIX] (_POSIX2_VERSION): Likewise.
31902         [POSIX] (_XOPEN_XPG2): Likewise.
31903         [POSIX] (_XOPEN_XPG3): Likewise.
31904         [POSIX] (_XOPEN_XPG4): Likewise.
31905         [POSIX] (_XOPEN_UNIX): Likewise.
31906         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31907         [POSIX] (_POSIX_BARRIERS): Likewise.
31908         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31909         [POSIX] (_POSIX_CPUTIME): Likewise.
31910         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31911         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31912         [POSIX] (_POSIX_SHELL): Likewise.
31913         [POSIX] (_POSIX_SPAWN): Likewise.
31914         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31915         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31916         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31917         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31918         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31919         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31920         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31921         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31922         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31923         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31924         [POSIX] (_POSIX2_PBS): Likewise.
31925         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31926         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31927         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31928         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31929         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31930         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31931         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31932         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31933         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31934         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31935         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31936         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31937         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31938         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31939         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31940         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31941         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31942         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31943         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31944         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31945         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31946         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31947         [POSIX] (_SC_2_C_BIND): Likewise.
31948         [POSIX] (_SC_2_C_VERSION): Likewise.
31949         [POSIX] (_SC_2_PBS): Likewise.
31950         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31951         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31952         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31953         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31954         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31955         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31956         [POSIX] (_SC_BARRIERS): Likewise.
31957         [POSIX] (_SC_BASE): Likewise.
31958         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31959         [POSIX] (_SC_DEVICE_IO): Likewise.
31960         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31961         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31962         [POSIX] (_SC_FD_MGMT): Likewise.
31963         [POSIX] (_SC_FIFO): Likewise.
31964         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31965         [POSIX] (_SC_FILE_LOCKING): Likewise.
31966         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31967         [POSIX] (_SC_IOV_MAX): Likewise.
31968         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31969         [POSIX] (_SC_NETWORKING): Likewise.
31970         [POSIX] (_SC_PAGE_SIZE): Likewise.
31971         [POSIX] (_SC_PASS_MAX): Likewise.
31972         [POSIX] (_SC_PIPE): Likewise.
31973         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31974         [POSIX] (_SC_REGEXP): Likewise.
31975         [POSIX] (_SC_SHELL): Likewise.
31976         [POSIX] (_SC_SIGNALS): Likewise.
31977         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31978         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31979         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31980         [POSIX] (_SC_USER_GROUPS): Likewise.
31981         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31982         [POSIX] (_SC_STREAMS): Likewise.
31983         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31984         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31985         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31986         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31987         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31988         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31989         [POSIX] (_PC_FILESIZEBITS): Likewise.
31990         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31991         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31992         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31993         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31994         [POSIX] (uid_t): Likewise.
31995         [POSIX] (gid_t): Likewise.
31996         [POSIX] (off_t): Likewise.
31997         [POSIX] (pid_t): Likewise.
31998         [POSIX] (cuserid): Allow.
31999         (_SC_2_CHAR_TERM): Require constant.
32000         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
32001         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
32002         variable.
32004 2015-05-20  Roland McGrath  <roland@hack.frob.com>
32006         * sysdeps/nacl/pthread-pids.h: New file.
32007         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
32008         (create_thread): Use __nacl_get_tid to initialize PD->tid.
32010         * nptl/pthread-pids.h: New file.
32011         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
32012         * nptl/nptl-init.c: Include <pthread-pids.h>.
32013         (__pthread_initialize_minimal_internal):
32014         Call __pthread_initialize_pids instead of set_tid_address syscall.
32016         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
32017         * sysdeps/posix/usleep.c: ... here.
32019 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32021         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
32022         call_pselect6 object.
32023         [$(subdir) = io]: Remove call_sync_file_range object.
32024         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
32025         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
32026         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
32027         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
32029 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
32031         * math/s_cproj.c: Add include "math_private.h".
32032         * math/s_cprojf.c: Likewise.
32033         * math/s_cprojl.c: Likewise.
32035 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
32037         [BZ #18244]
32038         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
32039         high mantissa bit when testing whether P is a NaN.
32040         * math/libm-test.inc (remainder_test_data): Add more tests.
32041         (remquo_test_data): Likewise.
32043         [BZ #18049]
32044         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
32045         below -32, return the argument, with underflow if subnormal.
32046         * math/auto-libm-test-in: Add more tests of atanh.
32047         * math/auto-libm-test-out: Regenerated.
32049 2015-05-19  Roland McGrath  <roland@hack.frob.com>
32051         [BZ #18434]
32052         * nptl/tst-sem15.c: New file.
32053         * nptl/Makefile (tests): Add it.
32054         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
32055         s/<</>>/ to fix typo in EOVERFLOW check.
32056         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
32058 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32060         * manual/strings.texi (envz_remove): Fix typo in safety
32061         annotations.
32063 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
32064             Steve Ellcey  <sellcey@imgtec.com>
32066         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
32067         in order to avoid strict alias warnings.
32068         (iruserok_af): Ditto for ra.
32070 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
32072         [BZ #17581]
32073         * malloc/hooks.c
32074         (magicbyte): Convert to a function and avoid returning 0x01.
32075         (mem2mem_check): Avoid using a length byte equal to the magic byte.
32076         (mem2chunk_check): Fix unsigned comparisons to zero.
32077         Hoist defs of sz and magic.
32079 2015-05-19  Richard Henderson  <rth@redhat.com>
32081         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
32083         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32085 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32087         [BZ #16159]
32088         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
32089         * malloc/arena.c (arena_lock): Check if arena is corrupt.
32090         (reused_arena): Find a non-corrupt arena.
32091         (heap_trim): Pass arena to unlink.
32092         * malloc/hooks.c (malloc_check_get_size): Pass arena to
32093         malloc_printerr.
32094         (top_check): Likewise.
32095         (free_check): Likewise.
32096         (realloc_check): Likewise.
32097         * malloc/malloc.c (malloc_printerr): Add arena argument.
32098         (unlink): Likewise.
32099         (munmap_chunk): Adjust.
32100         (ARENA_CORRUPTION_BIT): New macro.
32101         (arena_is_corrupt): Likewise.
32102         (set_arena_corrupt): Likewise.
32103         (sysmalloc): Use mmap if there are no usable arenas.
32104         (_int_malloc): Likewise.
32105         (__libc_malloc): Don't fail if arena_get returns NULL.
32106         (_mid_memalign): Likewise.
32107         (__libc_calloc): Likewise.
32108         (__libc_realloc): Adjust for additional argument to
32109         malloc_printerr.
32110         (_int_free): Likewise.
32111         (malloc_consolidate): Likewise.
32112         (_int_realloc): Likewise.
32113         (_int_memalign): Don't touch corrupt arenas.
32114         * malloc/tst-malloc-backtrace.c: New test case.
32116         * Makefile (summarize-tests): Fix return value on success.
32118         * manual/string.texi (Envz Functions): Add envz_remove.
32120 2015-05-18  Roland McGrath  <roland@hack.frob.com>
32122         * sysdeps/posix/opendir.c: Include <stdbool.h>.
32123         (invalid_name): New function, broken out of ...
32124         (__opendirat): ... here.  Call it.
32125         (need_isdir_precheck): New function, broken out of ...
32126         (__opendirat): ... here.  Call it.
32127         Use __fxstatat64, not __xstatat64.
32128         (opendir_oflags): New function, broken out of ...
32129         (__opendirat): ... here.  Call it.
32130         (opendir_tail): New function, broken out of ...
32131         (__opendirat): ... here.  Call it.
32132         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
32133         opendir_tail, rather than punting to __opendirat.
32134         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
32136 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32138         * .gitignore: Ignore generated *.pyc.
32140 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
32142         * include/stdio.h: Define __need_wint_t.
32143         * test-skeleton.c: Avoid `for' loop initial declaration.
32144         * nptl/tst-initializers1.c: Use test-skeleton.c.
32146 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32148         [BZ #18418]
32149         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
32151 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32153         [BZ #16352]
32154         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
32155         (__ieee754_atanh): Force underflow exception for results with
32156         small absolute value.
32157         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
32158         (__ieee754_atanhf): Force underflow exception for results with
32159         small absolute value.
32160         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
32161         (__ieee754_atanh): Force underflow exception for results with
32162         small absolute value.
32163         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
32164         (__ieee754_atanhf): Force underflow exception for results with
32165         small absolute value.
32166         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
32167         (__ieee754_atanhl): Force underflow exception for results with
32168         small absolute value.
32169         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
32170         (__ieee754_atanhl): Force underflow exception for results with
32171         small absolute value.
32172         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
32173         (__ieee754_atanhl): Force underflow exception for results with
32174         small absolute value.
32175         * math/auto-libm-test-in: Do not allow missing underflow
32176         exceptions from atanh.
32177         * math/auto-libm-test-out: Regenerated.
32179         [BZ #18221]
32180         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
32181         2**-28 as threshold for returning x or +/- 1/x.
32182         * math/auto-libm-test-in: Add more tests of tan.
32183         * math/auto-libm-test-out: Regenerated.
32185         [BZ #18220]
32186         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32187         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
32188         * math/auto-libm-test-in: Add another test of lgamma.
32189         * math/auto-libm-test-out: Regenerated.
32191 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
32193         * stdio-common/printf_fp.c (___printf_fp): Use abs.
32194         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
32195         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
32196         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
32197         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
32198         (ADD2A): Use fabs.  (SUB2A): Use fabs.
32199         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
32200         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
32201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
32202         (log1): Use fabs.  (my_log2): Use fabs.
32203         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
32204         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
32205         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
32206         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
32207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
32208         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
32209         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
32210         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
32211         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
32212         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
32213         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
32215 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32217         [BZ #18217]
32218         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
32219         as threshold for returning 1 - x.
32220         * math/auto-libm-test-in: Add more tests of erfc.
32221         * math/auto-libm-test-out: Regenerated.
32223 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
32225         [BZ #18196]
32226         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
32227         threshold for large arguments.
32228         * math/auto-libm-test-in: Add another test of atan.
32229         * math/auto-libm-test-out: Regenerated.
32231         [BZ #16339]
32232         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
32233         (__log1p): Force underflow exception for results with small
32234         absolute value.
32235         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
32236         (__log1pf): Force underflow exception for results with small
32237         absolute value.
32238         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
32239         (__log1p): Force underflow exception for results with small
32240         absolute value.
32241         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
32242         (__log1pf): Force underflow exception for results with small
32243         absolute value.
32244         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
32245         (__log1pl): Force underflow exception for results with small
32246         absolute value.
32247         * math/auto-libm-test-in: Do not allow missing underflow
32248         exceptions from log1p.
32249         * math/auto-libm-test-out: Regenerated.
32251 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
32252             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32254         [BZ #16704]
32255         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
32257 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
32259         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
32260         (libmvec): New variable.
32261         * configure.ac: Added option for mathvec build.
32262         * configure: Regenerated.
32263         * mathvec/Depend: New file.
32264         * mathvec/Makefile: New file.
32265         * shlib-versions: Added libmvec.
32266         * math/Makefile: Added rule for libm.so installation.
32268         * bits/math-vector.h: New file.
32269         * bits/libm-simd-decl-stubs.h: New header.
32270         * math/Makefile (headers): Added new header
32271         libm-simd-decl-stubs.h.
32272         * math/math.h (__MATHCALL_VEC): New macro.
32274         * math/gen-libm-have-vector-test.sh: Script generates series of macros
32275         for conditions in testing functions.
32276         * math/Makefile: Added call of libm-have-vector-test.sh.
32277         * math/libm-test.inc (HAVE_VECTOR): New macros.
32279         * math/libm-test.inc: START refactored.
32280         * math/test-double.c (TEST_MATHVEC): Add define.
32281         * math/test-float.c: Likewise.
32282         * math/test-idouble.c: Likewise.
32283         * math/test-ifloat.c: Likewise.
32284         * math/test-ildoubl.c: Likewise.
32285         * math/test-ldouble.c: Likewise.
32286         * sysdeps/generic/math-tests-arch.h
32287         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
32288         architecture check.
32290         * math/test-double.c (FUNC_TEST): New macro.
32291         * math/test-float.c: Likewise.
32292         * math/test-idouble.c: Likewise.
32293         * math/test-ifloat.c: Likewise.
32294         * math/test-ildoubl.c: Likewise.
32295         * math/test-ldouble.c: Likewise.
32296         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
32298 2015-05-13  Roland McGrath  <roland@hack.frob.com>
32300         * sysdeps/nacl/fdopendir.c: New file.
32302         * dirent/scandir-tail.c: New file.
32303         * dirent/scandir64-tail.c: New file.
32304         * dirent/Makefile (routines): Add them.
32305         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
32306         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
32307         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
32308         [!SCANDIR] (SCANDIR_TAIL): New macro.
32309         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
32310         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
32311         (SCANDIRAT): Macro removed.
32312         (SCANDIR_TAIL): New macro.
32313         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
32314         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
32315         (SCANDIRAT): Just call __opendirat and __scandir_tail.
32316         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
32317         (READDIR): Macro removed.
32318         (SCANDIR_TAIL): New macro.
32319         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
32320         (SCANDIR_TAIL): New macro.
32322         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
32323         * dirent/scandir-cancel.c: ... to this new file.
32324         * dirent/Makefile (routines): Add it.
32325         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
32326         * sysdeps/unix/sysv/linux/i386/scandir64.c
32327         (SKIP_SCANDIR_CANCEL): Macro removed.
32328         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
32330         * dirent/tst-scandir.c: New file.
32331         * dirent/tst-scandir64.c: New file.
32332         * dirent/Makefile (tests): Add them.
32334 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
32336         [BZ #18409]
32337         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
32339 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32341         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
32342         list.
32344 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
32346         * benchtests/bench-strcoll.c: New benchmark.
32347         * benchtests/Makefile: Generate locales and run benchmark.
32348         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
32349         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
32350         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
32351         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
32352         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
32353         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
32354         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
32355         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
32356         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
32357         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
32358         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
32359         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
32360         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
32361         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
32362         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
32363         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
32364         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
32365         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
32366         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
32367         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
32368         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
32369         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
32370         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
32371         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
32373 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
32375         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
32376         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32378 2015-05-12  Roland McGrath  <roland@hack.frob.com>
32380         * posix/uname-values.h: New file.
32381         * posix/uname.c: Include that instead of <config-name.h>.
32382         * sysdeps/nacl/uname-values.h: New file.
32383         * sysdeps/arm/nacl/uname-values.h: New file.
32385 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
32387         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
32388         splitting into fields.
32390 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
32392         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
32393         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
32394         * locale/localeinfo.h: Add enum collation_encoding_type.
32395         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
32396         * programs/ld-collate.c (collate_output): Add encoding type info.
32397         * string/strcoll_l.c (STRDIFF): New function.
32398         * (STRCOLL): Use STRDIFF to skip over equal prefix.
32399         * wcsmbs/wcscoll_l.c: Define STRDIFF.
32401 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
32403         [BZ #18397]
32404         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
32405         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
32406         <fpu_control.h> instead of <math/fpu_control.c>.
32407         * sysdeps/mips/mips32/fpu/Makefile: New file.
32409 2015-05-11  Andreas Schwab  <schwab@suse.de>
32411         [BZ #18007]
32412         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
32413         nss_endgrent.
32414         (_nss_compat_endgrent): Call nss_endgrent.
32415         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
32416         nss_endpwent.
32417         (_nss_compat_endpwent): Call nss_endpwent.
32418         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
32419         needent, call nss_setspent only if non-zero.
32420         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
32421         (internal_endspent): Don't call nss_endspent.
32422         (_nss_compat_endspent): Call nss_endspent.
32423         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
32424         Remove.  All uses removed.
32425         (internal_setent): Remove parameter stayopen, add parameter
32426         stream.  Use it instead of global variable.
32427         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
32428         (internal_endent, internal_getent): Add parameter stream.  Use it
32429         instead of global variable.
32430         (CONCAT(_nss_files_end,ENTNAME))
32431         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
32432         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
32433         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
32434         uses removed.
32435         (internal_setent, internal_endent): Add parameter stream.  Use it
32436         instead of global variable.
32437         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
32438         stream.
32439         (get_next_alias): Add parameter stream.
32440         (_nss_files_getaliasent_r): Pass global stream.
32441         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
32442         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
32443         (_nss_files_gethostbyname4_r): Pass local stream to
32444         internal_setent, internal_getent and internal_endent.  Remove
32445         locking.
32447 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32449         * tst-strfmon1.c (tests): Update expected currency symbol.
32451 2015-05-08  Roland McGrath  <roland@hack.frob.com>
32453         * sysdeps/nacl/gethostname.c: New file.
32455 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
32457         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
32458         and sinh.
32459         * math/auto-libm-test-out: Regenerated.
32460         * sysdeps/i386/fpu/libm-test-ulps: Update.
32461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32463 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
32465         [BZ #18125]
32466         * stdlib/tst-setcontext3.c: New file.
32467         * stdlib/tst-setcontext3.sh: New file.
32468         * stdlib/Makefile (tests): Add tst-setcontext3.
32469         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
32470         to verify test program created output file.
32471         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
32472         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
32473         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
32474         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
32476 2015-05-06  Roland McGrath  <roland@hack.frob.com>
32478         [BZ #18383]
32479         * elf/tst-tlsalign.c: New file.
32480         * elf/tst-tlsalign-static.c: New file.
32481         * elf/tst-tlsalign-lib.c: New file.
32482         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
32483         (tests-static): Add tst-tlsalign-static.
32484         (modules-names): Add tst-tlsalign-lib.
32485         (test-xfail-tst-tlsalign): New variable.
32486         (test-xfail-tst-tlsalign-static): New variable.
32488         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
32489         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
32491 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
32493         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
32494         csqrt, erfc, sin and sincos.
32495         * math/auto-libm-test-out: Regenerated.
32496         * sysdeps/i386/fpu/libm-test-ulps: Update.
32497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32499 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32501         * sysdeps/aarch64/libm-test-ulps: Update.
32503 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
32505         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
32506         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
32507         * math/auto-libm-test-out: Regenerated.
32508         * sysdeps/i386/fpu/libm-test-ulps: Update.
32509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32511 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32513         [BZ #18265]
32514         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
32515         (wcsncpy): Likewise.
32517 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32519         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32520         Assume __ASSUME_FALLOCATE is always true.
32521         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32522         (__posix_fallocate64_l64): Likewise.
32523         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
32524         (posix_fallocate): Likewise.
32525         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
32526         (__posix_fallocate64_l64): Likewise.
32527         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32528         [!__ASSUME_FALLOCATE]: Add comment.
32530 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32532         * sysdeps/unix/sysv/linux/i386/Makefile
32533         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
32534         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
32535         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
32536         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32537         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32538         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
32539         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
32541 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
32543         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
32544         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
32545         tgamma.
32546         * math/auto-libm-test-out: Regenerated.
32547         * sysdeps/i386/fpu/libm-test-ulps: Update.
32548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32550 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32552         * math/auto-libm-test-in: Add more tests of tgamma.
32553         * math/auto-libm-test-out: Regenerated.
32554         * sysdeps/i386/fpu/libm-test-ulps: Update.
32555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32557         * math/auto-libm-test-in: Add more tests of tanh.
32558         * math/auto-libm-test-out: Regenerated.
32559         * sysdeps/i386/fpu/libm-test-ulps: Update.
32560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32562         * math/auto-libm-test-in: Add more tests of tan.
32563         * math/auto-libm-test-out: Regenerated.
32564         * sysdeps/i386/fpu/libm-test-ulps: Update.
32565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32567         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
32568         * math/auto-libm-test-out: Regenerated.
32569         * sysdeps/i386/fpu/libm-test-ulps: Update.
32570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32572         * math/auto-libm-test-in: Add another test of pow.
32573         * math/auto-libm-test-out: Regenerated.
32574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32576         * math/auto-libm-test-in: Add more tests of lgamma.
32577         * math/auto-libm-test-out: Regenerated.
32578         * sysdeps/i386/fpu/libm-test-ulps: Update.
32579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32581         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
32582         log1p.
32583         * math/auto-libm-test-out: Regenerated.
32584         * sysdeps/i386/fpu/libm-test-ulps: Update.
32585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32587 2015-05-01  Mark Wielaard  <mjw@redhat.com>
32589         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
32590         Elf64_Chdr structs and ELFCOMPRESS constants.
32592 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32594         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
32595         expm1.
32596         * math/auto-libm-test-out: Regenerated.
32597         * sysdeps/i386/fpu/libm-test-ulps: Update.
32598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32600         * math/auto-libm-test-in: Add more tests of erf and erfc.
32601         * math/auto-libm-test-out: Regenerated.
32602         * sysdeps/i386/fpu/libm-test-ulps: Update.
32603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32605 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32607         * config.h.in (HAVE_AARCH64_BE): Add.
32609 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32611         * math/auto-libm-test-in: Add more tests of csqrt.
32612         * math/auto-libm-test-out: Regenerated.
32613         * sysdeps/i386/fpu/libm-test-ulps: Update.
32614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32616         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32617         * math/auto-libm-test-out: Regenerated.
32618         * sysdeps/i386/fpu/libm-test-ulps: Update.
32619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32621         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32623 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32625         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32626         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32628         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32629         (euidaccess, eaccess): Define as weak aliases.
32631         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32632         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32633         but __suseconds_t is often 'long int' so some sources assume that
32634         type is being used (e.g. they use %ld to print tv_usec).
32636 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32638         [BZ #18007]
32639         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32640         (CVE-2014-8121)
32641         * nss/tst-nss-getpwent.c: New file.
32642         * nss/Makefile (tests): Add new test.
32644 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32646         [BZ #18346]
32647         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32648         exponents less than 48 as cases where high part of mantissa needs
32649         examining to determine whether argument is integral.
32650         * math/libm-test.inc (round_test_data): Add more tests.
32652 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32654         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32656 2015-04-27  David S. Miller  <davem@davemloft.net>
32658         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32659         __tls_get_addr.
32660         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32662 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32664         [BZ #18333]
32665         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32667 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32669         [BZ #18333]
32670         * time/tzset.c (parse_tzname): Return error on memory allocation
32671         failure.
32672         * test-skeleton.c (struct temp_name_list): Change type of name
32673         member to non-const.
32674         (add_temp_file): Create a copy of the file name.
32675         (delete_temp_files): Deallocate memory.
32676         (create_temp_file): Add comment.
32678 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32680         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32681         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32683 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32685         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32686         * sysdeps/arm/configure: Regenerated.
32688 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32690         [BZ #17715]
32691         * time/tzfile.c (__tzfile_read): Check for large values of
32692         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32693         * time/tzset.c (__tzstring_len): New function, based on the old
32694         __tzstring function.
32695         (__tzstring): Call __tzstring_len.
32696         (parse_tzname): New helper function extracted from
32697         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32698         the input string.
32699         (parse_offset): New helper function extracted from
32700         __tzset_parse_tz.  Replace switch with fallthrough with
32701         initialization before sscanf.
32702         (parse_rule): Likewise.
32703         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32704         new-style function definition.
32705         * timezone/Makefile (tests): Add tst-tzset.
32706         (tst-tzset.out): Dependencies on time zone files.
32707         (tst-tzset-ENV): Set TZDIR.
32708         (testdata/XT%): Copy crafted time zone files.
32709         * timezone/README: Mention crafted time zone files.
32710         * timezone/testdata/XT1, timezone/testdata/XT2,
32711         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32712         files.
32713         * timezone/tst-tzset.c: New test.
32715 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32717         * Makeconfig (+gccwarn): Remove -Winline.
32719 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32721         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32723 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32725         * NEWS: Mention sysconf() cache information support for s390.
32726         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32728 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32730         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32731         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32732         (__nearbyint): Likewise.
32733         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32734         (copysignl): Likewise.
32736 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32738         [BZ #18287]
32739         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32740         based on padding.  (CVE-2015-1781)
32742 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32744         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32745         libc-vdso.h.
32746         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32747         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32748         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32749         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32750         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32751         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32752         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32753         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32754         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32755         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32756         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32757         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32758         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32759         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32760         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32761         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32762         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32763         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32764         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32765         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32766         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32767         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32768         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32770 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32772         * stdlib/setenv.c (__add_to_environ):
32773         Dump core quickly if setenv (..., NULL, ...) is called.
32774         This time, do it the right way, and pacify GCC with a pragma.
32776 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32778         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32779         IMAP->l_prev cannot be null, and #if out the code for the contrary
32780         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32781         believe that NS (&_dl_ns[NSID]) could point outside the array.
32783         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32784         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32785         before using NSID as an index.
32787 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32789         [BZ #17825]
32790         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32791         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32792         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32794 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32796         Add preliminary port to Google Native Client on ARM.
32797         * abi-tags (.*-.*-nacl.*): New entry.
32798         * sysdeps/arm/nacl: New directory.
32799         * sysdeps/nacl: New directory.
32801 2015-04-16  David S. Miller  <davem@davemloft.net>
32803         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32804         lowlevellock-futex.h
32806 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32808         * sysdeps/tile/configure.ac: New file.
32809         * sysdeps/tile/configure: Regenerated.
32811 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32813         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32814         conditionals for weak_alias and libc_hidden_weak.
32815         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32816         libc_hidden_weak and weak_alias.
32817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32818         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32819         and weak_alias for static one.
32821 2015-04-15  David S. Miller  <davem@davemloft.net>
32823         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32825 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32827         [BZ #18206]
32828         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32829           Use signed comparision instead of substraction to avoid
32830           overflow bug.
32831         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32832           Take the sign of ret.
32833         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32834           Do not expect precise return values. Only the sign matters.
32835         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32836         * wcsmbs/test-wcsncmp.c: New File.
32837         * string/test-strncmp.c: Add wcsncmp support.
32839 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32841         [BZ #6792]
32842         * math/w_log1p.c: New file.
32843         * math/w_log1pf.c: Likewise.
32844         * math/w_log1pl.c: Likewise.
32845         * math/Makefile (libm-calls): Add w_log1p.
32846         * math/s_log1pl.c (log1pl): Remove weak_alias.
32847         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32848         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32849         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32850         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32851         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32852         [NO_LONG_DOUBLE] (log1pl): Likewise.
32853         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32854         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32855         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32856         (log1p): Remove long_double_symbol.
32857         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32858         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32859         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32860         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32861         remove weak_alias for corresponding log1p function.
32862         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32863         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32864         * sysdeps/ia64/fpu/w_log1p.c: New file.
32865         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32866         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32867         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32869 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32871         [BZ #18247]
32872         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32873         decimal exponent by 1.
32874         * stdlib/tst-strtod-round-data: Add more tests.
32875         * stdlib/tst-strtod-round.c (tests): Regenerated.
32877 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32879         * math/auto-libm-test-in: Add more tests of clog and clog10.
32880         * math/auto-libm-test-out: Regenerated.
32881         * sysdeps/i386/fpu/libm-test-ulps: Update.
32882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32884 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32886         * Makeconfig (module-cppflags): Exclude all .v.i files.
32887         (skip-module-cppflags): Variable removed.
32889         * configure.ac (libc_config_ok): Initialize before reading
32890         preconfigure scripts, not after.
32891         * configure: Regenerated.
32893         * test-skeleton.c (TIMEOUT): Move #define to top level.
32894         (main): Grok environment variable TEST_DIRECT.  If set, print
32895         test expectation details into that file and then behave as if
32896         given --direct.
32898 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32900         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32901         warning on 32-bit.
32903 2015-04-08  David S. Miller  <davem@davemloft.net>
32905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32907 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32909         * math/auto-libm-test-in: Add more tests of atanh.
32910         * math/auto-libm-test-out: Regenerated.
32911         * sysdeps/i386/fpu/libm-test-ulps: Update.
32912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32914         * math/auto-libm-test-in: Add more tests of atan.
32915         * math/auto-libm-test-out: Regenerated.
32916         * sysdeps/i386/fpu/libm-test-ulps: Update.
32917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32919 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32921         * elf/pldd.c (main): Rewrite to use struct
32922         scratch_buffer instead of extend_alloca.
32923         * elf/pldd-xx.c (find_maps): Likewise.
32924         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32925         <alloca.h>.
32926         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32927         scratch_buffer instead of extend_alloca.
32928         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32929         grp/compat-initgroups.c.
32930         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32931         Rewrite to use struct scratch_buffer instead of extend_alloca.
32932         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32933         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32935 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32937         * math/auto-libm-test-in: Add more tests of cbrt.
32938         * math/auto-libm-test-out: Regenerated.
32939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32941         * math/auto-libm-test-in: Add more tests of cabs.
32942         * math/auto-libm-test-out: Regenerated.
32943         * sysdeps/i386/fpu/libm-test-ulps: Update.
32944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32946         [BZ #18210]
32947         [BZ #18211]
32948         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32949         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32950         computations.
32951         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32952         clog10.
32953         * math/auto-libm-test-out: Regenerated.
32954         * sysdeps/i386/fpu/libm-test-ulps: Update.
32955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32957         [BZ #18197]
32958         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32959         (atan): Set FE_TONEAREST mode for internal computations.
32960         * math/auto-libm-test-in: Add more tests of atan.
32961         * math/auto-libm-test-out: Regenerated.
32963 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32965         [BZ #17930]
32966         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32968 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32970         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32972 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32974         * include/scratch_buffer.h: New file.
32975         * malloc/scratch_buffer_grow.c: Likewise.
32976         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32977         * malloc/scratch_buffer_set_array_size.c: Likewise.
32978         * malloc/tst-scratch_buffer.c: Likewise.
32979         * malloc/Makefile (routines): Add scratch_buffer_grow.
32980         (tests): Add test case.
32981         * malloc/Versions (GLIBC_PRIVATE): Export
32982         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32983         __libc_scratch_buffer_set_array_size.
32985 2015-04-06  Richard Henderson  <rth@redhat.com>
32987         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32988         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32990         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32991         unsigned int before printing.
32993 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32995         [BZ #17596]
32996         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32997         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32999 2015-04-02  Florian Weimer  <fweimer@redhat.com>
33001         * include/libc-internal.h (libc_max_align_t): Define.
33003 2015-04-02  Andreas Schwab  <schwab@suse.de>
33005         [BZ #16850]
33006         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
33008 2015-04-02  Mel Gorman  <mgorman@suse.de>
33010         [BZ #17195]
33011         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
33012         as well as the main arena.
33014 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33016         [BZ #18185]
33017         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
33018         sharing L2 cache to 2 for Silvermont/Knights Landing.
33020 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33022         [BZ #17711]
33023         * config.make.in (have-protected-data): New.
33024         * configure.ac: Check linker support for protected data symbol.
33025         * configure: Regenerated.
33026         * elf/Makefile (modules-names): Add tst-protected1moda and
33027         tst-protected1modb if $(have-protected-data) is yes.
33028         (tests): Add tst-protected1a and tst-protected1b if
33029         $(have-protected-data) is yes.
33030         ($(objpfx)tst-protected1a): New.
33031         ($(objpfx)tst-protected1b): Likewise.
33032         (tst-protected1modb.so-no-z-defs): Likewise.
33033         * elf/tst-protected1a.c: New file.
33034         * elf/tst-protected1b.c: Likewise.
33035         * elf/tst-protected1mod.h: Likewise.
33036         * elf/tst-protected1moda.c: Likewise.
33037         * elf/tst-protected1modb.c: Likewise.
33039 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33041         [BZ #17711]
33042         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
33043         indicates it is called from do_lookup_x on relocation against
33044         protected data, skip the data definion in the executable from
33045         copy reloc.
33046         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
33047         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
33048         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
33049         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
33050         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
33051         otherwise to 0.
33052         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33053         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
33054         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
33055         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33056         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
33057         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
33059 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
33061         * sysdeps/nptl/pthread.h: Remove duplicate definition of
33062         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
33064 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
33066         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
33067         THREAD_SETMEM_NC.
33068         * sysdeps/x86_64/nptl/tls.h: Ditto.
33070 2015-03-27  Roland McGrath  <roland@hack.frob.com>
33072         * dlfcn/tststatic.c (main): Converted to ...
33073         (do_test): ... this.
33074         (TEST_FUNCTION): New macro.
33075         Include test-skeleton.c.
33077 2015-03-26  Alan Modra  <amodra@gmail.com>
33079         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
33080         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
33081         zero for undefined weak.
33082         (elf_machine_plt_conflict): Similarly.
33084 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33086         * math/auto-libm-test-in: Add more tests of acosh, asinh and
33087         atanh.
33088         * math/auto-libm-test-out: Regenerated.
33089         * sysdeps/i386/fpu/libm-test-ulps: Update.
33090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33092         * math/auto-libm-test-in: Add another test of asin.
33093         * math/auto-libm-test-out: Regenerated.
33094         * sysdeps/i386/fpu/libm-test-ulps: Update.
33095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33097         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
33098         Remove macro.
33099         (LLL_EBX_REG): Likewise.
33100         (LLL_ENTER_KERNEL): Likewise.
33102         * math/auto-libm-test-in: Add more tests of asin.
33103         * math/auto-libm-test-out: Regenerated.
33104         * sysdeps/i386/fpu/libm-test-ulps: Update.
33105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33107         [BZ #18138]
33108         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
33109         libc_do_syscall_args): New structure.
33110         (INTERNAL_SYSCALL_MAIN_0): New macro.
33111         (INTERNAL_SYSCALL_MAIN_1): Likewise.
33112         (INTERNAL_SYSCALL_MAIN_2): Likewise.
33113         (INTERNAL_SYSCALL_MAIN_3): Likewise.
33114         (INTERNAL_SYSCALL_MAIN_4): Likewise.
33115         (INTERNAL_SYSCALL_MAIN_5): Likewise.
33116         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
33117         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
33118         Replace conditional definitions by conditional definitions of ....
33119         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
33120         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
33121         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
33122         (libpthread-sysdep_routines): Add libc-do-syscall.
33123         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
33124         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
33125         to __NR_futex not 240.
33127 2015-03-25  Alan Modra  <amodra@gmail.com>
33129         * NEWS: Advertise TLS optimization.
33130         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
33131         (DT_PPC_NUM): Increment.
33132         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
33133         (CHECK_STATIC_TLS): Use here.
33134         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
33135         TLS descriptors.
33136         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33137         * sysdeps/powerpc/dl-tls.c: New file.
33138         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
33139         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
33140         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
33141         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
33142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
33144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
33146 2015-03-25  Alan Modra  <amodra@gmail.com>
33148         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
33149         for overlapping .opd entries" to "support...".
33150         * sysdeps/powerpc/powerpc64/configure: Regenerate
33152 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33154         * math/auto-libm-test-in: Add more tests of acos.
33155         * math/auto-libm-test-out: Regenerated.
33156         * sysdeps/i386/fpu/libm-test-ulps: Update.
33157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33159         * math/auto-libm-test-in: Add more tests of expm1.
33160         * math/auto-libm-test-out: Regenerated.
33161         * sysdeps/i386/fpu/libm-test-ulps: Update.
33162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33164 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
33166         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33167         * math/auto-libm-test-out: Regenerated.
33168         * sysdeps/i386/fpu/libm-test-ulps: Update.
33169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33171         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33174         * math/auto-libm-test-in: Add more tests of log2.
33175         * math/auto-libm-test-out: Regenerated.
33176         * sysdeps/i386/fpu/libm-test-ulps: Update.
33177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33179 2015-03-23  Roland McGrath  <roland@hack.frob.com>
33181         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
33182         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
33183         _IO_IS_APPENDING bit in READ_WRITE instead.
33185 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33187         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
33188         (__determine_cpumask_size): Replace extend_alloca with a
33189         variable-length array.  Do not treat res == 0 as an error.
33191 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33193         [BZ #18100]
33194         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
33195         and integer overflow.
33196         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
33197         (main): Add integer overflow tests.
33198         * manual/pattern.texi (Calling Wordexp): Document additional use
33199         for WRDE_SYNTAX.
33201 2015-03-23  Alan Modra  <amodra@gmail.com>
33203         * config.h.in: Remove HAVE_ASM_PPC_REL16.
33204         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
33205         and false branch of conditional.
33206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33207         Likewise.
33209 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
33211         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
33212         libc-modules.h
33213         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
33214         unused declaration of _hurd_intr_rpc_msg_in_trap.
33215         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
33216         defined instead of whether it is non-zero.
33217         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
33218         input constraint instead of both input and output constraint.  Use ecx
33219         clobber instead of %ecx.
33220         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
33221         mutex_unlock): Use a statement expression instead of an expression list.
33222         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
33223         type to vm_size_t instead of vm_address_t.
33224         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
33225         defined instead of whether it is non-zero.
33226         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
33227         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
33228         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
33229         comparisons with mapaddr.
33230         * nscd/nscd-client.h: Include <time.h>.
33231         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
33232         9th parameter to __vm_region instead of int.
33233         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
33234         * scripts/check-local-headers.sh (exclude): Add device/,
33235         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
33236         cthreads.h.
33238 2015-03-19  Roland McGrath  <roland@hack.frob.com>
33240         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
33241         to account for alignment padding.
33242         * sysdeps/arm/memmove.S: Likewise.
33244 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
33246         * sysdeps/unix/sysv/linux/generic/README: New file.
33248 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
33250         [BZ #18138]
33251         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
33252         (futex_abstimed_wait)
33253         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
33254         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
33255         of lll_futex_timed_wait.
33257 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
33259         [BZ #17542]
33260         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
33262 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
33264         [BZ #17090]
33265         [BZ #17620]
33266         [BZ #17621]
33267         [BZ #17628]
33268         * NEWS: Update.
33269         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
33270         entries with Static TLS too.  Skip entries past the end of the
33271         allocated DTV, from Alan Modra.
33272         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
33273         Static TLS DTV entry set up from...
33274         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
33275         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
33276         * nptl/allocatestack.c (init_one_static_tls): ... and here...
33277         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
33278         for Static TLS.
33279         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
33280         that the slot we find is associated with the given map before
33281         using its generation count.
33282         * nptl_db/db_info.c: Include ldsodefs.h.
33283         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
33284         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
33285         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
33286         (link_map::l_tls_offset): New struct field.
33287         (dtv_t::counter): Likewise.
33288         (rtld_global): New struct.
33289         (_rtld_global): New rtld variable.
33290         (dl_tls_dtv_slotinfo_list): New rtld global field.
33291         (dtv_slotinfo_list): New struct.
33292         (dtv_slotinfo): Likewise.
33293         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33294         (td_lookup): Rename to...
33295         (td_mod_lookup): ... this.  Use new mod parameter instead of
33296         LIBPTHREAD_SO.
33297         * nptl_db/td_thr_tlsbase.c: Include link.h.
33298         (dtv_slotinfo_list, dtv_slotinfo): New functions.
33299         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
33300         addresses even if the DTV is out of date or missing them.
33301         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
33302         index zero-length arrays.
33303         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
33304         (td_lookup): Make it a macro implemented in terms of...
33305         (td_mod_lookup): ... this declaration.
33306         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
33307         (DB_MAIN_VARIABLE): Likewise.
33309 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33311         [BZ #18134]
33312         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33314 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
33316         * stdlib/setenv.c (__add_to_environ): Revert previous change.
33318 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
33320         [BZ #18128]
33321         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
33322         (atomic_add, atomic_increment_and_test)
33323         (atomic_decrement_and_test): Fix 64-bit arithmetic.
33325 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
33327         * stdlib/setenv.c (__add_to_environ):
33328         Dump core quickly if setenv (..., NULL, ...) is called.
33330 2015-03-13  Roland McGrath  <roland@hack.frob.com>
33332         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
33333         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
33334         all the necessary asm magic in one place.
33335         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
33336         using those.
33338 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
33340         [BZ #14906]
33341         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
33342         traced file mtime. Use consistent log message.
33343         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
33344         (register_traced_file): Call install_watches. Always set mtime.
33345         (invalidate_cache): Iterate over all trace files. Call install_watches.
33346         (inotify_check_files): Don't inline. Handle watching parent
33347         directories and configuration file movement in and out.
33348         (handle_inotify_events): New function.
33349         (main_loop_poll): Call handle_inotify_events.
33350         (main_loop_epoll): Likewise.
33351         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
33352         (struct traced_file): Use array of inotify fds. Add parent directory,
33353         and basename.
33354         (struct database_dyn): Remove unused file_mtime.
33355         (init_traced_file): New inline function.
33356         (define_traced_file): New macro.
33357         * nss/nss_db/db-init.c: Use define_traced_file.
33358         (_nss_db_init): Use init_traced_file.
33359         * nss/nss_files/files-init.c: Use define_traced_file.
33360         (_nss_files_init): Use init_traced_file.
33362 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
33364         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
33365         [_LIBC]: Do not include <stdlib.h>.
33366         [!_LIBC] (abort): Remove declaration.
33367         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
33368         _FP_STATIC_ASSERT instead of conditionally calling abort.
33369         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
33370         (_FP_EXTEND_CNAN): Likewise.
33371         (FP_TRUNC): Likewise.
33372         (__FP_CLZ): Likewise.
33373         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
33375 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
33377         * manual/string.texi (XPG basename): Fix prototype.
33379 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33381         [BZ #18080]
33382         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
33383         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33384         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
33385         (__setcontext): Likewise.
33386         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
33387         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33388         Call rt_sigprocmask syscall one time to set new signal mask
33389         and retrieve the current signal mask instead of two calls.
33390         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
33391         (__swapcontext): Likewise.
33392         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
33393         * stdlib/tst-setcontext2.c: New file.
33395 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33397         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33399 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
33401         [BZ #18093]
33402         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
33403         the wrong size.
33405 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33407         [BZ #18043]
33408         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
33410 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33412         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
33413         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
33414         Remove define.
33415         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
33416         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
33417         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
33418         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
33419         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
33420         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
33421         define.
33422         * nptl_db/td_symbol_list.c (td_lookup): Remove
33423         HAVE_ASM_GLOBAL_DOT_NAME code.
33424         * sysdeps/powerpc/powerpc64/configure.ac: Remove
33425         HAVE_ASM_GLOBAL_DOT_NAME check.
33426         * sysdeps/powerpc/powerpc64/configure: Regenerate.
33427         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
33428         (DOT_LABEL): Remove define.
33429         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
33430         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
33431         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
33432         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
33433         (__TLS_GET_ADDR): Likewise.
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
33435         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
33437 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
33439         [BZ #18111]
33440         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
33441         (_FPU_SETCW): Initialize cw from fpsr before storing.
33442         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
33443         (fesetexceptflag): Rewrite using fpu_control.h.
33444         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
33446 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
33448         [BZ #18110]
33449         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
33450         asms.
33451         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33453 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
33455         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
33456         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
33457         abort.
33458         (_FP_FMA): Likewise.
33459         (_FP_DIV): Likewise.
33461 2015-03-10  Roland McGrath  <roland@hack.frob.com>
33463         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
33464         with 0 in that case.
33465         * Makefile (summarize-tests): New canned sequence, factored out of
33466         commands for targets tests and xtests.  Display summary lines that
33467         don't start with PASS: or XFAIL: rather than ones that do start with
33468         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
33469         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
33470         do start with ERROR: or FAIL:.
33471         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
33472         (except for [$(build-shared) = yes]).
33473         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
33474         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
33475         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
33476         * nptl/Makefile: Revert 2015-03-04 changes.
33477         [$(CXX) empty] (tests-unsupported): New variable.
33478         * debug/Makefile: Likewise.
33480         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
33481         gnulib file.  Replace __attribute with __attribute__ throughout.
33483 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
33485         * sysdeps/hppa/fpu/libm-test-ulps: Update.
33487 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33489         [BZ #18104]
33490         * math/auto-libm-test-in: Add another test of pow.
33491         * math/auto-libm-test-out: Regenerated.
33493 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33495         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
33496         $(config-cflags-nofma).
33498 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33500         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
33501         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
33502         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
33503         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
33504         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
33505         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
33506         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
33507         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
33508         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
33509         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
33510         Add comment on closing #endif.
33512 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33514         * posix/wordexp.c (CHAR_IN_SET): New macro.
33515         (parse_param): Use it.
33517 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33519         * sysdeps/powerpc/fpu/libm-test-ulps: update.
33521 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33523         [BZ #18043]
33524         * posix/wordexp.c (parse_param): Fix buffer overflow.
33525         * posix/wordexp-test.c (test_case): Add test case.
33527 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33529         [BZ #18042]
33530         * posix/wordexp.c (parse_backtick): Fix off-by-one.
33531         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
33533 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33535         [BZ #18043]
33536         * posix/wordexp-test.c (test_case): Add test for BZ #18043
33537         (do_bz18043): Delete.
33538         (at_page_end): New.
33539         (testit): Refactor to have words at the edge of unreadable page.
33541 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33543         [BZ #16734]
33544         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
33545         Cleanup read-only streams as well.
33546         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
33548 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33550         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
33551         <bits/libc-lockP.h>
33553 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
33555         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
33556         on [__KERNEL__].
33557         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
33558         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
33559         * soft-fp/op-common.h (_FP_DECL): Likewise.
33561 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
33563         * elf/ifuncdep2.c (global): Replace
33564         __attribute__((visibility("protected"))) with
33565         asm (".protected global").
33566         * elf/ifuncmod1.c (global): Likewise.
33567         * elf/ifuncmod5.c (global): Likewise.
33569 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
33571         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
33572         <asm/sfp-machine.h> instead of <sfp-machine.h>.
33574 2015-03-06  Roland McGrath  <roland@hack.frob.com>
33576         * manual/install.texi (Configuring and compiling):
33577         Document test-wrapper-env-only.
33578         * INSTALL: Regenerated.
33580 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33582         [BZ #18043]
33583         * posix/wordexp.c (parse_param): Fix buffer overflow.
33584         * posix/wordexp-test.c (do_bz18043): Add test case.
33586 2015-03-06  Vincent Bernat  <vincent@bernat.im>
33588         * time/tst-strptime2.c (do_test): Ensure failing tests are
33589         reported correctly.
33590         * time/tst-strptime3.c (do_test): Likewise.
33592 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
33594         Fix aio_error thread-safety.
33595         * sysdeps/pthread/aio_error.c: New file
33596         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
33597         synchronization.
33599 2015-03-06  Florian Weimer  <fweimer@redhat.com>
33601         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
33602         (group_number, vfprintf): Use it.
33603         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33604         (JUMP, REF): Use it.
33605         (WORK_BUFFER_SIZE): New enum constant.
33606         (process_arg, vfprintf): Use it.
33608 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33610         * manual/errno.texi (Error Messages): Complete example function
33611         by adding missing #define.
33612         (program_invocation_name): Add statement indicating GNU
33613         extension and reference which header file declares the variable.
33614         (program_invocation_short_name): Likewise.
33616 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33618         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33619         compatibility note.
33621 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33623         * Makeconfig (test-wrapper-env-only): New variable.
33624         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33625         then use that with $(test-wrapper-env-only) rather than using
33626         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33628 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33630         [BZ #18082]
33631         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33632         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33633         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33634         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33635         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33636         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33637         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33638         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33639         Likewise.
33640         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33641         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33642         Likewise.
33643         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33644         Likewise.
33645         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33646         Likewise.
33647         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33648         Likewise.
33649         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33650         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33651         Likewise.
33652         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33653         Likewise.
33654         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33655         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33657 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33659         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33660         (ETH_ALEN): New macro.
33661         (struct ether_addr): Use it for length of ether_addr_octet.
33663         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33664         (setdb): Don't call __nss_configure_lookup for "rpc".
33665         (do_test): Don't call test_rpc.
33666         (output_rpcent, test_rpc): Functions moved ...
33667         * sunrpc/test-rpcent.c: ... to this new file.
33668         * sunrpc/Makefile (tests): Add it.
33670         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33671         __xpg_sigpause.
33672         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33673         * nptl/tst-signal6.c: Likewise.
33674         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33675         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33677         * configure.ac (libc_cv_cxx_link_ok): New check.
33678         Reset CXX to empty if it fails to link.
33679         * configure: Regenerated.
33680         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33681         bug-atexit3-lib only if $(CXX) is nonempty.
33682         * nptl/Makefile (tests): Likewise for tst-cancel24.
33683         (tests, tests-static): Likewise for tst-cancel24-static.
33684         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33685         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33686         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33687         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33689 2015-03-04  Andreas Schwab  <schwab@suse.de>
33691         [BZ #17631]
33692         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33693         for non-GCC compilers.
33694         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33695         Likewise.
33697 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33699         [BZ #17776]
33700         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33701         integer before bitwise and assembly operations.
33702         (feclearexcept): Likewise.
33703         * math/test-fenvinline.c: New file.
33704         * math/Makefile: Add test-fenvinline test.
33706 2015-03-03  Alan Modra  <amodra@gmail.com>
33708         [BZ #16512]
33709         * scripts/localplt.awk: Strip off symbol version.
33710         * NEWS: Mention bug fix.
33712 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33714         * sysdeps/pthread/timer_routines.c
33715         (timer_free_list, thread_free_list, thread_active_list): Make static.
33717 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33719         [BZ #17779]
33720         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33721         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33722         Undefine.
33723         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33724         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33725         Likewise.
33726         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33727         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33728         Likewise.
33730 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33732         [BZ #18036]
33733         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33734         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33736 2015-03-02  Andreas Schwab  <schwab@suse.de>
33738         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33739         variable name.
33741 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33743         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33744         Return error status.
33746 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33748         [BZ #15969]
33749         * locale/findlocale.c (_nl_find_locale): Introduce const
33750         version of loc_name and drop unsafe type casts.
33752 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33754         * dlfcn/tststatic2.c (main): Converted to ...
33755         (do_test): ... this.
33756         (TEST_FUNCTION): New macro.
33757         Include test-skeleton.c.
33759 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33761         [BZ #17711]
33762         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33763         (tests-pie): Add vismain.
33764         (CFLAGS-vismain.c): New.
33765         * elf/vismain.c: Add comments for PIE requirement.
33767 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33769         [BZ #18046]
33770         [BZ #18047]
33771         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33772         0x1p-56L as threshold for just returning the argument.
33773         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33774         0x1p-32L as threshold for just returning the argument.
33775         * math/auto-libm-test-in: Add more tests of atanh.
33776         * math/auto-libm-test-out: Regenerated.
33777         * sysdeps/i386/fpu/libm-test-ulps: Update.
33778         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33780 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33782         * string/bcopy.c (bcopy): Call memmove for performance.
33784 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33786         * string/bzero.c (__bzero): Call memset for performance.
33788 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33790         [BZ #18068]
33791         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33792         to 00100000.
33794 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33796         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33798 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33800         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33801         (__kernel_standard): Use CSTR macro when setting exc.name.
33802         * sysdeps/ieee754/Makefile [$(subdir) = math]
33803         (CFLAGS-k_standard.c): Remove variable.
33805         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33806         setting p and q from "else if" to "else".
33807         (qzero): Likewise.
33808         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33809         (qone): Likewise.
33810         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33811         (qzerof): Likewise.
33812         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33813         (qonef): Likewise.
33814         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33815         (qzero): Likewise.
33816         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33817         (qone): Likewise.
33819         [BZ #18038]
33820         [BZ #18039]
33821         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33822         return pi/2 for arguments below 0x1p-113L.
33823         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33824         return pi/2 for arguments below 0x1p-106L.
33825         * math/auto-libm-test-in: Add more tests of acos.
33826         * math/auto-libm-test-out: Regenerated.
33828         [BZ #16351]
33829         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33830         (MO): New macro.
33831         (__ieee754_asin): Force underflow exception for results with small
33832         absolute value.
33833         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33834         (MO): New macro.
33835         (__ieee754_asinf): Force underflow exception for results with
33836         small absolute value.
33837         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33838         (__ieee754_asin): Force underflow exception for results with small
33839         absolute value.
33840         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33841         (__ieee754_asinf): Force underflow exception for results with
33842         small absolute value.
33843         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33844         (__ieee754_asinl): Force underflow exception for results with
33845         small absolute value.
33846         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33847         (__ieee754_asinl): Force underflow exception for results with
33848         small absolute value.
33849         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33850         (__ieee754_asinl): Force underflow exception for results with
33851         small absolute value.
33852         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33853         Include <math.h>.
33854         * math/auto-libm-test-in: Do not mark underflow exceptions as
33855         possibly missing for bug 16351.
33856         * math/auto-libm-test-out: Regenerated.
33858         [BZ #18030]
33859         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33860         of power of 2 down when low part has opposite sign.
33861         * math/libm-test.inc (logb_test_data): Add more tests.
33863 2015-02-26  Andreas Schwab  <schwab@suse.de>
33865         [BZ #18032]
33866         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33867         over collating symbol inside a bracket expression.  Minor cleanup.
33868         * posix/tst-fnmatch3.c (do_test): Add test case.
33870 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33872         [BZ #18029]
33873         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33874         Adjust exponent of power of 2 down when low part has opposite
33875         sign.
33876         * math/libm-test.inc (ilogb_test_data): Add more tests.
33878 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33880         [BZ #15969]
33881         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33882         the previous change.
33884         [BZ #15969]
33885         * locale/findlocale.c (_nl_find_locale): Retry archive search
33886         after alias expansion.
33888 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33890         * iconv/tst-iconv3.c (main): Converted to ...
33891         (do_test): ... this.
33892         (TEST_FUNCTION): New macro.
33893         Include test-skeleton.c.
33895         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33896         (convert): Make function static.
33897         (test_unalign): Likewise.  Add const to argument pointee types.
33898         (main): Replace with static function do_test.
33899         Print "Succeeded." only if RET is zero.
33900         (TEST_FUNCTION): New macro.
33901         Include test-skeleton.c.
33903         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33904         returns a null pointer.
33906 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33908         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33909         to __memcpy_ppc only for static builds.
33911 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33913         [BZ #18020]
33914         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33915         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33916         * math/auto-libm-test-in: Add more tests of asinh.
33917         * math/auto-libm-test-out: Regenerated.
33918         * sysdeps/i386/fpu/libm-test-ulps: Update.
33919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33921 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33923         [BZ #15850]
33924         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33925         and ip6_mtuinfo definitions here.
33926         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33927         in this define too.  Update comment.
33929 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33931         * elf/sprof.c (load_shobj): Tweak error message to match others.
33933 2015-02-24  Kevin Easton  <kevin@guarana.org>
33935         [BZ #16145] (partial fix)
33936         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33937         to reduce lock contention.
33939 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33941         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33942         (struct timex): Update time comment.
33943         (ADJ_SETOFFSET): Define.
33945 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33947         [BZ #18019]
33948         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33949         2**56 not 2**28 as threshold for log (2x) formula.
33950         * math/auto-libm-test-in: Add more tests of acosh.
33951         * math/auto-libm-test-out: Regenerated.
33952         * sysdeps/i386/fpu/libm-test-ulps: Update.
33953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33955 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33957         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33958         parenthesis around the buf assignment.
33959         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33961 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33963         [BZ #16783]
33964         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33965         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33966         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33967         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33968         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33969         * math/libm-test.inc (scalb_test_data): Add more tests.
33971 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33973         [BZ #17916]
33974         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33975         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33977 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33979         [BZ #17523]
33980         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33981         * io/bits/fcntl2.h (open): Use it.
33982         (openat): Likewise.
33983         * io/open.c (__libc_open): Likewise.
33984         * io/open64.c (__libc_open64): Likewise.
33985         * io/open64_2.c (__open64_2): Likewise.
33986         * io/open_2.c (__open_2): Likewise.
33987         * io/openat.c (__openat): Likewise.
33988         * io/openat64.c (__openat64): Likewise.
33989         * io/openat64_2.c (__openat64_2): Likewise.
33990         * io/openat_2.c (__openat_2): Likewise.
33991         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33992         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33993         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33994         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33995         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33996         (__open_nocancel): Likewise.
33997         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33998         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33999         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
34001 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34003         [BZ #14841]
34004         * resolv/gethnamaddr.c (getanswer): Skip logging if
34005         RES_USE_DNSSEC is set.
34006         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34008 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34010         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
34012 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
34014         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
34015         201304L, for Unicode 7.
34017 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
34019         [BZ #17836]
34020         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
34021         shared library.  Add gmon-start.os otherwise.
34022         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
34023         $(objpfx)gmon-start.os if builing shared library.
34024         ($(objpfx)g$(static-start-installed-name)): Likewise.
34026 2015-02-23  Andreas Schwab  <schwab@suse.de>
34028         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
34030 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34032         [BZ #17269]
34033         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
34034         (enlarge_userbuf): Likewise.
34036 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
34038         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
34039         * math/atest-exp.c (TIMEOUT): Adjust to 200.
34040         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
34041         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
34043 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
34045         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
34046         expression inside statement expression.
34048 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34050         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
34051         <sysdeps/nptl/lowlevellock.h> and remove macros and
34052         functions that are now defined there.
34053         (SYS_futex): Remove.
34054         (lll_compare_and_swap): Remove.
34055         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
34057 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
34059         [BZ #17999]
34060         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
34061         instead of scandirat.
34062         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
34063         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
34064         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
34065         __scandirat.
34066         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
34067         (__scandirat): Declare.  Use libc_hidden_proto.
34068         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
34069         Remove variable.
34070         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34072 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34074         [BZ #15319]
34075         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
34076         (MO): New macro.
34077         (__ieee754_atan2): For results with small absolute value, force
34078         underflow exception and remove excess range and precision from
34079         return value.
34080         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
34081         (MO): New macro.
34082         (__ieee754_atan2f): For results with small absolute value, force
34083         underflow exception and remove excess range and precision from
34084         return value.
34085         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
34086         (MO): New macro.
34087         (__atan): For results with small absolute value, force underflow
34088         exception and remove excess range and precision from return value.
34089         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
34090         (MO): New macro.
34091         (__atanf): For results with small absolute value, force underflow
34092         exception and remove excess range and precision from return value.
34093         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
34094         <math.h>.
34095         (__ieee754_atan2): Force underflow exception for results with
34096         small absolute value.
34097         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
34098         <math_private.h>.
34099         (atan): Force underflow exception for results with small absolute
34100         value.
34101         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
34102         (__atanf): Force underflow exception for results with small
34103         absolute value.
34104         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
34105         <math.h>.
34106         (__atanl): Force underflow exception for results with small
34107         absolute value.
34108         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
34109         (__atanl): Force underflow exception for results with small
34110         absolute value.
34111         * sysdeps/x86/fpu/bits/mathinline.h
34112         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
34113         (__ieee754_atan2): Only define inline for long double.
34114         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
34115         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
34116         * math/auto-libm-test-in: Do not mark underflow exceptions as
34117         possibly missing for bug 15319.  Add more tests of atan2.
34118         * math/auto-libm-test-out: Regenerated.
34119         * math/libm-test.inc (casin_test_data): Do not mark underflow
34120         exceptions as possibly missing for bug 15319.
34121         (casinh_test_data): Likewise.
34122         * sysdeps/i386/fpu/libm-test-ulps: Update.
34124 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
34126         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
34127         * sysdeps/mips/bits/endian.h: Fix comments.
34129 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34131         [BZ #17996]
34132         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
34133         (hdestroy_r): Likewise.
34134         (hsearch_r): Likewise.
34135         (__hcreate_r): Declare and use libc_hidden_proto.
34136         (__hdestroy_r): Likewise.
34137         (__hsearch_r): Likewise.
34138         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
34139         (hcreate): Call __hcreate_r instead of hcreate_r.
34140         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
34141         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
34142         as weak alias of __hcreate_r.
34143         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
34144         __hdestroy_r.
34145         (hsearch_r): Rename to __hsearch_r and define as weak alias of
34146         __hsearch_r.
34147         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
34148         Remove variable.
34149         (test-xfail-XPG4/search.h/linknamespace): Likewise.
34150         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34151         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34152         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34154 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34156         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
34157         arena_lock into a single arena_get.
34159 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
34161         * dl-reloc.c: Inlucde libc-internal.h.
34162         (_dl_try_allocate_static_tls): Call ALIGN_UP.
34163         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
34164         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
34165         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
34166         (grow_heap): Likewise.
34167         * malloc/malloc.c: Include libc-internal.h.
34168         (do_check_malloc): Call powerof2.
34169         (sysmalloc): Use pagesize. Call ALIGN_UP.
34170         (systrim): Use pagesize.
34171         (mremap_chunk): Use pagesize. Call ALIGN_UP.
34172         (__libc_valloc): Use pagesize.
34173         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
34175 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34177         [BZ #17991]
34178         * include/sys/resource.h (__getrlimit64): Declare.  Use
34179         libc_hidden_proto.
34180         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
34181         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
34182         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
34183         getrlimit64.
34184         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
34185         __getrlimit64.
34186         [!getrlimit64] (getrlimit64): Define as weak alias of
34187         __getrlimit64.  Use libc_hidden_weak.
34188         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
34189         using __getrlimit64 not __new_getrlimit64.
34190         (__GI_getrlimit64): Likewise.
34191         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
34192         Likewise.
34193         (__GI_getrlimit64): Likewise.
34194         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
34195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
34196         (getrlimit): Add __getrlimit64 alias.
34197         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
34198         Likewise.
34199         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
34200         Remove variable.
34201         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34202         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34204 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
34206         * libio/fileops.c: Add missing sys/mman.h
34207         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
34209 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34211         * manual/math.texi (Errors in Math Functions): Clarify goals
34212         regarding inexact and underflow exceptions.
34214 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34216         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
34217         * sysdeps/mips/memset.S: Ditto.
34219 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34221         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
34223 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34225         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
34226         (__v1longjmp): Remove versioned symbol.
34227         (__v1siglongjmp): Remove alias and versioned symbol.
34228         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
34229         (__v2siglongjmp): Likewise.
34231 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34233         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
34235 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
34237         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
34239 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34241         [BZ #17987]
34242         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
34243         zero result does not depend on the sign resulting from
34244         subtraction.
34245         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34246         Likewise.
34247         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34248         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34249         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34250         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34251         * math/libm-test.inc (remquo_test_data): Add more tests.
34253 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
34255         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
34256         Problem reported by J William Piggott.
34258 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34260         [BZ #17978]
34261         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
34262         products 4 * y and 2 * y where those would overflow.
34263         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34264         Likewise.
34265         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34266         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34267         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34268         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34269         * math/libm-test.inc (remquo_test_data): Add more tests.
34271         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
34273         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
34274         [defined _COMPILING_NEWLIB].
34275         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
34276         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
34278         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
34279         [!defined __mips_isa_rev || __mips_isa_rev < 6].
34281 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34283         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
34284         acquired.
34286 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
34288         [BZ #17792]
34289         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
34290         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
34291         HOST_STACK_END_ADDR): Likewise.
34293 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
34295         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
34296         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
34297         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
34299 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34301         * sysdeps/generic/c++-types.data: New file.
34302         * sysdeps/generic/ld.abilist: New file.
34303         * sysdeps/generic/libBrokenLocale.abilist: New file.
34304         * sysdeps/generic/libanl.abilist: New file.
34305         * sysdeps/generic/libc.abilist: New file.
34306         * sysdeps/generic/libcrypt.abilist: New file.
34307         * sysdeps/generic/libdl.abilist: New file.
34308         * sysdeps/generic/libm.abilist: New file.
34309         * sysdeps/generic/libpthread.abilist: New file.
34310         * sysdeps/generic/libresolv.abilist: New file.
34311         * sysdeps/generic/librt.abilist: New file.
34313 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34315         [BZ #17569]
34316         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34317         Compute absolute value of x as modified by fmod, not original
34318         value of x.
34319         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
34320         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
34321         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
34322         RUN_TEST_ffI_f1_mod8.
34323         (remquo_test_data): Add more tests.
34325 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34327         * sysdeps/init_array/pt-crti.S: New file.
34329 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34331         [BZ #17967]
34332         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
34333         __builtin_fmaf instead of relying on contraction of a * b + c.
34335 2015-02-12  J William Piggott  <elseifthen@gmx.com>
34337         [BZ #17969]
34338         * manual/time.texi: correct the zoneinfo path in the TZ Variable
34339         node.
34341 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34343         [BZ #17964]
34344         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
34345         __builtin_fma instead of relying on contraction of a * b + c.
34347 2015-02-12  Roland McGrath  <roland@hack.frob.com>
34349         * Makeconfig (ASFLAGS): Add -Werror=undef.
34350         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
34351         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
34352         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
34354         * Makeconfig (after-link): New variable.
34355         (+link-pie, +link-pie-tests): Use it.
34356         (+link-static, +link-static-tests): Likewise.
34357         (+link, +link-tests): Likewise.
34358         * Makerules (build-module, build-module-asneeded): Likewise.
34359         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
34360         Likewise.
34361         * elf/Makefile ($(objpfx)ld.so): Likewise.
34363 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
34365         [BZ #17965]
34366         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
34367         both struct timeval and struct timespec.
34369 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34371         [BZ #16560]
34372         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34373         and redefine.
34374         (__ieee754_exp2l): Do not multiply small fractional parts by
34375         M_LN2l.
34376         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
34377         small argument.
34378         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34379         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34380         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
34381         * math/auto-libm-test-in: Add more tests of exp2.
34382         * math/auto-libm-test-out: Regenerated.
34384 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34386         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
34387         unaligned path.
34389 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34391         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
34392         little endian.
34394 2015-02-12  Andreas Schwab  <schwab@suse.de>
34396         [BZ #15790]
34397         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
34398         Filter out elision flags from value returned in kind.
34399         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
34400         * nptl/tst-pthread-mutexattr.c: New file.
34402 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34404         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
34405         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
34406         into gnu-gnu, and update comment to refer to abi-tags.
34408 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
34410         [BZ #15467]
34411         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
34412         (__sincos): Set errno to EDOM for infinite argument.
34413         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
34414         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
34415         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
34416         (__sincosl): Set errno to EDOM for infinite argument.
34417         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
34418         (__sincosl): Set errno to EDOM for infinite argument.
34419         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
34420         (__sincosl): Set errno to EDOM for infinite argument.
34421         * math/libm-test.inc (sincos_test_data): Test errno setting.
34423 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
34425         * string/strxfrm_l.c: Remove #define STRCMP.
34426         * string/strcoll_l.c: Remove #define STRLEN.
34427         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
34428         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
34430 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
34432         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
34433         * sysdeps/mips/mips32/sfp-machine.h: ... here.
34434         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
34435         * sysdeps/mips/mips64/Makefile: ... here.
34436         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
34437         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
34438         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
34439         * sysdeps/mips/mips64/sfp-machine.h: ... here.
34440         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
34441         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
34442         * sysdeps/mips/mips64/n64/Implies: Likewise.
34444 2015-02-10  Roland McGrath  <roland@hack.frob.com>
34446         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
34447         <sys/time.h>, <string.h>, and <errno.h>.
34448         (dest_offset, dest_address, value, zero): Remove unused variables.
34449         (ldouble): Remove typedef.
34450         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
34451         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
34452         1).  Fix code style.
34453         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
34454         (check): Function removed.
34455         (CHECK): New macro.
34456         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
34457         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
34458         Don't call set_sigaction_FP and remove_sigaction_FP here.
34459         (ldouble_test): Just use 'long double' as macro argument, no need for
34460         the 'ldouble' typedef.
34461         (do_test): Set up SIGFPE handler at start, using plain signal rather
34462         than sigaction.  Fix code style.
34464 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
34466         [BZ #17949]
34467         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
34468         jump label.
34470 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34472         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
34473         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34475         * sysdeps/powerpc/configure.ac: Remove file.
34476         * sysdeps/powerpc/configure: Likewise.
34478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34479         [sysdep_routines]: Remove wordcopy-power6 object.
34480         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34481         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
34482         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
34483         (__memmove_ppc32): Likewise.
34484         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
34485         file.
34486         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
34487         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
34488         Remove preprocessor.
34490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34491         [sysdep_routines]: Remove wide chars objects.
34492         [wcsmbs]: New rule for wide char objects.
34494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34495         Remove wordcopy-power6 obejct.
34496         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
34497         Use local call for wordcopy and memcpy symbols.
34498         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
34499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
34500         implementation for loader.
34501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
34503         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34504         Remove wordcopy-power7 object.
34505         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
34506         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
34507         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
34508         (_wordcopy_fwd_dest_aligned): Likewise.
34509         (_wordcopy_bwd_aligned): Likewise.
34510         (_wordcopy_bwd_dest_aligned): Likewise.
34512         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
34513         Rewrite to call __memmove_ppc instead of include default
34514         implementation.
34516         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34517         Remove wide chars objects.
34518         [wcsmbs]: New rule for wide char objects.
34520 2015-02-09  Andreas Schwab  <schwab@suse.de>
34522         [BZ #17912]
34523         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34524         in terms of __O_DIRECTORY.
34526 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34528         * time/getdate.c: Include <stdbool.h>.
34529         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
34530         call PTR_MANGLE.
34531         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
34532         PTR_DEMANGLE.
34534 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
34536         Add ersatz _Static_assert on older C hosts
34537         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
34538         pre-C11 C platform that is not known to support _Static_assert.
34540 2015-02-07  Richard Braun  <rbraun@sceen.net>
34542         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
34543         sigstate.
34544         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
34546 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34548         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
34549         priority against unexistent AIO_PRIO_DELTA_MAX.
34550         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
34551         instead of int.
34552         * misc/fchflags.c (fchflags): Likewise.
34553         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
34554         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
34555         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
34556         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
34557         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
34558         Declare macros.
34559         [__USE_MISC] (chflags, fchflags): Declare functions.
34560         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
34561         EINVAL when nfds is greater than FD_SETSIZE.
34562         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
34563         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
34564         45.
34565         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
34566         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
34567         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
34568         MACH_RCV_TIMED_OUT.
34569         * hurd/hurd/signal.h (_hurd_self_sigstate,
34570         _hurd_critical_section_lock, _hurd_critical_section_unlock):
34571         Explicit casts from void *.
34572         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
34573         * abi-tags: Rename gnu-gnu os into gnu.
34575         [BZ #4719]
34576         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
34577         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
34578         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
34579         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
34580         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
34581         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
34583         [BZ #17944]
34584         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
34585         duplicates ADDR->sun_path with sockaddr LEN limitation.
34586         * sysdeps/mach/hurd/connect.c: Include <string.h>
34587         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
34588         * sysdeps/mach/hurd/sendmsg.c: Likewise.
34589         * sysdeps/mach/hurd/sendto.c: Likewise.
34590         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
34591         implementing it by hand.
34593 2015-02-06  Roland McGrath  <roland@hack.frob.com>
34595         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
34596         Use sfi_breg on ldr.
34597         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
34598         Likewise.
34600         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
34601         it's defined.
34602         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
34603         Test SIGSETXID only if it's defined.
34605         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34607         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34608         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34610         * nptl/tst-align2.c: Moved ...
34611         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34612         * nptl/Makefile (tests): Remove tst-align2.
34613         * sysdeps/unix/sysv/linux/Makefile
34614         [$(subdir) = nptl] (tests): Add tst-align-clone.
34615         * nptl/tst-getpid1.c: Moved ...
34616         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34617         * nptl/tst-getpid2.c: Moved ...
34618         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34619         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34620         * sysdeps/unix/sysv/linux/Makefile
34621         [$(subdir) = nptl] (tests): ... here.
34622         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34623         * sysdeps/unix/sysv/linux/Makefile
34624         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34626         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34627         Drop trailing \n from perror argument.  Use return rather than exit.
34629         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34630         on [SA_SIGINFO].
34631         * nptl/tst-cancel21.c (do_test): Likewise.
34632         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34633         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34634         [!SA_SIGINFO]: Make it a stub test.
34636         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34637         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34639         * posix/tst-getlogin.c: Move to ...
34640         * login/tst-getlogin.c: ... here.
34641         * posix/Makefile (tests): Move tst-getlogin to ...
34642         * login/Makefile (tests): ... here.
34644         * libio/tst-atime.c (do_test): Move local variables SV and E
34645         inside [ST_NOATIME] conditional.
34647         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34649         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34651         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34652         (wait_code): New function replaces macro.
34653         Call nanosleep rather than syscall.
34655         * nptl/pt-system.c: Rewritten.  Put everything under
34656         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34657         Use IFUNC to redirect when possible.
34659         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34660         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34661         Use IFUNC to redirect when possible.
34663         * nptl/pt-fork.c: Rewritten.  Put everything under
34664         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34665         Use IFUNC to redirect when possible.
34666         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34668         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34669         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34670         unconditionally nowadays.  This included the only reference to
34671         __vdso_clock_gettime that appears outside libc proper.
34672         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34673         Remove version set (containing only __vdso_clock_gettime).
34674         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34675         Add attribute_hidden.
34676         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34677         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34678         libc_hidden_data_def.
34679         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34680         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34682         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34683         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34684         setrpcent, and getrpcport to ...
34685         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34686         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34687         getrpcbynumber_r, and getrpcent_r to ...
34688         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34689         * inet/getrpcbyname.c: Moved ...
34690         * sunrpc/getrpcbyname.c: ... here.
34691         * inet/getrpcbyname_r.c: Moved ...
34692         * sunrpc/getrpcbyname_r.c: ... here.
34693         * inet/getrpcbynumber.c: Moved ...
34694         * sunrpc/getrpcbynumber.c: ... here.
34695         * inet/getrpcbynumber_r.c: Moved ...
34696         * sunrpc/getrpcbynumber_r.c: ... here.
34697         * inet/getrpcent.c: Moved ...
34698         * sunrpc/getrpcent.c: ... here.
34699         * inet/getrpcent_r.c: Moved ...
34700         * sunrpc/getrpcent_r.c: ... here.
34701         * inet/Makefile (routines): Move those to ...
34702         * sunrpc/Makefile (routines): ... here.
34703         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34704         the $(subdirs) list.
34705         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34706         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34707         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34708         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34710         * elf/Makefile (routines): Include $(all-dl-routines), not just
34711         $(dl-routines).
34712         (rtld-routines): Likewise.  Use = rather than :=.
34713         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34714         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34715         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34716         * sysdeps/arm/Makefile: Likewise.
34717         * sysdeps/i386/Makefile: Likewise.
34718         * sysdeps/x86_64/Makefile: Likewise.
34719         * sysdeps/hppa/Makefile [$(subdir) = elf]
34720         (sysdep_routines, sysdep-rtld-routines): Don't add
34721         $(sysdep-dl-routines) to these.
34722         * sysdeps/ia64/Makefile: Likewise.
34723         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34724         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34725         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34726         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34727         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34728         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34729         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34730         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34731         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34732         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34733         these; sysdep-dl-routines alone is enough.
34735 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34737         [BZ #17932]
34738         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34739         where multiplication results in zero and third argument is finite
34740         and nonzero.
34741         * math/auto-libm-test-in: Add more tests of fma.
34742         * math/auto-libm-test-out: Regenerated.
34744         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34745         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34746         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34747         (_FP_CMP_EQ): Likewise.
34748         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34750         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34751         extra argument CHECK_NAN.  Redefine as wrapper around
34752         _FP_EXTEND_CNAN.
34754 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34756         * version.h (RELEASE): Set to "stable".
34757         (VERSION): Set to "2.21"
34758         * include/features.h (__GLIBC_MINOR__): Set to 21.
34760         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34762 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34763             Paul Eggert  <eggert@cs.ucla.edu>
34765         [BZ #16618]
34766         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34767         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34768         size in bytes. Store needed elements in wpmax. Use needed size
34769         in bytes for extend_alloca.
34771 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34773         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34774         binutls 2.25, and texinfo 5.2.
34775         * INSTALL: Regenerate.
34776         * sysdeps/nios2/configure: Regenerate.
34777         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34778         * manual/contrib.texi: Update.
34779         * po/be.po: Update.
34780         * po/bg.po: Update.
34781         * po/ca.po: Update.
34782         * po/cs.po: Update.
34783         * po/da.po: Update.
34784         * po/de.po: Update.
34785         * po/el.po: Update.
34786         * po/eo.po: Update.
34787         * po/es.po: Update.
34788         * po/fi.po: Update.
34789         * po/fr.po: Update.
34790         * po/gl.po: Update.
34791         * po/hr.po: Update.
34792         * po/hu.po: Update.
34793         * po/ia.po: Update.
34794         * po/id.po: Update.
34795         * po/it.po: Update.
34796         * po/ja.po: Update.
34797         * po/ko.po: Update.
34798         * po/lt.po: Update.
34799         * po/nb.po: Update.
34800         * po/nl.po: Update.
34801         * po/pl.po: Update.
34802         * po/pt_BR.po: Update.
34803         * po/ru.po: Update.
34804         * po/rw.po: Update.
34805         * po/sk.po: Update.
34806         * po/sl.po: Update.
34807         * po/sv.po: Update.
34808         * po/tr.po: Update.
34809         * po/uk.po: Update.
34810         * po/vi.po: Update.
34811         * po/zh_CN.po: Update.
34812         * po/zh_TW.po: Update.
34814         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34815         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34816         * sysdeps/hppa/dl-irel.h: Remove #warning.
34817         * sysdeps/hppa/entry.h: Provide prototype for
34818         __canonicalize_funcptr_for_compare and cast argument.
34819         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34820         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34821         * sysdeps/hppa/sotruss-lib.c: New file.
34822         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34823         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34824         (atomic_compare_and_exchange_bool_acq): Likewise.
34825         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34826         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34828         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34829         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34830         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34832 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34834         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34835         called function in non-PIC case.
34837 2015-01-31  David S. Miller  <davem@davemloft.net>
34839         * sysdeps/sparc/sparc32/bits/atomic.h
34840         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34841         unlock not after it.
34842         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34843         volatile register usage warnings from the compiler.
34845         * sysdeps/sparc/nptl/sem_init.c: Delete.
34846         * sysdeps/sparc/nptl/sem_post.c: Delete.
34847         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34848         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34849         * sysdeps/sparc/sparc32/sem_init.c: New file.
34850         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34851         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34852         padding explicitly initialized.
34853         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34854         padding for in-semaphore spinlock.
34855         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34856         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34857         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34858         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34859         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34860         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34861         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34862         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34863         version.
34864         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34865         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34867 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34869         [BZ #17801]
34870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34871         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34872         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34873         New.
34874         (index_AVX_Fast_Unaligned_Load): Likewise.
34875         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34876         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34877         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34878         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34879         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34880         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34881         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34882         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34883         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34885 2015-01-29  Andreas Schwab  <schwab@suse.de>
34887         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34889 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34891         [BZ #17892]
34892         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34894 2015-01-28  Martin Sebor  <msebor@redhat.com>
34896         * math/README.libm-test: Clarify. Add "How to read the test output."
34898 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34900         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34901         Define to 0.
34903 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34905         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34906         (__HAVE_64B_ATOMICS): Define to 0.
34908 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34910         [BZ #17885]
34911         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34912         value to set as new flag.
34914         [BZ #16576]
34915         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34916         and use _ARCH_PPCSQ instead.
34917         (__ieee754_sqrt): Likewise.
34918         (__ieee754_sqrtf): Likewise.
34919         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34920         _ARCH_PPCSQ is defined.
34921         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34922         fsqrt instruction.
34923         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34924         _ARCH_PPCSQ is defined.
34925         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34926         fsqrts instruction.
34927         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34929 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34931         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34932         bug (GCC BZ #64739).
34934 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34936         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34937         Mark _retval as used.
34938         (lll_futex_wake_unlock): Likewise.
34939         (lll_futex_timed_wait_requeue_pi): Likewise.
34941         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34942         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34943         register variables.
34945         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34946         libm_hidden_def.
34948         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34949         (__bswap_64): Mark as __always_inline.
34951 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34953         [BZ #15378]
34954         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34955         when none of the search directories exist.
34957 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34959         [BZ #17869]
34960         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34961         power8 in .machine directive.
34963         [BZ #17868]
34964         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34965         set dependency from opd value.
34967 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34970         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34971         architecture.
34973 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34975         [BZ #17870]
34976         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34977         with uint64_t.
34978         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34979         (uint64_t) 1.
34980         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34981         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34982         Replace 1UL with (uint64_t) 1.
34983         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34984         int with uint64_t.
34986 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34988         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34989         (if_freenameindex): Likewise.
34991         * resource/getrlimit64.c: Add missing libc_hidden_def.
34993 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34995         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34996         __label__.
34997         (_FP_FMA): Likewise.
34998         (_FP_TO_INT_ROUND): Likewise.
34999         (_FP_FROM_INT): Likewise.
35001 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35003         [BZ #16418]
35004         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35005         Make code racy and cancel safe.
35007 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
35009         * sysdeps/arm/unwind-resume.h: Fix copyright year.
35010         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
35011         attribution.
35013         * pwd/tst-getpw.c: Rewrite.
35015         [BZ #17702]
35016         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
35017         (modules-names): Add moddummy1 and moddummy2.
35018         ($(objpfx)tst-rec-dlopen): Define.
35019         * dlfcn/moddummy1.c: New file.
35020         * dlfcn/moddummy2.c: New file.
35021         * dlfcn/tst-rec-dlopen.c: New file.
35022         * elf/dl-cache.c (_dl_load_cache_lookup):
35023         Return char*. Copy result with alloca/strcpy/strdup.
35024         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
35025         returns char*. Free cached. If not saving realname
35026         free cached.
35027         * elf/dl-open.c (dl_open_worker): Do not assert that
35028         _r_debug->r_state is RT_CONSISTENT.
35029         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
35030         returns char*.
35032 2015-01-21  Torvald Riegel  <triegel@redhat.com>
35033             Carlos O'Donell  <carlos@redhat.com>
35035         [BZ #12674]
35036         * nptl/sem_waitcommon.c: New file.
35037         * nptl/sem_wait.c: Include sem_waitcommon.c.
35038         (__sem_wait_cleanup, do_futex_wait): Remove.
35039         (__new_sem_wait): Adapt.
35040         (__new_sem_trywait): New function.
35041         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
35042         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
35043         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
35044         (sem_timedwait): Adapt.
35045         * nptl/sem_post.c (__new_sem_post): Adapt.
35046         (futex_wake): New function.
35047         (__old_sem_post): Add release MO fence.
35048         * nptl/sem_open.c (sem_open): Adapt.
35049         * nptl/sem_init.c (__new_sem_init): Adapt.
35050         (futex_private_if_supported): New function.
35051         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
35052         (__old_sem_getvalue): Add using previous code.
35053         * sysdeps/nptl/internaltypes.h: Adapt.
35054         * nptl/tst-sem13.c (do_test): Adapt.
35055         * nptl/tst-sem11.c (main): Adapt.
35056         * nptl/sem_trywait.c: Remove.
35057         * nptl/DESIGN-sem.txt: Remove.
35058         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
35059         (gen-as-const-headers): Remove structsem.sym.
35060         * nptl/structsem.sym: Remove.
35061         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
35062         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
35063         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
35064         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
35065         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
35066         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
35067         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
35068         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
35069         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
35070         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
35071         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
35072         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
35073         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
35074         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
35075         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
35076         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
35077         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
35078         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
35079         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
35080         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
35081         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
35082         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
35084 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
35086         * INSTALL: Regenerated.
35088         * po/libc.pot: Regenerated.
35090 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
35091             Sandra Loosemore  <sandra@codesourcery.com>
35092             Andrew Jenner  <andrew@codesourcery.com>
35093             Joseph Myers  <joseph@codesourcery.com>
35094             Nathan Sidwell  <nathan@codesourcery.com>
35096         * NEWS: Mention new Nios II port.
35097         * sysdeps/nios2/Implies: New file.
35098         * sysdeps/nios2/Makefile: New file.
35099         * sysdeps/nios2/Subdirs: New file.
35100         * sysdeps/nios2/Versions: New file.
35101         * sysdeps/nios2/__longjmp.S: New file.
35102         * sysdeps/nios2/abort-instr.h: New file.
35103         * sysdeps/nios2/backtrace.c: New file.
35104         * sysdeps/nios2/bits/endian.h: New file.
35105         * sysdeps/nios2/bits/fenv.h: New file.
35106         * sysdeps/nios2/bits/link.h: New file.
35107         * sysdeps/nios2/bits/setjmp.h: New file.
35108         * sysdeps/nios2/bsd-_setjmp.S: New file.
35109         * sysdeps/nios2/bsd-setjmp.S: New file.
35110         * sysdeps/nios2/configure: New generated file.
35111         * sysdeps/nios2/configure.ac: New file.
35112         * sysdeps/nios2/crti.S: New file.
35113         * sysdeps/nios2/crtn.S: New file.
35114         * sysdeps/nios2/dl-init.c: New file.
35115         * sysdeps/nios2/dl-machine.h: New file.
35116         * sysdeps/nios2/dl-sysdep.h: New file.
35117         * sysdeps/nios2/dl-tls.h: New file.
35118         * sysdeps/nios2/dl-trampoline.S: New file.
35119         * sysdeps/nios2/gccframe.h: New file.
35120         * sysdeps/nios2/gmp-mparam.h: New file.
35121         * sysdeps/nios2/jmpbuf-offsets.h: New file.
35122         * sysdeps/nios2/jmpbuf-unwind.h: New file.
35123         * sysdeps/nios2/ldsodefs.h: New file.
35124         * sysdeps/nios2/libc-tls.c: New file.
35125         * sysdeps/nios2/libm-test-ulps: New file.
35126         * sysdeps/nios2/machine-gmon.h: New file.
35127         * sysdeps/nios2/math-tests.h: New file.
35128         * sysdeps/nios2/math_private.h: New file.
35129         * sysdeps/nios2/memusage.h: New file.
35130         * sysdeps/nios2/nptl/Makefile: New file.
35131         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
35132         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
35133         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
35134         * sysdeps/nios2/nptl/pthreaddef.h: New file.
35135         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
35136         * sysdeps/nios2/nptl/tls.h: New file.
35137         * sysdeps/nios2/preconfigure: New file.
35138         * sysdeps/nios2/s_fma.c: New file.
35139         * sysdeps/nios2/s_fmaf.c: New file.
35140         * sysdeps/nios2/setjmp.S: New file.
35141         * sysdeps/nios2/sfp-machine.h: New file.
35142         * sysdeps/nios2/sotruss-lib.c: New file.
35143         * sysdeps/nios2/stackguard-macros.h: New file.
35144         * sysdeps/nios2/stackinfo.h: New file.
35145         * sysdeps/nios2/start.S: New file.
35146         * sysdeps/nios2/sysdep.h: New file.
35147         * sysdeps/nios2/tls-macros.h: New file.
35148         * sysdeps/nios2/tst-audit.h: New file.
35149         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
35150         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
35151         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
35152         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
35153         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
35154         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
35155         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
35156         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
35157         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
35158         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
35159         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
35160         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
35161         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
35162         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
35163         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
35164         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
35165         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
35166         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
35167         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
35168         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
35169         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
35170         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
35171         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
35172         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
35173         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
35174         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
35175         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
35176         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
35177         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
35178         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
35179         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
35180         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
35181         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
35182         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
35183         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
35184         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
35185         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
35186         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
35187         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
35188         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
35189         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
35190         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
35191         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
35192         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
35194 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35196         [BZ #17844]
35197         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
35198         (getutent): Use weak_alias in non SHARED case
35199         and default_symbol_version in SHARED case.
35200         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
35201         (getutent_r, pututline): Likewise.
35202         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
35203         (getutid): Likewise.
35204         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
35205         (getutid_r): Likewise.
35206         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
35207         (getutline): Likewise.
35208         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
35209         (getutline_r): Likewise.
35210         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
35211         (updwtmp): Likewise.
35213 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35215         [BZ #17848]
35216         * sysdeps/s390/s390-32/memcmp.S
35217         (memcmp_g5): Rename to __memcmp_g5.
35218         * sysdeps/s390/s390-32/memcpy.S
35219         (memcpy_g5): Rename to __memcpy_g5.
35220         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35221         (memcpy_mvcle) Rename to __memcpy_mvcle.
35222         * sysdeps/s390/s390-32/memset.S
35223         (memset_g5): Rename to __memset_g5.
35224         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35225         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35226         and use prefixed functions.
35227         * sysdeps/s390/s390-32/multiarch/memcmp.S
35228         (memcmp_z196): Rename to __memcmp_z196.
35229         (memcmp_z10): Rename to __memcmp_z10.
35230         (memcmp): Set alias to __memcmp_g5.
35231         (bcmp): Set alias to __memcmp_g5.
35232         * sysdeps/s390/s390-32/multiarch/memcpy.S
35233         (memcpy_z196): Rename to __memcpy_z196.
35234         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35235         (memcpy_z10): Rename to __memcpy_z10.
35236         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35237         (memcpy): Set alias to __memcpy_g5.
35238         * sysdeps/s390/s390-32/multiarch/memset.S
35239         (memset_z196): Rename to __memset_z196.
35240         Jump to __memset_mvcle instead of memset_mvcle.
35241         (memset_z10): Rename to __memset_z10.
35242         Jump to __memset_mvcle instead of memset_mvcle.
35243         (memset_mvcle) Rename to __memset_mvcle.
35244         (memset): Set alias to __memset_g5.
35245         * sysdeps/s390/s390-64/memcmp.S
35246         (memcmp_z900): Rename to __memcmp_z900.
35247         * sysdeps/s390/s390-64/memcpy.S
35248         (memcpy_z900): Rename to __memcpy_z900.
35249         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35250         (memcpy_mvcle) Rename to __memcpy_mvcle.
35251         * sysdeps/s390/s390-64/memset.S
35252         (memset_z900): Rename to __memset_z900.
35253         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
35254         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35255         and use prefixed functions.
35256         * sysdeps/s390/s390-64/multiarch/memcmp.S
35257         (memcmp_z196): Rename to __memcmp_z196.
35258         (memcmp_z10): Rename to __memcmp_z10.
35259         (memcmp): Set alias to __memcmp_z900.
35260         (bcmp): Set alias to __memcmp_z900.
35261         * sysdeps/s390/s390-64/multiarch/memcpy.S
35262         (memcpy_z196): Rename to __memcpy_z196.
35263         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35264         (memcpy_z10): Rename to __memcpy_z10.
35265         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35266         (memcpy): Set alias to __memcpy_z900.
35267         * sysdeps/s390/s390-64/multiarch/memset.S
35268         (memset_z196): Rename to __memset_z196.
35269         Jump to __memset_mvcle instead of memset_mvcle.
35270         (memset_z10): Rename to __memset_z10.
35271         Jump to __memset_mvcle instead of memset_mvcle.
35272         (memset_mvcle) Rename to __memset_mvcle.
35273         (memset): Set alias to __memset_z900.
35275 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
35277         [BZ #17748]
35278         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
35279         __fesetenv instead of fesetenv.
35281 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35283         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
35284         macro.
35286 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35288         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
35289         regression on LE.
35291         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
35292         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
35293         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35294         strncmp-power8 object.
35295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35296         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
35297         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
35298         * NEWS: Update.
35300 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35301             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35303         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
35304         trailing byte check.
35306 2015-01-13  David S. Miller  <davem@davemloft.net>
35308         * include/signal.h (__sigreturn): Guard with __USE_MISC.
35310 2015-01-13  Roland McGrath  <roland@hack.frob.com>
35312         * login/logout.c (logout): Use memset rather than bzero.
35313         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
35314         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
35315         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
35316         (_gethtbyaddr): Likewise.
35317         * locale/programs/simple-hash.c (bcopy): Macro removed.
35319 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35321         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35322         Add strcmp-power8 object.
35323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35324         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
35325         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
35326         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
35327         __strcmp_power8 implementation.
35328         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
35329         * NEWS: Update.
35331         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35332         Add strncpy-power8 and stpncpy-power8 objects.
35333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35334         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
35335         implementations.
35336         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
35337         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
35338         __stpncpy_power8 implementation.
35339         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
35340         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
35341         __strncpy_power8 implementation.
35342         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
35343         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35344         * NEWS: Update.
35346         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
35347         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
35348         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
35350         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35351         strncat-power8 object.
35352         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
35353         __strcat_power8 implementation.
35354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35355         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
35356         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
35357         optimized strcat for power8.
35359         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35360         strcpy-power8 and stpcpy-power8 objects.
35361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35362         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35363         implementations.
35364         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
35365         multiarch stpcpy implementation for POWER8.
35366         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
35367         multiarch strcpy implementation for POWER8.
35368         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
35369         __strcpy_power8 function.
35370         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
35371         stpcpy for POWER8.
35372         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
35373         strcpy for POWER8.
35374         * NEWS: Update.
35376 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
35378         [BZ #16009]
35379         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
35380         weights and rules. Use do_xfrm_cached if data fits in cache,
35381         do_xfrm otherwise.  Moved former main loop to...
35382         * (do_xfrm_cached): New function.
35383         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
35384         find_idx, find_position and stack_push.
35385         * (find_idx): New function.
35386         * (find_position): Likewise.
35387         * localedata/sort-test.sh: Added test run for do_xfrm.
35388         * localedata/xfrm-test.c (main): Added command line option
35389         -nocache to run the test with strings that are too large for
35390         the STRXFRM cache.
35392 2015-01-13  Torvald Riegel  <triegel@redhat.com>
35394         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
35395         variable to lll_futex_wake call, not the value itself.
35397 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
35399         [BZ #17803]
35400         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
35401         twom64.  Adjust value to 0x1p-64L.
35402         (__scalblnl): Only return standard underflowing result for K <=
35403         -64 not K <= -63; adjust exponent for underflowing result by 64
35404         not 63.
35405         * math/libm-test.inc (scalbn_test_data): Add more tests.
35406         (scalbln_test_data): Likewise.
35408         [BZ #17834]
35409         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
35410         0x1p63L.
35411         (__scalblnl): Get new exponent of adjusted subnormal value from ES
35412         not HX.
35413         * math/libm-test.inc (scalbn_test_data): Add more tests.
35414         (scalbln_test_data): Likewise.
35416 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35417             Stefani Seibold  <stefani@seibold.net>
35419         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
35420         (sysdep_routines): Add dl-vdso here, ...
35421         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
35422         (sysdep_routines): ... not here.
35423         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
35424         fallback when vDSO is not presented.
35425         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35426         Define with libc_hidden_proto/libc_hidden_data_def definitions.
35427         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
35428         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
35429         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
35430         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
35431         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
35432         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
35433         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
35434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
35435         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
35436         fallback configurable symbol when vDSO is not available.
35437         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
35438         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
35439         be able to redefine fallback symbol when vDSO is not available.
35440         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
35441         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
35443 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35445         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
35446         (TLS_INIT_TP): Add tm_capable initialization.
35447         (TLS_DEFINE_INIT_TP): Likewise.
35448         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
35449         TCB.
35450         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
35451         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
35452         calculation.
35453         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
35454         transactoion is lock elision is built and TCB tm_capable is set.
35455         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
35456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35457         (INTERNAL_SYSCALL_NCS): Likewise.
35458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35459         (INTERNAL_SYSCALL_NCS): Likewise.
35460         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
35462         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
35463         for powerpc.
35464         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35465         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
35466         and remove it for 32 bits case.
35467         [pthread_rwlock_t] (__rwelision): New field for lock elision.
35468         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
35469         initialization.
35470         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
35471         Disable lock elision with rdlocks if elision is not available.
35473         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
35474         (sysdep_routines): Add lock elision objects.
35475         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35476         [pthread_mutex_t] (__spins): Rework to add lock elision field.
35477         [pthread_mutex_t] (__elision): Add field.
35478         [__PTHREAD_SPINS]: Adjust to init lock elision field.
35479         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
35480         elision definitions for powerpc.
35481         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
35482         implementation of lock elision for powerpc.
35483         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
35484         implementation of timed lock elision for powerpc.
35485         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
35486         implementation of trylock with lock elision for powerpc.
35487         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
35488         implementaion of unlock for lock elision for powerpc.
35489         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
35490         automatic enable lock elision for mutexes.
35491         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
35492         transaction execution definitions for powerpc.
35493         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
35494         definitions.
35495         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
35496         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
35497         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
35498         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
35499         * NEWS: Update.
35501 2015-01-09  Roland McGrath  <roland@hack.frob.com>
35503         * sysdeps/posix/shm-directory.c: Use <> rather than ""
35504         for #include of <shm-directory.h>.
35506 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
35508         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
35509         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
35511 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
35513         [BZ #17791]
35514         * NEWS: Mention bug fix.
35515         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
35516         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
35517         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
35519 2015-01-09  Torvald Riegel <triegel@redhat.com>
35521         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
35523 2015-01-09  Torvald Riegel <triegel@redhat.com>
35525         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
35527 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35529         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
35530         pointer and cast to uintptr_t.
35532 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35534         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
35535         removed.
35536         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
35538 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35540         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
35541         of 0.
35543 2015-01-08  Roland McGrath  <roland@hack.frob.com>
35545         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
35546         <nptl/pthreadP.h> instead.
35547         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
35549         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
35550         already defined.
35551         [__SIGRTMIN] (init): Function removed.
35552         [__SIGRTMIN] (initialized): Variable removed.
35553         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
35554         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
35555         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
35556         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
35557         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
35558         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
35559         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
35560         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
35561         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
35562         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
35563         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
35564         * sysdeps/nptl/allocrtsig.c: New file.
35565         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
35566         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
35567         * sysdeps/generic/testrtsig.h: File removed.
35569         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
35570         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
35572         * nptl/nptl-init.c (pthread_functions): Conditionalize
35573         .ptr__nptl_setxid initialization on [SIGSETXID].
35575         * sysdeps/nptl/sys/procfs.h: New file.
35576         * nptl_db/Makefile (headers): Add it.
35577         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
35579         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
35580         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35581         * nptl/pthread_attr_setaffinity.c: Include it.
35582         * nptl/pthread_setattr_default_np.c: Likewise.
35583         * nptl/check-cpuset.h: New file.
35585 2015-01-08  Richard Henderson  <rth@redhat.com>
35587         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
35588         (CFLAGS-tst-execstack-prog.c): Likewise.
35589         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
35591 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
35592             Sandra Loosemore  <sandra@codesourcery.com>
35593             Andrew Jenner  <andrew@codesourcery.com>
35594             Joseph Myers  <joseph@codesourcery.com>
35595             Nathan Sidwell  <nathan@codesourcery.com>
35597         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
35598         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
35599         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
35600         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
35601         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
35602         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
35603         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35604         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35605         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35606         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35607         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35608         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35609         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35610         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35611         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35612         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35613         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35615 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35617         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35618         timespec struct member in syscall macro.
35619         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35620         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35621         first timeval struct member in syscall macro.
35622         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35624 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35626         [BZ #17748]
35627         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35628         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35629         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35630         __feupdateenv and define as weak alias of __feupdateenv.  Use
35631         libm_hidden_weak.
35632         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35633         libm_hidden_def.
35634         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35635         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35636         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35637         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35638         libm_hidden_def.
35639         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35640         __feupdateenv and define as weak alias of __feupdateenv.  Use
35641         libm_hidden_weak.
35642         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35643         libm_hidden_def.
35644         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35645         __feupdateenv and define as weak alias of __feupdateenv.  Use
35646         libm_hidden_weak.
35647         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35648         libm_hidden_def.
35649         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35650         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35651         (__feupdateenv): Likewise.
35652         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35653         __feupdateenv and define as weak alias of __feupdateenv.  Use
35654         libm_hidden_weak.
35655         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35656         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35657         libm_hidden_def.
35658         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35659         function.
35660         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35661         libm_hidden_def.
35662         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35663         __feupdateenv instead of feupdateenv.
35664         (default_libc_feupdateenv_test): Likewise.
35665         (libc_feresetround_ctx): Likewise.
35667 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35669         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35670         prototype.
35672 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35674         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35675         COLL_SYM in a couple of places to avoid uninitialized variable
35676         wanings on tilegx gcc 4.8.2.
35678 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35680         * sysdeps/aarch64/strcpy.S: New file.
35681         * sysdeps/aarch64/stpcpy.S: New file.
35682         * NEWS: Updated.
35684 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35686         * sysdeps/aarch64/strrchr.S: New file.
35687         * NEWS: Updated.
35689 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35691         [BZ #17658]
35692         * stdlib/setenv.c: Fix memory leak when setting large,
35693         duplicate string.
35695 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35697         [BZ #17273]
35698         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35699         and tabs from buffer before parsing fstab entry.
35700         * misc/tst-mntent.c (main): Add test for mount entry with
35701         trailing spaces and tabs.
35703 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35705         [BZ #17748]
35706         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35707         * math/fesetround.c (fesetround): Rename to __fesetround and
35708         define as weak alias of __fesetround.  Use libm_hidden_weak.
35709         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35710         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35711         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35712         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35713         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35714         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35715         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35716         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35717         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35718         __fesetround_inline.
35719         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35720         __fesetround_inline instead of __fesetround.
35721         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35722         __fesetround and define as weak alias of __fesetround.  Use
35723         libm_hidden_weak.  Call __fesetround_inline instead of
35724         __fesetround.
35725         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35726         __fesetround and define as weak alias of __fesetround.  Use
35727         libm_hidden_weak.
35728         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35729         Likewise.
35730         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35731         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35732         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35733         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35734         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35735         __fesetround and define as weak alias of __fesetround.  Use
35736         libm_hidden_weak.
35737         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35738         __fesetround instead of fesetround.
35739         (default_libc_feholdexcept_setround): Likewise.
35740         (libc_feholdsetround_ctx): Likewise.
35741         (libc_feholdsetround_noex_ctx): Likewise.
35743         [BZ #17748]
35744         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35745         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35746         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35747         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35748         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35749         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35750         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35751         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35752         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35753         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35754         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35755         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35756         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35757         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35758         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35759         libm_hidden_def.
35760         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35761         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35762         Likewise.
35763         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35764         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35765         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35766         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35767         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35768         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35769         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35770         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35771         __fesetenv instead of fesetenv.
35772         (libc_feresetround_noex_ctx): Likewise.
35773         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35774         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35775         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35776         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35777         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35778         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35779         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35780         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35781         (__feupdateenv): Likewise.
35782         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35783         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35784         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35785         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35787 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35789         [BZ #17806]
35790         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35791         addresses have been freed.
35793 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35795         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35796         and nservall.
35798 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35800         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35801         Clean up check_pf allocation pattern. addresses
35803 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35805         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35806         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35807         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35808         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35809         * nptl/pthread_join.c (pthread_join): Likewise.
35810         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35811         * sysdeps/posix/waitid.c (__waitid): Likewise.
35812         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35813         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35814         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35815         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35816         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35817         Likewise.
35818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35819         (__libc_pread64): Likewise.
35820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35821         (__libc_pwrite): Likewise.
35822         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35823         (__libc_pwrite64): Likewsie.
35824         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35825         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35826         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35827         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35828         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35829         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35830         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35832         Likewise.
35833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35834         (__libc_pread64): Likewise.
35835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35836         Likewise.
35837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35838         (__libc_pwrite64): Likewise.
35839         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35840         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35841         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35842         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35843         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35844         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35845         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35846         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35847         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35848         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35849         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35850         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35851         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35852         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35853         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35854         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35855         Likewise.
35857 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35859         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35860         (CFLAGS-test-double.c): Likewise.
35861         (CFLAGS-test-ldouble.c): Likewise.
35862         (CPPFLAGS-test-ifloat.c): Likewise.
35863         (CPPFLAGS-test-idouble.c): Likewise.
35864         (CPPFLAGS-test-ildoubl.c): Likewise.
35865         (CFLAGS-test-test-fenv.c): Remove variable.
35866         (CFLAGS-test-misc.c): Likewise.
35868 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35870         [BZ #17797]
35871         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35872         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35873         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35874         CLOCKS_PER_SEC == 1000000.
35875         * time/clocktest.c (main): Replace %ld with %jd and cast to
35876         intmax_t.
35878 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35880         * sysdeps/generic/unwind-resume.h: New file.
35881         * sysdeps/gnu/unwind-resume.c: Include it.
35882         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35883         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35884         argument list.
35885         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35886         global rather than static.
35887         (_Unwind_Resume): Update user.
35888         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35889         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35890         rather than static.  Add __attribute__ ((cold)).
35891         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35892         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35893         * sysdeps/arm/arm-unwind-resume.S: New file.
35894         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35895         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35896         * sysdeps/arm/Makefile [$(subdir) = csu]
35897         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35898         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35899         Add rt-arm-unwind-resume.
35900         [$(subdir) = nptl]
35901         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35902         Add pt-arm-unwind-resume.
35903         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35904         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35906 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35908         [BZ #17748]
35909         * include/fenv.h (__feholdexcept): Declare.  Use
35910         libm_hidden_proto.
35911         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35912         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35913         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35914         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35915         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35916         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35917         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35918         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35919         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35920         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35921         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35922         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35923         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35924         (feholdexcept): Likewise.
35925         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35926         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35927         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35928         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35929         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35930         __feholdexcept instead of feholdexcept.
35931         (default_libc_feholdexcept_setround): Likewise.
35933 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35935         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35936         to avoid using stl/str to align destination.
35938 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35940         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35942 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35944         [BZ #17796]
35945         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35946         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35947         Define as weak alias not strong alias.
35949 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35951         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35952         bltzal with addiupc.
35953         (RTLD_START): Ditto.
35955 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35957         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35958         for __vdso_* functions in declarations.
35959         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35960         definitions.
35961         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35962         INTERNAL_VSYSCALL): Use struct return types to check for error.
35964         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35965         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35966         function with cast from llround().
35967         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35968         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35969         Define.
35971 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35973         [BZ #17793]
35974         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35975         Define as weak alias not strong alias.
35977         [BZ #17635]
35978         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35979         ...
35980         * ctype/ctype-extn.c: ... here.
35981         (__isblank_l): Move to ...
35982         * ctype/ctype-c99_l.c: ... here.  New file.
35983         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35984         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35985         Remove variable.
35986         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35987         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35988         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35989         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35990         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35992         [BZ #17777]
35993         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35994         (posix_fadvise64): Define as weak alias not strong alias.
35995         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35996         (posix_fallocate64): Likewise.
35997         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35998         Remove variable.
35999         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36000         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36001         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36002         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36003         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36005 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
36007         [BZ #16191]
36008         * NEWS: Mention bug fix.
36009         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
36010         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
36011         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
36012         (HOST_STACK_END_ADDR): Likewise.
36014 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36016         [BZ #17748]
36017         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
36018         * math/fegetround.c (fegetround): Rename to __fegetround and
36019         define as weak alias of __fegetround.  Use libm_hidden_weak.
36020         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
36021         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
36022         * sysdeps/arm/fegetround.c (fegetround): Likewise.
36023         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
36024         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36025         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
36026         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
36027         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
36028         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36029         Undefine after rather than before function definition; use
36030         parentheses around function name in definition.
36031         (__fegetround): Also undefine macro after function definition.
36032         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
36033         __fegetround and define as weak alias of __fegetround.  Use
36034         libm_hidden_weak.  Do not undefine as macro.
36035         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36036         Likewise.
36037         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
36038         __fegetround and define as weak alias of __fegetround.  Use
36039         libm_hidden_weak.
36040         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36041         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36042         * sysdeps/tile/math_private.h (__fegetround): New inline function.
36043         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
36044         __fegetround and define as weak alias of __fegetround.  Use
36045         libm_hidden_weak.
36046         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
36047         __fegetround instead of fegetround.
36049         [BZ #17782]
36050         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
36051         Condition macro definition on [__USE_MISC].
36053         [BZ #17781]
36054         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36055         (struct sigaction): Change type of sa_flags field to int.
36057         [BZ #17780]
36058         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
36059         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
36060         __glibc_reserved0.
36062         * nptl/version.c (banner): Use single year in copyright notice.
36064         * NEWS: Update copyright dates.
36065         * catgets/gencat.c (print_version): Likewise.
36066         * csu/version.c (banner): Likewise.
36067         * debug/catchsegv.sh: Likewise.
36068         * debug/pcprofiledump.c (print_version): Likewise.
36069         * debug/xtrace.sh (do_version): Likewise.
36070         * elf/ldconfig.c (print_version): Likewise.
36071         * elf/ldd.bash.in: Likewise.
36072         * elf/pldd.c (print_version): Likewise.
36073         * elf/sotruss.sh: Likewise.
36074         * elf/sprof.c (print_version): Likewise.
36075         * iconv/iconv_prog.c (print_version): Likewise.
36076         * iconv/iconvconfig.c (print_version): Likewise.
36077         * locale/programs/locale.c (print_version): Likewise.
36078         * locale/programs/localedef.c (print_version): Likewise.
36079         * login/programs/pt_chown.c (print_version): Likewise.
36080         * malloc/memusage.sh (do_version): Likewise.
36081         * malloc/memusagestat.c (print_version): Likewise.
36082         * malloc/mtrace.pl: Likewise.
36083         * manual/libc.texinfo: Likewise.
36084         * nptl/version.c (banner): Likewise.
36085         * nscd/nscd.c (print_version): Likewise.
36086         * nss/getent.c (print_version): Likewise.
36087         * nss/makedb.c (print_version): Likewise.
36088         * posix/getconf.c (main): Likewise.
36089         * scripts/test-installation.pl: Likewise.
36090         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
36092 2015-01-02  Will Newton  <will.newton@linaro.org>
36094         * sysdeps/arm/armv7/configure: Removed.
36095         * sysdeps/arm/armv7/configure.ac: Likewise.
36097 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36099         * All files with FSF copyright notices: Update copyright dates
36100         using scripts/update-copyrights.
36101         * intl/plural.c: Regenerated.
36102         * locale/programs/charmap-kw.h: Likewise.
36103         * locale/programs/locfile-kw.h: Likewise.
36105 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36107         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
36109 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36111         [BZ #17748]
36112         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
36113         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
36114         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36115         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36116         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36117         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
36118         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36119         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
36120         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36121         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36122         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36123         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36124         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36125         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36126         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
36127         libm_hidden_def.
36128         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
36129         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
36130         Likewise.
36131         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36132         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36133         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36134         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36135         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
36136         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36137         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36138         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
36139         __fegetenv instead of fegetenv.
36140         (libc_feholdsetround_noex_ctx): Likewise.
36142 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36144         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
36145         (Elf_MIPS_ABIFlags_v0): New structure.
36146         (EF_MIPS_FP64): Define.
36147         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
36148         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
36149         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
36150         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
36151         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
36152         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
36153         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
36154         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
36155         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
36156         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
36157         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
36158         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
36159         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
36160         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
36161         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
36162         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
36163         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
36164         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
36165         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
36166         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
36167         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
36168         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
36169         field.
36170         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
36171         EF_MIPS_FP64.
36172         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
36173         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
36174         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
36175         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
36176         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
36177         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
36178         * sysdeps/mips/tst-abi-interlink.c: Likewise.
36179         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
36180         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
36181         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
36182         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
36183         record the current FP ABI extension.
36184         (mips-mode-switch): Define to show if kernel headers support mode
36185         switching.
36186         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
36187         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
36188         supported SYSV ABI version to 3.
36189         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
36190         feature.
36192 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36193             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36195         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
36196         path.
36197         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
36199 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36201         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
36202         __fegetround and redefine to call __fegetround.  Remove condition
36203         on [!__NO_MATH_INLINES].
36204         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
36205         function.
36206         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
36207         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36208         Remove macro.
36209         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
36210         instead of <fenv_libc.h>.
36211         (__llrintl): Call fegetround instead of __fegetround.
36212         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
36213         instead of <fenv_libc.h>.
36214         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36215         (__lrintl): Call fegetround instead of __fegetround.
36216         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
36217         instead of <fenv_libc.h>.
36218         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36219         (__rintl): Call fegetround instead of __fegetround.
36221 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36223         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
36224         arrays.
36226 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36228         [BZ #17775]
36229         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
36230         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
36231         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
36233 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36235         * sysdeps/i386/tls-macros.h: Include <features.h>.
36236         (TLS_LE): Use non-PIC version for GCC >= 5.0.
36237         (TLS_IE): Likewise.
36238         (TLS_LD): Likewise.
36239         (TLS_GD): Likewise.
36240         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
36241         define for GCC >= 5.0.
36243 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
36245         * math/test-fenv.c (test_single_exception, set_single_exc,
36246         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
36247         feexcp_mask_test, feenable_test, fe_single_test): Add
36248         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
36249         case where they are not used.
36250         * math/libm-test.inc: Likewise.
36251         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
36252         unused in the absence of FP rounding/exception support.
36253         * stdio-common/tst-printf-round.c: Likewise.
36254         * stdlib/tst-strtod-round.c: Likewise.
36255         * stdlib/tst-strtod-underflow.c: Likewise.
36257 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
36259         [BZ #17723]
36260         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
36261         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
36262         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36263         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36264         libm_hidden_weak.
36265         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
36266         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36267         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
36268         libm_hidden_def.
36269         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36270         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36271         libm_hidden_weak.
36272         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
36273         Likewise.
36274         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
36275         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36276         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36277         libm_hidden_weak.
36278         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36279         libm_hidden_def.
36280         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36281         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
36282         (__feraiseexcept): Likewise.
36283         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36284         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36285         libm_hidden_weak.
36286         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36287         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36288         libm_hidden_def.
36289         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
36290         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36291         Use libm_hidden_def.
36292         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
36293         libm_hidden_def.
36294         (feraiseexcept): Define as weak not strong alias.  Use
36295         libm_hidden_weak.
36296         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
36297         New inline function.  Factored out of ...
36298         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
36299         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
36300         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
36301         feraiseexcept.
36302         * math/w_acos.c (__acos): Likewise.
36303         * math/w_asin.c (__asin): Likewise.
36304         * math/w_ilogb.c (__ilogb): Likewise.
36305         * math/w_j0.c (y0): Likewise.
36306         * math/w_j1.c (y1): Likewise.
36307         * math/w_jn.c (yn): Likewise.
36308         * math/w_log.c (__log): Likewise.
36309         * math/w_log10.c (__log10): Likewise.
36310         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
36311         * sysdeps/aarch64/fpu/math_private.h
36312         (libc_feupdateenv_test_aarch64): Likewise.
36313         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36314         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
36315         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
36316         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36317         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36318         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36319         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
36320         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36321         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36322         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36324 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36326         [BZ #17732]
36327         * io/test-utime.c (main): Replace %ld with %jd and cast to
36328         intmax_t.
36329         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
36330         * nptl/tst-mutex5.c: Include <stdint.h>.
36331         (do_test): Replace %ld with %jd and cast to intmax_t.
36332         * posix/tst-regex.c (run_test): Likewise.
36333         (run_test_backwards): Likewise.
36334         * rt/tst-clock.c: Include <stdint.h>.
36335         (clock_test): Replace %ld with %jd and cast to intmax_t.
36336         * rt/tst-cpuclock1.c: Include <stdint.h>.
36337         (do_test): Replace %lu with %ju and cast to uintmax_t.
36338         * rt/tst-cpuclock2.c: Include <stdint.h>.
36339         (do_test): Replace %lu with %ju and cast to uintmax_t.
36340         * rt/tst-mqueue1.c: Include <stdint.h>.
36341         (check_attrs): Replace %ld with %jd and cast to intmax_t.
36342         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
36343         intmax_t.
36344         * rt/tst-mqueue4.c (do_test): Likewise.
36345         * rt/tst-timer4.c: Include <stdint.h>.
36346         (check_ts): Replace %ld with %jd and cast to intmax_t.
36347         (do_test): Likewise.
36348         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
36349         and cast to intmax_t.
36350         * sysdeps/pthread/tst-timer.c (main): Likewise.
36351         * time/clocktest.c (main): Likewise.
36352         * time/tst-posixtz.c (do_test): Likewise.
36353         * timezone/tst-timezone.c (main): Likewise.
36355 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36356             H.J. Lu  <hongjiu.lu@intel.com>
36358         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
36359         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36360         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
36361         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
36362         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
36363         version if bit_Fast_Unaligned_Load is set.
36364         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36365         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36366         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36367         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36368         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36369         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36370         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36371         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
36372         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
36373         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
36374         to 4.
36375         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
36376         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
36377         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
36378         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
36380 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
36382         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
36383         instead of #if to avoid a Wundef warning.
36384         * stdlib/tst-limits.c (do_test): Likewise.
36386         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
36387         parallel other exception macros.
36388         (fegetenv): Convert from macro to extern inline so that it applies
36389         retroactively to inline functions already seen by the compiler.
36390         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
36392         * posix/Makefile (before-compile): Use $(objpfx) for
36393         posix-conf-vars-def.h.
36395 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36397         * posix/getconf.c (main): Use size_t for type of I.
36398         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
36399         NSPEC.
36401         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
36402         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
36403         * posix/posix-envs.def: Likewise.
36404         * sysdeps/posix/sysconf.c: Likewise.
36405         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
36406         (specs): Remove array.
36407         * scripts/gen-posix-conf-vars.awk: Support generation of specs
36408         array.
36410         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
36411         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
36412         (__sysconf): Use CONF_IS_* macros.
36414         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
36415         ($(objpfx)posix-conf-vars-def.h): New target.
36416         * posix/posix-conf-vars.list: New file.
36417         * posix/posix-conf-vars.h: New file.
36418         * posix/confstr.c: Include posix-conf-vars.h.
36419         (confstr): Use CONF_IS_* macros.
36420         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
36421         CONF_IS_* macros.
36422         * scripts/gen-posix-conf-vars.awk: New file.
36424 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
36426         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
36427         fegetround): Add no-op macros to avoid linknamespace issues.
36429         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
36430         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
36432         * sysdeps/unix/sysv/linux/tile/sysdep.h
36433         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
36434         assembly-specific section to avoid a redefinition warning.
36436         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
36437         long before casting to pointer to avoid a cast warning.
36439 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
36441         * sysdeps/tile/tilegx/Implies: New file.
36443 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
36445         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
36447 2014-12-23  Florian Weimer  <fweimer@redhat.com>
36449         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
36451 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36453         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
36454         not define.
36455         * sysdeps/unix/sysv/linux/utimes.c: Do not include
36456         <kernel-features.h>.
36457         (__utimes) [__NR_utimes]: Make code unconditional.
36458         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
36459         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36460         (__ASSUME_UTIMES): Do not undefine.
36461         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36462         (__ASSUME_UTIMES): Likewise.
36463         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36464         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
36465         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
36466         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
36468 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36470         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
36472 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
36474         [BZ #17747]
36475         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
36476         alias to weak alias for j0l, y0l.
36477         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
36478         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
36480         [BZ #17746]
36481         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
36482         conversion.
36484 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36486         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
36487         to zero if not already defined.
36489 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36491         [BZ #17724]
36492         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
36493         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
36494         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
36495         (char *) casts added.
36496         * sysdeps/ieee754/k_standardf.c: New file.
36497         * sysdeps/ieee754/k_standardl.c: Likewise.
36498         * math/Makefile (libm-support): Remove k_standard.
36499         (libm-calls): Add k_standard.
36501 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36503         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36504         Optimize to avoid an unnecessary FPCR read.
36506 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36508         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
36509         Optimize to reduce FPCR/FPSR accesses.
36511 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36513         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
36514         Call libc_fetestexcept_aarch64.
36516 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36518         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
36519         Call libc_fesetround_aarch64.
36521 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36523         [BZ #17733]
36524         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
36525         (__bind): Do not define as weak alias.
36526         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
36527         define.
36528         (__getsockname): Do not define as weak alias.
36530 2014-12-22  Will Newton  <will.newton@linaro.org>
36532         * manual/install.texi: Document that we require bison 2.7
36533         or above.
36534         * INSTALL: Regenerate.
36535         * configure.ac: Use AC_CHECK_PROG_VER instead of
36536         AC_PATH_PROG when checking for bison and check for
36537         version 2.7 or above.
36538         * configure: Regenerate.
36540 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
36542         [BZ #17745]
36543         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
36544         * sysdeps/tile/ffsll.c (ffsll): To here.
36546         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
36548 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36550         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
36551         if not defined.
36552         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
36553         definition.
36554         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36555         hidden ___tls_get_addr.
36556         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36557         hidden __tls_get_addr.
36558         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
36559         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
36560         Likewise.
36562 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36564         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
36565         _dl_init call.
36567 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36569         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
36570         from "call _dl_init@PLT".
36571         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
36573 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
36575         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36576         guarantees.
36578 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
36580         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
36582 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36584         [BZ #17744]
36585         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
36586         strnlen.
36588 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36590         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
36591         of multu on MIPSr6.
36592         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
36593         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
36594         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
36595         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
36596         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
36598 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36600         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
36601         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
36602         (PTR_SUBU): Use subu for mips32r6/mips64r6.
36603         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36604         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36605         mips32r6/mips64r6.
36606         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36608 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36610         * string/strncat.c (STRNCAT): Simplify implementation.
36612 2014-12-19  David S. Miller  <davem@davemloft.net>
36614         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36615         access the quad as both a long double and as a series of 4 words.
36617         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36618         link_map->l_info array access.
36620 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36622         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36624         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36625         * math/atest-exp2.c (TIMEOUT): Likewise.
36626         * math/atest-sincos.c (TIMEOUT): Likewise.
36628 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36630         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36631         -Wno-error with -fno-builtin-lround.
36633 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36635         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36636         Contains futex constants and functions moved over from ...
36637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36638         <lowlevellock-futex.h>.
36639         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36640         (lll_timedwait_tid): Add comments and parentheses around macro
36641         arguments.
36643 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36645         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36646         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36647         (__lll_private_flag): Remove.
36648         (lll_futex_wait): Likewise.
36649         (lll_futex_timed_wait): Likewise.
36650         (lll_futex_wake): Likewise.
36651         (lll_futex_requeue): Likewise.
36652         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36653         (__lll_timedwait_tid): Spell out argument names.
36654         (lll_timedwait_tid): Add comments and parentheses around macro
36655         arguments.
36656         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36657         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36659 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36661         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36662         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36663         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36664         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36665         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36666         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36667         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36668         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36669         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36670         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36671         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36673         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36675         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36676         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36677         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36678         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36679         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36681 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36683         * sysdeps/x86_64/x32/Makefile: New file.
36685 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36687         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36688         1L with (mp_limb_t) 1.
36690 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36692         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36693         * nptl/libc_pthread_init.c: ... here.
36694         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36695         * nptl/register-atfork.c: ... here.
36697         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36698         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36699         Use assert_perror to check its return value.
36700         (__gai_create_helper_thread): Likewise.
36702         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36704         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36706 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36708         [BZ #17725]
36709         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36710         __profil_counter.
36711         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36712         Likewise.
36713         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36714         Likewise.
36715         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36716         Likewise.
36717         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36718         (profil_counter): Likewise.
36719         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36720         (profil_counter): Likewise.
36721         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36722         Likewise.
36723         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36724         Likewise.
36725         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36726         (profil_counter): Likewise.
36727         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36728         Likewise.
36729         [!__profil_counter] (profil_counter): Define as weak alias of
36730         __profil_counter.
36731         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36732         (profil_counter): Rename to __profil_counter.
36733         [!__profil_counter] (profil_counter): Define as weak alias of
36734         __profil_counter.
36735         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36736         (profil_counter): Rename to __profil_counter.
36737         [!__profil_counter] (profil_counter): Define as weak alias of
36738         __profil_counter.
36739         * sysdeps/posix/profil.c: Update comment referring to
36740         profil_counter.
36741         (__profil): Use __profil_counter instead of profil_counter.
36742         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36743         __profil_counter.  Use __profil_counter_ushort and
36744         __profil_counter_uint in definitions.
36745         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36746         instead of profil_counter_uint and profil_counter_ushort.
36748         [BZ #17722]
36749         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36750         define as weak alias of __inet_makeaddr.
36751         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36752         as weak alias of __inet_addr.
36753         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36754         as weak alias of __inet_pton.  Use libc_hidden_weak.
36755         * include/arpa/inet.h (__inet_pton): Declare.  Use
36756         libc_hidden_proto.
36757         (inet_makeaddr): Don't use libc_hidden_proto.
36758         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36759         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36760         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36761         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36762         Remove variable.
36763         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36764         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36766 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36768         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36770 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36772         * stdio-common/bug-vfprintf-nargs.c (do_test):
36773         Cast value to intptr_t to avoid format warning
36774         for usage with PRIdPTR printing macro.
36776 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36778         * libio/tst-widetext.c (do_test):
36779         Use format type %td instead of %Zd for ptrdiff_t
36780         in order to avoid format warning.
36782 2014-12-17  Andreas Schwab  <schwab@suse.de>
36784         * nscd/mem.c (gc): Add size_t cast to match printf format.
36786 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36788         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36789         (init): Apply PTR_MANGLE to pointers before storing them.
36790         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36791         before using them.
36793 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36795         [BZ #17719]
36796         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36797         define as weak alias of __memrchr.
36798         (__memrchr): Do not define as strong alias of memrchr.
36799         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36800         Remove variable.
36801         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36802         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36803         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36805         [BZ #17717]
36806         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36807         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36808         (if_indextoname): Rename to __if_indextoname and define as weak
36809         alias of __if_indextoname.  Use libc_hidden_weak.
36810         (if_freenameindex): Rename to __if_freenameindex and define as
36811         weak alias of __if_freenameindex.
36812         (if_nameindex): Rename to __if_nameindex and define as weak alias
36813         of __if_nameindex.
36814         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36815         __if_nametoindex and define as weak alias of __if_nametoindex.
36816         Use libc_hidden_weak.
36817         (if_freenameindex): Rename to __if_freenameindex and define as
36818         weak alias of __if_freenameindex.
36819         (if_nameindex): Rename to __if_nameindex and define as weak alias
36820         of __if_nameindex.
36821         (if_indextoname): Rename to __if_indextoname and define as weak
36822         alias of __if_indextoname.  Use libc_hidden_weak.
36823         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36824         __if_nametoindex and define as weak alias of __if_nametoindex.
36825         Use libc_hidden_weak.
36826         (if_freenameindex): Rename to __if_freenameindex and define as
36827         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36828         (if_nameindex_netlink): Use __if_freenameindex instead of
36829         if_freenameindex.
36830         (if_nameindex): Rename to __if_nameindex and define as weak alias
36831         of __if_nameindex.  Use libc_hidden_weak.
36832         (if_indextoname): Rename to __if_indextoname and define as weak
36833         alias of __if_indextoname.  Use libc_hidden_weak.
36834         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36835         libc_hidden_proto.
36836         [!_ISOMAC] (__if_freenameindex): Likewise.
36837         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36838         if_nametoindex.
36839         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36840         variable.
36841         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36842         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36843         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36844         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36845         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36846         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36847         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36849         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36850         Remove variable.
36851         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36852         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36854 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36856         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36857         subscript above bounds'
36859         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36860         bounds.
36862 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36864         * libio/tst-fopenloc.c: Use test-skeleton.c.
36866         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36867         (entry): Rename to ITEM.
36868         (do_test, comp): Adjust.
36870         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36872 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36874         * string/tester.c: Include <libc-internal.h>.
36875         (test_memset): Ignore -Wmemset-transposed-args.
36877 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36879         * misc/tst-mntent2.c (do_test): Fix warning.
36881 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36883         * elf/tst-unique4lib.cc(a): Mark as used.
36885 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36887         [BZ #17630]
36888         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36889         names.
36891 2014-12-16  Allan McRae  <allan@archlinux.org>
36893         * stdio-common/Makefile (tests): Re-add bug26.
36895 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36897         [BZ #17657]
36898         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36899         static array.
36901 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36903         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36904         (__lll_lock_wait): Likewise.
36905         (__lll_timedlock_wait): Likewise.
36906         (__lll_timedwait_tid): Likewise.
36907         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36908         (__lll_robust_timedlock_wait): Likewise.
36909         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36910         (lll_cond_trylock): Likewise.
36911         (__lll_lock): Likewise.
36912         (__lll_robust_lock): Likewise.
36913         (__lll_cond_lock): Likewise.
36914         (lll_robust_cond_lock): Likewise.
36915         (__lll_timedlock): Likewise.
36916         (__lll_robust_timedlock): Likewise.
36917         (__lll_unlock): Likewise.
36918         (__lll_robust_unlock): Likewise.
36919         (lll_wait_tid): Likewise.
36920         (lll_timedwait_tid): Likewise.
36922 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36924         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36926 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36928         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36930 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36932         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36933         * stdio-common/tst-sprintf.c: Likewise.
36935 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36937         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36939 2014-12-15  Jeff Law  <law@redhat.com>
36941         [BZ #16617]
36942         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36943         on the heap.  (CVE-2012-3406)
36944         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36945         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36946         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36948 2014-12-15  Will Newton  <will.newton@linaro.org>
36950         * manual/install.texi: Bump required version of texinfo
36951         to 4.7 from 4.5.
36952         * INSTALL: Regenerated.
36953         * configure.ac: Check for makeinfo version 4.7 and above.
36954         * configure: Regenerated.
36956 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36958         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36959         PREFIX, string constant to insert between directory and name.
36960         * sysdeps/posix/shm_open.c: Update caller.
36961         * sysdeps/posix/shm_unlink.c: Likewise.
36962         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36963         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36964         (SEM_SHM_PREFIX): New macro.
36965         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36966         [$(have-thread-library) = no].
36967         * nptl/Makefile (libpthread-routines): Add shm-directory.
36968         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36969         * sysdeps/nptl/shm-directory.h: New file.
36970         * sysdeps/posix/shm-directory.c
36971         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36972         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36973         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36974         INTERNAL_SYSCALL.
36975         (__where_is_shmfs): Function removed.
36976         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36977         Variables removed.
36978         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36979         Use SHM_GET_NAME.
36980         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36982         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36983         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36984         unconditional for use inside libpthread.
36985         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36987 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36989         * nptl/pthread_getaffinity.c: New file.
36990         * nptl/pthread_setaffinity.c: New file.
36991         * nptl/pthread_getname.c: New file.
36992         * nptl/pthread_setname.c: New file.
36994         * nptl/pthread_create.c (START_THREAD_DEFN)
36995         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36997 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36998             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37000         * resolv/res_send.c (send_vc): Disable warning resplen may
37001         be used uninitialized.
37003 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37005         * nptl/tst-mutex6.c
37006         (ATTR_NULL): New define checks ATTR against NULL.
37007         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
37008         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
37010 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
37012         [BZ #17581]
37013         * malloc/hooks.c
37014         (mem2mem_check): Revert my previous change.
37015         (malloc_check_get_size): Revert my previous change.
37016         (mem2chunk_check): Revert my previous change.
37018 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37020         * sysdeps/posix/shm-directory.c: New file.
37021         * sysdeps/posix/shm-directory.h: New file.
37022         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
37023         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
37024         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
37025         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
37026         Transmute EPERM to EACCES.
37027         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
37028         from ...
37029         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
37030         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
37032 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37034         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
37035         pointer and cast to uintptr_t.
37036         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
37037         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
37038         Add cast to avoid warning.
37039         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
37041 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37043         * nptl/semaphore.h: Move to ...
37044         * sysdeps/pthread/semaphore.h: ... here.
37045         * Makefile (installed-headers): Change nptl/semaphore.h to
37046         sysdeps/pthread/semaphore.h.
37048 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37050         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
37051         generated error format strings.
37053         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
37054         -Wformat-extra-args warnings for scanf formats.
37055         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
37056         test of zero-length format (duh).
37057         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
37058         corner-case scanf format test.
37059         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
37060         generated fprintf format string.
37061         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
37062         corner-case sprintf format tests.
37063         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
37064         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
37065         -Wformat-extra-args warnings throughout.
37066         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
37067         (CFLAGS-scanf4.c): Likewise.
37068         (CFLAGS-scanf7.c): Likewise.
37069         (CFLAGS-tst-sprintf.c): Likewise.
37070         (CFLAGS-tst-printf.c): Likewise.
37071         (CFLAGS-tst-printfsz.c): Likewise.
37073 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37075         * include/cpio.h: New file.
37076         * include/fmtmsg.h: Likewise.
37078         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
37079         corresponding format argument to size_t.
37080         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
37081         arguments.
37082         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
37083         corresponding format argument to size_t.
37084         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
37085         arguments.
37086         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
37087         corresponding format argument to size_t.
37088         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
37089         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
37090         (CFLAGS-tst-mbswcs2.c): Likewise.
37091         (CFLAGS-tst-mbswcs3.c): Likewise.
37092         (CFLAGS-tst-mbswcs4.c): Likewise.
37093         (CFLAGS-tst-mbswcs5.c): Likewise.
37094         (CFLAGS-tst-trans.c): Likewise.
37096 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37098         * posix/regexbug1.c (main): Use "%s" format with regerror results,
37099         rather than assuming they won't contain any '%'s.
37101 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
37103         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
37104         inhibit_loop_to_libcall to avoid recursive calls.
37105         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
37106         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
37108 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37110         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
37111         prototype.
37113 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37115         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
37116         integer value instead of boolean.
37118 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37120         * malloc/malloc.c: Fix powerof2 check.
37122 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37124         * locale/programs/locfile.h (maybe_swap_uint32):
37125         Remove inline and add unused attribute.
37127 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37129         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37130         Truncating assembler expression to a .long expression.
37132 2014-12-11  Andreas Schwab  <schwab@suse.de>
37134         * elf/rtld.c (struct map_args): Constify str member.
37135         (do_preload): Constify fname argument.
37137 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37139         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
37140         constants definition.
37142 2014-12-11  Andreas Schwab  <schwab@suse.de>
37144         [BZ #16657]
37145         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
37146         FORCE_ELISION instead of DO_ELISION.
37147         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
37148         Remove.
37149         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
37150         Likewise.
37152         * iconvdata/gconv-modules: Remove duplicate entry.
37154 2014-12-11  Will Newton  <will.newton@linaro.org>
37156         Merge gettext 0.19.3 into intl/.
37158         This involves a number of cosmetic changes to comments
37159         and ANSI function definitions and prototypes throughout
37160         all the files. The gettext copyright header is used but
37161         with the date ranges taken from the glibc copy.
37163         * NEWS: Add gettext merge to 2.21.
37164         * intl/bindtextdom.c: Switch to gettext copyright.
37165         Use ANSI definitions and prototypes.
37166         Use gl_* locking primitives rather than __libc_* ones.
37167         Use __builtin_expect rather than __glibc_likely/unlikely.
37168         * intl/dcgettext.c: Switch to gettext copyright.
37169         Use ANSI definitions and prototypes.
37170         * intl/dcigettext.c: Switch to gettext copyright.
37171         Use ANSI definitions and prototypes.
37172         (INTDIV0_RAISES_SIGFPE): New define.
37173         Use gl_* locking primitives rather than __libc_* ones.
37174         Include eval-plural.h instead of plural-eval.c.
37175         Use __builtin_expect rather than __glibc_likely/unlikely.
37176         * intl/dcngettext.c: Switch to gettext copyright.
37177         Use ANSI definitions and prototypes.
37178         * intl/dgettext.c: Likewise.
37179         * intl/dngettext.c: Likewise.
37180         * intl/plural-eval.c: Renamed to...
37181         * intl/eval-plural.h: ...this.
37182         * intl/explodename.c: Switch to gettext copyright.
37183         Use ANSI definitions and prototypes.
37184         (_nl_explode_name): Use strchr instead of __rawmemchr.
37185         * intl/finddomain.c: Switch to gettext copyright.
37186         Use ANSI definitions and prototypes.
37187         Use gl_* locking primitives rather than __libc_* ones.
37188         (_nl_find_domain): Use malloc rather than alloca for
37189         allocation of temporary locale name.
37190         * intl/gettext.c: Switch to gettext copyright.
37191         Use ANSI definitions and prototypes.
37192         * intl/gettextP.h: Switch to gettext copyright.
37193         Use ANSI definitions and prototypes.
37194         Use gl_* locking primitives rather than __libc_* ones.
37195         * intl/gmo.h: Switch to gettext copyright.
37196         (struct sysdep_string): Move struct segment_pair outside of
37197         struct definition.
37198         * intl/hash-string.c: Use ANSI definitions and prototypes.
37199         * intl/hash-string.h: Switch to gettext copyright.
37200         Use ANSI definitions and prototypes.
37201         * intl/l10nflist.c: Switch to gettext copyright.
37202         Use ANSI definitions and prototypes.
37203         (_nl_normalize_codeset): Avoid integer overflow.
37204         * intl/loadinfo.h: Switch to gettext copyright.
37205         Use ANSI definitions and prototypes.
37206         (LIBINTL_DLL_EXPORTED): New define.
37207         (PATH_SEPARATOR): New define.
37208         * intl/loadmsgcat.c: Switch to gettext copyright.
37209         * intl/localealias.c: Switch to gettext copyright.
37210         Use ANSI definitions and prototypes.
37211         (_nl_expand_alias): Use PATH_SEPARATOR.
37212         * intl/ngettext.c: Switch to gettext copyright.
37213         Use ANSI definitions and prototypes.
37214         * intl/plural-exp.c: Likewise.
37215         * intl/plural-exp.h: Switch to gettext copyright.
37216         Use ANSI definitions and prototypes.
37217         (struct expression): Move definition of enum operator outside
37218         of struct definition.
37219         * intl/plural.c: Regenerate.
37220         * intl/plural.y: Switch to gettext copyright.
37221         Use ANSI definitions and prototypes.
37222         Port to bison 3.0.
37223         * intl/textdomain.c: Switch to gettext copyright.
37224         Use ANSI definitions and prototypes.
37225         Use gl_* locking primitives rather than __libc_* ones.
37227 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
37229         * debug/warning-nop.c: Add used atrribute.
37231 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37233         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
37235         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
37236         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
37237         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
37239 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37240             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37242         [BZ #17634]
37243         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
37244         Undefine after defining function.  Define as weak alias of
37245         __wcschr.  Use libc_hidden_weak.
37246         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
37247         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
37248         (libc_hidden_def): Also define __GI___wcschr alias.
37249         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
37250         __wcschr and define as weak alias of __wcschr.
37251         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
37252         __wcschr.
37253         [!WCSCHR] (DEFAULT_WCSCHR): Define.
37254         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
37255         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
37256         libc_hidden_weak.  Do not use libc_hidden_def.
37257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
37258         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
37259         __GI___wcschr alias.
37260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
37261         [IS_IN (libc)] (wcschr): Define as macro expanding to
37262         __redirect_wcschr.
37263         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
37264         [IS_IN (libc)] (__wcschr_power6): Likewise.
37265         [IS_IN (libc)] (__wcschr_power7): Likewise.
37266         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
37267         instead of wcschr.
37268         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
37269         __libc_wcschr.
37270         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
37271         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
37272         __wcschr and define as weak alias of __wcschr.  Use
37273         libc_hidden_builtin_def.
37274         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
37275         as weak alias of __wcschr.  Use libc_hidden_weak.
37276         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
37277         wcschr.
37278         * time/era.c (_nl_init_era_entries): Likewise.
37279         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
37280         variable.
37281         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37282         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37284 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37286         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
37287         format for long int variable.
37289 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
37291         [BZ #10672]
37292         * manual/search.texi: (Array Sort Function): Remove claim how to make
37293         qsort stable.
37295 2014-12-10  Andreas Schwab  <schwab@suse.de>
37297         [BZ #12847]
37298         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
37299         user-controlled locks.
37301 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
37303         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
37304         register.
37306 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37308         * configure.ac (--disable-werror): New configure option.
37309         (enable_werror): New AC_SUBST.
37310         * configure: Regenerated.
37311         * config.make.in (enable-werror): New variable.
37312         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
37313         -Wno-error=undef.
37314         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
37315         * manual/install.texi (Configuring and compiling): Document
37316         --disable-werror.
37317         * INSTALL: Regenerated.
37318         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
37319         (CFLAGS-tst-chk2.c): Likewise.
37320         (CFLAGS-tst-chk3.c): Likewise.
37321         (CFLAGS-tst-chk4.cc): Likewise.
37322         (CFLAGS-tst-chk5.cc): Likewise.
37323         (CFLAGS-tst-chk6.cc): Likewise.
37324         (CFLAGS-tst-lfschk1.c): Likewise.
37325         (CFLAGS-tst-lfschk2.c): Likewise.
37326         (CFLAGS-tst-lfschk3.c): Likewise.
37327         (CFLAGS-tst-lfschk4.cc): Likewise.
37328         (CFLAGS-tst-lfschk5.cc): Likewise.
37329         (CFLAGS-tst-lfschk6.cc): Likewise.
37331         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
37332         (main): Disable -Wdeprecated-declarations around calls to
37333         register_printf_function.
37335         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
37336         (do_test): Disable -Wdiv-by-zero around some calls to
37337         fwrite_unlocked and fread_unlocked.
37339         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
37340         (DIAG_POP_NEEDS_COMMENT): Likewise.
37341         (_DIAG_STR1): Likewise.
37342         (_DIAG_STR): Likewise.
37343         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
37344         * stdio-common/bug21.c: Include <libc-internal.h>.
37345         (do_test): Disable -Wformat around call to sscanf.
37346         * stdio-common/scanf14.c: Include <libc-internal.h>.
37347         (main): Disable -Wformat around some calls to scanf functions.
37349 2014-12-09  Torvald Riegel  <triegel@redhat.com>
37351         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
37353 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37355         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
37356         stack variable alignment.
37358 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
37360         [BZ #17682]
37361         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
37362         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
37363         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
37364         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37365         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
37366         __getrlimit instead of getrlimit.
37367         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
37368         __gettimeofday instead of gettimeofday.
37369         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
37370         Likewise.
37371         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
37372         Likewise.
37373         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37374         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
37375         Remove variable.
37376         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37377         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37379 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37381         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
37382         for wide-character tests.
37384 2014-12-04  Roland McGrath  <roland@hack.frob.com>
37386         * io/openat64.c: #include <libc-internal.h>
37387         (__openat64): Prototypify.  Use ignore_value on MODE.
37388         * io/openat.c: Likewise.
37389         * misc/reboot.c: #include <libc-internal.h>
37390         (reboot): Prototypify.  Use ignore_value on HOWTO.
37391         * misc/ptrace.c: #include <libc-internal.h>
37392         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
37394 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
37396         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
37397         XPG4, UNIX98 and XOPEN2K.
37398         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
37399         Remove variable.
37400         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37402 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37404         * libio/fileops.c: Use ISO C style for function definitions.
37405         * libio/iofopen.c: Likewise.
37406         * libio/wfileops.c: Likewise.
37408         [BZ #17653]
37409         * libio/fileops.c (_IO_new_file_underflow): Unset cached
37410         offset on EOF.
37411         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
37412         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
37413         (fgets_func): Function pointer to fgets and fgetws.
37414         (do_ftell_test): Add test to verify ftell value after read
37415         EOF.
37416         (do_test): Set fgets_func.
37418         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
37419         O_TRUNC flag for w and w+ modes.
37420         (do_rewind_test): Likewise.
37421         (do_ftell_test): Likewise.
37422         (do_write_test): Likewise.
37424         [BZ #17647]
37425         * libio/fileops.c (do_ftell): Seek only when there are
37426         unflushed writes.
37427         * libio/wfileops.c (do_ftell_wide): Likewise.
37428         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
37429         test case.
37430         (do_one_test): Call it.
37432 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
37434         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
37435         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
37436         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
37437         Remove variable.
37438         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37439         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37440         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37442 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37444         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
37445         Remove variable.
37446         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37448         [BZ #17668]
37449         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
37450         as weak alias of __getifaddrs.  Use libc_hidden_weak.
37451         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37452         __freeifaddrs.  Use libc_hidden_weak.
37453         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
37454         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
37455         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37456         __freeifaddrs.  Use libc_hidden_weak.
37457         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
37458         __getifaddrs and define as weak alias of __getifaddrs.  Use
37459         libc_hidden_weak.
37460         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37461         __freeifaddrs.  Use libc_hidden_weak.
37462         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
37463         Remove variable.
37464         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37465         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37467 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
37469         [BZ #17601]
37470         * sysdeps/mips/start.S (__start): Use indirect jump to call
37471         __libc_start_main.
37473 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37475         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
37477         * nptl/tst-mutex1.c: Include <stdbool.h>.
37478         [!ATTR] (ATTR_NULL): New macro.
37479         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
37480         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
37481         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
37483         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
37484         to char *.
37486         [BZ #17665]
37487         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
37488         Change conditional to [__USE_MISC].
37490         [BZ #17664]
37491         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
37492         fgets_unlocked.
37493         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
37494         __fgets_unlocked.
37495         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
37496         fgets_unlocked.
37497         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
37498         Remove variable.
37499         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37500         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37501         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37502         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37503         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37504         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37505         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37506         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37507         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37509         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
37511 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37513         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37514         Remove strpbrk objects.
37515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37516         (__libc_ifunc_impl_list): Remove strpbrk implementation.
37517         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
37518         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
37519         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
37520         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
37522         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37523         Remove strcspn objects.
37524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37525         (__libc_ifunc_impl_list): Remove strcspn implementation.
37526         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
37527         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
37528         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
37529         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
37531         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37532         Remove strspn objetcs.
37533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37534         (__libc_ifunc_impl_list): Remove strspn implementation.
37535         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
37536         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37537         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
37538         * sysdeps/powerpc/powerpc64/strspn.S: New file.
37540 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
37542         [BZ #17581]
37543         * malloc/hooks.c
37544         (mem2mem_check): Add a terminator to the chain of checking blocks.
37545         (malloc_check_get_size): Use it here.
37546         (mem2chunk_check): Ditto.
37548 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37550         * sysdeps/powerpc/powerpc64/strtok.S: New file.
37551         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
37553 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
37555         * bits/ioctl-types.h: Indent preprocessor directives correctly.
37557         * nptl/nptl-init.c: Include libc-internal.h.
37558         (__pthread_initialize_minimal_internal): Use ROUND_UP.
37560         * elf/ldconfig.c (search_dir): Expand comment.
37562 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
37564         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
37565         variable.
37566         (linknamespace-symlist-stdlibs-tests): Likewise.
37567         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
37568         instead of $(objpfx)symlist-stdlibs.
37569         (linknamespace-libs-isoc): New variable.
37570         (linknamespace-libs): Use $(linknamespace-libs-isoc).
37571         (linknamespace-libs-ISO): New variable.
37572         (linknamespace-libs-ISO99): Likewise.
37573         (linknamespace-libs-ISO11): Likewise.
37574         (linknamespace-libs-XPG3): Likewise.
37575         (linknamespace-libs-XPG4): Likewise.
37576         (linknamespace-libs-POSIX): Likewise.
37577         (linknamespace-libs-UNIX98): Likewise.
37578         (linknamespace-libs-XOPEN2K): Likewise.
37579         (linknamespace-libs-POSIX2008): Likewise.
37580         (linknamespace-libs-XOPEN2K8): Likewise.
37581         ($(objpfx)symlist-stdlibs): Replace by
37582         $(linknamespace-symlist-stdlibs-tests).  Use
37583         $(linknamespace-libs-$*) as set of libraries.
37584         ($(linknamespace-header-tests)): Update dependencies.  Use
37585         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
37586         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
37587         * conform/linknamespace.pl: Remove comment about considering
37588         definitions of symbols from irrelevant libraries.
37590 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
37592         [BZ #13862]
37593         * elf/dl-tls.c: Include <atomic.h>.
37594         (oom): Remove #ifdef SHARED/#endif.
37595         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
37596         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
37597         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
37598         big enough.
37599         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
37600         * nptl/Makefile (tests): Add tst-stack4.
37601         (modules-names): Add tst-stack4mod.
37602         ($(objpfx)tst-stack4): New.
37603         (tst-stack4mod.sos): Likewise.
37604         ($(objpfx)tst-stack4.out): Likewise.
37605         ($(tst-stack4mod.sos)): Likewise.
37606         (clean): Likewise.
37607         * nptl/tst-stack4.c: New file.
37608         * nptl/tst-stack4mod.c: Likewise.
37610 2014-11-27  J. Brown  <jb999@gmx.de>
37612         * sysdeps/x86/bits/string.h: Add recent CPUs.
37614 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37616         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37617         sigblock.
37619         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37620         feof.
37622         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37623         variable.
37625 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37627         * nscd/connections.c: Include libc-internal.h because of macro
37628         usage ignore_value.
37630 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37632         * string/bits/string3.h (__warn_memset_zero_len): Don't
37633         declare for gcc newer than 5.0.
37634         (memset): Don't test for zero-length __LEN for gcc newer than
37635         5.0.
37637 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37639         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37640         size_t for %zu format.
37642         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37643         difference, not %ju.
37645 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37647         * include/libc-internal.h (ignore_value): New macro.
37648         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37649         with ignore_value.
37651         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37652         definition.
37654         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37655         pthread_cleanup_push to void *.
37657         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37658         Undefine.
37660         [BZ #16619]
37661         [BZ #16740]
37662         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37663         instead of 1L << 52.
37665         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37666         * libio/bug-rewind2.c (do_test): Likewise.
37668         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37669         * debug/test-strcpy_chk-ifunc.c: Likewise.
37670         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37671         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37672         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37673         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37674         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37675         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37676         * Rules [$(multi-arch) = no] (tests): Do not filter out
37677         $(tests-ifunc).
37678         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37679         * debug/Makefile (tests-ifunc): Remove variable.
37680         (tests): Do not add $(tests-ifunc).
37681         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37682         (tests): Do not add $(tests-ifunc).
37683         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37684         [TEST_IFUNC]: Remove conditionals.
37685         * string/test-string.h (TEST_IFUNC): Remove macro.
37686         [TEST_IFUNC]: Remove conditionals.
37688         * string/test-strchr.c [!WIDE] (L): New macro.
37689         [WIDE] (L): Likewise.
37690         (check1): Use CHAR instead of char.  Use L on string and character
37691         constants.
37693 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37695         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37696         tests.
37697         * sysdeps/powerpc/bits/atomic.h
37698         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37699         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37700         (atomic_exchange_and_add_acq): Likewise.
37701         (atomic_exchange_and_add_rel): Likewise.
37702         * sysdeps/powerpc/powerpc32/bits/atomic.h
37703         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37704         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37705         * sysdeps/powerpc/powerpc64/bits/atomic.h
37706         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37707         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37709 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37711         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37712         Change synchronization of __sched_fifo_min_prio and
37713         __sched_fifo_max_prio.
37714         * nptl/pthread_mutexattr_getprioceiling.c
37715         (pthread_mutexattr_getprioceiling): Likewise.
37716         * nptl/pthread_mutexattr_setprioceiling.c
37717         (pthread_mutexattr_setprioceiling): Likewise.
37718         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37719         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37720         Likewise.
37722 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37724         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37725         void.
37727 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37729         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37730         third argument const.
37732 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37734         fnmatch: work around GCC compiler warning bug with uninit var
37735         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37736         This works around a bug with x86-64 GCC 4.9.2 and earlier
37737         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37738         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37739         used uninitialized in this function [-Wmaybe-uninitialized]".
37741 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37743         * posix/bug-regex31.c (main): Return RES not 0.
37745 2014-11-25  Anton Blanchard <anton@samba.org>
37747         * sysdeps/powerpc/bits/atomic.h
37748         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37750 2014-11-24  Sterling Augustine  <saugustine@google.com>
37752         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37754 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37756         [BZ #17608]
37757         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37759 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37761         [BZ #17633]
37762         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37763         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37764         variable.
37765         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37766         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37768 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37770         * string/strncpy.c (strncpy): Improve performance by using memset.
37772 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37774         * string/strcpy.c (strcpy):
37775         Improve performance by using strlen and memcpy.
37777 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37779         * string/strcoll_l.c (get_next_seq): __always_inline.
37780         * string/strcoll_l.c (do_compare): __always_inline.
37782 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37784         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37785         defined.
37786         * include/mqueue.h: Likewise.
37787         * include/stdlib.h: Likewise.
37789         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37790         (get_null_defines): Adjust.
37791         * sunrpc/Makefile: Adjust comment.
37792         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37793         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37794         (CFLAGS-interp.c): Likewise.
37795         (CFLAGS-ldconfig.c): Likewise.
37796         (CPPFLAGS-.os): Likewise.
37797         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37798         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37799         * extra-modules.mk (extra-modules.mk): Likewise.
37800         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37801         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37802         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37803         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37804         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37805         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37806         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37807         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37808         * iconvdata/Makefile (CPPFLAGS): Likewise.
37809         (cpp-srcs-left): Add libof for all iconvdata routines.
37810         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37811         * include/assert.h: Likewise.
37812         * include/ctype.h: Likewise.
37813         * include/errno.h: Likewise.
37814         * include/libc-symbols.h: Likewise.
37815         * include/math.h: Likewise.
37816         * include/netdb.h: Likewise.
37817         * include/resolv.h: Likewise.
37818         * include/stdio.h: Likewise.
37819         * include/stdlib.h: Likewise.
37820         * include/string.h: Likewise.
37821         * include/sys/stat.h: Likewise.
37822         * include/wctype.h: Likewise.
37823         * intl/l10nflist.c: Likewise.
37824         * libidn/idn-stub.c: Likewise.
37825         * libio/libioP.h: Likewise.
37826         * nptl/libc_multiple_threads.c: Likewise.
37827         * nptl/pthreadP.h: Likewise.
37828         * posix/regex_internal.h: Likewise.
37829         * resolv/res_hconf.c: Likewise.
37830         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37831         * sysdeps/arm/memmove.S: Likewise.
37832         * sysdeps/arm/sysdep.h: Likewise.
37833         * sysdeps/generic/_itoa.h: Likewise.
37834         * sysdeps/generic/symbol-hacks.h: Likewise.
37835         * sysdeps/gnu/errlist.awk: Likewise.
37836         * sysdeps/gnu/errlist.c: Likewise.
37837         * sysdeps/i386/i586/memcpy.S: Likewise.
37838         * sysdeps/i386/i586/memset.S: Likewise.
37839         * sysdeps/i386/i686/memcpy.S: Likewise.
37840         * sysdeps/i386/i686/memmove.S: Likewise.
37841         * sysdeps/i386/i686/mempcpy.S: Likewise.
37842         * sysdeps/i386/i686/memset.S: Likewise.
37843         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37844         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37845         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37846         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37847         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37848         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37849         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37850         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37851         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37852         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37853         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37854         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37855         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37856         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37857         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37858         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37859         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37860         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37861         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37862         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37863         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37864         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37865         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37866         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37867         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37868         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37869         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37870         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37871         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37872         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37873         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37874         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37876         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37877         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37878         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37879         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37880         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37881         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37882         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37883         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37884         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37885         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37886         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37887         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37888         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37889         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37890         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37891         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37892         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37893         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37894         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37895         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37896         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37897         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37898         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37899         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37900         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37901         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37902         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37903         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37904         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37905         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37906         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37907         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37908         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37909         * sysdeps/posix/closedir.c: Likewise.
37910         * sysdeps/posix/opendir.c: Likewise.
37911         * sysdeps/posix/readdir.c: Likewise.
37912         * sysdeps/posix/rewinddir.c: Likewise.
37913         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37914         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37915         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37916         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37917         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37918         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37919         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37920         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37924         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37925         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37926         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37927         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37928         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37929         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37930         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37931         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37932         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37933         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37934         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37935         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37936         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37939         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37941         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37948         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37949         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37950         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37951         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37952         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37953         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37954         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37955         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37956         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37957         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37958         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37959         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37960         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37961         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37962         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37963         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37964         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37965         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37966         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37967         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37968         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37970         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37971         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37972         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37973         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37974         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37975         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37976         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37977         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37978         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37979         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37980         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37981         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37982         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37983         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37984         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37985         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37986         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37987         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37988         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37989         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37990         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37991         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37992         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37993         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37994         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37995         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37996         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37997         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37998         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37999         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
38000         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38001         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38002         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38003         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
38004         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
38005         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
38006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38008         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
38009         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38010         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38011         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
38012         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
38013         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38014         * sysdeps/unix/alpha/sysdep.S: Likewise.
38015         * sysdeps/unix/alpha/sysdep.h: Likewise.
38016         * sysdeps/unix/make-syscalls.sh: Likewise.
38017         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38019         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38020         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
38021         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38022         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
38023         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
38024         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38025         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38026         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
38027         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38028         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38029         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38030         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38031         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38032         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38033         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38034         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38035         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38036         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38037         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
38038         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38039         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38040         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38041         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38042         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38043         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38046         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
38047         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38051         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38054         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38055         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38056         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38057         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38058         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38059         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38060         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38061         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38062         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38064         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38065         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38066         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38067         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38068         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38069         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38070         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38071         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
38072         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38073         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38074         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38075         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
38076         * sysdeps/x86_64/memcpy.S: Likewise.
38077         * sysdeps/x86_64/memmove.c: Likewise.
38078         * sysdeps/x86_64/memset.S: Likewise.
38079         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
38080         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38081         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38082         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
38083         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
38084         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38085         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38086         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38087         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38088         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38089         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38090         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38091         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
38092         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38093         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38094         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
38095         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38096         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38097         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38098         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38099         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
38100         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38101         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38102         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38103         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38104         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38105         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38106         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
38107         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38108         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38109         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
38110         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38111         * sysdeps/x86_64/strcmp.S: Likewise.
38113         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
38115         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
38116         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
38117         * elf/rtld-Rules: Likewise.
38118         * elf/setup-vdso.h: Likewise.
38119         * include/assert.h: Likewise.
38120         * include/bits/stdlib-float.h: Likewise.
38121         * include/errno.h: Likewise.
38122         * include/sys/stat.h: Likewise.
38123         * include/unistd.h: Likewise.
38124         * sysdeps/aarch64/setjmp.S: Likewise.
38125         * sysdeps/alpha/setjmp.S: Likewise.
38126         * sysdeps/arm/__longjmp.S: Likewise.
38127         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
38128         * sysdeps/arm/setjmp.S: Likewise.
38129         * sysdeps/arm/sysdep.h: Likewise.
38130         * sysdeps/generic/_itoa.h: Likewise.
38131         * sysdeps/generic/dl-sysdep.h: Likewise.
38132         * sysdeps/generic/ldsodefs.h: Likewise.
38133         * sysdeps/i386/dl-tls.h: Likewise.
38134         * sysdeps/i386/setjmp.S: Likewise.
38135         * sysdeps/m68k/setjmp.c: Likewise.
38136         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
38137         * sysdeps/mach/hurd/opendir.c: Likewise.
38138         * sysdeps/posix/getcwd.c: Likewise.
38139         * sysdeps/posix/opendir.c: Likewise.
38140         * sysdeps/posix/profil.c: Likewise.
38141         * sysdeps/powerpc/dl-procinfo.h: Likewise.
38142         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38143         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38144         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38145         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38146         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
38147         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38148         * sysdeps/s390/dl-tls.h: Likewise.
38149         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38150         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38151         * sysdeps/sh/sh3/setjmp.S: Likewise.
38152         * sysdeps/sh/sh4/setjmp.S: Likewise.
38153         * sysdeps/unix/alpha/sysdep.h: Likewise.
38154         * sysdeps/unix/arm/sysdep.S: Likewise.
38155         * sysdeps/unix/i386/sysdep.S: Likewise.
38156         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38157         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38158         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38159         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38160         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38161         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38162         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38163         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38164         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38165         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38166         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
38167         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38168         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38171         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38172         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38173         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38174         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38175         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38176         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38177         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38179         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38180         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38181         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38182         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38183         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38184         * sysdeps/x86_64/setjmp.S: Likewise.
38186         * include/math.h: Use IS_IN instead of IS_IN_libm.
38187         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
38188         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38189         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38190         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
38191         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38192         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38193         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38194         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38195         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38196         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38197         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
38198         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
38199         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
38200         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
38201         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
38202         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
38203         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
38204         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
38205         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
38206         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
38207         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
38208         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
38209         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
38210         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
38211         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
38212         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
38213         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
38214         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
38215         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
38216         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
38217         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
38218         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38219         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
38221         Likewise.
38222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
38223         Likewise.
38224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
38225         Likewise.
38226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
38227         Likewise.
38228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
38229         Likewise.
38230         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38231         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
38232         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38233         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38234         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38235         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
38237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
38238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
38239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
38240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
38241         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
38242         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
38243         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38244         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38245         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38246         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38247         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38248         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38249         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38250         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
38251         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
38252         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
38253         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
38254         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
38255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38256         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
38258         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
38259         * nptl/pthreadP.h: Likewise.
38260         * nptl_db/structs.def: Likewise.
38261         * sysdeps/arm/sysdep.h: Likewise.
38262         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38263         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38264         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
38265         * sysdeps/unix/alpha/sysdep.h: Likewise.
38266         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38268         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38269         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38270         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38271         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38272         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38273         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38274         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38275         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38276         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38277         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38278         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38279         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38282         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38284         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38285         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38286         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38287         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38288         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38289         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38290         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
38291         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38293         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
38294         * nptl/pthreadP.h: Likewise.
38295         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38296         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38297         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38298         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38299         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38300         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38301         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38302         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38303         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38304         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38305         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38306         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38308         Likewise.
38309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38310         Likewise.
38311         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38313         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38316         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38317         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38318         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38320         * dlfcn/dladdr.c: Use IS_IN.
38321         * dlfcn/dladdr1.c: Likewise.
38322         * dlfcn/dlclose.c: Likewise.
38323         * dlfcn/dlerror.c: Likewise.
38324         * dlfcn/dlinfo.c: Likewise.
38325         * dlfcn/dlmopen.c: Likewise.
38326         * dlfcn/dlopen.c: Likewise.
38327         * dlfcn/dlsym.c: Likewise.
38328         * dlfcn/dlvsym.c: Likewise.
38330         * include/ifaddrs.h: Use IS_IN.
38331         * inet/check_pf.c: Likewise.
38332         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38333         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
38335         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
38336         IS_IN_ldconfig.
38337         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
38338         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
38340         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
38341         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
38342         IS_IN (libc).
38344         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
38346         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
38347         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38348         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38349         * include/libc-symbols.h (IS_IN_LIB): New macro.
38350         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
38351         * include/netdb.h: Likewise.
38352         * include/stap-probe.h: Remove all uses of IN_LIB.
38354         * Makeconfig (module-cppflags-real): Define MODULE_NAME
38355         instead of IN_MODULE.
38356         * include/libc-symbols.h (IN_MODULE): Define using
38357         MODULE_NAME.
38358         (PASTE_NAME, PASTE_NAME1): New macros.
38359         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
38360         of IN_LIB.
38361         (STAP_PROBE_ASM): Likewise.
38363 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38365         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
38366         __mach_init in dlopened libc.
38368 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
38370         * sysdeps/arm/preconfigure.ac: Delete EABI check.
38371         * sysdeps/arm/preconfigure: Regenerate.
38373 2014-11-21  Roland McGrath  <roland@hack.frob.com>
38375         * nptl/pthread_create.c (__pthread_create_2_1): Set
38376         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
38377         when copying values from IATTR into PD.
38379 2014-11-21  Will Newton  <will.newton@linaro.org>
38380             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
38382         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
38383         Refactor inline-asm.  Also add comment.
38385         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
38386         ElfW macro instead of hardcoded Elf64 types.
38387         (la_aarch64_gnu_pltenter): Likewise.
38388         * sysdeps/aarch64/dl-machine.h
38389         (elf_machine_runtime_setup): Use ElfW(Addr).
38391         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
38392         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
38393         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
38394         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
38395         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
38396         (R_AARCH64_TLS_DTPMOD64): Rename to ..
38397         (R_AARCH64_TLS_DTPMOD): This.
38398         (R_AARCH64_TLS_DTPREL64): Rename to ...
38399         (R_AARCH64_TLS_DTPREL): This.
38400         (R_AARCH64_TLS_TPREL64): Rename to ...
38401         (R_AARCH64_TLS_TPREL): This.
38402         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
38403         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
38404         R_AARCH64_TLS_TPREL64.
38405         (elf_machine_rela): Likewise.
38407 2014-11-21  Torvald Riegel  <triegel@redhat.com>
38409         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
38410         by setting it to 0.  64b atomics are not supported currently.
38412 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38414         [BZ #16469]
38415         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
38416         search domain names.
38418 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38420         [BZ #16469]
38421         * NEWS: Update.
38422         * resolv/res_query.c (__libc_res_nquerydomain): Retain
38423         trailing dot.
38424         * posix/tst-getaddrinfo5.c: New.
38425         * posix/Makefile (tests): Add it.
38427 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38429         [BZ #14498]
38430         * NEWS: Fixed.
38431         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
38432         after parsing line but before break_if_match.
38433         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
38434         if there is a protocol mismatch.
38436 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
38438         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
38439         because the potential race is on the user-supplied stream.
38441 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38443         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
38444         string literal if not passed a buffer.
38445         * manual/job.texi (ctermid): Update reasoning, note deviation
38446         from posix, suggest mtasurace when not passed a buffer, for
38447         future non-preliminary safety notes.
38449 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38451         * manual/users.texi (cuserid): Fix MT-Safety note for the case
38452         of not passing it a buffer.
38453         Reported by Peng Haitao.
38455 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38457         * manual/Makefile ($(objpfx)stamp-summary): Require
38458         check-safety.sh to pass.
38459         * manual/check-safety.sh: Wish for verification that every
38460         @deftypefn and @deftypefun is followed by a @safety remark.
38462 2014-11-20  Roland McGrath  <roland@hack.frob.com>
38464         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
38466         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
38467         PTHREAD_CANCEL_ASYNCHRONOUS.
38468         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
38469         send SIGCANCEL.
38471         * nptl/default-sched.h: New file.
38472         * sysdeps/unix/sysv/linux/default-sched.h: New file.
38473         * nptl/pthread_create.c: Include it.
38474         (__pthread_create_2_1): Use collect_default_sched instead of making
38475         Linux syscalls here directly.
38477 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38479         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
38480         __pthread_once): Use C11 atomics.
38482 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38484         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
38486 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38488         * include/atomic.h (__atomic_link_error, __atomic_check_size,
38489         atomic_thread_fence_acquire, atomic_thread_fence_release,
38490         atomic_thread_fence_seq_cst, atomic_load_relaxed,
38491         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
38492         atomic_compare_exchange_weak_relaxed,
38493         atomic_compare_exchange_weak_acquire,
38494         atomic_compare_exchange_weak_release,
38495         atomic_exchange_acquire, atomic_exchange_release,
38496         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
38497         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
38498         atomic_fetch_and_acquire,
38499         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
38501 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38503         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
38504         USE_ATOMIC_COMPILER_BUILTINS): Define.
38505         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
38506         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38507         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
38508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38509         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
38510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38511         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
38512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38513         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
38514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38515         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
38516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38517         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
38518         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38519         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
38520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38521         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38523         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38525         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
38526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38527         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38529         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
38530         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38531         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38533         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
38534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38535         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
38536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38537         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
38538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38539         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38540         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38541         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
38542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38543         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
38544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38546 2014-11-19  Roland McGrath  <roland@hack.frob.com>
38548         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
38549         the sched_priority value here.  It was already checked when the user
38550         called pthread_attr_setschedparam.
38552         * nptl/tst-bad-schedattr.c: New file.
38553         * nptl/Makefile (tests): Add it.
38555 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
38556             Florian Weimer  <fweimer@redhat.com>
38557             Joseph Myers  <joseph@codesourcery.com>
38558             Adam Conrad  <adconrad@0c3.net>
38559             Andreas Schwab  <schwab@suse.de>
38560             Brooks  <bmoses@google.com>
38562         [BZ #17625]
38563         * wordexp-test.c (__dso_handle): Add prototype.
38564         (__register_atfork): Likewise.
38565         (__app_register_atfork): New function.
38566         (registered_forks): New global.
38567         (register_fork): New function.
38568         (test_case): Add 3 new tests for WRDE_CMDSUB.
38569         (main): Call __app_register_atfork.
38570         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
38571         fork count is non-zero fail the test.
38572         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
38573         is set.
38574         (parse_dollars): Remove check for WRDE_NOCMD.
38575         (parse_dquote): Likewise.
38577 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38579         * Makeconfig (built-modules): List non-library modules to be
38580         built.
38581         (module-cppflags): Include libc-modules.h for
38582         everything except shlib-versions.v.i.
38583         (CPPFLAGS): Use it.
38584         (before-compile): Add libc-modules.h.
38585         ($(common-objpfx)libc-modules.h,
38586         $(common-objpfx)libc-modules.stmp): New targets.
38587         (common-generated): Add libc-modules.h and libc-modules.stmp.
38588         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
38589         * include/libc-symbols.h: Don't include libc-modules.h.
38590         * include/libc-modules.h: Remove file.
38591         * scripts/gen-libc-modules.awk: New script to generate
38592         libc-modules.h.
38593         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
38594         Depend on libc-modules.stmp.
38596         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
38598         * Makeconfig (in-module): Get value of libof set for the
38599         translation unit.
38600         (CPPFLAGS): Use $(in-module).
38601         * Makerules: Don't suffix routine names for nonlib.
38602         * include/libc-modules.h: New file.
38603         * include/libc-symbols.h: Include libc-modules.h
38604         (IS_IN): New macro to replace IS_IN_* macros.
38605         * elf/Makefile: Set libof-* for each routine.
38606         * elf/rtld-Rules: Likewise.
38607         * extra-modules.mk: Likewise.
38608         * iconv/Makefile: Likewise.
38609         * iconvdata/Makefile: Likewise.
38610         * locale/Makefile: Likewise.
38611         * malloc/Makefile: Likewise.
38612         * nss/Makefile: Likewise.
38613         * sysdeps/gnu/Makefile: Likewise.
38614         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38615         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38616         * sysdeps/s390/s390-64/Makefile: Likewise.
38617         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38618         CPPFLAGS for nscd instead of nonlib.
38620 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38622         * nptl/createthread.c: New file.
38624         * nptl/createthread.c: Moved ...
38625         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38627         * nptl/createthread.c: Add proper top-line comment.
38628         (do_clone): Folded into ...
38629         (create_thread): ... here.  Take new arguments STOPPED_START and
38630         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38631         increment __nptl_threads, do event-reporting logic, do
38632         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38633         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38634         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38635         just send SIGCANCEL.
38636         * nptl/pthread_create.c: Forward-declare create_thread before
38637         including createthread.c.
38638         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38639         declaration, and new macro START_THREAD_SELF to replace argument.
38640         Remove return statement.
38641         (report_thread_creation): New function.
38642         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38643         synchronization logic, and __nptl_nthreads increment here, around
38644         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38645         PD->parent_cancelhandling here, before create_thread.  When
38646         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38647         __deallocate_stack, and ENOMEM translation here.
38649 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38651         [BZ #17616]
38652         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38653         (mptwo): Rename to __mptwo.
38654         (__inv): Use __mptwo instead of mptwo.
38655         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38656         (mptwo): Rename to __mptwo.
38657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38658         of mpone and __mptwo instead of mptwo.
38659         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38660         instead of mpone.
38661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38662         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38663         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38664         of mpone and __mptwo instead of mptwo.
38665         (__mpranred): Use __mpone instead of mpone.
38666         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38667         variable.
38668         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38669         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38670         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38671         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38672         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38673         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38674         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38675         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38676         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38677         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38678         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38679         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38680         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38681         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38682         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38683         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38684         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38685         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38686         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38688 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38690         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38691         replace BSD Handler xref with BSD Signal Handling.
38693 2014-11-17  Richard Henderson  <rth@redhat.com>
38695         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38696         (_FP_PACK_RAW_2): Remove.
38697         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38698         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38699         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38700         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38701         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38702         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38703         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38704         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38705         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38706         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38707         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38708         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38709         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38710         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38711         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38712         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38714 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38716         * signal/signal.h [__USE_MISC]
38717         (struct sigvec): Remove type.
38718         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38719         (sigvec): Remove declaration.
38720         * sysdeps/posix/sigvec.c: Moved ...
38721         * signal/sigvec.c: ... here, replacing old file.
38722         (struct sigvec): New type, copied from old signal.h definition.
38723         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38724         (__sigvec): Convert definition to prototype.
38725         (sigvec): Replace weak_alias with compat_symbol.
38726         * signal/Versions (libc: GLIBC_2.21): New version set.
38727         * include/signal.h: Remove __sigvec declaration.
38728         * sysdeps/unix/bsd/sigvec.c: Remove file.
38729         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38730         * manual/signal.texi (BSD Handler): Remove subsection.
38731         Move siginterrupt up to ...
38732         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38733         (Blocking in BSD): Fold subsection into its parent.
38734         * NEWS: Mention sigvec removal.
38736 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38738         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38739         (DLA_FMS): Make definition conditional only on [__FMA4__].
38740         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38741         definition.
38743         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38744         Make definition conditional only on [PROF].
38745         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38746         definition.
38747         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38748         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38750         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38751         !__GNUC__].
38752         * include/signal.h (__sigpause): Move declaration above call to
38753         libc_hidden_proto.
38754         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38755         variable.
38756         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38757         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38759 2014-11-14  David S. Miller  <davem@davemloft.net>
38761         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38762         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38764 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38766         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38767         * configure: Regenerated.
38768         * manual/install.texi (Tools for Compilation): Document a
38769         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38770         compiler verified to work.
38771         * INSTALL: Regenerated.
38773         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38774         redeclare with asm name.
38775         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38776         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38777         including <string.h>.
38778         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38779         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38780         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38781         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38782         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38783         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38784         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38786 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38788         * stdlib/strtol.c (__strtol): Use prototype definition.
38790         [BZ #17594]
38791         * stdlib/strtol.c (SYM__): New macro.
38792         (SYM__1): Likewise.
38793         (__strtol): Likewise.
38794         (strtol): Rename to __strtol and define as weak alias of
38795         __strtol.  Use libc_hidden_weak.
38797 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38799         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38800         Use numbered labels in inline assembly.
38802 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38804         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38805         Add setjmp LIBC_PROBE.
38806         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38807         Likewise.
38808         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38809         Add longjmp, longjmp_target LIBC_PROBE.
38810         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38811         Likewise.
38813 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38815         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38816         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38817         to get rid of unused variable warning.
38819 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38821         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38822         Check for unwind_backtrace ==  NULL only in SHARED case.
38823         (__backchain_backtrace): Compile only in SHARED case.
38824         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38825         Likewise.
38826         (__backchain_backtrace): Declare as static.
38828 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38830         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38831         (__libc_multiple_threads_ptr): Variable moved ...
38832         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38834 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38836         * conform/GlibcConform.pm: New file.
38837         * conform/conformtest.pl: Use GlibcConform module.
38838         * conform/linknamespace.pl: New file.
38839         * conform/list-header-symbols.pl: Likewise.
38840         * conform/Makefile (linknamespace-symlists-base): New variable.
38841         (linknamespace-symlists-tests): Likewise.
38842         (linknamespace-header-base): Likewise.
38843         (linknamespace-header-tests): Likewise.
38844         (tests-special): Add new tests.
38845         ($(linknamespace-symlists-tests)): New rule.
38846         (linknamespace-libs): New variable.
38847         ($(objpfx)symlist-stdlibs): New rule.
38848         ($(linknamespace-header-tests)): Likewise.
38849         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38850         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38851         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38852         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38853         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38854         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38855         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38856         (test-xfail-ISO/math.h/linknamespace): Likewise.
38857         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38858         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38859         (test-xfail-ISO/time.h/linknamespace): Likewise.
38860         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38861         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38862         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38863         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38864         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38865         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38866         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38867         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38868         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38869         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38870         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38871         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38872         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38873         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38874         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38875         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38876         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38877         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38878         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38879         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38880         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38881         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38882         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38883         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38884         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38885         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38886         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38887         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38888         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38889         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38890         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38891         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38892         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38893         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38894         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38895         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38896         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38897         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38898         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38899         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38900         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38901         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38902         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38903         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38904         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38905         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38906         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38907         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38908         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38909         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38910         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38911         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38912         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38913         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38914         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38915         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38916         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38917         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38918         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38919         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38920         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38921         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38922         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38923         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38924         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38925         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38926         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38927         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38928         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38929         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38930         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38931         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38932         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38933         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38934         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38935         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38936         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38937         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38938         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38939         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38940         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38941         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38942         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38943         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38944         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38945         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38946         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38947         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38948         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38949         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38950         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38951         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38952         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38953         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38954         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38955         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38956         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38957         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38958         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38959         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38960         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38961         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38962         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38963         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38964         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38965         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38966         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38967         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38968         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38969         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38970         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38971         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38972         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38973         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38974         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38975         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38976         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38977         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38978         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38979         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38980         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38981         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38982         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38983         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38984         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38985         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38986         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38987         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38988         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38989         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38990         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38991         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38992         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38993         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38994         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38995         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38996         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38997         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38998         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38999         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
39000         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
39001         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39002         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39003         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39004         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39005         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39006         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
39007         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39008         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39009         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
39011         [BZ #17589]
39012         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
39013         of fgets_unlocked.
39015         [BZ #17585]
39016         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
39017         (memmem): Rename to __memmem and define as weak alias of
39018         __memmem.  Use libc_hidden_weak.
39019         (__memmem): Use libc_hidden_def.
39020         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
39021         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
39022         memmem.
39024         [BZ #17582]
39025         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
39026         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
39027         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
39028         and define as weak alias of __fgets_unlocked.  Use
39029         libc_hidden_weak.
39030         (__fgets_unlocked): Use libc_hidden_def.
39031         * include/stdio.h (__fgets_unlocked): Declare.  Use
39032         libc_hidden_proto.
39033         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
39034         __fgets_unlocked instead of fgets_unlocked.
39035         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
39036         (GET_NPROCS_CONF_PARSER): Likewise.
39037         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
39038         (GET_NPROCS_CONF_PARSER): Likewise.
39040         [BZ #17574]
39041         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
39042         weak alias of __wmemset.  Use libc_hidden_weak.
39043         (__wmemset): Use libc_hidden_def.
39044         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
39045         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
39046         of wmemset.
39048         [BZ #17573]
39049         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
39050         with asm name __mempcpy.
39051         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
39053         [BZ #17572]
39054         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
39055         and define as weak alias of __rawmemchr.
39056         (__rawmemchr): Do not define as strong alias of rawmemchr.
39058         [BZ #17571]
39059         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
39060         alias of __qsort_r.
39061         (qsort): Call __qsort_r instead of qsort_r.
39062         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
39063         (__qsort_r): Declare.  Call libc_hidden_proto.
39064         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
39065         instead of qsort_r.
39066         * nscd/gai.c (__qsort_r): Define to qsort_r.
39067         * posix/tst-rfc3484.c (__qsort_r): Likewise.
39068         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
39069         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
39071         [BZ #17570]
39072         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
39073         define as weak alias of __malloc_info.
39075         [BZ #17584]
39076         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
39077         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39078         (__rewinddir): Use libc_hidden_def.
39079         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
39080         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39081         (__rewinddir): Use libc_hidden_def.
39082         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
39083         weak alias of __rewinddir.  Don't use libc_hidden_def.
39084         (__rewinddir): Use libc_hidden_def.
39085         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
39086         (__rewinddir): Use libc_hidden_proto.
39087         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
39088         rewinddir.
39089         (__getcwd): Use __rewinddir instead of rewinddir.
39091         [BZ #17583]
39092         * libio/fileno.c (fileno): Rename to __fileno and define as weak
39093         alias of __fileno.  Use libc_hidden_weak.
39094         (__fileno): Use libc_hidden_def.
39095         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
39096         * libio/ftello.c (ftello): Rename to __ftello and define as weak
39097         alias of __ftello.
39098         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
39099         __ftello.
39100         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
39101         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
39102         libc_hidden_def.
39103         (fread_unlocked): Don't use libc_hidden_ver.
39104         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
39105         and define as weak alias of __fread_unlocked.  Don't use
39106         libc_hidden_def.
39107         (__fread_unlocked): Use libc_hidden_def.
39108         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
39109         (ftello): Don't use libc_hidden_proto.
39110         (__ftello): Declare.  Use libc_hidden_proto.
39111         (fread_unlocked): Don't use libc_hidden_proto.
39112         (__fread_unlocked): Declare.  Use libc_hidden_proto.
39113         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
39114         and __ftello instead of fileno, fread_unlocked and ftello.
39116 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39118         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
39119         GOT12.
39120         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39121         Likewise.
39122         (_dl_start_user): Likewise.
39123         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
39125 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
39126             Siddhesh Poyarekar  <siddhesh@redhat.com>
39128         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
39129         Move argv and envp down instead of moving argc up.
39130         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
39132 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
39134         [BZ #17506]
39135         * test-skeleton.c (main): Return successful if one of
39136         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
39137         * string/tst-strcoll-overflow.c: Define expected status.
39139 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
39141         [BZ #17475]
39142         * locale/iso-639.def: Define Bhili and Tulu language codes.
39144 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
39146         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
39148 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
39150         [BZ #17555]
39151         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
39153 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39155         * configure.ac: Updated check of minimal required version to
39156         2.22.
39157         * manual/install.texi (Tools for Compilation): Updated version
39158         number.
39159         * configure: Regenerated.
39160         * INSTALL: Likewise.
39162 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
39164         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
39165         __tls_get_addr.
39167 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
39169         * include/sys/wait.h (__libc_waitpid): Remove declaration.
39170         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
39171         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39172         libc_hidden_weak.
39173         (waitpid): Define as alias of __waitpid.
39174         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
39175         __waitpid.
39176         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39177         libc_hidden_weak.
39178         (waitpid): Define as alias of __waitpid.
39179         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
39180         __libc_waitpid alias.
39181         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
39182         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
39183         Likewise.
39184         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
39185         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
39186         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
39187         alias.
39188         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
39189         __waitpid.
39190         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39191         libc_hidden_weak.
39192         (waitpid): Define as alias of __waitpid.
39194 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
39196         * manual/llio.texi: Add comment that write safety has been
39197         fixed in Linux.
39199         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
39200         (localplt-build-dso): Add elf/ld.so.
39201         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
39202         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
39203         and free for ld.so.
39204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
39205         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
39206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
39207         Likewise.
39208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39209         Likewise.
39210         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
39211         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
39212         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
39213         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
39214         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
39215         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
39216         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
39217         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
39218         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
39219         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
39220         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
39222 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
39224         [BZ #14132]
39225         * include/libc-symbols.h (INTUSE): Remove macro.
39226         (INTDEF): Likewise.
39227         (INTVARDEF): Likewise.
39228         (_INTVARDEF): Likewise.
39229         (INTDEF2): Likewise.
39230         (INTVARDEF2): Likewise.
39231         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39232         rtld_hidden_def instead of INTVARDEF.
39233         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
39234         (_dl_starting_up_internal): Remove declaration.
39235         (_dl_starting_up): Use rtld_hidden_proto.
39236         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
39237         declaration.
39238         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
39239         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
39240         _dl_starting_up.
39241         * elf/dl-writev.h (_dl_writev): Likewise.
39242         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
39243         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
39244         _dl_starting_up_internal.
39246 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39248         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
39249         test-skeleton.c.
39251 2014-11-05  Will Newton  <will.newton@linaro.org>
39253         * benchtests/Makefile: (bench-malloc): Add malloc thread
39254         scalability benchmark.
39255         * benchtests/bench-malloc-threads.c: New file.
39257 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
39259         * sysdeps/aarch64/strchrnul.S: New file.
39261 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39263         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
39264         definition.
39265         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39266         Likewise.
39267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39268         Likewise.
39269         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39270         Likewise.
39271         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39272         Likewise.
39273         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39274         Likewise.
39276 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
39278         * catgets/test-gencat.c: Use test-skeleton.c.
39279         * catgets/tst-catgets.c: Likewise.
39280         * csu/tst-empty.c: Likewise.
39281         * elf/tst-audit2.c: Likewise.
39282         * elf/tst-global1.c: Likewise.
39283         * elf/tst-pathopt.c: Likewise.
39284         * elf/tst-piemod1.c: Likewise.
39285         * elf/tst-tls10.c: Likewise.
39286         * elf/tst-tls11.c: Likewise.
39287         * elf/tst-tls12.c: Likewise.
39288         * gnulib/tst-gcc.c: Likewise.
39289         * iconvdata/tst-e2big.c: Likewise.
39290         * iconvdata/tst-loading.c: Likewise.
39291         * iconv/tst-iconv1.c: Likewise.
39292         * iconv/tst-iconv2.c: Likewise.
39293         * inet/test-inet6_opt.c: Likewise.
39294         * inet/tst-gethnm.c: Likewise.
39295         * inet/tst-network.c: Likewise.
39296         * inet/tst-ntoa.c: Likewise.
39297         * intl/tst-codeset.c: Likewise.
39298         * intl/tst-gettext2.c: Likewise.
39299         * intl/tst-gettext3.c: Likewise.
39300         * intl/tst-ngettext.c: Likewise.
39301         * intl/tst-translit.c: Likewise.
39302         * io/test-stat.c: Likewise.
39303         * libio/test-fmemopen.c: Likewise.
39304         * libio/tst-freopen.c: Likewise.
39305         * libio/tst-sscanf.c: Likewise.
39306         * libio/tst-ungetwc1.c: Likewise.
39307         * libio/tst-ungetwc2.c: Likewise.
39308         * libio/tst-widetext.c: Likewise.
39309         * localedata/tst-ctype.c: Likewise.
39310         * localedata/tst-digits.c: Likewise.
39311         * localedata/tst-leaks.c: Likewise.
39312         * localedata/tst-mbswcs1.c: Likewise.
39313         * localedata/tst-mbswcs2.c: Likewise.
39314         * localedata/tst-mbswcs3.c: Likewise.
39315         * localedata/tst-mbswcs4.c: Likewise.
39316         * localedata/tst-mbswcs5.c: Likewise.
39317         * localedata/tst-setlocale.c: Likewise.
39318         * localedata/tst-trans.c: Likewise.
39319         * localedata/tst-wctype.c: Likewise.
39320         * localedata/tst-xlocale1.c: Likewise.
39321         * login/tst-grantpt.c: Likewise.
39322         * malloc/tst-calloc.c: Likewise.
39323         * malloc/tst-malloc.c: Likewise.
39324         * malloc/tst-mallocstate.c: Likewise.
39325         * malloc/tst-mcheck.c: Likewise.
39326         * malloc/tst-mtrace.c: Likewise.
39327         * malloc/tst-obstack.c: Likewise.
39328         * math/atest-exp2.c: Likewise.
39329         * math/atest-exp.c: Likewise.
39330         * math/atest-sincos.c: Likewise.
39331         * math/test-matherr.c: Likewise.
39332         * math/test-misc.c: Likewise.
39333         * math/test-powl.c: Likewise.
39334         * math/tst-definitions.c: Likewise.
39335         * misc/tst-dirname.c: Likewise.
39336         * misc/tst-efgcvt.c: Likewise.
39337         * misc/tst-fdset.c: Likewise.
39338         * misc/tst-hsearch.c: Likewise.
39339         * misc/tst-mntent2.c: Likewise.
39340         * nptl/tst-sem7.c: Likewise.
39341         * nptl/tst-sem8.c: Likewise.
39342         * nptl/tst-sem9.c: Likewise.
39343         * nss/test-netdb.c: Likewise.
39344         * posix/tst-fnmatch.c: Likewise.
39345         * posix/tst-getlogin.c: Likewise.
39346         * posix/tst-gnuglob.c: Likewise.
39347         * posix/tst-mmap.c: Likewise.
39348         * pwd/tst-getpw.c: Likewise.
39349         * resolv/tst-inet_ntop.c: Likewise.
39350         * rt/tst-timer.c: Likewise.
39351         * stdio-common/test-fseek.c: Likewise.
39352         * stdio-common/test-popen.c: Likewise.
39353         * stdio-common/test-vfprintf.c: Likewise.
39354         * stdio-common/tst-cookie.c: Likewise.
39355         * stdio-common/tst-fileno.c: Likewise.
39356         * stdio-common/tst-gets.c: Likewise.
39357         * stdio-common/tst-obprintf.c: Likewise.
39358         * stdio-common/tst-perror.c: Likewise.
39359         * stdio-common/tst-sprintf2.c: Likewise.
39360         * stdio-common/tst-sprintf3.c: Likewise.
39361         * stdio-common/tst-sprintf.c: Likewise.
39362         * stdio-common/tst-swprintf.c: Likewise.
39363         * stdio-common/tst-tmpnam.c: Likewise.
39364         * stdio-common/tst-unbputc.c: Likewise.
39365         * stdio-common/tst-wc-printf.c: Likewise.
39366         * stdlib/tst-environ.c: Likewise.
39367         * stdlib/tst-fmtmsg.c: Likewise.
39368         * stdlib/tst-limits.c: Likewise.
39369         * stdlib/tst-rand48-2.c: Likewise.
39370         * stdlib/tst-rand48.c: Likewise.
39371         * stdlib/tst-random2.c: Likewise.
39372         * stdlib/tst-random.c: Likewise.
39373         * stdlib/tst-strtol.c: Likewise.
39374         * stdlib/tst-strtoll.c: Likewise.
39375         * stdlib/tst-tls-atexit.c: Likewise.
39376         * stdlib/tst-xpg-basename.c: Likewise.
39377         * string/test-ffs.c: Likewise.
39378         * string/tst-bswap.c: Likewise.
39379         * string/tst-inlcall.c: Likewise.
39380         * string/tst-strtok.c: Likewise.
39381         * string/tst-strxfrm.c: Likewise.
39382         * sysdeps/x86_64/tst-audit10.c: Likewise.
39383         * sysdeps/x86_64/tst-audit3.c: Likewise.
39384         * sysdeps/x86_64/tst-audit4.c: Likewise.
39385         * sysdeps/x86_64/tst-audit5.c: Likewise.
39386         * time/tst-ftime_l.c: Likewise.
39387         * time/tst-getdate.c: Likewise.
39388         * time/tst-mktime3.c: Likewise.
39389         * time/tst-mktime.c: Likewise.
39390         * time/tst-posixtz.c: Likewise.
39391         * time/tst-strptime2.c: Likewise.
39392         * time/tst-strptime3.c: Likewise.
39393         * wcsmbs/tst-btowc.c: Likewise.
39394         * wcsmbs/tst-mbrtowc.c: Likewise.
39395         * wcsmbs/tst-mbsrtowcs.c: Likewise.
39396         * wcsmbs/tst-wchar-h.c: Likewise.
39397         * wcsmbs/tst-wcpncpy.c: Likewise.
39398         * wcsmbs/tst-wcrtomb.c: Likewise.
39399         * wcsmbs/tst-wcsnlen.c: Likewise.
39400         * wcsmbs/tst-wcstof.c: Likewise.
39402 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
39404         [BZ #14132]
39405         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
39406         INTDEF.
39407         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
39408         declaration.
39409         (_dl_mcount): Use rtld_hidden_proto.
39410         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
39411         _dl_mcount.
39412         * elf/rtld.c (_rtld_global_ro): Likewise.
39414         [BZ #14132]
39415         * elf/dl-init.c (_dl_init): Don't use INTDEF.
39416         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
39417         of _dl_init_internal.
39418         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
39419         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
39420         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
39421         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
39422         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
39423         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
39424         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
39425         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
39426         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
39427         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
39428         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
39429         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
39430         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39431         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39432         * sysdeps/tile/dl-start.S (_start): Likewise.
39433         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
39434         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
39436         [BZ #14132]
39437         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
39438         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
39439         (rtld_progname): Make macro definition unconditional.
39440         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
39441         INTDEF.
39442         (dlmopen_doit): Do not use INTUSE with _dl_argv.
39443         (dl_main): Likewise.
39444         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39445         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
39446         instead of _dl_argv_internal.
39447         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39448         __GI__dl_argv instead of INTUSE(_dl_argv).
39449         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
39450         __GI__dl_argv instead of _dl_argv_internal.
39452         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
39453         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
39454         macro.
39455         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
39456         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
39457         New macro.
39458         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
39459         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
39460         macro.
39461         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
39462         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
39464 2014-11-04  Andreas Schwab  <schwab@suse.de>
39466         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
39468 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39470         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
39471         mtvsrd instruction in binary form.
39473 2014-11-03  Andreas Schwab  <schwab@suse.de>
39475         [BZ #17522]
39476         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
39477         for less than MB_LEN_MAX use a local buffer of that size.
39478         * libio/tst-fputws.c: New file.
39479         * libio/Makefile (tests): Add tst-fputws.
39481 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
39483         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
39484         the size of the fpu_fr.fpu_dregs[] array.
39486 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
39488         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
39489         (__nanosleep): Do not define as alias.
39490         (nanosleep): Define as alias of __nanosleep.
39491         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
39492         __libc_nanosleep name.
39494 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39496         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
39497         install.texi in comment.
39499 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39501         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
39502         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
39503         ... add here and use lwsync or sync ...
39504         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
39505         ... and add here using lwsync.
39507 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39509         * elf/dl-machine-reject-phdr.h: New file.
39510         * elf/dl-load.c: #include that.
39511         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
39512         if that returned true.
39514 2014-10-31  Roland McGrath  <roland@hack.frob.com>
39516         [BZ #17496]
39517         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
39518         gen-as-const-headers chunk.  Add a big scare comment after the last
39519         safe place to touch before-compile.
39521 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39523         * manual/install.texi (Tools for Compilation): Update autoconf
39524         version requirements.
39525         * INSTALL: Regenerated.
39527         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
39528         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
39529         (__libc_pselect): Likewise.
39531         [BZ #14138]
39532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
39533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39537 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39539         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
39540         correct barrier instruction.
39541         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
39542         Likewise.
39543         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
39544         Likewise.
39546 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39548         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
39549         after defining inlines.  Instead, just use parens to defeat macro
39550         expansion of __isctype in its declaration.
39552 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39554         * include/sys/uio.h (__libc_readv): Remove declaration.
39555         (__libc_writev): Likewise.
39556         * misc/readv.c (__libc_readv): Rename to __readv.
39557         (__readv): Do not define as alias.
39558         (readv): Define as alias of __readv.
39559         * misc/writev.c (__libc_writev): Rename to __writev.
39560         (__writev): Do not define as alias.
39561         (writev): Define as alias of __writev.
39562         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
39563         (__readv): Do not define as alias.
39564         (readv): Define unconditionally as alias of __readv.
39565         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
39566         (__writev): Do not define as alias.
39567         (writev): Define unconditionally as alias of __writev.
39568         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
39569         name.
39570         (writev): Do not define __libc_writev name.
39572 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39574         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
39575         (convert_charseq): New function, broken out of ...
39576         (use_from_charmap): ... here.  Call it.
39577         (use_to_charmap): Use convert_charseq and free instead of duplicating
39578         its code with a variable-length stack struct.
39580 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39582         * include/fcntl.h (__libc_creat): Remove declaration.
39583         * io/creat.c (__libc_creat): Rename to creat.
39584         (creat): Do not define as alias.
39585         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
39586         of creat instead of __libc_creat.
39587         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
39588         to creat.
39589         (creat): Do not define as alias.
39590         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
39591         __libc_creat.
39592         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
39593         __libc_creat name.
39594         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
39595         Likewise.
39597 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
39599         * manual/llio.texi: Add comments discussing why write() may be
39600         considered MT-unsafe on Linux.
39602 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39604         * dl-load.c (local_strdup): Remove.
39605         (expand_dynamic_string_token): Use __strdup.
39606         (decompose_rpath): Likewise.
39607         (_dl_map_object): Likewise.
39609 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39611         [BZ #14132]
39612         * sysdeps/generic/unwind-dw2-fde.c
39613         (__register_frame_info_bases_internal): Do not declare.
39614         (__register_frame_info_table_bases_internal): Likewise.
39615         (__deregister_frame_info_bases_internal): Likewise.
39616         (__register_frame_info_bases): Declare and use hidden_proto before
39617         definition.  Use hidden_def instead of INTDEF.
39618         (__register_frame_info_table_bases): Likewise.
39619         (__deregister_frame_info_bases): Likewise.
39620         (__register_frame_info): Do not use INTUSE.
39621         (__register_frame): Likewise.
39622         (__register_frame_info_table): Likewise.
39623         (__register_frame_table): Likewise.
39624         (__deregister_frame_info): Likewise.
39625         (__deregister_frame): Likewise.
39627 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39629         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39630         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39631         not undefine.
39632         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39633         Likewise.
39634         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39635         Likewise.
39637 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39639         [BZ #14138]
39640         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39641         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39642         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39643         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39644         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39645         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39646         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39647         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39648         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39649         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39650         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39651         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39652         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39653         syscall.
39654         (setfsuid): Likewise.
39655         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39656         (setfsuid): Likewise.
39657         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39658         (setfsuid): Likewise.
39659         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39660         Likewise.
39661         (setfsuid): Likewise.
39662         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39663         (setfsuid): Likewise.
39664         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39665         Likewise.
39666         (setfsuid): Likewise.
39668 2014-10-27  Andreas Schwab  <schwab@suse.de>
39670         [BZ #17501]
39671         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39672         check for Slow_SSE4_2 feature bit.
39673         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39674         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39675         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39676         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39678 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39680         * configure.ac: Validate compiler version with a empirical test of
39681         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39682         $CC -v output.
39683         * configure: Regenerated.
39685         * inet/htons.c (htons): Prototypify.
39686         * inet/htonl.c (htonl): Likewise.
39688 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39690         * string/strncat.c (strncat): Improve performance by using strlen.
39692 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39694         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39696 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39698         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39699         Call libc_fetestexcept_aarch64.
39701 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39703         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39704         Call libc_feholdexcept_aarch64.
39706 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39708         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39709         Call get_rounding_mode.
39711 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39713         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39714         Simplify logic.
39716 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39718         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39719         Simplify logic.
39721 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39723         [BZ #14138]
39724         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39725         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39726         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39727         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39728         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39729         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39730         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39731         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39732         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39733         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39734         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39735         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39736         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39737         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39738         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39739         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39740         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39741         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39742         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39743         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39744         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39745         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39746         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39747         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39748         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39749         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39750         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39751         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39752         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39753         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39754         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39755         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39756         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39757         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39758         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39759         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39760         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39761         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39762         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39763         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39764         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39765         syscall.
39766         (geteuid): Likewise.
39767         (getgid): Likewise.
39768         (getuid): Likewise.
39769         (getresgid): Likewise.
39770         (getresuid): Likewise.
39771         (getgroups): Likewise.
39772         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39773         (geteuid): Likewise.
39774         (getgid): Likewise.
39775         (getuid): Likewise.
39776         (getresgid): Likewise.
39777         (getresuid): Likewise.
39778         (getgroups): Likewise.
39779         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39780         (geteuid): Likewise.
39781         (getgid): Likewise.
39782         (getuid): Likewise.
39783         (getresgid): Likewise.
39784         (getresuid): Likewise.
39785         (getgroups): Likewise.
39786         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39787         Likewise.
39788         (geteuid): Likewise.
39789         (getgid): Likewise.
39790         (getuid): Likewise.
39791         (getresgid): Likewise.
39792         (getresuid): Likewise.
39793         (getgroups): Likewise.
39794         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39795         (geteuid): Likewise.
39796         (getgid): Likewise.
39797         (getuid): Likewise.
39798         (getresgid): Likewise.
39799         (getresuid): Likewise.
39800         (getgroups): Likewise.
39801         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39802         Likewise.
39803         (geteuid): Likewise.
39804         (getgid): Likewise.
39805         (getuid): Likewise.
39806         (getgroups): Likewise.
39808         [BZ #14138]
39809         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39810         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39811         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39812         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39813         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39814         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39815         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39816         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39817         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39818         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39819         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39820         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39821         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39822         __chown.
39823         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39824         (lchown): Likewise.
39825         (fchown): Likewise.
39826         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39827         Likewise.
39828         (lchown): Likewise.
39829         (fchown): Likewise.
39830         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39831         (lchown): Likewise.
39832         (fchown): Likewise.
39833         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39834         Likewise.
39835         (lchown): Likewise.
39836         (fchown): Likewise.
39838 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39840         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39841         Simplify logic.
39843 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39845         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39846         Cleanup logic.
39848 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39850         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39851         Remove unused include.
39853 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39855         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39856         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39857         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39858         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39860 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39861             Helge Deller <deller@gmx.de>
39863         [BZ #17508]
39864         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39865         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39866         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39868 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39870         [BZ #14132]
39871         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39872         Remove macro definition.
39873         (__ashrdi3_v_glibc20): Likewise.
39874         (__lshrdi3_v_glibc20): Likewise.
39875         (__cmpdi2_v_glibc20): Likewise.
39876         (__ucmpdi2_v_glibc20): Likewise.
39877         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39878         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39879         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39880         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39881         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39882         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39884 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39886         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39887         old GNU extension [0] syntax.
39888         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39889         alloca rather than an array member with variable length.
39890         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39891         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39892         (parse_opt): ... here.  Likewise use alloca there.
39893         Validate the -i argument before checking for rootness.
39894         (send_shutdown): New function, broken out of ...
39895         (parse_opt): ... here.
39897 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39899         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39900         macro to get at the _rt_local_ro field.
39901         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39902         ([PIC] case) or _dl_hwcap ([!PIC] case).
39903         * sysdeps/arm/setjmp.S: Likewise.
39905         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39906         * sysdeps/arm/configure.ac: New check to define it.
39907         * sysdeps/arm/configure: Regenerated.
39908         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39909         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39910         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39911         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39912         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39913         Use move/movt pair instead of a load.
39914         (LDST_GLOBAL): Macro removed.
39915         (LDR_GLOBAL): New macro replaces it.
39916         (LDR_HIDDEN): New macro.
39917         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39918         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39920         * setjmp/tst-setjmp-static.c: New file.
39921         * setjmp/Makefile (tests): Add it.
39922         (tests-static): New variable.
39924 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39926         [BZ #17485]
39927         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39929 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39931         [BZ #14132]
39932         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39934 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39936         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39938 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39940         * io/fts.c (dirent_not_directory): New function.
39941         (fts_build): Call it.
39943 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39945         * nptl/version.c (__nptl_main): Use normal __write rather than
39946         INTERNAL_SYSCALL.
39947         (banner): Update copyright years.
39949         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39950         gettimeofday.
39951         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39952         * nptl/pthread_cond_timedwait.c: Likewise.
39953         * nptl/pthread_mutex_timedlock.c: Likewise.
39954         * nptl/sem_timedwait.c: Likewise.
39956         * sysdeps/nptl/bits/libc-lock.h
39957         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39958         (__libc_lock_init_recursive): Return void, not 0.
39959         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39960         (__libc_rwlock_init): Likewise.
39961         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39963 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39965         [BZ #15215]
39966         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39967         (__pthread_once_slow): ... here.
39968         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39969         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39971 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39973         [BZ #15215]
39974         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39975         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39976         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39977         * nptl/pthread_once.c (__pthread_once): Likewise.
39978         Update comments.
39980 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39982         [BZ #14138]
39983         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39984         name.
39985         (writev): Use __libc_writev as strong name.
39986         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39987         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39989 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39991         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39993         * sysdeps/i386/nptl/tls.h
39994         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39995         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39996         New macros.
39997         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39998         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39999         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
40000         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
40001         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
40002         Call CHECK_THREAD_SYSINFO instead of doing an assert.
40004         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
40005         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
40006         on [__NR_futex].
40007         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
40008         broken out of ...
40009         (__pthread_mutex_init): ... here.  Call it.
40010         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
40011         Conditionalize PI cases on [__NR_futex].
40012         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
40013         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
40014         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
40016         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
40017         conditional on [SIGSETXID].
40018         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
40019         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
40020         is defined.  Likewise for SIGSETXID.
40021         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
40022         Conditionalize definitions on [SIGSETXID].
40023         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
40024         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
40025         unblocking on [SIGCANCEL].
40027         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
40028         [__NR_set_robust_list].
40030 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40032         * string/strcoll_l.c (get_next_seq): Fix up formatting.
40033         (do_compare): Likewise.
40035 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
40037         [BZ #15884]
40038         * string/strcoll_l.c: Don't include stdio.h.
40039         (coll_seq): Remove members idxarr and rulearr.
40040         (get_next_seq_cached): Remove function.
40041         (get_next_seq): Likewise.
40042         (get_next_seq_nocache): Rename to get_next_seq.
40043         (do_compare): Remove function.
40044         (do_compare_nocache): Rename to do_compare.
40045         (STRCOLL): Remove weight and rules cache.
40047 2014-10-16  Roland McGrath  <roland@hack.frob.com>
40049         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
40050         * sysdeps/arm/sfp-machine.h: ... to here.
40051         * sysdeps/arm/Implies: Remove arm/soft-fp.
40053 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
40055         * conform/data/sys/utsname.h-data (*_t): Allow.
40056         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
40057         [POSIX] (WEXITED): Do not expect constant.
40058         [POSIX] (WSTOPPED): Likewise.
40059         [POSIX] (WNOHANG): Likewise.
40060         [POSIX] (WNOWAIT): Likewise.
40061         [POSIX] (siginfo_t): Do not expect type or elements.
40062         [POSIX] (pid_t): Do not expect type.
40063         [POSIX] (signal.h): Do not allow header.
40064         [POSIX] (sys/resource.h): Likewise.
40065         [POSIX] (si_*): Do not allow pattern.
40066         [POSIX] (W*): Likewise.
40067         [POSIX] (P_*): Likewise.
40068         [POSIX] (BUS_*): Likewise.
40069         [POSIX] (CLD_*): Likewise.
40070         [POSIX] (FPE_*): Likewise.
40071         [POSIX] (ILL_*): Likewise.
40072         [POSIX] (POLL_*): Likewise.
40073         [POSIX] (SEGV_*): Likewise.
40074         [POSIX] (SI_*): Likewise.
40075         [POSIX] (TRAP_*): Likewise.
40076         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
40077         variable.
40079 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
40081         [BZ #12926]
40082         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
40083         infinite loop when __recvmsg returns 0.
40085 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
40087         * CANCEL-FCT-WAIVE: Remove file.
40088         * CANCEL-FILE-WAIVE: Likewise.
40090         [BZ #14132]
40091         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
40092         instead of INTVARDEF.
40093         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40094         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
40095         rtld_hidden_data_def instead of INTVARDEF.
40096         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40097         * elf/dl-deps.c (expand_dst): Likewise.
40098         * elf/dl-load.c (_dl_dst_count): Likewise.
40099         (_dl_dst_substitute): Likewise.
40100         (decompose_rpath): Likewise.
40101         (_dl_init_paths): Likewise.
40102         (open_path): Likewise.
40103         (_dl_map_object): Likewise.
40104         * elf/rtld.c (dl_main): Likewise.
40105         (process_dl_audit): Likewise.
40106         (process_envvars): Likewise.
40107         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
40108         Remove declaration.
40109         (__libc_enable_secure): Use rtld_hidden_proto.
40111 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40113         * elf/dl-load.c
40114         (add_path): New function broken out of _dl_rtld_di_serinfo.
40115         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
40117 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40119         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
40120         parentheses around macro arguments.
40121         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
40122         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
40123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
40124         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
40125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
40126         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40128         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
40129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
40130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
40131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
40132         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
40133         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
40134         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
40135         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
40136         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
40137         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
40138         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
40139         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
40140         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
40141         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
40142         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
40143         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
40144         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40146         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
40147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
40148         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
40149         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
40150         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
40151         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
40152         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
40153         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
40154         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
40155         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
40156         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
40157         Likewise.
40158         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
40159         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40160         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
40162         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
40163         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
40164         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
40165         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
40166         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
40167         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
40168         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
40169         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
40170         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
40171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
40172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
40173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40175         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
40176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
40177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
40178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
40179         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
40180         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
40181         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
40182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
40183         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
40184         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
40185         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
40186         (_FP_FRAC_SRS_1): Likewise.
40187         (_FP_FRAC_CLZ_1): Likewise.
40188         (_FP_MUL_MEAT_1_imm): Likewise.
40189         (_FP_MUL_MEAT_1_wide): Likewise.
40190         (_FP_MUL_MEAT_1_hard): Likewise.
40191         (_FP_SQRT_MEAT_1): Likewise.
40192         (_FP_FRAC_ASSEMBLE_1): Likewise.
40193         (_FP_FRAC_DISASSEMBLE_1): Likewise.
40194         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
40195         (__FP_CLZ_2): Likewise.
40196         (_FP_MUL_MEAT_2_wide): Likewise.
40197         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40198         (_FP_MUL_MEAT_2_gmp): Likewise.
40199         (_FP_MUL_MEAT_2_120_240_double): Likewise.
40200         (_FP_SQRT_MEAT_2): Likewise.
40201         (_FP_FRAC_ASSEMBLE_2): Likewise.
40202         (_FP_FRAC_DISASSEMBLE_2): Likewise.
40203         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
40204         (_FP_FRAC_CLZ_4): Likewise.
40205         (_FP_MUL_MEAT_4_wide): Likewise.
40206         (_FP_MUL_MEAT_4_gmp): Likewise.
40207         (_FP_SQRT_MEAT_4): Likewise.
40208         (_FP_FRAC_ASSEMBLE_4): Likewise.
40209         (_FP_FRAC_DISASSEMBLE_4): Likewise.
40210         * soft-fp/op-common.h (_FP_CMP): Likewise.
40211         (_FP_CMP_EQ): Likewise.
40212         (_FP_CMP_UNORD): Likewise.
40213         (_FP_TO_INT): Likewise.
40214         (_FP_FROM_INT): Likewise.
40215         [!__FP_CLZ] (__FP_CLZ): Likewise.
40216         (_FP_DIV_HELP_imm): Likewise.
40217         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
40218         Likewise.
40219         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
40220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
40221         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
40222         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
40223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
40224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40226         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
40227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
40228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
40229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
40230         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
40231         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
40232         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
40233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
40234         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
40235         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
40236         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
40237         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
40238         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
40239         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
40240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
40241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
40242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40244         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
40245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
40246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
40247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
40248         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
40249         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
40250         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
40251         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
40252         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
40253         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
40254         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
40255         (FP_UNPACK_RAW_SP): Likewise.
40256         (FP_PACK_RAW_S): Likewise.
40257         (FP_PACK_RAW_SP): Likewise.
40258         (FP_UNPACK_S): Likewise.
40259         (FP_UNPACK_SP): Likewise.
40260         (FP_UNPACK_SEMIRAW_S): Likewise.
40261         (FP_UNPACK_SEMIRAW_SP): Likewise.
40262         (FP_PACK_S): Likewise.
40263         (FP_PACK_SP): Likewise.
40264         (FP_PACK_SEMIRAW_S): Likewise.
40265         (FP_PACK_SEMIRAW_SP): Likewise.
40266         (_FP_SQRT_MEAT_S): Likewise.
40267         (FP_CMP_S): Likewise.
40268         (FP_CMP_EQ_S): Likewise.
40269         (FP_CMP_UNORD_S): Likewise.
40270         (FP_TO_INT_S): Likewise.
40271         (FP_FROM_INT_S): Likewise.
40273         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
40275         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
40276         (FP_EX_INVALID_IMZ): Likewise.
40277         (FP_EX_INVALID_IMZ_FMA): Likewise.
40278         (FP_EX_INVALID_ISI): Likewise.
40279         (FP_EX_INVALID_ZDZ): Likewise.
40280         (FP_EX_INVALID_IDI): Likewise.
40281         (FP_EX_INVALID_SQRT): Likewise.
40282         (FP_EX_INVALID_CVI): Likewise.
40283         (FP_EX_INVALID_VC): Likewise.
40284         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
40285         "invalid" exceptions.
40286         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
40287         (_FP_ADD_INTERNAL): Likewise.
40288         (_FP_MUL): Likewise.
40289         (_FP_FMA): Likewise.
40290         (_FP_DIV): Likewise.
40291         (_FP_CMP_CHECK_NAN): Likewise.
40292         (_FP_SQRT): Likewise.
40293         (_FP_TO_INT): Likewise.
40294         (FP_EXTEND): Likewise.
40296 2014-10-09  Allan McRae  <allan@archlinux.org>
40298         * po/fr.po: Update French translation from translation project.
40300 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40302         [BZ #14132]
40303         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
40304         of INTDEF.
40305         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
40306         (__cxa_atexit): Use libc_hidden_proto.
40307         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
40309         [BZ #14132]
40310         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
40311         declaration.
40312         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
40313         [!_ISOMAC] (__iswspace_l_internal): Likewise.
40314         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
40315         [!_ISOMAC] (__iswctype_internal): Likewise.
40316         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
40317         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
40318         alias.
40319         (fcntl): Remove __fcntl_internal alias.
40320         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
40321         __connect_internal alias.
40322         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
40323         Likewise.
40325         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
40326         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
40327         FP_DENORM_ZERO.
40328         (_FP_CHECK_FLUSH_ZERO): New macro.
40329         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
40330         (_FP_CMP): Likewise.
40331         (_FP_CMP_EQ): Likewise.
40332         (_FP_TO_INT): Do not set inexact for subnormal arguments if
40333         FP_DENORM_ZERO.
40334         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40335         (FP_TRUNC): Likewise.
40337         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
40338         treated as invalid conversion, not as normal exponent.
40340         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
40341         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
40342         (_FP_CMP_EQ): Likewise.
40343         (_FP_CMP_UNORD): Likewise.
40344         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
40345         (FP_CMP_EQ_D): Likewise.
40346         (FP_CMP_UNORD_D): Likewise.
40347         * soft-fp/extended.h (FP_CMP_E): Likewise.
40348         (FP_CMP_EQ_E): Likewise.
40349         (FP_CMP_UNORD_E): Likewise.
40350         * soft-fp/quad.h (FP_CMP_Q): Likewise.
40351         (FP_CMP_EQ_Q): Likewise.
40352         (FP_CMP_UNORD_Q): Likewise.
40353         * soft-fp/single.h (FP_CMP_S): Likewise.
40354         (FP_CMP_EQ_S): Likewise.
40355         (FP_CMP_UNORD_S): Likewise.
40356         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
40357         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
40358         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
40359         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
40360         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
40361         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40362         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
40363         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
40364         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
40365         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
40366         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
40367         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
40368         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
40369         to FP_CMP_Q.
40370         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
40371         FP_CMP_Q.
40372         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
40373         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
40374         FP_CMP_EQ_Q.
40375         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
40376         FP_CMP_Q.
40377         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
40378         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
40379         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
40380         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
40381         FP_CMP_EQ_Q.
40382         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
40383         FP_CMP_Q.
40384         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
40385         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
40386         FP_CMP_EQ_Q.
40387         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
40388         FP_CMP_Q.
40389         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
40390         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
40391         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
40392         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
40393         FP_CMP_EQ_Q.
40395         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
40396         a subnormal result, set the underflow exception if trapping on
40397         underflow is enabled.
40398         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
40399         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
40400         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
40401         redefine to 0.
40402         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
40403         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40404         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40405         * soft-fp/extendxftf2.c (__extendxftf2): Use
40406         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
40408         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
40409         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
40410         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40411         FP_HANDLE_EXCEPTIONS.
40412         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
40413         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40414         FP_HANDLE_EXCEPTIONS.
40415         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
40416         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40417         FP_HANDLE_EXCEPTIONS.
40418         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
40419         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40420         FP_HANDLE_EXCEPTIONS.
40422 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
40424         [BZ #14132]
40425         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
40426         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
40427         use INTUSE.
40428         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
40429         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
40430         Remove alias.
40431         (__adjtimex): Define using libc_hidden_ver.
40432         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
40433         Remove declaration.
40434         (ntp_gettime): Call __adjtimex directly.
40435         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
40436         Remove declaration.
40437         (ntp_gettimex): Call __adjtimex directly.
40438         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
40439         __adjtimex_internal alias.
40441 2014-10-08  Roland McGrath  <roland@hack.frob.com>
40443         [BZ #17460]
40444         * nscd/nscd.c (more_help): Rewrite list of tables collection
40445         using xstrdup and asprintf.
40447         * nscd/nscd_conf.c: Remove local xstrdup declaration.
40449 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40450             Roland McGrath  <roland@hack.frob.com>
40452         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
40453         (do_lookup_unique): ... local function 'enter' here; update callers.
40455 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
40457         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
40458         compat_symbol calls on [SHARED].
40459         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
40460         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
40461         Remove.
40462         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40463         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
40464         (oldsetrlimit): Remove.
40465         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40467         (lchown): New syscall entry.
40468         (oldsetrlimit): Remove.
40469         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40470         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
40471         (oldsetrlimit): Remove.
40472         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40474         [BZ #14138]
40475         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
40476         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
40477         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
40478         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
40479         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40480         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
40481         (fchown): Likewise.
40482         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
40483         (fchown): Likewise.
40484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
40485         Likewise.
40487 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40489         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
40490         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
40491         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
40492         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
40493         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
40494         Likewise.
40495         (__old_sem_post): Likewise.
40497 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
40499         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
40500         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
40501         HAVE_CLOCK_GETTIME_VSYSCALL macros.
40502         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
40503         Use INLINE_VSYSCALL macro.
40504         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
40505         __vdso_clock_gettime.
40506         * sysdeps/unix/sysv/linux/tile/init-first.c
40507         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
40508         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
40509         __vdso_clock_gettime.
40511         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
40512         to set up frame more cleanly.
40514         * sysdeps/tile/memcmp.c: New file.
40516         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
40518         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
40519         * sysdeps/tile/tilegx/strcasestr.c: New file.
40520         * sysdeps/tile/tilegx/strnlen.c: New file.
40521         * sysdeps/tile/tilegx/strstr.c: New file.
40523         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
40525 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
40527         * nptl/tst-setuid3.c: Write errors to stdout.
40529 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40531         * elf/dl-deps.c
40532         (preload): New functions broken out of _dl_map_object_deps.
40533         (_dl_map_object_deps):  Remove a nested function. Update call sites.
40535 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
40537         [BZ #14138]
40538         * sysdeps/unix/sysv/linux/execve.c: Remove file.
40539         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
40541 2014-10-01  Steve Ellcey  <sellcey@mips.com>
40543         * sysdeps/mips/strcmp.S: New.
40545 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
40547         [BZ #14138]
40548         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
40549         (linkat): Likewise.
40550         (mkdirat): Likewise.
40551         (readlinkat): Likewise.
40552         (renameat): Likewise.
40553         (symlinkat): Likewise.
40554         (unlinkat): Likewise.
40555         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
40556         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
40557         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
40558         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
40559         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40560         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
40561         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
40563 2014-09-30  Will Newton  <will.newton@linaro.org>
40565         * math/math.h: Define long double math functions if
40566         _LIBC_TEST is defined.
40567         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
40569         * localedata/Makefile: Move assignment to tests-special
40570         into an ifdef testing run-built-tests.
40571         * timezone/Makefile: Likewise.
40573 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
40575         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
40576         with $(BASH) not $(SHELL).
40578 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
40579             Matthew LeGendre  <legendre1@llnl.gov>
40581         [BZ #17411]
40582         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
40583         l_reloc_result.
40585 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40587         * stdio-common/printf_fp.c
40588         (hack_digit): New function, broken out of ...
40589         (__printf_fp): ... local function here.  Update call sites.
40590         hack_digit now takes an additional parameter that is a pointer
40591         to a struct of the referenced locals.  Those locals moved inside
40592         the struct and references updated.
40594 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
40596         * aclocal.m4: Require autoconf 2.69.
40597         * configure: Regenerated.
40598         * sysdeps/aarch64/configure: Likewise.
40599         * sysdeps/alpha/configure: Likewise.
40600         * sysdeps/arm/armv7/configure: Likewise.
40601         * sysdeps/arm/configure: Likewise.
40602         * sysdeps/ia64/configure: Likewise.
40603         * sysdeps/mach/configure: Likewise.
40604         * sysdeps/mips/configure: Likewise.
40605         * sysdeps/s390/configure: Likewise.
40606         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40609         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40610         file.
40611         * sysdeps/ia64/configure.ac: Likewise.
40613 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40616         specify symbol version for ld.so.  Do not include entry for
40617         libpthread.
40618         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40619         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40620         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40622         [BZ #14171]
40623         * Makeconfig [$(build-shared) = yes]
40624         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40625         makefiles.
40626         [$(build-shared) = yes && $(soversions.mk-done) = t]
40627         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40628         [$(build-shared) = yes && $(soversions.mk-done) = t]
40629         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40630         to Makerules.
40631         [$(build-shared) = yes && $(soversions.mk-done) = t]
40632         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40633         here.
40634         [$(build-shared) = yes && $(soversions.mk-done) = t]
40635         (common-generated): Don't append gnu/lib-names.h and
40636         gnu/lib-names.stmp here.
40637         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40638         (lib-names-h-abi): New variable.
40639         [$(build-shared) = yes && $(soversions.mk-done) = t]
40640         (lib-names-stmp-abi): Likewise.
40641         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40642         abi-variants] (before-compile): Append
40643         $(common-objpfx)$(lib-names-h-abi).
40644         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40645         abi-variants] (common-generated): Append gnu/lib-names.h.
40646         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40647         abi-variants] (install-others-nosubdir): Depend on
40648         $(inst_includedir)/$(lib-names-h-abi).
40649         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40650         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40651         [$(build-shared) = yes && $(soversions.mk-done) = t]
40652         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40653         [$(build-shared) = yes && $(soversions.mk-done) = t]
40654         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40655         [$(build-shared) = yes && $(soversions.mk-done) = t]
40656         (common-generated): Append $(lib-names-h-abi) and
40657         $(lib-names-stmp-abi).
40658         * scripts/lib-names.awk: Do not handle multi being set.
40659         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40660         Remove variable.
40661         (abi-lp64_be-ld-soname): Likewise.
40662         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40663         Likewise.
40664         (abi-hard-ld-soname): Likewise.
40665         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40666         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40667         Remove variable.
40668         (abi-o32_hard-ld-soname): Likewise.
40669         (abi-o32_soft_2008-ld-soname): Likewise.
40670         (abi-o32_hard_2008-ld-soname): Likewise.
40671         (abi-n32_soft-ld-soname): Likewise.
40672         (abi-n32_hard-ld-soname): Likewise.
40673         (abi-n32_soft_2008-ld-soname): Likewise.
40674         (abi-n32_hard_2008-ld-soname): Likewise.
40675         (abi-n64_soft-ld-soname): Likewise.
40676         (abi-n64_hard-ld-soname): Likewise.
40677         (abi-n64_soft_2008-ld-soname): Likewise.
40678         (abi-n64_hard_2008-ld-soname): Likewise.
40679         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40680         Likewise.
40681         (abi-64-v2-ld-soname): Likewise.
40682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40683         ld.so entries.
40684         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40685         variable.
40686         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40687         entry.
40688         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40689         variable.
40690         (abi-64-ld-soname): Likewise.
40691         (abi-x32-ld-soname): Likewise.
40692         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40693         entry.
40694         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40696 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40698         [BZ #14138]
40699         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40700         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40701         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40702         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40703         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40704         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40705         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40706         syscall entry for GLIBC_2.2 symbol version.
40707         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40708         Likewise.
40709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40710         (setrlimit): Likewise.
40711         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40712         Likewise.
40714 2014-09-23  Will Newton  <will.newton@linaro.org>
40716         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40717         _LINUX_ARM_SYSDEP_H include guard too.
40718         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40719         define.
40721 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40723         * sysdeps/unix/sysv/linux/eventfd.c:
40724         Make first argument unsigned.
40725         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40726         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40728 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40730         [BZ #16852]
40731         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40732         * socket/sys/socket.h: Likewise.
40733         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40735 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40737         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40739 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40741         * time/tst-ftime.c: New test.
40742         * time/Makefile (tests): Add tst-ftime.
40744 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40746         * soft-fp/extended.h: Fix comment formatting.
40747         * soft-fp/op-1.h: Likewise.
40748         * soft-fp/op-2.h: Likewise.
40749         * soft-fp/op-4.h: Likewise.
40750         * soft-fp/op-8.h: Likewise.
40751         * soft-fp/op-common.h: Likewise.
40752         * soft-fp/soft-fp.h: Likewise.
40754         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40756 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40758         [BZ #6652]
40759         * Makeconfig (soversions-default-setname): Remove variable.
40760         ($(common-objpfx)soversions.i): Don't pass default_setname to
40761         soversions.awk.
40762         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40763         oldest_abi to abi-versions.awk.
40764         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40765         * config.make.in (oldest-abi): Remove variable.
40766         * configure.ac (--enable-oldest-abi): Remove configure option.
40767         * configure: Regenerated.
40768         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40769         text.
40770         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40771         * scripts/soversions.awk: Do not handle default_setname variable.
40772         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40773         variable.
40774         * sysdeps/mach/hurd/configure: Regenerated.
40775         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40776         variable.
40777         * sysdeps/unix/sysv/linux/configure: Regenerated.
40779 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40781         * elf/Makefile (CFLAGS-interp.c): Remove.
40782         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40783         path string.
40784         * elf/interp.c: Include generated runtime-linker.h
40786         * Makerules (lib%.so): Don't include $(+interp) in
40787         prerequisites.
40788         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40789         * dlfcn/eval.c: Remove file.
40791         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40792         macros.
40794         [BZ #17266]
40795         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40796         4.2 and newer.
40798         [BZ #17370]
40799         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40801 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40802             Jakub Jelinek  <jakub@redhat.com>
40804         [BZ #17266]
40805         * libio/stdio.h: Check definition of __fortify_function
40806         instead of __extern_always_inline to include bits/stdio2.h.
40807         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40808         check if __extern_always_inline is defined.
40809         [__USE_MISC || __USE_XOPEN]: Likewise.
40810         [__USE_ISOC99] Likewise.
40811         * misc/sys/cdefs.h (__fortify_function): Define only if
40812         __extern_always_inline is defined.
40813         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40814         __extern_always_inline and __extern_inline only for g++-4.3
40815         and newer or a compatible gcc.
40817 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40819         [BZ #17371]
40820         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40821         last change to handle zero prefix length.
40823 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40825         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40826         _SC_REGEX_VERSION.
40828         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40829         _POSIX_RAW_SOCKETS.
40831 2014-09-13  Allan McRae  <allan@archlinux.org>
40833         * po/ru.po: Update Russian translation from translation project.
40835 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40837         * locale/programs/locale.c (show_locale_vars): Inline local function
40838         into its sole call site.  Clean up some style nits.
40839         (print_item): New function, broken out of ...
40840         (show_info): ... local function here.  Clean up style nits.
40842         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40843         out of ...
40844         (set_class_defaults): ... local function set_default here.
40845         Define set_default as a macro locally to pass constant parameters.
40846         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40847         rather than a shared local.
40849         * stdlib/rpmatch.c (try): New function, broken out of ...
40850         (rpmatch): ... local function here.  Also, prototypify definition.
40852 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40854         * scripts/soversions.awk: Do not handle configuration names.
40855         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40856         vendor and os variables to soversions.awk.
40857         * configure.ac: Do not modify gnu-* host_os.
40858         * configure: Regenerated
40859         * shlib-versions: Remove first column with configuration names.
40860         * nptl/shlib-versions: Likewise.
40861         * nptl_db/shlib-versions: Likewise.
40862         * sysdeps/hppa/shlib-versions: Likewise.
40863         * sysdeps/m68k/shlib-versions: Likewise.
40864         * sysdeps/mach/hurd/shlib-versions: Likewise.
40865         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40866         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40867         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40868         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40869         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40870         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40871         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40872         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40874         Likewise.
40875         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40876         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40877         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40878         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40879         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40880         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40881         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40882         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40885         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40887         Regenerated.
40888         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40890         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40892         * shlib-versions: Remove OS-specific entries.  Moved to files in
40893         sysdeps.
40894         * sysdeps/mach/hurd/shlib-versions: New file.
40895         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40897         * nptl/shlib-versions: Remove architecture-specific entries.
40898         Moved to files in sysdeps.
40899         * shlib-versions: Likewise.
40900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40901         file.
40902         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40903         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40904         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40905         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40907         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40908         (UDP_NO_CHECK6_RX): Likewise.
40910 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40912         * sysdeps/posix/sysconf.c (__sysconf): Spell
40913         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40915 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40917         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40918         loading.
40919         * iconv/Versions (__gconv_transliterate): Export for use from
40920         gconv modules.
40921         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40922         (struct __gconv_trans_data, __gconv_trans_fct,
40923         __gconv_trans_context_fct, __gconv_trans_query_fct,
40924         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40925         definitions.
40926         (struct __gconv_step_data): Remove __trans member.
40927         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40928         longer hidden.  Remove unused trans_data argument.
40929         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40930         (__gconv_translit_find): Remove declaration.
40931         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40932         prototype.
40933         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40934         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40935         trans_data argument.  Add hidden definition.
40936         (__gconv_translit_find): Remove.
40937         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40938         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40939         * iconv/skeleton.c: Remove transliteration initialization.
40940         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40941         __gconv_step_data initialization.
40942         * libio/iofwide.c (__libio_translit_): Remove.
40943         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40944         * wcsmbs/btowc.c (__btowc): Likewise.
40945         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40946         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40947         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40948         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40949         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40950         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40951         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40952         * wcsmbs/wctob.c (wctob): Likewise.
40954 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40956         [BZ #16194]
40957         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40958         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40959         register usage.
40960         * sysdeps/x86/Makefile: Adjust.
40962 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40963             Roland McGrath  <roland@hack.frob.com>
40965         * locale/weight.h: Add include guard.
40966         (findidx): Make static rather than auto; take new parameters
40967         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40968         * locale/weightwc.h: Likewise.
40969         * posix/fnmatch_loop.c
40970         (FCT): Change type of EXTRA from int32_t to wint_t.
40971         Don't include either header inside the function.
40972         Call FINDIDX rather than findidx, and pass new arguments.
40973         #undef FINDIDX at the end of the file.
40974         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40975         FINDIDX before including fnmatch_loop.c for the non-wide version.
40976         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40977         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40978         for the wide version.
40979         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40980         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40981         Pass new arguments to findidx.
40982         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40983         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40984         Don't #include it inside the function.  Pass new arguments to findidx.
40985         * posix/regex_internal.h
40986         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40987         (re_string_elem_size_at): Don't #include it inside the function.
40988         Pass new arguments to findidx.
40989         * string/strcoll_l.c: #include WEIGHT_H at top level.
40990         (get_next_seq): Don't #include it inside the function.
40991         Pass new arguments to findidx.
40992         (get_next_seq_nocache): Likewise.
40993         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40994         (STRXFRM): Don't #include it inside the function.
40995         Pass new arguments to findidx.
40997 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40999         [BZ #17344]
41000         * malloc/malloc.c (unlink): Turn asserts into a call to
41001         malloc_printerr.
41003 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
41005         [BZ #17370]
41006         * libio/wfileops (do_ftell_wide): Free OUT.
41008 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
41010         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
41012 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41014         [BZ #17363]
41015         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
41016         group if the current group is empty.
41018 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41020         * benchtests/bench-memset.c (test_main): Add more test from size
41021         from 32 to 512 bytes.
41022         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41023         Add POWER8 memset object.
41024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41025         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
41026         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
41027         implementation.
41028         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
41029         Likewise.
41030         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
41031         multiarch POWER8 memset optimization.
41032         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
41033         POWER8 memset optimization.
41035         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41036         Remove bzero multiarch objects.
41037         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
41038         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
41039         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
41040         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
41041         Remove define.
41042         [__bzero]: Redefine to specific name.
41043         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
41044         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
41045         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
41046         define.
41047         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41048         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41050 2014-09-10  Florian Weimer  <fweimer@redhat.com>
41052         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
41053         warnings into errors.
41055         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
41056         __cxa_thread_atexit_impl prototype.
41058 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41060         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
41061         Fix capitalization of error message.
41063 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41065         * sysdeps/mips/preconfigure: Modify ABI tests.
41067 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
41069         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
41071 2014-09-07  Roland McGrath  <roland@hack.frob.com>
41072             Carlos O'Donell  <carlos@systemhalted.org>
41074         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
41075         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
41076         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
41077         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
41078         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
41079         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
41080         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
41081         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
41082         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
41083         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
41084         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
41085         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
41086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
41087         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
41088         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
41089         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
41090         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
41091         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
41092         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
41093         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
41094         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
41095         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
41096         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
41097         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
41098         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
41099         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
41100         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
41101         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
41102         Deconditionalize the code that was previously under [RESET_PID].
41103         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
41104         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
41105         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
41106         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
41107         include sysdep.h.
41109 2014-09-08  Allan McRae  <allan@archlinux.org>
41111         * version.h (RELEASE): Set to "development".
41112         (VERSION): Set to "2.20.90"
41114 2014-09-07  Allan McRae  <allan@archlinux.org
41116         * version.h (RELEASE): Set to "stable".
41117         (VERSION): Set to "2.20"
41118         * include/features.h (__GLIBC_MINOR__): Set to 20.
41120         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
41121         Liebler.
41123         * po/ko.po: Update Korean translation from translation project.
41125 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
41127         [BZ #17354]
41128         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
41129         macro for handling signed relocations.
41131 2014-09-03  Florian Weimer  <fweimer@redhat.com>
41133         [BZ #17325]
41134         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
41135         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
41136         assert.
41137         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
41138         * iconvdata/ibm935.c (BODY): Likewise.
41139         * iconvdata/ibm937.c (BODY): Likewise.
41140         * iconvdata/ibm939.c (BODY): Likewise.
41141         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
41142         assert.
41143         * iconvdata/Makefile (iconv-test.out): Pass module list to test
41144         script.
41145         * iconvdata/run-iconv-test.sh: New test loop for checking for
41146         decoder crashers.
41148 2014-09-02  Khem Raj  <raj.khem@gmail.com>
41150         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
41151         libm_hidden_ver.
41153 2014-09-01  Allan McRae  <allan@archlinux.org>
41155         * po/eo.po: Update Esperanto translation from translation project.
41157         * po/ca.po: Update Catalan translation from translation project.
41159 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41161         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
41162         __proc_dostop call.
41164 2014-08-27  Mark Wielaard  <mjw@redhat.com>
41166         [BZ #17319]
41167         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
41168         to call set_thread_area instead of hand written asm.
41169         (__NR_set_thread_area): Removed define.
41170         (TLS_FLAG_WRITABLE): Likewise.
41171         (__ASSUME_SET_THREAD_AREA): Remove check.
41172         (TLS_EBX_ARG): Remove define.
41173         (TLS_LOAD_EBX): Likewise.
41175 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41177         Simplify atomicity of socket creation in bind.
41179         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
41180         looking up the name after linking the file.
41182 2014-08-27  Allan McRae  <allan@archlinux.org>
41184         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41186 2014-08-26  Florian Weimer  <fweimer@redhat.com>
41188         [BZ #17187]
41189         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
41190         trans_compare, open_translit, __gconv_translit_find):
41191         Remove module loading code.
41193 2014-08-26  Allan McRae  <allan@archlinux.org>
41195         * po/vi.po: Update Vietnamese translation from translation project.
41197         * po/uk.po: Update Ukrainian translation from translation project.
41199         * po/fr.po: Update French translation from translation project.
41201         * po/ru.po: Update Russian translation from translation project.
41203         * po/pl.po: Update Polish translation from translation project.
41205         * po/cs.po: Update Czech translation from translation project.
41207         * po/de.po: Update German translation from translation project.
41209         * po/bg.po: Update Bulgarian translation from translation project.
41211         * po/sv.po: Update Sweedish translation from translation project.
41213         * po/nl.po: Update Dutch translation from translation project.
41215         * po/es.po: Update Spanish translation from translation project.
41217 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41219         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
41221         * catgets/Makefile (CPPFLAGS-gencat): Remove.
41222         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
41223         (CPPFLAGS-iconvconfig): Likewise.
41224         * timezone/Makefile (CPPFLAGS-zic): Likewise.
41226         * include/libc-symbols.h: Remove unnecessary check for
41227         NOT_IN_libc.
41228         * nptl/pthreadP.h: Likewise.
41229         * sysdeps/aarch64/setjmp.S: Likewise.
41230         * sysdeps/alpha/setjmp.S: Likewise.
41231         * sysdeps/arm/sysdep.h: Likewise.
41232         * sysdeps/i386/setjmp.S: Likewise.
41233         * sysdeps/m68k/setjmp.c: Likewise.
41234         * sysdeps/posix/getcwd.c: Likewise.
41235         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41236         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41237         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41238         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41239         * sysdeps/sh/sh3/setjmp.S: Likewise.
41240         * sysdeps/sh/sh4/setjmp.S: Likewise.
41241         * sysdeps/unix/alpha/sysdep.h: Likewise.
41242         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41243         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41244         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41245         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41248         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41249         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41250         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41251         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41253         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41255         * sysdeps/x86_64/setjmp.S: Likewise.
41257 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
41259         [BZ #17263]
41260         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
41261         <stdint.h>.
41262         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
41263         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
41265 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41267         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
41269         [BZ #17262]
41270         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
41271         and __x86_64__ when disabling x87 inline functions.
41273 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41275         [BZ #17259]
41276         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
41277         asm statement with __cpuid_count.
41279 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
41281         * configure.ac: Change __ehdr_start code to dereference the struct.
41282         Run readelf on the output to look for relocations.
41283         * configure: Regenerated.
41285 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
41287         [BZ #17261]
41288         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
41289         value to 0.
41290         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
41292 2014-08-12  Roland McGrath  <roland@hack.frob.com>
41294         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
41296 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41298         [BZ #16892]
41299         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
41300         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
41302 2014-08-12  Sean Anderson  <seanga2@gmail.com>
41304         * malloc/malloc.c: Fix typo in comment.
41306 2014-08-09  Allan McRae  <allan@archlinux.org>
41308         * Regenerate libc.po.
41310 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
41312         * intl/tst-gettext2.sh: Check every lang file for creation.
41314 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41316         * sysdeps/aarch64/fpu/math_private.h
41317         (libc_feholdsetround_noex_aarch64_ctx): New function.
41319 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41321         * sysdeps/arm/armv6/strcpy.S (strcpy):
41322         Fix performance issue in misaligned cases.
41324 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41326         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
41327         Move definition from termios.h.
41328         (struct termio): Likewise.
41329         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41330         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41331         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41332         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41333         Likewise.
41334         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
41335         Move definition to ioctl-types.h
41336         (struct termio): Likewise.
41337         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41338         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41339         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41340         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41341         Likewise.
41343 2014-08-05  Richard Henderson  <rth@redhat.com>
41345         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41346         exceptions.
41347         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
41348         Add fraiseexcpt.
41349         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
41350         Use __feraiseexcept.
41351         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
41352         Protect libm symbols with IS_IN_libm.
41354         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
41356 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
41358         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
41360 2014-08-04  Will Newton  <will.newton@linaro.org>
41362         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
41363         file.
41365 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
41367         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
41368         variants for each function.
41370 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41372         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
41373         appended ...
41374         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
41375         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
41376         appended ...
41377         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
41378         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
41379         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
41380         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
41381         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
41382         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41383         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
41384         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
41385         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
41386         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
41387         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
41388         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
41389         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
41390         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
41391         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
41392         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
41393         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
41394         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
41395         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
41396         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
41397         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
41398         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
41399         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
41400         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
41401         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
41402         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
41403         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
41404         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
41405         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
41406         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
41407         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
41408         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
41409         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
41410         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
41411         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
41412         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
41413         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
41414         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
41415         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
41416         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
41417         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
41418         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
41419         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
41420         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
41421         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
41422         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
41423         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
41424         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
41425         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
41426         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
41427         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
41428         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
41429         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
41430         Update #include.
41431         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
41432         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
41434 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41436         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
41437         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
41438         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
41439         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
41440         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
41441         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
41443 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41445         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
41446         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
41447         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41448         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
41450 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41452         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
41453         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
41454         (__libc_vfork): Define function under this name.
41455         (__vfork): Define as an alias.
41456         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
41457         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
41459 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41461         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
41462         that was previously under [RESET_PID].
41463         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
41465 2014-08-04  Andreas Schwab  <schwab@suse.de>
41467         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
41469 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
41471         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
41472         (main): Likewise.
41474 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41476         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
41478 2014-08-01  Richard Henderon  <rth@redhat.com>
41480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
41481         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
41482         typo in exact zero test.
41483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41484         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41487 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41489         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
41490         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
41491         * sysdeps/arm/sysdep.h: ... here.
41492         [!__ASSEMBLER__]: Include <stdint.h>.
41494 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41496         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
41497         (HAVE_WCTYPE_H): Likewise.
41498         (HAVE_ISWCTYPE): Likewise.
41499         (ENABLE_NLS): Likewise.
41500         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
41501         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
41503         * posix/regex_internal.c: Check if DEBUG is defined and is
41504         set.
41506         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
41507         (HAVE_MBSRTOWCS): Likewise.
41508         * posix/fnmatch.c: Include string.h unconditionally.
41510 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41512         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
41513         reversal.
41515 2014-07-31  Roland McGrath  <roland@hack.frob.com>
41517         * sysdeps/generic/safe-fatal.h: New file.
41518         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
41519         * nptl/forward.c: Include it.
41520         (__pthread_unwind): Use __safe_fatal as default action, rather
41521         than a bogus use of INTERNAL_SYSCALL that could never work.
41523         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
41524         * configure.ac (libc_cv_builtin_trap): New test.
41525         * configure: Regenerated.
41526         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
41527         (ABORT_INSTRUCTION): Define using __builtin_trap.
41529         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
41530         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
41531         * sysdeps/nptl/nptl-signals.h: New file.
41532         * nptl/pthreadP.h: Include <nptl-signals.h>.
41534 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41536         * sysdeps/s390/s390-64/utf16-utf32-z9.c
41537         (ONE_DIRECTION): Define.
41538         * sysdeps/s390/s390-64/utf8-utf16-z9.c
41539         (ONE_DIRECTION): Define.
41540         * sysdeps/s390/s390-64/utf8-utf32-z9.c
41541         (ONE_DIRECTION): Define.
41543 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41545         * sysdeps/s390/Makefile: Delete file.
41546         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
41547         * sysdeps/s390/__longjmp.c: Delete file.
41548         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
41549         Remove fields __flags and __reserved.
41550         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
41551         and add versioning.
41552         * sysdeps/s390/rtld-__longjmp.c: Delete file.
41553         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
41554         * sysdeps/s390/rtld-setjmp.S: Likewise.
41555         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
41556         * sysdeps/s390/s390-32/__longjmp.c: ... here.
41557         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
41558         * sysdeps/s390/s390-32/setjmp.S: ... here.
41559         Add versioning.
41560         (__sigsetjmp): Remove setting __flags field.
41561         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
41562         * sysdeps/s390/s390-64/__longjmp.c: ... here.
41563         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
41564         * sysdeps/s390/s390-64/setjmp.S: ... here.
41565         Add versioning.
41566         (__sigsetjmp): Remove setting __flags field.
41567         * sysdeps/s390/setjmp.S: Delete file.
41568         * sysdeps/s390/sigjmp.c: Likewise.
41569         * sysdeps/s390/v1-longjmp.c: Likewise.
41570         * sysdeps/s390/v1-setjmp.h: Likewise.
41571         * sysdeps/s390/v1-sigjmp.c: Likewise.
41572         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
41573         Remove v1-longjmp_chk.
41574         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
41575         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
41576         Include debug/longjmp_chk.c and add versioning.
41577         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
41578         Include nptl/pt-longjmp.c and add versioning.
41579         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
41580         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
41581         Include __longjmp.c.
41582         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41583         Move to ...
41584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
41585         (__getcontext): Remove setting __flags field.
41586         Add versioning.
41587         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41588         Don't restore upper high grps.
41589         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
41590         Likewise.
41591         (__swapcontext): Remove setting uc_flags field.
41592         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
41593         Delete file.
41594         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41595         Include __longjmp.c.
41596         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41597         Move to ...
41598         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
41599         (__getcontext): Remove setting __flags field.
41600         Add versioning.
41601         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
41602         (__swapcontext): Remove setting uc_flags field.
41603         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41604         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41605         Remove fields uc_high_gprs and __reserved.
41606         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41607         New file with reverted content.
41608         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41609         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41610         Regenerated.
41611         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41612         Regenerated.
41614 2014-07-31  Andreas Schwab  <schwab@suse.de>
41616         * config.h.in (HAVE_IFUNC): Define to 0.
41617         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41618         definedness.
41620 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41623         memmove-avx-unaligned, memcpy-avx-unaligned and
41624         mempcpy-avx-unaligned.
41625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41626         Add tests for AVX memcpy functions.
41627         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41628         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41629         memcpy_chk.
41630         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41631         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41632         memmove_chk.
41633         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41634         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41635         mempcpy_chk.
41636         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41637         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41638         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41640 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41642         [BZ #17213]
41643         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41644         powerpc64le.
41646 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41648         [BZ #16839]
41649         * manual/llio.texi: Add section about open file description locks.
41650         * manual/examples/ofdlocks.c: Example of open file description
41651         lock usage.
41652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41653         F_OFD_SETLK, and F_OFD_SETLKW.
41655 2014-07-23  Allan McRae  <allan@archlinux.org>
41657         * po/es.po: Update Spanish translation from translation project.
41659 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41661         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41663 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41665         [BZ #17078]
41666         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41667         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41668         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41670 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41672         [BZ #17088]
41673         * math/fesetenv.c (__fesetenv)
41674         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41675         * math/feupdateenv.c (__feupdateenv)
41676         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41678         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41679         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41680         (__ASSUME_SOCKETCALL): Do not define.
41682         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41683         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41684         (__ASSUME_SOCKETCALL): Do not define.
41685         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41686         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41687         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41688         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41689         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41690         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41691         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41692         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41694         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41695         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41696         (__ASSUME_SOCKETCALL): Do not define.
41697         (__ASSUME_IPC64): Define unconditionally.
41698         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41699         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41700         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41701         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41702         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41703         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41704         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41705         Likewise.
41707         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41708         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41709         (__ASSUME_SOCKETCALL): Do not define.
41710         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41711         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41712         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41713         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41714         (__ASSUME_REQUEUE_PI): Define unconditionally.
41715         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41716         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41717         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41718         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41719         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41720         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41722         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41723         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41724         (__ASSUME_SOCKETCALL): Do not define.
41725         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41726         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41727         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41728         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41729         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41730         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41732         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41733         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41734         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41735         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41736         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41737         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41738         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41739         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41740         (__ASSUME_GETCPU_SYSCALL): Likewise.
41742         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41743         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41744         cases for individual architectures.
41745         * sysdeps/gnu/configure: Regenerated.
41746         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41747         LIBC_SLIBDIR_RTLDDIR.
41748         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41749         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41750         LIBC_SLIBDIR_RTLDDIR.
41751         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41753         LIBC_SLIBDIR_RTLDDIR.
41754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41755         Regenerated.
41756         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41757         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41758         file.
41759         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41760         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41761         file.
41762         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41763         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41764         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41765         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41767         * sysdeps/aarch64/shlib-versions: Move to ...
41768         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41769         * sysdeps/alpha/shlib-versions: Move to ...
41770         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41771         * sysdeps/arm/shlib-versions: Move to ...
41772         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41773         * sysdeps/hppa/shlib-versions: Move all contents except for
41774         libgcc_s entry to ...
41775         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41776         entry from ...
41777         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41778         * sysdeps/ia64/shlib-versions: Move to ...
41779         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41780         entry from ...
41781         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41782         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41783         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41784         * sysdeps/microblaze/shlib-versions: Move to ...
41785         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41786         * sysdeps/mips/shlib-versions: Move to ...
41787         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41788         entry from ...
41789         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41790         * sysdeps/tile/shlib-versions: Move to ...
41791         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41792         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41793         from ...
41794         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41795         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41796         entry from ...
41797         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41799 2014-07-17  Will Newton  <will.newton@linaro.org>
41801         * sysdeps/arm/bits/atomic.h
41802         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41803         (__arch_compare_and_exchange_bool_16_int): Likewise.
41804         (__arch_compare_and_exchange_bool_64_int): Likewise.
41806         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41807         into an #else block.
41809 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41811         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41812         just Linux configurations.  Test empirically that the compiler sets
41813         __ARM_EABI__, rather than using the tuple to decide.
41814         * sysdeps/arm/preconfigure: Regenerated.
41815         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41816         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41817         contents appended ...
41818         * sysdeps/arm/configure.ac: ... here.
41819         * sysdeps/arm/configure: Regenerated.
41821 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41823         * nptl/pthread_kill.c: New file.
41824         * nptl/pthread_sigmask.c: New file.
41825         * nptl/pthread_sigqueue.c: New file.
41827         * sysdeps/nptl/lowlevellock.h: New file.
41828         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41829         * sysdeps/nptl/lowlevellock-futex.h: New file.
41831         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41832         Remove dead declarations.
41834 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41836         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41837         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41838         config-cflags-avx2.
41839         * sysdeps/x86_64/configure.ac: Likewise.
41840         * sysdeps/i386/configure: Regenerated.
41841         * sysdeps/x86_64/configure: Likewise.
41842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41843         memset-avx2 only if config-cflags-avx2 is yes.
41844         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41845         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41846         defined.
41847         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41848         only if HAVE_AVX2_SUPPORT is defined.
41849         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41851 2014-07-14  Alan Modra  <amodra@gmail.com>
41853         [BZ #17153]
41854         * elf/elf.h (DT_PPC64_NUM): Correct value.
41855         * NEWS: Add to fixed bug list.
41857 2014-07-13  Jim Meyering  <meyering@fb.com>
41859         [BZ 17150]
41860         regex: don't deref NULL upon heap allocation failure
41861         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41862         failure in one more place.
41863         To trigger the segfault, configure grep -with-included-regex,
41864         build it, and run these commands:
41865         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41867 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41869         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41871 2014-07-11  Richard Henderson  <rth@redhat.com>
41873         * sysdeps/aarch64/libm-test-ulps: Update.
41875 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41877         [BZ #17135]
41878         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41879         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41880         (__nptl_setxid): Initialize error member.  Call
41881         __nptl_setxid_error.
41882         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41883         * nptl/descr.h (struct xid_command): Add error member.
41884         * nptl/tst-setuid3.c: New file.
41885         * nptl/Makefile (tests): Add it.
41887 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41890         New define.
41891         (__lll_trylock): Use __lll_base_trylock.
41892         (__lll_cond_trylock): Likewise.
41894 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41896         * nptl/pthread_create.c (start_thread): Use atomic_or and
41897         lll_futex_wake directly rather than lll_robust_dead.
41898         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41899         (lll_robust_dead): Macro removed.
41900         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41901         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41902         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41903         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41904         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41905         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41906         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41907         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41908         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41909         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41910         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41911         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41912         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41913         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41916         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41917         Use atomic_compare_and_exchange_val_acq directly rather than
41918         lll_robust_trylock.
41919         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41920         (__lll_robust_trylock, lll_robust_trylock): Removed.
41921         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41922         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41923         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41924         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41925         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41926         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41927         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41928         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41929         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41930         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41931         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41932         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41933         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41934         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41936 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41938         * manual/locale.texi (Locale Names): New section documenting
41939         locale name syntax.  Adjust menu and node chaining accordingly.
41940         (Choosing Locale): Reference Locale Names, Locale Categories.
41941         Mention setting LC_ALL=C.  Reflect that name syntax is now
41942         documented.
41943         (Locale Categories): New section title.  Reference Locale Names.
41944         LC_ALL is an environment variable, but not a category.
41945         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41946         description, now in Locale Name.  Reference that section.  Locale
41947         name syntax is now documented.
41949 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41951         [BZ #17137]
41952         * locale/findlocale.c (name_present, valid_locale_name): New
41953         functions.
41954         (_nl_find_locale): Use the loc_name variable to store name
41955         candidates.  Call name_present and valid_locale_name to check and
41956         validate locale names.  Return an error if the locale is invalid.
41958 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41960         * locale/setlocale.c (setlocale): Use strdup for allocating
41961         composite name copy.
41963 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41965         Sync up with gnulib.
41966         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41967         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41968         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41969         and _GL_ARG_NONNULL.
41970         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41971         [!_LIBC]: Include code for Windows and Cygwin.
41972         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41973         Include prototype for int strerror_r.
41974         [!_LIBC] (is_open): New function.
41975         (flush_stdout): New function.
41976         (print_errno_message): Use it.
41977         (error): Likewise.
41978         (error_at_line): Likewise.
41979         (error_tail) Add function attribute macros.  Use
41980         __builtin_expect.
41982         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41984         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41986         * io/ftw.c: Include sys/param.h unconditionally.
41988         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41990         [BZ #17125]
41991         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41992         libc_freeres_ptr.
41993         (freecache): New function to free CACHE on exit.
41995         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41996         initialization.
41998 2014-07-09  David S. Miller  <davem@davemloft.net>
42000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42002         * sysdeps/sparc/nptl/internaltypes.h: Delete.
42003         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
42004         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
42005         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
42006         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
42007         * sysdeps/sparc/nptl/sem_init.c: Likewise.
42008         * sysdeps/sparc/nptl/sem_post.c: Likewise.
42009         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
42010         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
42011         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
42012         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
42013         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
42014         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
42016 2014-07-09  Andreas Schwab  <schwab@suse.de>
42018         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
42019         output.
42020         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
42021         (do_test): Likewise.
42023         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42025 2014-07-09  Will Newton  <will.newton@linaro.org>
42027         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
42028         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
42029         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
42030         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
42031         * sysdeps/hppa/start.S (_start): Likewise.
42033 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42035         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
42037         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
42038         defined.
42040 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42042         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
42043         after checking that it is non-NULL.
42045         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
42047 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42049         * sysdeps/powerpc/memmove.c: Remove file.
42050         * sysdeps/powerpc/powerpc32/power4/memcopy.h
42051         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
42052         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
42053         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
42054         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
42055         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
42056         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
42057         string memmove instead of removed powerpc one.
42059         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42060         [weak_alias]: Fix compiler warning due trailing data.
42061         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
42062         [weak_alias]: Likewise.
42063         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
42064         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
42066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42067         (__libc_ifunc_impl_list): Add memmove functions.
42069 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42071         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
42072         Remove code.
42073         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
42074         Likewise.
42075         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
42076         Likewise.
42077         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
42078         Likewise.
42079         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
42080         Likewise.
42081         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
42082         Likewise.
42083         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
42084         Likewise.
42085         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
42086         Likewise.
42087         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
42088         Likewise.
42089         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
42090         Likewise.
42091         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
42092         Likewise.
42093         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
42094         Likewise.
42095         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
42096         Likewise.
42097         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
42098         Likewise.
42099         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
42100         Likewise.
42101         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
42102         Likewise.
42103         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
42104         Likewise.
42106 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42108         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
42109         to avoid alignment traps in non-cacheable memory.
42110         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
42113         multiarch objects.
42114         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
42115         file: multiarch power7 memmove.
42116         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
42117         multiarch default memmove.
42118         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
42119         multiarch memove for powerpc32/power4.
42121         * string/bcopy.c: Use full path to include memmove.c.
42122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
42123         multiarch objects.
42124         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
42125         bcopy for powerpc64.
42126         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
42127         bcopy for powerpc64.
42128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
42129         and memmove implementations.
42130         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
42131         optimized multiarch memmove for POWER7/powerpc64.
42132         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
42133         default multiarch memmove for powerpc64.
42134         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
42135         multiarch for powerpc64.
42136         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
42137         for POWER7/powerpc64.
42138         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
42139         memmove for POWER7/powerpc64.
42141         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
42142         glibc default one.
42144         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
42145         __ELF_NATIVE_CLASS equal to 64.
42147 2014-07-07  Roland McGrath  <roland@hack.frob.com>
42149         * sysdeps/nptl/lowlevellock.h: File removed.
42151         * NEWS: NPTL is no longer an add-on!
42152         * nptl/internaltypes.h: Moved ...
42153         * sysdeps/nptl/internaltypes.h: ... here.
42154         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
42155         * sysdeps/nptl/fork.c: Likewise.
42156         * sysdeps/nptl/gai_misc.h: Likewise.
42157         * sysdeps/nptl/librt-cancellation.c: Likewise.
42158         * sysdeps/nptl/jmp-unwind.c: Likewise.
42159         * sysdeps/nptl/setxid.h: Likewise.
42160         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
42161         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
42162         * sysdeps/unix/sysv/linux/arm/Implies: New file.
42163         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
42164         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
42165         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
42166         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
42167         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
42168         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
42169         * sysdeps/unix/sysv/linux/mips/Implies: New file.
42170         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
42171         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
42172         * sysdeps/unix/sysv/linux/sh/Implies: New file.
42173         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
42174         * sysdeps/unix/sysv/linux/tile/Implies: New file.
42175         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
42176         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
42177         * nptl/Makeconfig: Moved ...
42178         * sysdeps/nptl/Makeconfig: ... here.
42179         * nptl/configure: File removed.
42180         * nptl/ANNOUNCE: File removed.
42181         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
42182         * sysdeps/unix/sysv/linux/configure: Regenerated.
42184         * nptl/Makefile (routines): Add libc_pthread_init,
42185         libc_multiple_threads, register-atfork and unregister-atfork.
42186         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
42187         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
42188         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
42189         pthread-pi-defines.sym, structsem.sym.
42190         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
42191         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
42192         [$(subdir) = nptl] (tests): Add tst-setgetname.
42193         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
42194         * sysdeps/unix/sysv/linux/sigaction.c: Just include
42195         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
42196         [!LIBC_SIGACTION]: Remove aliases.
42197         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42198         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42199         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42200         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
42201         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42202         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
42203         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42204         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42205         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42206         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
42207         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
42208         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
42209         __libc_allocate_rtsig_private.
42210         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
42211         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
42212         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
42213         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
42214         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
42215         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
42216         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
42217         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
42218         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
42219         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
42220         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
42221         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
42222         * nptl/internaltypes.h: ... here.
42223         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
42224         * sysdeps/nptl/jmp-unwind.c: ... here.
42225         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
42226         * nptl/libc-lowlevellock.c: ... here.
42227         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
42228         * nptl/libc_multiple_threads.c: ... here.
42229         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
42230         * nptl/libc_pthread_init.c: ... here.
42231         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
42232         * nptl/lowlevelbarrier.sym: ... here.
42233         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
42234         * nptl/lowlevelcond.sym: ... here.
42235         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
42236         * nptl/lowlevellock.c: ... here.
42237         * nptl/lowlevellock.h: Moved ...
42238         * sysdeps/nptl/lowlevellock.h: ... here.
42239         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
42240         * nptl/lowlevelrobustlock.c: ... here.
42241         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
42242         * nptl/lowlevelrobustlock.sym: ... here.
42243         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
42244         * nptl/lowlevelrwlock.sym: ... here.
42245         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
42246         * nptl/pt-fork.c: ... here.
42247         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
42248         * nptl/pthread-pi-defines.sym: ... here.
42249         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
42250         * nptl/pthread_attr_getaffinity.c: ... here.
42251         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
42252         * nptl/pthread_attr_setaffinity.c: ... here.
42253         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
42254         * nptl/pthread_mutex_cond_lock.c: ... here.
42255         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42256         Update #include.
42257         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
42258         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
42259         * nptl/pthread_once.c: ... here, replacing old file.
42260         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
42261         * nptl/pthread_yield.c: ... here.
42262         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
42263         * nptl/register-atfork.c: ... here.
42264         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
42265         * nptl/sem_post.c: ... here.
42266         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
42267         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
42268         * nptl/sem_timedwait.c: ... here.
42269         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
42270         * nptl/sem_trywait.c: ... here.
42271         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
42272         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
42273         * nptl/sem_wait.c: ... here.
42274         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
42275         * nptl/structsem.sym: ... here.
42276         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
42277         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
42278         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
42279         * nptl/unregister-atfork.c: ... here.
42280         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
42281         * nptl/unwindbuf.sym: ... here.
42282         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
42283         * sysdeps/nptl/fork.c: ... here.
42284         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
42285         * sysdeps/nptl/fork.h: ... here.
42286         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
42287         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
42288         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
42289         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
42290         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
42291         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
42292         * sysdeps/unix/sysv/linux/getpid.c: ... here.
42293         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
42294         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
42295         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
42296         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
42297         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
42298         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
42299         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
42300         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
42301         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
42302         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
42303         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
42304         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
42305         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
42306         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
42307         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
42308         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
42309         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
42310         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
42311         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
42312         * sysdeps/unix/sysv/linux/raise.c: ... here.
42313         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
42314         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
42315         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
42316         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
42317         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
42318         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
42319         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
42320         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
42321         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
42322         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
42323         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
42324         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
42325         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
42326         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
42327         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
42329 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42331         * sysdeps/generic/memcopy.h: Add comment for
42332         MEMCPY_OK_FOR_FWD_MEMMOVE.
42334 2014-07-04  Will Newton  <will.newton@linaro.org>
42336         * string/memchr.c: Merge from gnulib.
42337         [_LIBC]: Remove conditionals.
42338         (__ptr_t): Remove define.
42339         (LONG_MAX_32_BITS): Likewise.
42340         (LONG_MAX): Likewise.
42341         (MEMCHR): Use ANSI prototype and optimize algorithm.
42343         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
42345 2014-07-03  Roland McGrath  <roland@hack.frob.com>
42347         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
42348         (lll_futex_timed_wait_bitset): Fix syscall argument count.
42350         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
42351         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
42352         in a bare environment with no <stdlib.h> installed.
42353         * sysdeps/nptl/configure: Regenerated.
42355         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
42357         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
42358         AC_EGREP_CPP for kernel header checks, so they only succeed if
42359         including <linux/version.h> actually works right.
42360         * sysdeps/unix/sysv/linux/configure: Regenerated.
42362         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
42363         value so it's not diagnosed as unused.
42365         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
42366         thing) with "ifeq ($(subdir),rt)".
42368 2014-07-03  Richard Henderson  <rth@redhat.com>
42370         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
42371         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
42372         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
42374         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
42375         (math_force_eval): New.
42377         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
42378         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
42380         * sysdeps/alpha/fpu/s_round.c: Remove file.
42381         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
42383         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
42384         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
42385         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
42386         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
42387         (_dl_start, print_statistics): Likewise.
42388         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
42389         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
42391         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42392         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42393         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42394         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42395         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42396         (HP_SMALL_TIMING_AVAIL): Define.
42397         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42398         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42399         (HP_SMALL_TIMING_AVAIL): Define.
42400         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42401         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42403         * sysdeps/aarch64/hp-timing.h: New file.
42405         * sysdeps/generic/hp-timing.h: Remove dead comment.
42406         * sysdeps/generic/hp-timing-common.h: New file.
42407         * sysdeps/alpha/hp-timing.h: Include it.
42408         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
42409         * sysdeps/i386/i686/hp-timing.h: Likewise.
42410         * sysdeps/ia64/hp-timing.h: Likewise.
42411         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42412         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42413         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42414         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42415         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
42416         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
42417         (hp_timing_t): New.
42419         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
42420         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
42421         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
42422         * elf/rtld.c (_dl_start_final): Likewise.
42423         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
42424         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42425         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42426         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42427         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42428         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42429         (HP_TIMING_DIFF_INIT): Remove.
42430         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42431         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42432         (HP_TIMING_DIFF_INIT): Remove.
42433         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42434         * sysdeps/i386/i686/hp-timing.c: Remove file.
42435         * sysdeps/x86_64/hp-timing.c: Remove file.
42436         * sysdeps/ia64/hp-timing.c: Remove file.
42437         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
42438         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
42439         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
42440         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
42442         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
42443         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
42444         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
42445         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42446         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42447         (HP_TIMING_ACCUM): Remove.
42448         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42449         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
42450         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42452         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
42453         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
42454         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
42455         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
42456         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
42457         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42458         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
42459         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42461         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
42463 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
42465         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
42467 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42469         Sync up with gettext.
42470         * intl/loadmsgcat.c: Define O_BINARY if not defined.
42471         [_MSC_VER]: Include malloc.h
42472         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
42473         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
42474         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
42475         TEMP_FAILURE_RETRY.  Cast return of alloca.
42476         [!_LIBC] Call gl_rwlock_init.
42477         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
42479 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42481         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
42482         before checking its value.
42484 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42486         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
42488         * debug/memcpy_chk.c: Don't include pagecopy.h.
42489         * debug/mempcpy_chk.c: Likewise.
42490         * string/memcpy.c: Likewise.
42491         * string/memmove.c: Likewise.
42492         * sysdeps/powerpc/memmove.c: Likewise.
42493         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
42494         definition of PAGE_COPY_FWD_MAYBE here...
42495         * sysdeps/generic/pagecopy.h: ... from here.
42496         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
42498 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42499             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42501         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
42502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
42503         optimizations.
42504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42505         (__libc_ifunc_impl_list): Likewise.
42506         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
42507         multiarch strcat for PPC64.
42508         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
42509         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
42511 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42513         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
42515 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42517         * intl/loadmsgcat.c: Remove declaration of
42518         get_sysdep_segment_value.
42519         (get_sysdep_segment_value): Use ISO C style.
42520         (_nl_load_domain): Use ISO C style.  Get rid of redundant
42521         semicolon.  Fix typo and formatting in comment.
42522         (_nl_unload_domain): Use ISO C style.
42524         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
42526 2014-07-02  Will Newton  <will.newton@linaro.org>
42528         * malloc/obstack.c: Merge from gnulib master.
42529         [HAVE_CONFIG_H]: Remove conditional code.
42530         [!_LIBC]: Include config.h.
42531         [!ELIDE_CODE]: Don't include inttypes.h, include
42532         stdint.h unconditionally.
42533         (print_and_abort): Mark as _Noreturn.
42534         (_obstack_allocated_p): Mark as __attribute_pure__.
42535         (obstack_free): Rename to __obstack_free.
42536         [!__attribute__]: Remove conditional code.
42537         * malloc/obstack.h: Merge from gnulib master.
42538         [__cplusplus]: Move conditional down.
42539         [!__attribute_pure__]: Define __attribute_pure__ here
42540         if it is not already defined.
42541         (_obstack_memory_used): Mark as __attribute_pure__.
42542         [!__obstack_free]: Define as obstack_free.
42543         [__GNUC__]: Remove check for ancient NeXT gcc.
42545 2014-07-02  Will Newton  <will.newton@linaro.org>
42546             Paul Eggert  <eggert@cs.ucla.edu>
42548         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
42550 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42552         * resolv/gethnamaddr.c: Add comment warning that the file is
42553         not maintained.
42555 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
42557         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
42558         entries.
42560         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
42561         entry for aio_cancel and aio_cancel64.
42562         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
42563         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
42564         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
42565         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
42566         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
42567         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
42568         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
42569         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
42570         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
42571         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
42572         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
42573         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
42574         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
42576 2014-07-01  Roland McGrath  <roland@hack.frob.com>
42578         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
42579         * nptl/pthread_mutex_lock.c: Likewise.
42580         * nptl/pthread_mutex_timedlock.c: Likewise.
42581         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
42583 2014-07-01  Richard henderson  <rth@redhat.com>
42585         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42586         (__isnan, __isnanl): Remove.
42587         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
42589         * sysdeps/alpha/fpu/libm-test-ulps: Update.
42591 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42593         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42595 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42597         * resolv/nss_dns/dns-host.c (getanswer_r)
42598         [MULTI_PTRS_ARE_ALIASES]: Remove code.
42600 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
42602         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42603         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42604         undefine.
42605         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42606         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42608 2014-07-01  Roland McGrath <roland@hack.frob.com>
42610         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42611         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42613         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42614         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42616         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42617         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42618         ... here.
42619         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42620         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42622         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42623         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42624         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42625         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42627         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42628         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42629         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42630         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42631         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42632         Moved ...
42633         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42634         ... here.
42635         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42636         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42637         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42638         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42639         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42640         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42641         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42642         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42643         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42644         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42645         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42646         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42647         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42648         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42649         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42650         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42651         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42652         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42653         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42654         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42655         ... here.
42656         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42657         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42658         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42659         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42660         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42661         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42662         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42663         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42665 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42667         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42668         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42669         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42670         Add sysdep.
42672 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42676 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42678         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42679         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42681         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42683         * sysdeps/arm/libm-test-ulps: Regenerated.
42685 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42686             Roland McGrath <roland@hack.frob.com>
42688         * test-skeleton.c (signal_handler): Kill the whole process group
42689         before killing the child individually.
42690         (main): Report any failure on `setpgid'.
42692 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42694         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42695         from _TLS_H to _ARM_NPTL_TLS_H.
42696         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42697         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42699 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42701         [BZ #16539]
42702         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42703         (__expm1l): Return argument unchanged when small but not
42704         subnormal.
42706         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42707         include macro name.
42708         (_FP_UNPACK_RAW_1_P): Likewise.
42709         (_FP_PACK_RAW_1): Likewise.
42710         (_FP_PACK_RAW_1_P): Likewise.
42711         (_FP_MUL_MEAT_1_wide): Likewise.
42712         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42713         (_FP_MUL_MEAT_1_hard): Likewise.
42714         (_FP_DIV_MEAT_1_imm): Likewise.
42715         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42716         (_FP_DIV_MEAT_1_udiv): Likewise.
42717         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42718         (_FP_UNPACK_RAW_2): Likewise.
42719         (_FP_UNPACK_RAW_2_P): Likewise.
42720         (_FP_PACK_RAW_2): Likewise.
42721         (_FP_PACK_RAW_2_P): Likewise.
42722         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42723         (_FP_MUL_MEAT_2_wide): Likewise.
42724         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42725         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42726         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42727         (_FP_MUL_MEAT_2_gmp): Likewise.
42728         (_FP_DIV_MEAT_2_udiv): Likewise.
42729         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42730         (_FP_FRAC_SRL_4): Likewise.
42731         (_FP_FRAC_SRST_4): Likewise.
42732         (_FP_FRAC_SRS_4): Likewise.
42733         (_FP_UNPACK_RAW_4): Likewise.
42734         (_FP_UNPACK_RAW_4_P): Likewise.
42735         (_FP_PACK_RAW_4): Likewise.
42736         (_FP_PACK_RAW_4_P): Likewise.
42737         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42738         (_FP_MUL_MEAT_4_wide): Likewise.
42739         (_FP_MUL_MEAT_4_gmp): Likewise.
42740         (umul_ppppmnnn): Likewise.
42741         (_FP_DIV_MEAT_4_udiv): Likewise.
42742         (__FP_FRAC_ADD_4): Likewise.
42743         (__FP_FRAC_SUB_3): Likewise.
42744         (__FP_FRAC_SUB_4): Likewise.
42745         (__FP_FRAC_DEC_3): Likewise.
42746         (__FP_FRAC_DEC_4): Likewise.
42747         (__FP_FRAC_ADDI_4): Likewise.
42748         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42749         (_FP_FRAC_SRL_8): Likewise.
42750         (_FP_FRAC_SRS_8): Likewise.
42752         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42753         include macro name.
42754         (FP_UNPACK_RAW_EP): Likewise.
42755         (FP_PACK_RAW_E): Likewise.
42756         (FP_PACK_RAW_EP): Likewise.
42757         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42758         (_FP_ISSIGNAN): Likewise.
42759         (_FP_ADD_INTERNAL): Likewise.
42760         (_FP_FMA): Likewise.
42761         (_FP_CMP): Likewise.
42762         (_FP_SQRT): Likewise.
42763         (_FP_TO_INT): Likewise.
42764         (_FP_FROM_INT): Likewise.
42765         (FP_EXTEND): Likewise.
42766         (_FP_DIV_MEAT_N_loop): Likewise.
42768 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42770         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42771         throughout.
42773 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42775         [BZ #17097]
42776         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42777         result with correct sign in case of exponents that produce
42778         overflow except for X very close to 1.
42780 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42782         mktime: merge #if/#ifdef usage from glibc
42783         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42784         as that works with both Glibc's and Gnulib's style.
42785         See thread starting at Siddhesh Poyarekar's bug report at:
42786         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42788 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42790         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42791         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42792         * sysdeps/tile/tilegx/memmove.c: Remove file.
42794 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42796         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42797         abi-name definition.
42798         * scripts/soversions.awk: Do not handle or generate ABI lines.
42799         * shlib-versions: Remove ABI entries.
42800         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42801         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42803 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42806         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42807         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42808         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42810         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42812         Moved ...
42813         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42814         ... here.
42815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42816         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42818         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42820         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42822         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42824         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42826         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42828         Moved ...
42829         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42831         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42832         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42833         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42835         Moved ...
42836         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42838         Moved ...
42839         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42841         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42842         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42843         Moved ...
42844         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42846         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42848         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42850         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42852         Moved ...
42853         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42855         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42856         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42857         Moved ...
42858         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42860         Moved ...
42861         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42862         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42863         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42864         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42865         Moved ...
42866         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42867         ... here.
42868         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42869         Identical file removed.
42870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42871         Moved ...
42872         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42873         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42874         Identical file removed.
42875         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42876         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42877         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42878         Moved ...
42879         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42880         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42881         Identical file removed.
42882         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42883         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42884         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42885         Identical file removed.
42886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42887         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42888         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42889         Identical file removed.
42890         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42891         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42892         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42893         Identical file removed.
42894         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42895         Moved ...
42896         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42897         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42898         Identical file removed.
42899         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42900         Moved ...
42901         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42903         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42904         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42905         Identical file removed.
42906         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42907         Moved ...
42908         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42909         ... here.
42910         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42911         Identical file removed.
42912         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42913         Moved ...
42914         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42915         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42916         Identical file removed.
42917         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42918         Moved ...
42919         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42921         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42922         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42923         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42924         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42925         Moved ...
42926         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42927         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42928         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42930         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42931         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42932         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42933         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42934         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42936 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42938         [BZ #17092]
42939         * nscd/nscd.c (monitor_child): Return exit status of child
42940         instead of return value from wait syscall.
42942 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42944         * configure.ac (libc_commonpagesize): Remove variable.
42945         (libc_relro_required): Likewise.
42946         (libc_cv_z_relro): Remove configure test.
42947         * configure: Regenerated.
42948         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42949         variable.
42950         (libc_relro_required): Likewise.
42951         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42952         (libc_relro_required): Likewise.
42953         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42954         (libc_relro_required): Likewise.
42955         * sysdeps/arm/preconfigure: Regenerated.
42956         * sysdeps/ia64/preconfigure: Remove file.
42957         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42958         variable.
42959         (libc_relro_required): Likewise.
42961         [BZ #16561]
42962         [BZ #16562]
42963         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42964         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42965         recompute overflowing results in original rounding mode.
42966         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42967         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42968         recompute overflowing results in original rounding mode.
42969         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42970         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42971         recompute overflowing results in original rounding mode.
42972         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42973         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42974         recompute overflowing results in original rounding mode.
42975         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42976         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42977         recompute overflowing results in original rounding mode.
42978         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42979         (libc_feholdsetround_ctx): New macro.
42980         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42981         * sysdeps/i386/fpu/libm-test-ulps: Update.
42982         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42984 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42986         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42987         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42988         corresponding .cpsetup call.
42990 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42992         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42993         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42994         * sysdeps/arm/Makefile [$(subdir) = csu]
42995         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42996         (static-only-routines): Add aeabi_read_tp here.
42997         (shared-only-routines): Add libc-aeabi_read_tp here.
42998         (CFLAGS-libc-start.c): Add -fexceptions here.
42999         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
43000         (sysdep_routines, static-only-routines, shared-only-routines):
43001         Don't add to these here.
43002         (CFLAGS-libc-start.c): Likewise.
43004         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
43005         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43006         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
43007         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43008         * sysdeps/arm/Makefile [$(subdir) = rt]
43009         (librt-sysdep_routines, librt-shared-only-routines):
43010         Append rt-aeabi_unwind_cpp_pr1 here.
43011         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
43012         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
43013         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
43014         (libpthread-sysdep_routines, libpthread-shared-only-routines):
43015         Append nptl-aeabi_unwind_cpp_pr1 here.
43016         (tests): Filter out tst-cleanupx4 here.
43017         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
43018         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
43019         Don't do those here.
43021 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43023         * scripts/list-sources.sh: Do not handle ports specially.
43025 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43027         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
43028         * sysdeps/arm/feupdateenv.c: Likewise.
43030         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
43032 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43034         * manual/texinfo.tex: Update to version 2014-05-05.10 with
43035         trailing whitespace removed.
43036         * scripts/config.guess: Update to version 2014-03-23.
43037         * scripts/config.sub: Update to version 2014-05-01
43038         * scripts/install-sh: Update to version 2013-12-25.23.
43039         * scripts/move-if-change: Update from gnulib.
43041 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43043         * debug/memmove_chk.c: Remove pagecopy.h include.
43045 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
43047         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
43048         identical to gnulib mktime.
43050 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43052         * configure.ac: Do not test for machine being rs6000.  Do not test
43053         for powerpc*-*soft.
43054         * configure: Regenerated.
43056         [BZ #11505]
43057         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
43058         test.
43059         * configure: Regenerated.
43060         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
43061         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
43062         Remove configure test.
43063         * sysdeps/arm/configure: Regenerated.
43064         * sysdeps/nptl/configure.ac: Do not check
43065         libc_cv_asm_cfi_directives.
43066         * sysdeps/nptl/configure: Regenerated.
43067         * sysdeps/x86_64/nptl/configure.ac: Remove file.
43068         * sysdeps/x86_64/nptl/configure: Remove generated file.
43069         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
43070         unconditional.
43071         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
43073 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43075         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
43076         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
43077         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
43078         it is defined.
43080         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
43081         instead of whether it is defined.
43082         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
43083         * sysdeps/hppa/dl-machine.h: Likewise.
43084         * sysdeps/ia64/dl-machine.h: Likewise.
43085         * sysdeps/m68k/dl-machine.h: Likewise.
43086         * sysdeps/microblaze/dl-machine.h: Likewise.
43087         * sysdeps/mips/dl-machine.: Likewise.
43088         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43089         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43090         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43091         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43092         * sysdeps/sh/dl-machine.h: Likewise.
43093         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43094         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43095         * sysdeps/tile/dl-machine.h: Likewise.
43096         * sysdeps/x86_64/dl-machine.h: Likewise.
43098         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
43099         code.
43100         (verify_persistent_db): Likewise.
43102 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
43105         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
43106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
43107         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
43108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43109         Moved ...
43110         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
43111         ... here.
43112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
43113         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
43114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
43115         Identical file removed.
43116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
43117         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
43118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
43119         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
43120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
43121         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
43122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
43123         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
43124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
43125         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
43126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43127         Moved ...
43128         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
43129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
43130         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
43131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
43132         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
43133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43134         Moved ...
43135         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
43136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
43137         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
43138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
43139         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
43140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43141         Identical file removed.
43142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
43143         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
43144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
43145         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
43146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43147         Moved ...
43148         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
43149         ... here.
43150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
43151         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
43152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
43153         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
43154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
43155         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
43156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
43157         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
43158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
43159         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
43160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43161         Moved ...
43162         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
43163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
43164         Moved ...
43165         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
43166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
43167         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
43168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43169         Moved ...
43170         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
43171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
43172         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
43174         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
43175         folded into ...
43176         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
43177         * sysdeps/unix/sysv/linux/s390/Versions
43178         (libpthread: GLIBC_2.19): New version set.
43179         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
43180         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
43181         (librt: GLIBC_2.3.3): New version set.
43182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
43183         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
43184         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
43185         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
43186         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
43187         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
43188         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
43189         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
43190         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
43191         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
43192         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
43193         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
43194         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
43195         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
43196         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
43197         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
43198         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
43199         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
43200         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
43201         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
43202         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
43203         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
43204         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
43205         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
43206         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
43207         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
43208         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
43209         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
43210         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
43211         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
43212         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
43213         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
43214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
43215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
43216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
43217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
43218         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
43219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
43220         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
43221         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
43222         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
43223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
43224         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
43225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
43226         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
43228         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
43229         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
43230         (__libc_vfork): Define the function under this name.
43231         [!NOT_IN_libc] (__vfork): Make this an alias.
43232         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
43234         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
43235         (__libc_vfork): Define the function under this name.
43236         [!NOT_IN_libc] (__vfork): Make this an alias.
43237         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43238         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
43239         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
43240         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
43241         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
43242         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43244         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
43245         code that was previously under [RESET_PID].
43246         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
43247         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
43248         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
43250         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
43251         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
43252         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
43253         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
43254         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
43255         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
43256         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
43257         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
43258         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
43259         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
43260         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
43261         Moved ...
43262         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
43263         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
43264         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
43265         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
43266         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
43267         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43268         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
43269         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
43270         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
43271         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
43272         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
43273         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
43274         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
43275         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
43276         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
43277         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
43278         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
43279         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
43280         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
43281         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
43282         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
43283         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43284         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
43285         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
43286         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
43287         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
43288         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
43289         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
43290         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
43292 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43294         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
43295         that was previously under [RESET_PID].
43296         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
43298 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43300         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
43301         not undefine and redefine.
43302         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
43303         [O_CLOEXEC]: Make code unconditional.
43304         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
43305         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
43306         <kernel-features.h>.
43307         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
43308         conditional variable definition.
43309         (shm_open) [O_CLOEXEC]: Make code unconditional.
43310         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
43311         code.
43313         * configure.ac (USE_REGPARMS): Don't define here.
43314         * configure: Regenerated.
43315         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
43316         * sysdeps/i386/configure: Regenerated.
43318         * nptl/createthread.c: Don't include kernel-features.h.
43319         * nptl/pthread_cancel.c: Likewise.
43320         * nptl/pthread_condattr_setclock.c: Likewise.
43321         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
43322         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
43323         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
43324         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
43325         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
43326         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
43327         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43328         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
43329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43330         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
43331         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
43332         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
43333         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43334         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
43335         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
43336         * nscd/gai.c: Likewise.
43337         * nss/nss_db/db-open.c: Likewise.
43338         * sysdeps/generic/ldsodefs.h: Likewise.
43339         * sysdeps/sh/nptl/tls.h: Likewise.
43340         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43341         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
43342         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
43343         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
43344         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
43345         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43346         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
43347         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43348         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43349         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
43350         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
43351         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43352         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43353         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
43354         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
43355         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
43356         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
43357         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43358         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
43359         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
43360         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
43361         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
43362         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
43363         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
43364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
43365         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
43366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
43367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
43368         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43369         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
43370         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
43371         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
43372         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
43373         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43374         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43375         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43376         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43377         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
43378         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
43379         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
43380         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43381         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
43382         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
43383         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43384         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
43385         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
43386         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
43387         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
43388         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
43389         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
43390         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
43391         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
43392         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
43393         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43394         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
43395         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43396         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43397         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
43401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
43402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
43404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
43405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
43406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
43409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
43410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
43418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
43419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
43420         * sysdeps/unix/sysv/linux/pread.c: Likewise.
43421         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
43422         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
43423         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
43424         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
43425         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
43426         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
43427         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
43428         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
43429         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
43430         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
43431         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
43432         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
43433         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
43434         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
43435         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
43436         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43437         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
43438         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
43439         * sysdeps/unix/sysv/linux/system.c: Likewise.
43440         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
43441         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
43442         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43443         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43444         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43445         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43446         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43448         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
43449         * configure: Regenerated.
43450         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
43452         * configure.ac (base_machine): Do not set specially for particular
43453         machines here.
43454         * configure: Regenerated.
43455         * sysdeps/powerpc/preconfigure: Move machine and base_machine
43456         settings from configure.ac.
43457         * sysdeps/i386/preconfigure: New file.
43458         * sysdeps/s390/preconfigure: Likewise.
43459         * sysdeps/sh/preconfigure: Likewise.
43460         * sysdeps/sparc/preconfigure: Likewise.
43462 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43464         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
43465         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
43466         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
43467         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
43468         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
43469         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
43470         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
43471         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
43472         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
43473         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
43474         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
43475         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
43476         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
43477         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
43478         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
43479         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
43480         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
43481         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
43482         * sysdeps/sparc/sparc64/Makefile: ... appended here.
43484         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
43485         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
43486         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
43487         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
43488         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
43489         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
43490         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
43491         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43492         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
43493         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
43494         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
43495         * sysdeps/sparc/sparc32/sem_post.c: ... here.
43496         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
43497         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
43498         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
43499         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
43500         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
43501         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
43502         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
43503         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
43504         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
43505         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
43506         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
43507         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
43508         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
43509         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
43510         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
43511         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
43512         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
43513         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
43514         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
43515         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
43516         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
43517         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
43518         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
43519         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
43520         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
43521         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
43523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
43524         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
43525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
43526         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
43527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43528         Moved ...
43529         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
43530         ... here.
43531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
43532         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
43533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
43534         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
43535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
43536         Moved ...
43537         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
43538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
43539         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
43540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
43541         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
43542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
43543         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
43544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43545         Moved ...
43546         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
43547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43548         Moved ...
43549         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
43550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
43551         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
43552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43553         Moved ...
43554         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
43555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
43556         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
43557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
43558         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
43559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
43560         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
43561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
43562         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
43563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43564         Moved ...
43565         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
43566         ... here.
43567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
43568         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
43569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
43570         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
43571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
43572         Moved ...
43573         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
43574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
43575         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
43576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
43577         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
43578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
43579         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
43580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43581         Moved ...
43582         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
43583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43584         Moved ...
43585         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
43586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
43587         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
43588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43589         Moved ...
43590         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
43591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
43592         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
43593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
43594         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
43596 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43598         * timezone/checktab.awk: Update from tzcode 2014e.
43599         * timezone/private.h: Likewise.
43600         * timezone/tzfile.h: Likewise.
43601         * timezone/zdump.c: Likewise.
43602         * timezone/zic.c: Likewise.
43604         * sysdeps/unix/sysv/linux/kernel-features.h
43605         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43606         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43607         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43608         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43609         Remove conditional code.
43611 2014-06-25  Will Newton  <will.newton@linaro.org>
43613         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43614         (_dl_arm_cap_flags): Add HWCAP2 values.
43615         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43616         (_DL_HWCAP_COUNT): Increase to 37.
43617         (_DL_HWCAP_LAST): New define.
43618         (_DL_HWCAP2_LAST): New define.
43619         (_dl_procinfo): Add support for printing
43620         AT_HWCAP2 entries.
43621         (_dl_string_hwcap): Use _dl_hwcap_string.
43623 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43627 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43629         * README: Do not mention ports directory.
43631         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43632         Remove macro.
43633         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43634         <kernel-features.h>.
43635         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43636         conditional variable definition.
43637         (__futimes): Update comment.
43638         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43639         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43641         [BZ #16560]
43642         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43643         arguments close to 0.
43644         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43645         Likewise.
43646         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43647         Likewise.
43648         * math/auto-libm-test-in: Add more tests of exp10.
43649         * math/auto-libm-test-out: Regenerated.
43650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43652         * sysdeps/unix/sysv/linux/kernel-features.h
43653         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43654         * sysdeps/unix/sysv/linux/readv.c: Do not include
43655         <kernel-features.h>.
43656         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43657         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43658         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43659         unconditional.
43660         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43661         conditional code.
43662         * sysdeps/unix/sysv/linux/writev.c: Do not include
43663         <kernel-features.h>.
43664         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43665         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43666         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43667         unconditional.
43668         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43669         conditional code.
43671 2014-06-25  Will Newton  <will.newton@linaro.org>
43673         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43674         comment changes throughout the file.  Remove checks
43675         for HAVE_*_H definitions that are not required.
43676         (__gen_tempname): Call abort if an unknown kind value is
43677         passed.
43679 2014-06-25  Andreas Schwab  <schwab@suse.de>
43681         [BZ #17086]
43682         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43683         scalbln, scalblnf, scalblnl in libc.
43685 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43687         [BZ #17086]
43688         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43689         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43690         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43692 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43694         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43695         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43696         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43697         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43698         Update #include.
43699         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43700         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43701         Update #include.
43702         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43703         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43704         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43705         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43706         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43707         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43708         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43709         * sysdeps/x86/bits/semaphore.h: ... here.
43710         * sysdeps/x86/nptl/elide.h: Moved ...
43711         * sysdeps/x86/elide.h: ... here.
43712         * sysdeps/x86_64/nptl/Implies: File removed.
43713         * sysdeps/i386/nptl/Implies: File removed.
43715 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43717         [BZ #16539]
43718         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43719         return the argument for normal arguments with exponent below -64.
43720         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43721         Likewise.
43722         * math/auto-libm-test-in: Add another test of expm1.
43723         * math/auto-libm-test-out: Regenerated.
43725         [BZ #16287]
43726         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43727         calling __erfcl for arguments at least 16.
43728         * math/auto-libm-test-in: Add more tests of erf.
43729         * math/auto-libm-test-out: Regenerated.
43731         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43732         individual architectures.
43733         * sysdeps/unix/sysv/linux/configure: Regenerated.
43734         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43735         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43736         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43737         (ldd_rewrite_script): Define variable.
43738         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43740         file.
43741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43742         generated file.
43743         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43744         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43745         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43746         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43747         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43748         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43749         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43750         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43752 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43754         [BZ #17084]
43755         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43756         Rename member __data.d to __data.__elision_data.
43758 2014-06-24  Wilco  <wdijkstr@arm.com>
43760         * NEWS: Add 16918 to fixed bug list.
43762 2014-06-24  Wilco  <wdijkstr@arm.com>
43764         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43766 2014-06-24  Wilco  <wdijkstr@arm.com>
43768         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43769         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43770         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43771         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43772         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43773         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43774         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43775         Use _FPU_MASK_RM.
43777 2014-06-24  Wilco  <wdijkstr@arm.com>
43779         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43781 2014-06-24  Wilco  <wdijkstr@arm.com>
43783         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43784         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43785         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43786         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43788 2014-06-24  Wilco  <wdijkstr@arm.com>
43790         [BZ #16918]
43791         * sysdeps/arm/feupdateenv.c (feupdateenv):
43792         Rewrite to reduce FPSCR accesses and fix return value.
43794 2014-06-24  Wilco  <wdijkstr@arm.com>
43796         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43797         Optimize to avoid unnecessary FPSCR writes.
43798         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43799         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43800         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43801         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43803 2014-06-24  Wilco  <wdijkstr@arm.com>
43805         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43806         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43807         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43808         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43809         Call libc_fetestexcept_vfp.
43810         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43811         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43812         __SOFTFP__ ifdef so that they can be built for softfp.
43814 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43816         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43817         argument type signed char.
43819         * Makerules (check-abi): Dump diff of symlist if the test
43820         fails.
43822 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43824         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43825         using abort.
43827         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43828         Remove unused variable ST.
43830 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43832         [BZ #16354]
43833         [BZ #17061]
43834         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43835         small arguments before calling __expm1.
43836         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43837         small arguments before calling __expm1f.
43838         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43839         small arguments before calling __expm1l.
43840         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43841         Likewise.
43842         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43843         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43844         spurious underflow for some cosh tests.
43845         * math/auto-libm-test-out: Regenerated.
43846         * sysdeps/i386/fpu/libm-test-ulps: Update.
43848         [BZ #17050]
43849         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43850         (__ieee754_y1): Set errno if return value overflows.
43851         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43852         (__ieee754_y1f): Set errno if return value overflows.
43853         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43854         (__ieee754_y1l): Set errno if return value overflows.
43855         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43856         (__ieee754_y1l): Set errno if return value overflows.
43857         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43858         * math/auto-libm-test-out: Regenerated.
43860         * math/gen-auto-libm-tests.c: Document use of
43861         ignore-zero-inf-sign.
43862         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43863         (input_flags): Add ignore-zero-inf-sign.
43864         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43865         * math/gen-libm-test.pl (generate_testfile): Handle
43866         ignore-zero-inf-sign.
43867         * math/auto-libm-test-in: Mark some cpow tests with
43868         ignore-zero-inf-sign and some with xfail-rounding.
43869         * math/auto-libm-test-out: Regenerated.
43870         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43871         * sysdeps/i386/fpu/libm-test-ulps: Update.
43872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43874         [BZ #16315]
43875         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43876         overflowing or underflowing operations take place with sign of
43877         result.
43878         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43879         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43880         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43881         (__ieee754_pow): Recompute overflowing and underflowing results in
43882         original rounding mode.
43883         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43884         (__powl_helper): Allow negative argument X and scale negated value
43885         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43886         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43887         overflowing or underflowing operations take place with sign of
43888         result.
43889         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43890         Include <math.h>.
43891         * math/auto-libm-test-in: Add more tests of pow.
43892         * math/auto-libm-test-out: Regenerated.
43893         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43894         (pow_tonearest_test_data): Remove.
43895         (pow_test_tonearest): Likewise.
43896         (pow_towardzero_test_data): Likewise.
43897         (pow_test_towardzero): Likewise.
43898         (pow_downward_test_data): Likewise.
43899         (pow_test_downward): Likewise.
43900         (pow_upward_test_data): Likewise.
43901         (pow_test_upward): Likewise.
43902         (main): Don't call removed functions.
43903         * sysdeps/i386/fpu/libm-test-ulps: Update.
43904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43906 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43909         Moved ...
43910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43912         Moved ...
43913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43915         Moved ...
43916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43918         Moved ...
43919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43921         File removed.
43922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43923         File removed.
43924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43925         File removed.
43926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43927         File removed.
43928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43929         File removed.
43930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43931         File removed.
43932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43933         File removed.
43934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43935         File removed.
43936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43937         File removed.
43938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43939         File removed.
43940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43941         File removed.
43942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43943         File removed.
43944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43945         Moved ...
43946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43948         Moved ...
43949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43950         ... here.
43951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43952         Moved ...
43953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43955         Moved ...
43956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43958         Moved ...
43959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43961         Moved ...
43962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43964         Moved ...
43965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43967         Moved ...
43968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43970         Moved ...
43971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43974         ... here.
43975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43976         Moved ...
43977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43979         Moved ...
43980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43981         ... here.
43982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43983         Moved ...
43984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43985         ... here.
43986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43987         Moved ...
43988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43989         ... here.
43990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43991         Moved ...
43992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43994         Moved ...
43995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43999         Moved ...
44000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
44001         ... here.
44002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44003         Moved ...
44004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
44005         ... here.
44006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44007         Moved ...
44008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44010         Moved ...
44011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
44012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44013         Moved ...
44014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
44015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44016         Moved ...
44017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
44018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44019         Moved ...
44020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
44021         ... here.
44022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44023         Moved ...
44024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
44025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44026         Moved ...
44027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
44028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44029         Moved ...
44030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
44031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44032         Moved ...
44033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
44034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
44035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
44036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44037         Moved ...
44038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44040         Moved ...
44041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
44042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44043         Moved ...
44044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
44045         ... here.
44046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44047         Moved ...
44048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
44049         ... here.
44050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44051         Moved ...
44052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
44053         ... here.
44054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44055         Moved ...
44056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
44057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44058         Moved ...
44059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
44060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44061         Moved ...
44062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
44063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44064         Moved ...
44065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
44066         ... here.
44067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44068         Moved ...
44069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
44070         ... here.
44071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44072         Moved ...
44073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
44074         ... here.
44075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44076         Moved ...
44077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
44078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44079         Moved ...
44080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
44082 2014-06-23  Will Newton  <will.newton@linaro.org>
44083             Wilco  <wdijkstr@arm.com>
44085         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
44086         implementation.  Include get-rounding-mode.h.
44087         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
44088         [!libc_feholdsetround_noex_ctx]: Define
44089         libc_feholdsetround_noex_ctx.
44090         [!libc_feholdsetround_noexf_ctx]: Define
44091         libc_feholdsetround_noexf_ctx.
44092         [!libc_feholdsetround_noexl_ctx]: Define
44093         libc_feholdsetround_noexl_ctx.
44094         (libc_feholdsetround_ctx): New function.
44095         (libc_feresetround_ctx): New function.
44096         (libc_feholdsetround_noex_ctx): New function.
44097         (libc_feresetround_noex_ctx): New function.
44099 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44101         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
44102         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
44103         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
44104         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
44105         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
44106         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
44108         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
44109         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
44110         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
44111         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
44112         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
44113         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
44114         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
44115         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
44116         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
44117         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
44118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
44119         Moved ...
44120         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
44121         ... here.
44122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
44123         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
44124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
44125         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
44126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
44127         Moved ...
44128         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
44129         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
44130         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
44131         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
44132         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
44133         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
44134         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
44135         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
44136         Moved ...
44137         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
44138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
44139         Moved ...
44140         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
44141         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
44142         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
44143         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
44144         Moved ...
44145         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
44146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
44147         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
44148         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
44149         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
44150         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
44151         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
44152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
44153         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
44154         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
44155         Moved ...
44156         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
44157         ... here.
44158         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
44159         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
44160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
44161         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
44162         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
44163         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
44164         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
44165         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
44166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
44167         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
44168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
44169         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
44170         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
44171         Moved ...
44172         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
44173         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
44174         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
44175         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
44176         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
44177         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
44178         Moved ...
44179         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
44180         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
44181         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
44182         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
44183         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
44185         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
44186         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
44187         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
44188         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
44189         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
44190         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
44191         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
44192         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
44193         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
44194         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
44195         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
44196         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
44197         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
44198         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
44199         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
44200         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
44201         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
44202         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
44203         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
44204         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
44205         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
44206         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
44207         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
44208         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
44209         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
44210         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
44211         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
44212         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
44214 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44216         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
44217         (FALLOC_FL_COLLAPSE_RANGE): New macro.
44218         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
44219         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
44220         (IPV6_PMTUDISC_INTERFACE): Likewise.
44221         (IPV6_PMTUDISC_OMIT): Likewise.
44223 2014-06-23  Andreas Schwab  <schwab@suse.de>
44225         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44226         Remove unused errout label.
44228 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44230         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
44231         macro: hardware supports Vector Crypto instructions.
44233 2014-06-23  Will Newton  <will.newton@linaro.org>
44235         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
44236         rather than __builtin_expect.
44238         * elf/dl-lookup.c (undefined_msg): Remove variable.
44239         (_dl_lookup_symbol_x): Replace undefined_msg with string
44240         literal.
44242         * elf/dl-lookup.c (do_lookup_unique): New function.
44243         (do_lookup_x): Move STB_GNU_UNIQUE handling code
44244         to a separate function.
44246 2014-06-23  Andreas Schwab  <schwab@suse.de>
44248         [BZ #17079]
44249         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
44250         before reading the next line.
44252 2014-06-23  Will Newton  <will.newton@linaro.org>
44254         * test-skeleton.c (signal_handler): Use printf and %m
44255         rather than perror.  Use printf rather than fprintf to
44256         stderr.  Use puts rather than fputs to stderr.
44257         (main): Likewise.
44259 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
44261         * nscd/nscd.c (thread_info_t): Remove typedef.
44262         (thread_info): Remove variable.
44264 2014-06-21  Allan McRae  <allan@archlinux.org>
44266         * NEWS: Mention CVE-2014-4043.
44268 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44270         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44271         * nptl/smp.h: ... here.
44273         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
44275         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44276         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
44277         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
44278         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
44280         * nptl/allocatestack.c: Include <stack-aliasing.h>.
44281         * nptl/stack-aliasing.h: New file.
44282         * sysdeps/i386/i686/stack-aliasing.h: New file.
44283         * sysdeps/i386/i686/nptl/Makefile: File removed.
44284         * sysdeps/x86_64/stack-aliasing.h: New file.
44285         * sysdeps/x86_64/nptl/Makefile
44286         (CFLAGS-pthread_create.c): Variable removed.
44288         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44289         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
44290         old file.
44291         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
44292         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
44293         old file.
44295 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
44297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44298         (__ASSUME_SIGFRAME_V2): Remove macro.
44299         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
44300         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
44301         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44302         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
44303         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
44304         Declare as function.  Remove conditional macro definitions.
44305         (__default_rt_sa_restorer): Likewise.
44306         (__default_sa_restorer_v1): Remove declaration.
44307         (__default_sa_restorer_v2): Likewise.
44308         (__default_rt_sa_restorer_v1): Likewise.
44309         (__default_rt_sa_restorer_v2): Likewise.
44310         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
44311         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
44312         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
44314 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44316         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
44317         (libpthread-routines): Add sysdep.
44318         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
44319         * sysdeps/unix/sysv/linux/sparc/Versions
44320         (libpthread: GLIBC_2.3.3): New version set.
44321         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
44322         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
44323         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
44324         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
44325         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
44326         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
44327         Moved ...
44328         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
44329         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
44330         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
44331         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
44332         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
44333         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
44334         * sysdeps/sparc/nptl/sem_init.c: ... here.
44335         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
44336         * sysdeps/sparc/nptl/sem_post.c: ... here.
44337         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44338         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
44339         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
44340         * sysdeps/sparc/nptl/sem_wait.c: ... here.
44341         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
44342         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
44343         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
44344         (libpthread-routines): Add cpu_relax.
44345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
44346         File removed.
44347         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
44348         (librt: GLIBC_2.3.3): New version set.
44349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
44350         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
44351         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
44352         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
44353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
44354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
44355         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
44356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44357         Moved ...
44358         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
44359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
44360         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
44361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
44362         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
44363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
44364         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
44365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
44366         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
44367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
44368         Moved ...
44369         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
44370         Update #include.
44371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
44372         Moved ...
44373         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
44374         Update #include.
44375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
44376         Moved ...
44377         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
44378         Update #include.
44379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
44380         Moved ...
44381         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
44382         Update #include.
44383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
44384         Moved ...
44385         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
44386         Update #include.
44387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
44388         Moved ...
44389         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
44390         Update #include.
44391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
44392         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
44393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
44394         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
44395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
44396         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
44397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
44398         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
44399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
44400         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
44401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44402         Moved ...
44403         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
44404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
44405         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
44406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
44407         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
44409 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44411         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
44412         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
44413         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44414         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
44415         * nscd/nscd.c: Likewise.
44416         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
44417         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
44418         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
44419         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
44421         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
44422         <kernel-features.h>.
44423         (init_mq_netlink): Remove conditional have_sock_cloexec
44424         definitions.  Remove code conditional on have_sock_cloexec < 0.
44425         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
44426         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
44427         * sysdeps/unix/sysv/linux/opensock.c: Do not include
44428         <kernel-features.h>.
44429         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
44430         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
44432 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44435         Add tests for memset_chk and memset.
44437         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
44438         with AVX2_Usable.
44440 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44442         [BZ #16046]
44443         * elf/tst-dl-iter-static.c: New file.
44444         * elf/Makefile (tests-static): Add tst-dl-iter-static.
44446         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
44447         error.
44449 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44451         * sysdeps/unix/sysv/linux/kernel-features.h
44452         (__ASSUME_F_GETOWN_EX): Remove macro.
44453         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
44454         <kernel-features.h>.
44455         (miss_F_GETOWN_EX): Remove variable or macro.
44456         (do_fcntl): Do not check miss_F_GETOWN_EX.
44457         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
44459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
44460         Remove macro.
44461         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
44462         [!__ASSUME_AT_RANDOM]: Remove conditional code.
44463         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
44465         * sysdeps/unix/sysv/linux/kernel-features.h
44466         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
44467         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
44468         [ADJ_OFFSET_SS_READ]: Make code unconditional.
44469         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
44471 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44473         [BZ #17075]
44474         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
44475         Fix calculation of the symbol's value.
44476         * sysdeps/arm/tst-armtlsdescloc.c: New file.
44477         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
44478         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
44479         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
44480         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
44481         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
44482         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
44483         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
44484         (modules-names): Add `tst-armtlsdescmod',
44485         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
44486         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
44487         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44488         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
44489         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
44490         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44491         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
44492         ($(objpfx)tst-armtlsdescloc): New dependency.
44493         ($(objpfx)tst-armtlsdescextnow): Likewise.
44494         ($(objpfx)tst-armtlsdescextlazy): Likewise.
44495         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
44496         TLS scheme support.
44497         * sysdeps/arm/configure: Regenerate.
44499 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44501         * include/fcntl.h (__atfct_seterrno): Remove prototype.
44502         (__atfct_seterrno_2): Likewise.
44503         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
44504         <kernel-features.h>.
44505         (__ASSUME_ATFCTS): Do not undefine and redefine.
44506         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
44507         (__have_atfcts): Remove conditional definition.
44508         (__fxstatat([__NR_fstatat64]: Make code unconditional.
44509         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
44510         unreachable if [__ASSUME_ATFCTS].
44511         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
44512         not undefine and redefine.
44513         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
44514         <kernel-features.h>.
44515         (faccessat) [__NR_faccessat]: Make code unconditional.
44516         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
44517         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
44518         <kernel-features.h>.
44519         (fchmodat) [__NR_fchmodat]: Make code unconditional.
44520         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44521         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
44522         <kernel-features.h>.
44523         (fchownat) [__NR_fchownat]: Make code unconditional.
44524         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
44525         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
44526         <kernel-features.h>.
44527         (futimesat) [__NR_futimesat]: Make code unconditional.
44528         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
44529         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44530         <kernel-features.h>.
44531         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44532         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44533         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44534         <kernel-features.h>.
44535         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
44536         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44537         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
44538         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44539         <kernel-features.h>.
44540         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
44541         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44542         * sysdeps/unix/sysv/linux/linkat.c: Do not include
44543         <kernel-features.h>.
44544         (linkat) [__NR_linkat]: Make code unconditional.
44545         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44546         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
44547         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
44548         <kernel-features.h>.
44549         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
44550         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44551         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
44552         <kernel-features.h>.
44553         (mkdirat) [__NR_mkdirat]: Make code unconditional.
44554         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
44555         * sysdeps/unix/sysv/linux/openat.c: Do not include
44556         <kernel-features.h>.
44557         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
44558         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
44559         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
44560         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
44561         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
44562         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
44563         <kernel-features.h>.
44564         (readlinkat) [__NR_readlinkat]: Make code unconditional.
44565         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
44566         result of INLINE_SYSCALL directly, not via int variable.
44567         * sysdeps/unix/sysv/linux/renameat.c: Do not include
44568         <kernel-features.h>.
44569         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
44570         (renameat) [__NR_renameat]: Make code unconditional.
44571         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
44572         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
44573         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
44574         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
44575         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
44576         (__ASSUME_ATFCTS): Do not undefine and redefine.
44577         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
44578         <kernel-features.h>.
44579         (symlinkat) [__NR_symlinkat]: Make code unconditional.
44580         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44581         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
44582         <kernel-features.h>.
44583         (unlinkat) [__NR_unlinkat]: Make code unconditional.
44584         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44585         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
44586         (__ASSUME_ATFCTS): Do not undefine and redefine.
44587         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44588         <kernel-features.h>.
44589         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44590         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44591         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44592         <kernel-features.h>.
44593         (__xmknodat) [__NR_mknodat]: Make code unconditional.
44594         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44596 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44598         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
44600 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
44602         [BZ #17069]
44603         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44604         constructed tree before returning error.
44605         * posix/bug-regexp36.c: Expand test case.
44607 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44609         [BZ #6803]
44610         * math/libm-test.inc (scalbln_test_date):
44611         Add errno expectations.
44612         * math/w_scalblnf.c: New File.
44613         Add wrapper which checks for setting errno to ERANGE.
44614         Add weak_alias for corresponding scalbln function.
44615         * math/w_scalbln.c: Likewise.
44616         * math/w_scalblnl.c: Likewise.
44617         * math/Makefile (libm-calls): Add w_scalbln.
44618         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44619         Remove weak_alias for corresponding scalbln function.
44620         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44622         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44623         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44624         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44625         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44626         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44627         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44628         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44629         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44630         Remove long_double_symbol for scalblnl function in libm, libc.
44631         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44632         Add wrapper which checks for setting errno to ERANGE.
44633         Add long_double_symbol for scalblnl function in libm, libc.
44634         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44635         Remove long_double_symbol for scalblnl in libm.
44636         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44637         Add wrapper which checks for setting errno to ERANGE.
44638         Add long_double_symbol for scalblnl function in libm.
44639         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44640         Do not use wrapper because of own implementation.
44642 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44644         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44645         3 bytes for __pad1 for x32.
44646         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44648 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44649             H.J. Lu  <hongjiu.lu@intel.com>
44651         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44652         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44653         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44654         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44655         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44657 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44659         [BZ #17069]
44660         * posix/regcomp.c (parse_expression): Deallocate partially
44661         constructed tree before returning error.
44662         * posix/Makefile.c (tests): Add bug-regex36.
44663         (generated): Add bug-regex36.mtrace.
44664         (tests-special): Add $(objpfx)bug-regex36-mem.out
44665         (bug-regex36-ENV): New variable.
44666         ($(objpfx)bug-regex36-mem.out): New rule.
44667         * posix/bug-regex36.c: New file.
44669 2014-06-19  Will Newton  <will.newton@linaro.org>
44671         * malloc/malloc.c (systrim): If extra is zero then return
44672         early.
44674 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44676         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44678 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44680         * sysdeps/aarch64/strchr.S: New file.
44682 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44684         [BZ #17022]
44685         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44686         from arguments -2 or below.
44687         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44688         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44690 2014-06-18  Andreas Schwab  <schwab@suse.de>
44692         [BZ #17062]
44693         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44694         of a bracket expr not to run off the end of the string.
44695         * posix/Makefile (tests): Add tst-fnmatch3.
44696         * posix/tst-fnmatch3.c: New file.
44698 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44700         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44701         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44702         [$(cross-compiling) = no]: Likewise.
44703         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44704         [$(cross-compiling) = no]: Likewise.
44706 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44708         [BZ #17031]
44709         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44710         double, adjusted for any remainder from the high double.
44711         * math/libm-test.inc (nearbyint): Add tests.
44712         (rint): Likewise.
44714 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44716         * nptl/sysdeps/powerpc/Makefile: Moved ...
44717         * sysdeps/powerpc/nptl/Makefile: ... here.
44718         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44719         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44720         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44721         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44722         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44723         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44724         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44725         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44726         * nptl/sysdeps/powerpc/tls.h: Moved ...
44727         * sysdeps/powerpc/nptl/tls.h: ... here.
44729 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44731         [BZ #16681]
44732         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44733         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44734         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44735         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44736         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44737         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44738         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44739         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44740         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44742 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44744         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44746 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44748         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44749         defined operator.
44751         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44752         $TIMEOUTFACTOR.
44754 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44756         [BZ #17058]
44757         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44758         non-executed part of the test.
44760 2014-06-16  Andreas Schwab  <schwab@suse.de>
44762         * string/bits/string2.h (strdup, strndup): Update feature guard.
44764 2014-06-14  David S. Miller  <davem@davemloft.net>
44766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44768 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44770         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44771         that was previously under [RESET_PID].
44772         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44774         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44775         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44776         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44777         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44778         (__libc_vfork): New strong alias.
44779         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44781 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44783         * sysdeps/generic/elide.h: New file.
44785 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44787         * Makefile (installed-headers): Adjust path of pthread.h header.
44789 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44791         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44792         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44793         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44794         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44796         * nptl/sysdeps/s390/Makefile: Moved ...
44797         * sysdeps/s390/nptl/Makefile: ... here.
44798         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44799         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44800         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44801         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44802         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44803         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44804         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44805         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44806         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44807         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44808         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44809         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44810         * nptl/sysdeps/s390/tls.h: Moved ...
44811         * sysdeps/s390/nptl/tls.h: ... here.
44813         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44814         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44816 2014-06-13  David S. Miller  <davem@davemloft.net>
44818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44821         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44825         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44826         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44827         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44828         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44829         Remove RESET_PID cpp guards.
44830         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44831         Remove RESET_PID cpp guards.
44832         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44834 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44836         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44837         __sp to uintptr_t.
44839 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44841         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44842         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44843         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44844         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44846         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44847         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44848         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44849         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44850         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44851         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44852         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44854         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44856         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44859         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44862         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44863         (pthread_rwlock_rdlock): Add elision.
44864         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44865         (pthread_rwlock_wrlock): Add elision.
44866         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44867         (pthread_rwlock_trywrlock): Add elision.
44868         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44869         (pthread_rwlock_tryrdlock): Add elision.
44870         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44871         (pthread_rwlock_tryrdlock): Add elision unlock.
44872         * nptl/sysdeps/pthread/pthread.h:
44873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44874         (PTHREAD_RWLOCK_INITIALIZER,
44875         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44876         Handle new elision field.
44877         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44878         * sysdeps/arm/nptl/bits/pthreadtypes.h
44879         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44880         * sysdeps/sh/nptl/bits/pthreadtypes.h
44881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44882         * sysdeps/tile/nptl/bits/pthreadtypes.h
44883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44884         * sysdeps/a/nptl/bits/pthreadtypes.h
44885         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44886         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44887         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44888         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44890         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44891         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44892         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44893         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44894         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44895         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44896         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44898         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44900         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44902         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44903         (elision_init): Set try_xbegin to zero when no RTM.
44904         * sysdeps/x86/nptl/bits/pthreadtypes.h
44905         (pthread_rwlock_t): Change __pad1 to __rwelision.
44906         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44908 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44910         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44911         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44912         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44913         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44915 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44917         [BZ #16996]
44918         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44919         that the cached result has been set before returning it.
44921 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44923         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44924         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44925         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44926         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44927         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44928         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44930         * nptl/sysdeps/sparc/Makefile: Moved ...
44931         * sysdeps/sparc/nptl/Makefile: ... here.
44932         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44933         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44934         * nptl/sysdeps/sparc/tls.h: Moved ...
44935         * sysdeps/sparc/nptl/tls.h: ... here.
44936         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44937         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44938         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44939         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44940         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44941         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44942         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44943         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44944         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44945         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44946         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44947         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44948         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44949         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44950         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44951         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44952         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44954         Update #include.
44955         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44956         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44957         Update #include.
44958         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44960         Update #include.
44961         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44963         Update #include.
44965         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44967         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44968         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44970         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44971         (struct list_links): Type removed.
44972         (struct thread_node, struct timer_node): Replace struct list_links
44973         with struct list_head.
44974         (list_unlink_ip): Likewise.
44975         * sysdeps/pthread/timer_routines.c
44976         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44977         (list_append, list_insbefore): Likewise.
44978         (list_init): Function removed.
44979         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44980         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44981         * sysdeps/pthread/Makefile: ... here, new file.
44983         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44984         * sysdeps/nptl/Implies: ... here.
44985         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44986         * nptl/sysdeps/pthread/list.h: Moved ...
44987         * include/list.h: ... here.
44988         * nptl/sysdeps/pthread/createthread.c: Moved ...
44989         * nptl/createthread.c: ... here.
44990         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44991         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44992         * nptl/pt-longjmp.c: ... here.
44993         * nptl/sysdeps/pthread/Makefile: Moved ...
44994         * sysdeps/nptl/Makefile: ... here.
44995         * nptl/sysdeps/pthread/Subdirs: Moved ...
44996         * sysdeps/nptl/Subdirs: ... here.
44997         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44998         * sysdeps/nptl/aio_misc.h: ... here.
44999         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
45000         * sysdeps/nptl/bits/libc-lock.h: ... here.
45001         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
45002         * sysdeps/nptl/bits/libc-lockP.h: ... here.
45003         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
45004         * sysdeps/nptl/bits/stdio-lock.h: ... here.
45005         * nptl/sysdeps/pthread/configure: Moved ...
45006         * sysdeps/nptl/configure: ... here.
45007         * nptl/sysdeps/pthread/configure.ac: Moved ...
45008         * sysdeps/nptl/configure.ac: ... here.
45009         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
45010         * sysdeps/nptl/gai_misc.h: ... here.
45011         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
45012         * sysdeps/nptl/librt-cancellation.c: ... here.
45013         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
45014         * sysdeps/nptl/malloc-machine.h: ... here.
45015         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
45016         * sysdeps/nptl/pthread-functions.h: ... here.
45017         * nptl/sysdeps/pthread/pthread.h: Moved ...
45018         * sysdeps/nptl/pthread.h: ... here.
45019         * nptl/sysdeps/pthread/setxid.h: Moved ...
45020         * sysdeps/nptl/setxid.h: ... here.
45021         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
45022         * sysdeps/nptl/sigfillset.c: ... here.
45023         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
45024         * sysdeps/nptl/tcb-offsets.h: ... here.
45025         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
45026         * sysdeps/nptl/tst-mqueue8x.c: ... here.
45027         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
45028         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
45029         * nptl/sysdeps/pthread/allocalim.h: Moved ...
45030         * sysdeps/pthread/allocalim.h: ... here.
45031         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
45032         * sysdeps/pthread/bits/sigthread.h: ... here.
45033         * nptl/sysdeps/pthread/flockfile.c: Moved ...
45034         * sysdeps/pthread/flockfile.c: ... here.
45035         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
45036         * sysdeps/pthread/ftrylockfile.c: ... here.
45037         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
45038         * sysdeps/pthread/funlockfile.c: ... here.
45039         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
45040         * sysdeps/pthread/posix-timer.h: ... here.
45041         * nptl/sysdeps/pthread/timer_create.c: Moved ...
45042         * sysdeps/pthread/timer_create.c: ... here.
45043         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
45044         * sysdeps/pthread/timer_delete.c: ... here.
45045         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
45046         * sysdeps/pthread/timer_getoverr.c: ... here.
45047         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
45048         * sysdeps/pthread/timer_gettime.c: ... here.
45049         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
45050         * sysdeps/pthread/timer_routines.c: ... here.
45051         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
45052         * sysdeps/pthread/timer_settime.c: ... here.
45053         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
45054         * sysdeps/pthread/tst-timer.c: ... here.
45055         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
45056         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
45058         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
45059         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
45061         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
45062         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
45063         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
45064         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
45065         Update #include target.
45066         * nptl/sysdeps/i386/i686/Makefile: Moved ...
45067         * sysdeps/i386/i686/nptl/Makefile: ... here.
45068         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
45069         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
45070         Update #include target.
45071         * nptl/sysdeps/i386/i686/tls.h: Moved ...
45072         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
45073         * nptl/sysdeps/i386/Makefile: Moved ...
45074         * sysdeps/i386/nptl/Makefile: ... here.
45075         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
45076         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
45077         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
45078         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
45079         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
45080         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
45081         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
45082         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
45083         * sysdeps/i386/nptl/pthreaddef.h: ... here.
45084         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
45085         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
45086         * nptl/sysdeps/i386/tls.h: Moved ...
45087         * sysdeps/i386/nptl/tls.h: ... here.
45089         * sysdeps/sh/Makefile [$(subdir) = csu]
45090         (gen-as-const-headers): Add tcb-offsets.sym.
45091         * nptl/sysdeps/sh/Makefile: File removed.
45092         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
45093         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
45094         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
45095         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
45096         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
45097         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
45098         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
45099         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
45100         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
45101         * sysdeps/sh/nptl/pthreaddef.h: ... here.
45102         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
45103         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
45104         * nptl/sysdeps/sh/tls.h: Moved ...
45105         * sysdeps/sh/nptl/tls.h: ... here.
45106         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
45107         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
45108         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
45109         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
45110         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
45111         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
45112         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
45113         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
45114         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
45115         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
45116         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
45117         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
45118         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
45119         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
45120         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
45121         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
45122         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
45123         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
45124         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
45125         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
45126         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
45127         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
45128         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
45129         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
45130         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
45131         Moved ...
45132         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
45133         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
45134         Moved ...
45135         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
45136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
45137         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
45138         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
45139         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
45140         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
45141         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
45142         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
45143         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
45144         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
45145         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
45146         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
45147         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
45148         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
45149         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
45150         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
45151         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
45152         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
45153         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
45155 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
45157         * posix/spawn_faction_addopen.c: Include string.h.
45159 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45161         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
45162         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
45163         * nptl/sysdeps/x86_64/Makefile: Moved ...
45164         * sysdeps/x86_64/nptl/Makefile: ... here.
45165         * nptl/sysdeps/x86_64/configure: Moved ...
45166         * sysdeps/x86_64/nptl/configure: ... here.
45167         * nptl/sysdeps/x86_64/configure.ac: Moved ...
45168         * sysdeps/x86_64/nptl/configure.ac: ... here.
45169         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
45170         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
45171         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
45172         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
45173         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
45174         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
45175         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
45176         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
45177         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
45178         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
45179         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
45180         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
45181         * nptl/sysdeps/x86_64/tls.h: Moved ...
45182         * sysdeps/x86_64/nptl/tls.h: ... here.
45183         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
45184         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
45185         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
45186         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
45188         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
45190 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45194 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
45196         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
45197         type.
45198         [POSIX] (off_t): Likewise.
45199         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
45200         [POSIX] (S_ISBLK): Require macro.
45201         [POSIX] (S_ISCHR): Likewise.
45202         [POSIX] (S_ISDIR): Likewise.
45203         [POSIX] (S_ISFIFO): Likewise.
45204         [POSIX] (S_ISREG): Likewise.
45205         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
45206         optional-macro.
45207         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
45208         type.
45209         [POSIX] (time_t): Likewise.
45210         [POSIX] (timer_t): Likewise.
45212 2014-06-11  Florian Weimer  <fweimer@redhat.com>
45214         [BZ #17048]
45215         * posix/spawn_int.h (struct __spawn_action): Make the path string
45216         non-const to support deallocation.
45217         * posix/spawn_faction_addopen.c
45218         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
45219         * posix/spawn_faction_destroy.c
45220         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
45221         path in all spawn_do_open actions.
45222         * posix/tst-spawn.c (do_test): Exercise the copy operation in
45223         posix_spawn_file_actions_addopen.
45225 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
45227         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
45228         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
45229         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
45230         conditional code always true.
45231         (__libc_vfork): New alias.
45233 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45235         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45236         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
45238         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
45240         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45241         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
45243         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45244         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
45246         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45247         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
45249 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45251         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
45252         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
45253         multiarch strcmp for PPC64.
45254         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
45255         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
45257         multiarch optimizations.
45258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45259         (__libc_ifunc_impl_list): Likewise.
45261 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45263         * benchtests/scripts/validate_benchout.py: New script.
45264         * benchtests/Makefile (bench-func): Call it.
45265         * benchtests/scripts/benchout.schema.json: New file.
45267 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
45269         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
45270         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
45271         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
45272         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
45273         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
45274         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
45275         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
45276         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45277         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
45278         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
45279         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
45280         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
45281         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45282         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
45283         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
45284         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
45285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
45286         Moved ...
45287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
45288         ... here.
45289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
45290         Moved ...
45291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
45292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
45293         Moved ...
45294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
45295         ... here.
45296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
45297         Moved ...
45298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
45299         ... here.
45300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
45301         Moved ...
45302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
45303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
45304         Moved ...
45305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
45306         ... here.
45307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
45308         Moved ...
45309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
45310         ... here.
45311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
45312         Moved ...
45313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
45314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
45315         Moved ...
45316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
45317         ... here.
45318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
45319         Moved ...
45320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
45321         ... here.
45322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
45323         Moved ...
45324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
45325         ... here.
45326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
45327         Moved ...
45328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
45329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
45330         Moved ...
45331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
45332         ... here.
45333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
45334         Moved ...
45335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
45336         ... here.
45337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
45338         Moved ...
45339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
45340         ... here.
45341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
45342         Moved ...
45343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
45344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
45345         Moved ...
45346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
45347         ... here.
45348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
45349         Moved ...
45350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
45351         ... here.
45352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
45353         Moved ...
45354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
45355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
45356         Moved ...
45357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
45358         ... here.
45359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
45360         Moved ...
45361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
45362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
45363         Moved ...
45364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
45365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
45366         Moved ...
45367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
45368         ... here.
45369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
45370         Moved ...
45371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
45372         ... here.
45373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
45374         Moved ...
45375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
45376         ... here.
45377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
45378         Moved ...
45379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
45380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
45381         Moved ...
45382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
45383         ... here.
45384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
45385         Moved ...
45386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
45387         ... here.
45388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
45389         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
45390         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
45391         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
45392         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
45393         Moved ...
45394         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
45395         ... here.
45396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
45397         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
45398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
45399         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
45400         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
45401         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
45402         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
45403         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
45404         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
45405         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
45406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
45407         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
45408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
45409         Moved ...
45410         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
45411         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
45412         Moved ...
45413         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
45414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
45415         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
45416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
45417         Moved ...
45418         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
45419         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
45420         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
45421         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
45422         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
45423         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
45424         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
45426 2014-06-10  Wilco  <wdijkstr@arm.com>
45428         * math/test-fenv-return.c: New file.
45429         * math/Makefile: Add new test test-fenv-return.
45431 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
45433         [BZ #17042]
45434         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
45435         when x - 1 is zero.
45436         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
45437         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
45438         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
45439         0.0L for an argument of 1.0L.
45440         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
45441         Likewise.
45442         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
45443         value when x - 1 is zero.
45444         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
45445         * sysdeps/i386/fpu/libm-test-ulps: Update.
45446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45448 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
45450         [BZ #15119]
45451         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
45453 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45455         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
45456         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
45458 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45460         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45461         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
45463         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45464         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
45466         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45467         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
45469         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45470         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
45472         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
45473         if not already defined.
45474         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
45475         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
45476         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
45477         (TLS_INIT_TP): Use it.
45478         (TLS_DEFINE_INIT_TP): New macro.
45479         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
45481 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
45483         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
45484         constant.
45485         [POSIX] (IXANY): Likewise.
45486         [POSIX] (OLCUC): Likewise.
45487         [POSIX || POSIX2008] (CBAUD): Do not allow.
45488         [POSIX || POSIX2008] (DEFECHO): Likewise.
45489         [POSIX || POSIX2008] (ECHOCTL): Likewise.
45490         [POSIX || POSIX2008] (ECHOKE): Likewise.
45491         [POSIX || POSIX2008] (ECHOPRT): Likewise.
45492         [POSIX || POSIX2008] (EXTA): Likewise.
45493         [POSIX || POSIX2008] (EXTB): Likewise.
45494         [POSIX || POSIX2008] (FLUSHO): Likewise.
45495         [POSIX || POSIX2008] (LOBLK): Likewise.
45496         [POSIX || POSIX2008] (PENDIN): Likewise.
45497         [POSIX || POSIX2008] (SWTCH): Likewise.
45498         [POSIX || POSIX2008] (VDISCARD): Likewise.
45499         [POSIX || POSIX2008] (VDSUSP): Likewise.
45500         [POSIX || POSIX2008] (VLNEXT): Likewise.
45501         [POSIX || POSIX2008] (VREPRINT): Likewise.
45502         [POSIX || POSIX2008] (VSTATUS): Likewise.
45503         [POSIX || POSIX2008] (VWERASE): Likewise.
45504         (B*): Change to B[0123456789]*.
45505         * conform/data/time.h-data [POSIX || UNIX98]
45506         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
45507         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45508         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
45509         [POSIX] (tm_*): Do not allow.
45511 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
45513         * Makefile (install): Don't set LANGUAGE.
45514         * Makefile.in (install): Likewise.
45515         * assert/Makefile (test-assert-ENV): Remove variable.
45516         (test-assert-perr-ENV): Likewise.
45517         * elf/Makefile (neededtest4-ENV): Likewise.
45518         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45519         [$(cross-compiling) = no]: Don't set LANGUAGE.
45520         * io/ftwtest-sh (LANG): Remove variable.
45521         * libio/Makefile (tst-widetext-ENV): Likewise.
45522         * manual/install.texi (Running make install): Don't refer to
45523         environment settings for make install.
45524         * INSTALL: Regenerated.
45525         * nptl/tst-tls6.sh: Don't set LANG.
45526         * posix/globtest.sh (LANG): Remove variable.
45527         * string/Makefile (tester-ENV): Likewise.
45528         (inl-tester-ENV): Likewise.
45529         (noinl-tester-ENV): Likewise.
45530         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45531         [$(cross-compiling) = no]: Don't set LANGUAGE.
45532         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
45533         without explicit environment settings.
45535 2014-06-06  Roland McGrath  <roland@hack.frob.com>
45537         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
45538         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
45539         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
45540         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
45542 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
45544         * crypt/crypt-private.h [DOS]: Add some includes taken from the
45545         other files in the crypt directory.
45546         * crypt/crypt.c: Remove duplicate includes.
45547         * crypt/crypt-entry.c: Likewise.
45548         * crypt/crypt_util.c: Likewise.
45550 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
45552         * Makeconfig (run-program-env): New variable.
45553         (run-program-prefix-before-env): Likewise.
45554         (run-program-prefix-after-env): Likewise.
45555         (run-program-prefix): Define in terms of new variables.
45556         (built-program-cmd-before-env): New variable.
45557         (built-program-cmd-after-env): Likewise.
45558         (built-program-cmd): Define in terms of new variables.
45559         (test-program-prefix-before-env): New variable.
45560         (test-program-prefix-after-env): Likewise.
45561         (test-program-prefix): Define in terms of new variables.
45562         (test-program-cmd-before-env): New variable.
45563         (test-program-cmd-after-env): Likewise.
45564         (test-program-cmd): Define in terms of new variables.
45565         * Rules (make-test-out): Use $(run-program-env).
45566         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
45567         (help): Do not mention environment variables.  Mention
45568         --timeoutfactor option.
45569         (timeoutfactor): New variable.
45570         (blacklist_exports): Remove function.
45571         (exports): Remove variable.
45572         (command): Do not include ${exports}.
45573         * manual/install.texi (Configuring and compiling): Do not mention
45574         test wrappers preserving environment variables.  Mention that last
45575         assignment to a variable must take precedence.
45576         * INSTALL: Regenerated.
45577         * benchtests/Makefile (run-bench): Use $(run-program-env).
45578         * catgets/Makefile ($(objpfx)test1.cat): Use
45579         $(built-program-cmd-before-env), $(run-program-env) and
45580         $(built-program-cmd-after-env).
45581         ($(objpfx)test2.cat): Do not specify environment variables
45582         explicitly.
45583         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
45584         $(run-program-env) and $(built-program-cmd-after-env).
45585         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
45586         $(run-program-env) and $(test-program-cmd-after-env).
45587         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
45588         explicitly.
45589         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
45590         run_program_env and test_program_cmd_after_env arguments.
45591         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
45592         * elf/tst-pathopt.sh: Use run_program_env argument.
45593         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45594         $(test-wrapper-env) and $(run-program-env).
45595         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
45596         run_program_env arguments.
45597         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
45598         * intl/Makefile ($(objpfx)tst-gettext.out): Use
45599         $(test-program-prefix-before-env), $(run-program-env) and
45600         $(test-program-prefix-after-env).
45601         ($(objpfx)tst-gettext2.out): Likewise.
45602         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
45603         run_program_env and test_program_prefix_after_env arguments.
45604         * intl/tst-gettext2.sh: Likewise.
45605         * intl/tst-gettext4.sh: Do not set environment variables
45606         explicitly.
45607         * intl/tst-gettext6.sh: Likewise.
45608         * intl/tst-translit.sh: Likewise.
45609         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45610         $(test-program-prefix-before-env), $(run-program-env) and
45611         $(test-program-prefix-after-env).
45612         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45613         run_program_env and test_program_prefix_after_env arguments.
45614         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45615         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45616         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45617         explicitly with each use of ${test_wrapper_env}.
45618         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45619         $(test-program-prefix-before-env), $(run-program-env) and
45620         $(test-program-prefix-after-env).
45621         * posix/tst-getconf.sh: Do not set environment variables
45622         explicitly.
45623         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45624         run_program_env and test_program_prefix_after_env arguments.
45625         * stdio-common/tst-printf.sh: Do not set environment variables
45626         explicitly.
45627         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45628         $(test-program-prefix-before-env), $(run-program-env) and
45629         $(test-program-prefix-after-env).
45630         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45631         run_program_env and test_program_prefix_after_env arguments.
45632         Split $test calls into $test_pre and $test.
45633         * timezone/Makefile (build-testdata): Use
45634         $(built-program-cmd-before-env), $(run-program-env) and
45635         $(built-program-cmd-after-env).
45637 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45639         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45640         strlen for non SHARED builds.
45642 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45644         * nptl/allocatestack.c (check_list): Inlined function...
45645         (__reclaim_stacks): ... here.
45647 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45649         [BZ #15698]
45650         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45651         memory overrun.
45653 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45655         * Rules (make-test-out): Include
45656         LOCPATH=$(common-objpfx)localedata in default environment.
45657         * debug/Makefile (tst-chk1-ENV): Remove variable.
45658         (tst-chk2-ENV): Likewise.
45659         (tst-chk3-ENV): Likewise.
45660         (tst-chk4-ENV): Likewise.
45661         (tst-chk5-ENV): Likewise.
45662         (tst-chk6-ENV): Likewise.
45663         (tst-lfschk1-ENV): Likewise.
45664         (tst-lfschk2-ENV): Likewise.
45665         (tst-lfschk3-ENV): Likewise.
45666         (tst-lfschk4-ENV): Likewise.
45667         (tst-lfschk5-ENV): Likewise.
45668         (tst-lfschk6-ENV): Likewise.
45669         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45670         (tst-iconv7-ENV): Likewise.
45671         * intl/Makefile (LOCPATH-ENV): Likewise.
45672         (tst-codeset-ENV): Likewise.
45673         (tst-gettext3-ENV): Likewise.
45674         (tst-gettext5-ENV): Likewise.
45675         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45676         (tst-fopenloc-ENV): Likewise.
45677         (tst-fgetws-ENV): Remove variable.
45678         (tst-ungetwc1-ENV): Likewise.
45679         (tst-ungetwc2-ENV): Likewise.
45680         (bug-ungetwc2-ENV): Likewise.
45681         (tst-swscanf-ENV): Likewise.
45682         (bug-ftell-ENV): Likewise.
45683         (tst-fgetwc-ENV): Likewise.
45684         (tst-fseek-ENV): Likewise.
45685         (tst-ftell-partial-wide-ENV): Likewise.
45686         (tst-ftell-active-handler-ENV): Likewise.
45687         (tst-ftell-append-ENV): Likewise.
45688         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45689         (tst-regexloc-ENV): Likewise.
45690         (bug-regex1-ENV): Likewise.
45691         (tst-regex-ENV): Likewise.
45692         (tst-regex2-ENV): Likewise.
45693         (bug-regex5-ENV): Likewise.
45694         (bug-regex6-ENV): Likewise.
45695         (bug-regex17-ENV): Likewise.
45696         (bug-regex18-ENV): Likewise.
45697         (bug-regex19-ENV): Likewise.
45698         (bug-regex20-ENV): Likewise.
45699         (bug-regex22-ENV): Likewise.
45700         (bug-regex23-ENV): Likewise.
45701         (bug-regex25-ENV): Likewise.
45702         (bug-regex26-ENV): Likewise.
45703         (bug-regex30-ENV): Likewise.
45704         (bug-regex32-ENV): Likewise.
45705         (bug-regex33-ENV): Likewise.
45706         (bug-regex34-ENV): Likewise.
45707         (bug-regex35-ENV): Likewise.
45708         (tst-rxspencer-ENV): Likewise.
45709         (tst-rxspencer-no-utf8-ENV): Likewise.
45710         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45711         (tst-sscanf-ENV): Likewise.
45712         (tst-swprintf-ENV): Likewise.
45713         (tst-swscanf-ENV): Likewise.
45714         (test-vfprintf-ENV): Likewise.
45715         (scanf13-ENV): Likewise.
45716         (bug14-ENV): Likewise.
45717         (tst-grouping-ENV): Likewise.
45718         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45719         (tst-strtod3-ENV): Likewise.
45720         (tst-strtod4-ENV): Likewise.
45721         (tst-strtod5-ENV): Likewise.
45722         (testmb2-ENV): Likewise./
45723         * string/Makefile (tst-strxfrm-ENV): Likewise.
45724         (tst-strxfrm2-ENV): Likewise.
45725         (bug-strcoll1-ENV): Likewise.
45726         (test-strcasecmp-ENV): Likewise.
45727         (test-strncasecmp-ENV): Likewise.
45728         * time/Makefile (tst-strptime-ENV): Likewise.
45729         (tst-ftime_l-ENV): Likewise.
45730         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45731         (tst-mbrtowc-ENV): Likewise.
45732         (tst-wcrtomb-ENV): Likewise.
45733         (tst-mbrtowc2-ENV): Likewise.
45734         (tst-c16c32-1-ENV): Likewise.
45735         (tst-mbsnrtowcs-ENV): Likewise.
45737 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45739         * manual/resource.texi (How to get information about the memory
45740         subsystem?): Fix typo.
45741         Reported by Peon de la Parra Ivan <peon@keba.com>
45743 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45745         [BZ #16882]
45746         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45747         (pthread_spin_lock): Branch out of spin loop to proper location.
45748         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45749         (pthread_spin_lock): Likewise.
45751         * nptl/tst-spin4.c: New test.
45752         * nptl/Makefile (tests): Add tst-spin4.
45754 2014-06-03  Andreas Schwab  <schwab@suse.de>
45756         [BZ #15946]
45757         * resolv/res_send.c (send_dg): Reload file descriptor after
45758         calling reopen.
45760 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45762         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45764 2014-06-03  Richard Henderson  <rth@redhat.com>
45766         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45767         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45768         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45769         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45770         in the SAVE_PID block.
45771         (__libc_vfork): New alias.
45772         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45774         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45775         child in registers, not on the stack.  Remove RESET_PID conditionals.
45776         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45778 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45780         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45782 2014-06-03  Wilco  <wdijkstr@arm.com>
45784         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45785         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45786         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45787         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45788         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45789         Likewise.
45791 2014-06-03  Wilco  <wdijkstr@arm.com>
45793         * sysdeps/aarch64/fpu/math_private.h
45794         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45795         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45796         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45797         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45798         Fix declarations.
45800 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45802         * crypt/crypt-private.h: Include ufc-crypt.h.
45803         (__b64_from_24bit): Declare extern.
45804         * crypt/crypt_util.c(__b64_from_24bit): New function.
45805         (b64t): New static const variable.
45806         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45807         (b64t): Remove variable.
45808         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45809         * crypt/sha256-crypt.c: Include crypt-private.h.
45810         (b64t): Remove variable.
45811         (__sha256_crypt_r): Remove b64_from_24bit and replace
45812         with __b64_from_24bit.
45813         * crypt/sha512-crypt.c: Likewise.
45815 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45817         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45818         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45819         Label the code __libc_vfork rather than __vfork.
45820         [!NOT_IN_libc] (vfork): Define as weak alias.
45821         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45822         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45823         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45825 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45827         * malloc/malloc.c (malloc_info): Fix format specifier for
45828         n_mmaps.
45830 2014-06-02  Wilco  <wdijkstr@arm.com>
45832         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45833         FPCR write.
45835 2014-06-02  Wilco  <wdijkstr@arm.com>
45837         [BZ #17009]
45838         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45839         Rewrite to reduce FPCR/FPSR accesses.
45841 2014-06-01  David S. Miller  <davem@davemloft.net>
45843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45845 2014-05-31  David S. Miller  <davem@davemloft.net>
45847         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45848         to occur in round to nearest mode when |x| >= 2.0
45850 2014-05-30  Richard Henderson  <rth@twiddle.net>
45852         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45853         (PSEUDO_RET_NOERRNO): Remove.
45854         (ret): Don't redefine.
45855         (ret_NOERRNO): Define in terms of ret.
45856         (ret_ERRVAL): Likewise.
45858         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45859         use of PSEUDO_RET; perform the error check directly.
45861 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45863         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45864         with __int128_t.
45866 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45868         * malloc/malloc (malloc_info): Fix formatting.
45870 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45871             Roland McGrath  <roland@hack.frob.com>
45873         * malloc/malloc (malloc_info): Also print mmapped statistics.
45875 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45877         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45878         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45880 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45882         * malloc/malloc.c (malloc_info): Inline mi_arena.
45884 2014-05-29  Richard Henderson  <rth@twiddle.net>
45886         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45887         Remove comma before expanding ASM_ARGS_##nr.
45888         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45889         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45890         of ASM_ARGS_##nr.
45891         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45892         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45893         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45894         (ASM_ARGS_1): Add leading comma.
45896         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45897         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45898         to __errno_location.
45899         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45900         Remove the expected plt for __errno_location.
45902         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45903         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45904         call to __read_tp.
45906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45907         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45908         it and break it down.
45909         (DOCARGS_0, DOCARGS_1): Do nothing.
45910         (DOCARGS_2): Update to store into the new stack frame.
45911         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45912         (UNDOCARGS_1): Update to restore from the new stack frame.
45913         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45914         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45916         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45917         (SINGLE_THREAD_P): New parameter for result regno.
45918         (PSEUDO): Update to match; use cbz instead of beq.
45920         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45921         Use ENTRY to define the _nocancel entry point.  Share the syscall
45922         and syscall error check paths with the cancel path.
45923         (PSEUDO_END): New.
45925         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45926         whitespace; tabs before and after asm mnemonics.
45928 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45930         [BZ #15132]
45931         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45932         Call fstat64 or stat64 internally, depending on arguments passed.
45933         Replace stat buffer argument with file descriptor argument.
45934         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45935         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45936         Pass fd to __internal_statvfs instead of calling fstat64.
45937         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45938         Pass fd to __internal_statvfs64 instead of calling fstat64.
45939         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45940         Pass -1 to __internal_statvfs instead of calling stat64.
45941         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45942         Pass -1 to __internal_statvfs64 instead of calling stat64.
45944 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45946         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45947         that was previously under [RESET_PID].
45948         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45950         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45951         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45953 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45955         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45957         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45958         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45960 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45962         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45964 2014-05-27  Andreas Schwab  <schwab@suse.de>
45966         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45967         TLS_INIT_TP macro.
45968         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45969         * elf/rtld.c (init_tls, dl_main): Likewise.
45970         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45971         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45972         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45973         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45974         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45975         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45976         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45977         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45978         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45979         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45980         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45981         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45982         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45983         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45984         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45985         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45986         * sysdeps/generic/tls.h: Update description.
45988 2014-05-27  Will Newton  <will.newton@linaro.org>
45990         [BZ #16990]
45991         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45992         and restore r2 rather than just restoring.
45994 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45996         [BZ #16724]
45997         * libio/tst-ftell-append.c: New test case.
45998         * libio/Makefile (tests): Add test case.
45999         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
46000         append mode.
46001         * libio/wfileops.c (do_ftell_wide): Likewise.
46003 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46007         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
46008         ...
46009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
46010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46011         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
46012         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
46013         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
46014         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
46015         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
46016         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
46017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
46018         Moved ...
46019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
46020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
46021         Moved ...
46022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
46023         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
46024         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
46025         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
46026         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
46027         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
46028         ...
46029         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
46030         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
46031         Moved ...
46032         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
46033         here.
46034         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
46035         ...
46036         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
46037         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
46038         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
46040         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
46041         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
46042         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
46043         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
46045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
46046         merge into ...
46047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
46048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
46049         ...
46050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
46051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
46052         ...
46053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
46054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46055         Moved ...
46056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
46057         here.
46058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46059         Moved ...
46060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
46061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46062         Moved ...
46063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
46065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
46066         conditional [RESET_PID].
46067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
46068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
46069         removed.
46070         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
46071         removed.
46073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
46074         <tcb-offsets.h>.
46075         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46076         (__libc_vfork): New strong alias.
46077         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
46078         removed.
46079         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
46080         Removed.
46082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
46083         <tcb-offsets.h>.
46084         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
46085         (__libc_vfork): New strong alias.
46086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
46087         removed.
46088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
46089         removed.
46091 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
46093         * malloc/malloc.c (mi_arena): New function.
46094         (malloc_info): Remove nested function mi_arena. Call non-nosted
46095         function mi_arena.
46097 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46099         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
46100         by insrwi.
46101         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
46102         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
46103         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
46104         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
46105         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
46106         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
46107         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
46109 2014-05-26  Andreas Schwab  <schwab@suse.de>
46111         [BZ #16984]
46112         * locale/programs/repertoire.c (repertoire_read): Add slash
46113         between I18NPATH element and file name.
46114         * locale/programs/locfile.c (locfile_read): Likewise.
46116 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46118         * nptl/pthread_mutexattr_settype.c
46119         (__pthread_mutexattr_settype):
46120         Disable lock elision for PTHREAD_MUTEX_NORMAL.
46122 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46124         * nptl/tst-mutex5 (do_test):
46125         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
46127 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46129         * benchtests/README: Document 'init' directive.
46130         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
46131         BENCH_INIT.
46132         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
46133         (parse_file): Recognize 'init' directive.
46135 2014-05-26  Kyle McMartin  <kyle@redhat.com>
46137         [BZ #16796]
46138         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
46139         alignment of struct pthread.
46141 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46143         [BZ #16878]
46144         * nscd/netgroupcache.c (addgetnetgrentX): Look for
46145         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46146         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
46147         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46149 2014-05-25  Richard Henderson  <rth@twiddle.net>
46151         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46152         (SINGLE_THREAD_P_PIC): Remove.
46153         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
46154         (SINGLE_THREAD_P_PIC): Remove.
46156         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
46157         branch to syscall error ...
46158         (PSEUDO): ... here.
46159         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
46160         from __local_syscall_error to .Lsyscall_error.
46161         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
46162         (SYSCALL_ERROR): Update label name.
46164         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46165         Do not use DOARGS/UNDOARGS.
46166         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
46167         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
46168         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
46169         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
46170         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
46172         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
46173         block comment.
46175         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
46176         define if !NOT_IN_libc.
46177         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
46178         define with non-default symbol versions.
46180 2014-05-23  Richard Henderson  <rth@twiddle.net>
46182         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
46183         (vfork, __vfork): Define via compat_symbol.
46185         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
46186         [!HAVE_IFUNC] (vfork_compat): Remove.
46187         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
46189 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46191         [BZ #16978]
46192         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
46193         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
46194         variable.
46196 2014-05-23  Richard Henderson  <rth@twiddle.net>
46198         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
46199         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
46200         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
46201         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
46203         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
46204         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
46205         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
46206         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
46207         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
46208         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
46209         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
46210         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
46211         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
46212         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
46213         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
46214         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
46215         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
46216         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
46217         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
46218         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
46219         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
46220         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
46221         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
46222         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
46223         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
46224         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
46225         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
46226         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
46227         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46228         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
46229         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
46230         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
46231         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
46232         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
46233         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
46234         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
46235         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
46236         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
46237         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
46238         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
46239         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
46240         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46241         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
46242         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
46243         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
46244         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
46245         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
46246         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
46247         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
46248         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
46249         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
46250         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
46251         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
46252         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
46253         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
46254         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
46255         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
46256         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
46257         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
46258         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
46260         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
46261         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
46262         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
46263         before exiting on error.
46264         (__libc_vfork): New strong alias.
46265         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
46266         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
46268         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
46269         that was previously under [RESET_PID].
46270         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
46272         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
46274 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46276         [BZ #16977]
46277         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
46278         value when x - 1 is zero.
46279         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
46280         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
46281         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
46282         0.0L for an argument of 1.0L.
46283         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
46284         Likewise.
46285         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
46286         value when x - 1 is zero.
46287         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
46288         * sysdeps/i386/fpu/libm-test-ulps: Update.
46289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46291 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46293         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
46294         alphasort and versionsort.
46296 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46298         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
46299         macro.
46300         [copysignf]: Likewise.
46302 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46304         * crypt/md5-crypt.c: Fix formatting.
46306 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46308         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
46309         (b64_from_24bit): New function.
46311 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46313         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
46314         libc_hidden_builtin_def to ifunc.
46315         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46316         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
46318 2014-05-21  Roland McGrath  <roland@hack.frob.com>
46320         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
46321         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
46323 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
46325         * nscd/Depend (linuxthreads): Remove.
46326         (nptl): Add.
46327         * resolv/Depend (linuxthreads): Remove.
46328         * rt/Depend (linuxthreads): Remove.
46330         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
46331         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
46332         $(common-objpfx)elf/.
46333         (link-libc-before-gnulib): Likewise.
46334         (elfobjdir): Remove variable.
46335         * Makefile (install): Use $(elf-objpfx) instead of
46336         $(common-objpfx)elf/.
46337         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
46338         $(elfobjdir)/.
46339         (link-libc-deps): Likewise.
46340         ($(common-objpfx)libc.so): Likewise.
46341         ($(common-objpfx)linkobj/libc.so): Likewise.
46342         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
46343         instead of $(common-objpfx)elf/.
46344         (symbolic-link-list): Likewise.
46345         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46346         [$(cross-compiling) = no]: Likewise.
46347         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
46348         $(elfobjdir)/.
46349         (static-gnulib-arch): Likewise.
46350         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46351         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
46352         $(common-objpfx)elf/.
46354 2014-05-21  Richard Henderson  <rth@redhat.com>
46356         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46357         (SINGLE_THREAD_P): Use the correct width load.  Fold
46358         into the ldr offset.
46360         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
46361         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
46363 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
46365         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
46366         (libgcc_s_resume): Use __attribute_used__.
46367         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
46368         Likewise.
46370 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46372         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
46373         optimization when used with float constants.
46375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46377 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
46379         [BZ #16915]
46380         * locale/nl_langinfo_l.c: Make direct reference to every
46381         _nl_current_CATEGORY symbol.
46382         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
46383         (tests-static): Add tst-langinfo-static.
46384         (tests-special): Add tst-langinfo-static.out.
46385         ($(objpfx)tst-langinfo.out): Redirect output.
46386         ($(objpfx)tst-langinfo-static.out): New.
46387         * localedata/tst-langinfo.sh: Send output to stdout.
46388         * localedata/tst-langinfo-static.c: New file.
46390         [BZ #16965]
46391         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
46392         when the shift amount is modulo the limb size.
46394 2014-05-20  Richard Henderson  <rth@redhat.com>
46396         [BZ #16967]
46397         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
46398         Change type of sa_flags from unsigned int to int.
46400         [BZ #16966]
46401         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
46403         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
46405 2014-05-20  Will Newton  <will.newton@linaro.org>
46407         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46408         Test the return value of the system call in the nocancel case.
46410 2014-05-20  Will Newton  <will.newton@linaro.org>
46411             Yvan Roux  <yvan.roux@linaro.org>
46413         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
46414         #include of asm/ptrace.h.
46415         (PTRACE_GET_THREAD_AREA): Remove #undef.
46416         (PTRACE_GETHBPREGS): Likewise.
46417         (PTRACE_SETHBPREGS): Likewise.
46418         (struct user_regs_struct): New structure.
46419         (struct user_fpsimd_struct): New structure.
46420         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
46421         #include of asm/ptrace.h and second #include of sys/user.h.
46422         (PTRACE_GET_THREAD_AREA): Remove #undef.
46423         (PTRACE_GETHBPREGS): Likewise.
46424         (PTRACE_SETHBPREGS): Likewise.
46425         (ELF_NGREG): Use new struct user_regs_struct.
46426         (elf_fpregset_t): Use new struct user_fpsimd_struct.
46428 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46430         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
46431         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
46433 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
46435         [BZ #16958]
46436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
46437         membar to avoid block loads/stores to overlap previous stores.
46439 2014-05-17  Richard Henderson  <rth@redhat.com>
46441         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
46442         Create the __##syscall_name##_nocancel entry point.
46443         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
46444         Remove; let the sysdep-cancel.h code create it.
46446 2014-05-17  David S. Miller  <davem@davemloft.net>
46448         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
46449         Protect with __USE_GNU.
46450         (TIOCSET_TEMPT): Likewise.
46451         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46452         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
46453         these are already provided in bits/ioctl-types.h
46455 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46457         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
46458         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
46460         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
46461         Use wait4 regardless of [__NR_waitpid].
46463 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46465         PR libgcc/60166
46466         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46467         (_FP_NANSIGN_Q): Set the quiet bit.
46469 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
46471         * benchtests/Makefile
46472         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
46473         not $(common-objpfx)math/libm.so.
46474         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
46475         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
46476         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
46477         $(common-objpfx)dlfcn/libdl.so.
46478         ($(objpfx)tst-audit8): Depend on $(libm), not
46479         $(common-objpfx)math/libm.so.
46480         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
46481         not $(common-objpfx)dlfcn/libdl.so.
46482         * math/Makefile
46483         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46484         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
46485         [$(build-shared) = yes].
46486         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
46487         $(common-objpfx)nptl/libpthread.so.
46488         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
46489         $(common-objpfx)math/libm.so$(libm.so-version) or
46490         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
46491         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
46492         $(common-objpfx)dlfcn/libdl.so.
46493         * setjmp/Makefile (link-libm): Remove variable.
46494         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
46495         * stdio-common/Makefile (link-libm): Remove variable.
46496         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
46497         * stdlib/Makefile (link-libm): Remove variable.
46498         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
46499         ($(objpfx)tst-strtod-round): Likewise.
46500         ($(objpfx)tst-tininess): Likewise.
46501         ($(objpfx)tst-strtod-underflow): Likewise.
46502         ($(objpfx)tst-strtod6): Likewise.
46503         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
46504         $(libdl), not $(common-objpfx)nptl/libpthread.so and
46505         $(common-objpfx)dlfcn/libdl.so.
46507 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46509         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
46510         BSD terminal modes definitions.
46512 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46514         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
46515         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
46517         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
46518         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
46519         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
46520         Don't do #include_next.
46521         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
46522         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
46523         Don't do #include_next.
46524         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
46525         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
46526         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
46527         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
46529 2014-05-16  Allan McRae  <allan@archlinux.org>
46531         * po/sv.po: Update Swedish translation from translation project.
46533         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
46534         in sed expression.
46536 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
46538         [BZ #16917]
46539         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
46540         errno if the TIOCGPTN ioctl fails with an error different than
46541         EINVAL.
46542         * login/tst-ptsname.c: New file.
46543         * login/Makefile (tests): Add tst-ptsname.
46545         [BZ #16943]
46546         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
46547         and prlimit64.
46549 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46551         [BZ #16849]
46552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
46553         herrno to return EAI_AGAIN.
46555 2014-05-14  Roland McGrath  <roland@hack.frob.com>
46557         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
46558         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
46559         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
46560         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
46561         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
46562         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
46563         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
46564         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
46565         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
46566         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
46567         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
46568         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
46569         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
46570         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
46571         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
46572         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
46573         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
46574         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
46575         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46576         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
46577         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
46578         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
46579         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
46580         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
46581         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
46582         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
46583         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
46584         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
46585         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
46586         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
46587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
46588         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
46589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
46590         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
46591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46592         Moved ...
46593         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
46594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
46595         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
46596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
46597         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
46598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
46599         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
46600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
46601         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
46602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
46603         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46605         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46607         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46609         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46611         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46613         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46615         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46617         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46619         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46621         Moved ...
46622         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46624         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46626         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46628         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46630         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46632         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46634         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46636         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46638         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46640         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46642         Moved ...
46643         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46645         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46647         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46648         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46649         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46650         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46651         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46652         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46653         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46654         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46655         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46656         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46657         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46658         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46659         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46660         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46661         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46662         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46663         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46664         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46665         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46666         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46667         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46668         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46669         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46670         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46671         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46672         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46673         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46674         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46675         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46676         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46677         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46679         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46680         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46682         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46683         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46684         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46685         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46686         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46687         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46688         Moved ...
46689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46691         Moved ...
46692         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46694         Moved ...
46695         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46696         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46697         Moved ...
46698         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46699         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46700         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46702         Moved ...
46703         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46704         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46705         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46706         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46707         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46708         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46709         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46710         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46711         Moved ...
46712         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46713         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46714         Moved ...
46715         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46716         ... here.
46717         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46718         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46719         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46720         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46721         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46722         Moved ...
46723         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46724         ... here.
46725         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46726         Moved ...
46727         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46728         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46729         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46730         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46731         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46732         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46733         Moved ...
46734         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46736         Moved ...
46737         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46739         Moved ...
46740         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46741         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46742         Moved ...
46743         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46744         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46745         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46747         Moved ...
46748         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46749         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46750         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46751         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46752         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46753         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46754         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46755         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46756         Moved ...
46757         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46758         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46759         Moved ...
46760         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46761         ... here.
46762         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46763         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46764         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46765         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46766         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46767         Moved ...
46768         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46769         ... here.
46770         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46771         Moved ...
46772         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46773         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46774         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46775         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46776         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46777         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46778         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46779         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46780         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46782         Moved ...
46783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46785         Moved ...
46786         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46787         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46788         Moved ...
46789         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46790         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46791         Moved ...
46792         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46793         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46794         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46795         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46796         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46797         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46798         Moved ...
46799         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46800         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46801         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46802         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46803         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46804         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46805         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46806         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46807         Moved ...
46808         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46809         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46810         Moved ...
46811         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46812         ... here.
46813         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46814         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46815         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46816         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46817         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46818         Moved ...
46819         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46820         ... here.
46821         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46822         Moved ...
46823         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46824         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46825         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46826         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46827         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46828         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46829         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46830         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46831         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46832         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46833         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46835         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46836         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46838         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46839         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46841         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46842         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46843         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46844         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46845         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46846         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46847         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46848         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46849         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46850         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46851         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46852         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46853         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46854         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46855         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46856         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46857         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46859         Moved ...
46860         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46862         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46863         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46864         Moved ...
46865         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46866         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46867         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46868         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46869         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46870         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46871         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46873         Moved ...
46874         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46875         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46876         Moved ...
46877         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46878         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46879         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46881         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46882         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46883         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46884         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46885         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46886         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46887         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46888         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46889         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46890         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46891         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46892         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46893         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46895         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46896         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46897         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46898         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46899         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46901         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46902         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46903         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46904         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46905         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46906         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46907         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46908         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46909         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46910         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46913         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46915         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46916         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46917         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46918         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46919         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46920         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46921         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46922         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46923         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46924         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46925         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46926         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46927         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46928         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46929         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46930         Update #include.
46931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46932         Likewise.
46933         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46934         Likewise.
46935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46936         Likewise.
46937         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46938         Likewise.
46939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46940         Likewise.
46941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46942         Likewise.
46943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46944         Likewise.
46945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46946         Likewise.
46947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46948         Likewise.
46949         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46959         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46960         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46962         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46965         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46966         that was previously under [RESET_PID].
46967         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46968         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46969         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46971         * sysdeps/i386/nptl/Implies: New file.
46972         * sysdeps/x86_64/nptl/Implies: New file.
46973         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46974         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46975         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46976         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46978         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46979         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46980         (__libc_vfork): New strong alias.
46981         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46982         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46984         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46985         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46986         (__libc_vfork): New strong alias.
46987         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46988         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46990         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46991         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46992         (__libc_vfork): New strong alias.
46993         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46994         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46995         * nptl/pt-vfork.c: New file.
46996         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46997         (libpthread: GLIBC_2.20): New version set (empty).
46999 2014-05-14  Will Newton  <will.newton@linaro.org>
47001         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
47002         rather than #if.
47004 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47006         [BZ #16564]
47007         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
47008         arguments with exponent 65 or above.
47009         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
47010         arguments 0x1p113L or above.
47011         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
47012         to arguments 0x1p107L or above.
47013         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
47014         positive arguments with exponent 65 or above.
47015         * math/auto-libm-test-in: Add more tests of log1p.
47016         * math/auto-libm-test-out: Regenerated.
47018         [BZ #16928]
47019         * math/s_cacos.c (__cacos): Ensure zero real part of result from
47020         non-finite arguments is +0.
47021         * math/s_cacosf.c (__cacosf): Likewise.
47022         * math/s_cacosl.c (__cacosl): Likewise.
47023         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
47024         * sysdeps/i386/fpu/libm-test-ulps: Update.
47025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47027         [BZ #16927]
47028         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
47029         value.
47030         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
47031         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
47032         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
47033         for explicit high bit of mantissa when testing for argument equal
47034         to 1.
47035         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
47036         * sysdeps/i386/fpu/libm-test-ulps: Update.
47037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47039         [BZ #16516]
47040         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
47041         (__erf): Scale by 16 instead of 8 in potentially underflowing
47042         case.  Ensure exception if result actually underflows.
47043         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
47044         (__erff): Scale by 16 instead of 8 in potentially underflowing
47045         case.  Ensure exception if result actually underflows.
47046         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
47047         (efx8): Remove variable.
47048         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47049         case.  Ensure exception if result actually underflows.
47050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
47051         (efx8): Remove variable.
47052         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47053         case.  Ensure exception if result actually underflows.
47054         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
47055         (efx8): Remove variable.
47056         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47057         case.  Ensure exception if result actually underflows.
47058         * math/auto-libm-test-in: Add more tests of erf.
47059         * math/auto-libm-test-out: Regenerated.
47061 2014-05-14  Andreas Schwab  <schwab@suse.de>
47063         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
47064         Remove code conditionalized on USE___THREAD.
47066         * config.h.in (HAVE_PT_CHOWN): Define as 0.
47067         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
47068         not definedness.
47070 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47072         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
47073         Define unconditionally.
47074         (__ASSUME_O_CLOEXEC): Likewise.
47075         (__ASSUME_SOCK_CLOEXEC): Likewise.
47076         (__ASSUME_IN_NONBLOCK): Likewise.
47077         (__ASSUME_PIPE2): Likewise.
47078         (__ASSUME_EVENTFD2): Likewise.
47079         (__ASSUME_SIGNALFD4): Likewise.
47080         (__ASSUME_DUP3): Likewise.
47081         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47082         (__ASSUME_DUP3): Do not define.
47083         (__ASSUME_EVENTFD2): Likewise.
47084         (__ASSUME_IN_NONBLOCK): Likewise.
47085         (__ASSUME_O_CLOEXEC): Likewise.
47086         (__ASSUME_PIPE2): Likewise.
47087         (__ASSUME_SIGNALFD4): Likewise.
47088         (__ASSUME_SOCK_CLOEXEC): Likewise.
47089         (__ASSUME_UTIMES): Undefine.
47090         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47091         (__ASSUME_UTIMES): Do not define.
47092         (__ASSUME_O_CLOEXEC): Likewise.
47093         (__ASSUME_SOCK_CLOEXEC): Likewise.
47094         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
47095         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
47096         0x020621].
47097         (__ASSUME_PIPE2): Likewise.
47098         (__ASSUME_EVENTFD2): Likewise.
47099         (__ASSUME_SIGNALFD4): Likewise.
47100         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
47101         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
47102         Do not define.
47103         (__ASSUME_EVENTFD2): Likewise.
47104         (__ASSUME_SIGNALFD4): Likewise.
47105         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
47106         (__ASSUME_32BITUIDS): Likewise.
47107         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47108         (__ASSUME_IPC64): Likewise.
47109         (__ASSUME_ST_INO_64_BIT): Likewise.
47110         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
47111         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
47112         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47113         (__ASSUME_UTIMES): Do not define.
47114         (__ASSUME_PSELECT): Likewise.
47115         (__ASSUME_PPOLL): Likewise.
47116         (__ASSUME_O_CLOEXEC): Likewise.
47117         (__ASSUME_SOCK_CLOEXEC): Likewise.
47118         (__ASSUME_IN_NONBLOCK): Likewise.
47119         (__ASSUME_PIPE2): Likewise.
47120         (__ASSUME_EVENTFD2): Likewise.
47121         (__ASSUME_SIGNALFD4): Likewise.
47122         (__ASSUME_DUP3): Likewise.
47123         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47124         (__ASSUME_UTIMES): Likewise.
47125         (__ASSUME_O_CLOEXEC): Likewise.
47126         (__ASSUME_SOCK_CLOEXEC): Likewise.
47127         (__ASSUME_IN_NONBLOCK): Likewise.
47128         (__ASSUME_PIPE2): Likewise.
47129         (__ASSUME_EVENTFD2): Likewise.
47130         (__ASSUME_SIGNALFD4): Likewise.
47131         (__ASSUME_DUP3): Likewise.
47132         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47133         (__ASSUME_UTIMES): Likewise.
47134         (__ASSUME_O_CLOEXEC): Likewise.
47135         (__ASSUME_SOCK_CLOEXEC): Likewise.
47136         (__ASSUME_IN_NONBLOCK): Likewise.
47137         (__ASSUME_PIPE2): Likewise.
47138         (__ASSUME_EVENTFD2): Likewise.
47139         (__ASSUME_SIGNALFD4): Likewise.
47140         (__ASSUME_DUP3): Likewise.
47141         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
47142         Likewise.
47143         (__ASSUME_UTIMES): Likewise.
47144         (__ASSUME_EVENTFD2): Likewise.
47145         (__ASSUME_SIGNALFD4): Likewise.
47146         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47147         (__ASSUME_O_CLOEXEC): Likewise.
47148         (__ASSUME_SOCK_CLOEXEC): Likewise.
47149         (__ASSUME_IN_NONBLOCK): Likewise.
47150         (__ASSUME_PIPE2): Likewise.
47151         (__ASSUME_EVENTFD2): Likewise.
47152         (__ASSUME_SIGNALFD4): Likewise.
47153         (__ASSUME_DUP3): Likewise.
47154         (__ASSUME_UTIMES): Undefine.
47156         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
47157         feclearexcept.  Remove symbol versioning code.
47158         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
47159         symbol versioning code.
47160         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
47161         symbol versioning code.
47162         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
47163         feupdateenv.  Remove symbol versioning code.
47164         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
47165         fegetexceptflag.  Remove symbol versioning code.
47166         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
47167         fesetexceptflag.  Remove symbol versioning code.
47168         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
47169         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
47170         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
47171         (__posix_fadvise64_l32): Remove prototype.
47172         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
47173         code.
47175 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47177         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
47178         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
47179         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
47180         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
47182 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
47184         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
47185         current working directory
47187 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47189         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
47190         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
47191         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
47192         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
47193         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
47194         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
47195         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
47196         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
47197         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
47198         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
47199         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
47200         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
47201         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
47202         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
47203         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
47204         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
47205         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
47206         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
47207         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
47208         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
47209         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
47210         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
47211         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
47212         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
47213         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
47214         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
47215         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
47216         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
47217         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
47218         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
47219         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
47220         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
47221         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
47222         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
47223         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
47224         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
47225         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
47226         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
47227         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
47228         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
47229         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
47230         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
47232         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
47233         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
47235         * sysdeps/unix/sysv/linux/arm/Makefile
47236         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
47237         Add rt-aeabi_unwind_cpp_pr1.
47238         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
47239         Add nptl-aeabi_unwind_cpp_pr1.
47240         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
47241         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
47242         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
47243         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47244         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
47245         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47247         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
47248         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
47249         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
47250         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
47252         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
47253         Deconditionalize the code that was previously under [RESET_PID].
47254         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
47256         * sysdeps/generic/exit-thread.h: New file.
47257         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
47258         * include/unistd.h (__exit_thread): Remove declaration.
47259         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
47260         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
47261         * csu/libc-start.c: Include <exit-thread.h>.
47262         (LIBC_START_MAIN): Pass no argument to __exit_thread.
47263         * nptl/pthread_create.c: Include <exit-thread.h>.
47264         (start_thread): Call __exit_thread in place of __exit_thread_inline.
47265         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
47266         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
47267         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
47268         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
47269         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
47270         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
47271         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
47272         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
47273         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
47274         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
47275         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47276         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
47277         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
47278         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
47279         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
47280         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
47282 2014-05-13  Andreas Schwab  <schwab@suse.de>
47284         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
47286 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
47288         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47289         (__ASSUME_UTIMES): Do not condition on kernel version.
47290         (__ASSUME_PSELECT): Define unconditionally.
47291         (__ASSUME_PPOLL): Likewise.
47292         (__ASSUME_ATFCTS): Likewise.
47293         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
47294         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
47295         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47296         (__ASSUME_UTIMENSAT): Define unconditionally.
47297         (__ASSUME_PRIVATE_FUTEX): Likewise.
47298         (__ASSUME_FALLOCATE): Likewise.
47299         (__ASSUME_O_CLOEXEC): Likewise.
47300         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
47301         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
47302         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
47303         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
47304         (__ASSUME_IN_NONBLOCK): Likewise.
47305         (__ASSUME_PIPE2): Likewise.
47306         (__ASSUME_EVENTFD2): Likewise.
47307         (__ASSUME_SIGNALFD4): Likewise.
47308         (__ASSUME_DUP3): Likewise.
47309         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47310         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
47311         (__ASSUME_AT_RANDOM): Likewise.
47312         (__ASSUME_PREADV): Likewise.
47313         (__ASSUME_PWRITEV): Likewise.
47314         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
47315         (__ASSUME_F_GETOWN_EX): Define unconditionally.
47316         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
47317         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47318         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
47319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47320         (__ASSUME_O_CLOEXEC): Define unconditionally.
47321         (__ASSUME_PSELECT): Do not undefine conditionally.
47322         (__ASSUME_PPOLL): Likewise.
47323         (__ASSUME_ATFCTS): Likewise.
47324         (__ASSUME_SET_ROBUST_LIST): Likewise.
47325         (__ASSUME_UTIMENSAT): Likewise.
47326         (__ASSUME_FDATASYNC): Define unconditionally.
47327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47328         (__ASSUME_SIGFRAME_V2): Likewise.
47329         )__ASSUME_EVENTFD2): Likewise.
47330         (__ASSUME_SIGNALFD4): Likewise.
47331         (__ASSUME_PSELECT): Do not undefine conditionally.
47332         (__ASSUME_PPOLL): Likewise.
47333         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47334         (__ASSUME_PSELECT): Define unconditionally.
47335         (__ASSUME_PPOLL): Likewise.
47336         (__ASSUME_O_CLOEXEC): Likewise.
47337         (__ASSUME_SOCK_CLOEXEC): Likewise.
47338         (__ASSUME_IN_NONBLOCK): Likewise.
47339         (__ASSUME_PIPE2): Likewise.
47340         (__ASSUME_EVENTFD2): Likewise.
47341         (__ASSUME_SIGNALFD4): Likewise.
47342         (__ASSUME_DUP3): Likewise.
47343         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47344         (__ASSUME_O_CLOEXEC): Likewise.
47345         (__ASSUME_SOCK_CLOEXEC): Likewise.
47346         (__ASSUME_IN_NONBLOCK): Likewise.
47347         (__ASSUME_PIPE2): Likewise.
47348         (__ASSUME_EVENTFD2): Likewise.
47349         (__ASSUME_SIGNALFD4): Likewise.
47350         (__ASSUME_DUP3): Likewise.
47351         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47352         (__ASSUME_EVENTFD2): Likewise.
47353         (__ASSUME_SIGNALFD4): Likewise.
47354         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47356 2014-05-12  Andreas Schwab  <schwab@suse.de>
47358         [BZ #16932]
47359         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
47360         (_nss_nis_gethostbyname4_r): Return error if item length is larger
47361         than maximum RPC packet size.
47362         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
47363         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
47364         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
47365         (_nss_nis_getservbyport_r): Likewise.
47367 2014-05-12  Will Newton  <will.newton@linaro.org>
47369         * malloc/Makefile (tests): Add tst-mallopt.
47370         * malloc/tst-mallopt.c: New file.
47372 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47374         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
47375         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
47377 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47379         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
47380         (tst-tlsmod6.so): Likewise.
47382 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47384         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
47386 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
47388         [BZ #16064]
47389         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
47390         and <dl-procinfo.h>.
47391         (__fegetenv): Save SSE state in envp->__eip if supported.
47392         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
47393         envp->__eip if supported.
47394         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
47395         and <dl-procinfo.h>.
47396         (__fesetenv): Always set __eip, __cs_selector, __opcode,
47397         __data_offset and __data_selector in environment to 0.  Set SSE
47398         state if supported.
47399         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
47400         test-fenv-sse.
47401         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47402         -mfpmath=sse.
47403         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
47405 2014-05-09  Will Newton  <will.newton@linaro.org>
47407         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
47408         and libc_relro_required for ARM.
47409         * sysdeps/arm/preconfigure: Regenerate.
47411 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
47412             Stefan Liebler  <stli@linux.vnet.ibm.com>
47414         * config.make.in (enable-lock-elision): New Makefile variable.
47415         * configure.ac: Likewise.
47416         * configure: Regenerate.
47417         * sysdeps/s390/configure.ac:
47418         Add check for gcc transactions support.
47419         * sysdeps/s390/configure: Regenerate.
47420         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
47421         Build elision files if enabled.
47422         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
47423         Add lock elision support for s390.
47424         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
47425         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
47426         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
47427         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
47428         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
47429         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
47430         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47431         Likewise.
47432         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
47433         Likewise.
47434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
47435         Likewise.
47436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
47437         Likewise.
47438         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
47439         (__lll_timedlock_elision, __lll_lock_elision)
47440         (__lll_unlock_elision, __lll_trylock_elision)
47441         (lll_timedlock_elision, lll_lock_elision)
47442         (lll_unlock_elision, lll_trylock_elision): Add.
47443         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47444         (pthread_mutex_t): Add lock elision support for s390.
47446 2014-05-14  Wilco  <wdijkstr@arm.com>
47448         * sysdeps/arm/fclrexcpt.c: Cleanup.
47449         * sysdeps/arm/fedisblxcpt.c: Cleanup.
47450         * sysdeps/arm/feenablxcpt.c: Cleanup.
47451         * sysdeps/arm/fegetenv.c: Cleanup.
47452         * sysdeps/arm/fegetexcept.c: Cleanup.
47453         * sysdeps/arm/fegetround.c: Cleanup.
47454         * sysdeps/arm/feholdexcpt.c: Cleanup.
47455         * sysdeps/arm/fesetenv.c: Cleanup.
47456         * sysdeps/arm/fesetround.c: Cleanup.
47457         * sysdeps/arm/feupdateenv.c: Cleanup.
47458         * sysdeps/arm/fgetexcptflg.c: Cleanup.
47459         * sysdeps/arm/fraiseexcpt.c: Cleanup.
47460         * sysdeps/arm/fsetexcptflg.c: Cleanup.
47461         * sysdeps/arm/ftestexcept.c: Cleanup.
47462         * sysdeps/arm/get-rounding-mode.h: Cleanup.
47463         * sysdeps/arm/setfpucw.c: Cleanup.
47465 2014-05-09  Will Newton  <will.newton@linaro.org>
47467         * sysdeps/arm/armv7/strcmp.S: New file.
47468         * NEWS: Mention addition of ARMv7 optimized strcmp.
47470 2014-05-08  Roland McGrath  <roland@hack.frob.com>
47472         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
47473         look for %.ac rather than %.in.
47475         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
47476         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
47477         * sysdeps/mach/hurd/configure: Regenerated.
47478         * sysdeps/unix/sysv/linux/configure: Regenerated.
47480         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
47482 2014-05-07  Steve Ellcey  <sellcey@mips.com>
47484         [BZ #16922]
47485         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
47486         (LONG_SUB): Ditto.
47487         (PTR_SUB): Ditto.
47489 2014-05-07  Andreas Schwab  <schwab@suse.de>
47491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
47492         when skipping over non-matching result from nscd.
47494 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
47496         [BZ #16876]
47497         * nptl/sockperf.c (client): Check socket return value.
47499         [BZ #16877]
47500         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
47501         nscd security class.
47503 2014-05-06  Roland McGrath  <roland@hack.frob.com>
47505         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
47506         * sysdeps/arm/unwind.h: ... here.
47508 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
47510         [BZ #16916]
47511         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
47512         Define.
47514 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47516         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
47517         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
47518         multiarch strncpy for PPC64.
47519         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
47520         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
47521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
47522         multiarch optimizations.
47523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47524         (__libc_ifunc_impl_list): Likewise.
47525         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
47526         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
47527         multiarch stpncpy for PPC64.
47528         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
47529         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
47531 2014-05-06  Andreas Schwab  <schwab@suse.de>
47533         [BZ #16912]
47534         * gmon/mcount.c (_MCOUNT_DECL): Use
47535         atomic_compare_and_exchange_bool_acq instead of
47536         catomic_compare_and_exchange_bool_acq.
47538 2014-05-05  Roland McGrath  <roland@hack.frob.com>
47540         * elf/Makefile (others, install-bin): Remove pldd.
47541         (pldd-modules): Variable removed.
47542         ($(objpfx)pldd): Target removed.
47543         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
47544         (others, install-bin): Append pldd here.
47545         ($(objpfx)pldd): New target.
47547         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
47548         to 0, so the first #if test emitted later doesn't see it undefined.
47549         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
47550         * sysdeps/gnu/errlist.c: Regenerated.
47552 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47554         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47555         [libc_hidden_builtin_def]: Define to empty value.
47556         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
47557         [libc_hidden_builtin_def]: Likewise.
47558         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
47559         [libc_hidden_builtin_def]: Likewise.
47560         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
47561         [libc_hidden_builtin_def]: Likewise.
47562         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
47563         __redirect_memcpy and define ifunc as default hidden symbol.
47564         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
47565         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
47567 2014-05-04  Adam Conrad  <adconrad@0c3.net>
47569         * locale/iso-4217.def: Reintroduce XDR currency.
47571 2014-05-04  Allan McRae  <allan@archlinux.org>
47573         * po/eo.po: Update Esperanto translation from translation project.
47575 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
47577         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
47578         and FEATURE_INDEX_MAX to 1.
47579         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
47581 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47583         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47584         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
47585         * iconvdata/big5.c (ONE_DIRECTION): Define.
47586         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
47587         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
47588         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
47589         * iconvdata/cp932.c (ONE_DIRECTION): Define.
47590         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
47591         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
47592         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
47593         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
47594         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
47595         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
47596         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
47597         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47598         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
47599         * iconvdata/gbk.c (ONE_DIRECTION): Define.
47600         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
47601         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
47602         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
47603         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47604         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47605         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47606         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47607         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47608         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47609         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47610         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47611         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47612         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47613         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47614         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47615         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47616         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47617         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47618         * iconvdata/johab.c (ONE_DIRECTION): Define.
47619         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47620         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47621         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47622         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47623         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47624         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47625         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47626         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47627         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47628         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47630 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47632         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47633         (_IO_JUMPS_OFFSET): Define to 0.
47635         * nptl/sysdeps/pthread/bits/libc-lock.h
47636         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47637         (__libc_lock_define_initialized_recursive): Always define using
47638         initializer.  Modern compilers treat uninitialized (implicit zero) and
47639         explicit zero initializers the same (i.e. put the datum in bss).
47641 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47643         * nscd/nscd-client.h: Include <string.h>.
47645 2014-05-01  David S. Miller  <davem@davemloft.net>
47647         [BZ #16885]
47648         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47649         multiple zero bytes exist at the end of a string.
47650         Reported by Aurelien Jarno <aurelien@aurel32.net>
47652         * string/test-strcmp.c (check): Add explicit test for situations where
47653         there are multiple zero bytes after the first.
47655 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47657         [BZ #16890]
47658         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47659         when compiling wprintf.
47660         * stdio-common/tstdiomisc.c (t3): New function.
47661         (main): Call it.
47663 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47665         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47666         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47667         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47668         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47670 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47672         * stdlib/longlong.h: Updated from GCC.
47674 2014-05-01  Will Newton  <will.newton@linaro.org>
47675             Bernard Ogden  <bernie.ogden@linaro.org>
47677         * NEWS: Update fixed bug list.
47679         [BZ #15119]
47680         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47682 2014-04-30  David S. Miller  <davem@davemloft.net>
47684         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47685         (libc_feholdexcept_setround_sparc_ctx): New function.
47686         (libc_fesetenv_sparc_ctx): Likewise.
47687         (libc_feupdateenv_sparc_ctx): Likewise.
47688         (libc_feholdsetround_sparc_ctx): Likewise.
47689         (libc_feholdexcept_setround_ctx): Define.
47690         (libc_feholdexcept_setroundf_ctx): Likewise.
47691         (libc_feholdexcept_setroundl_ctx): Likewise.
47692         (libc_fesetenv_ctx): Likewise.
47693         (libc_fesetenvf_ctx): Likewise.
47694         (libc_fesetenvl_ctx): Likewise.
47695         (libc_feupdateenv_ctx): Likewise.
47696         (libc_feupdateenvf_ctx): Likewise.
47697         (libc_feupdateenvl_ctx): Likewise.
47698         (libc_feresetround_ctx): Likewise.
47699         (libc_feresetroundf_ctx): Likewise.
47700         (libc_feresetroundl_ctx): Likewise.
47701         (libc_feholdsetround_ctx): Likewise.
47702         (libc_feholdsetroundf_ctx): Likewise.
47703         (libc_feholdsetroundl_ctx): Likewise.
47705         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47706         with __USE_GNU instead of XOPEN cpp guards.
47708         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47709         0.
47711         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47712         with XOPEN cpp guards.
47714 2014-04-30  Julian Brown  <julian@codesourcery.com>
47716         [BZ #16888]
47717         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47718         handling.
47720 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47722         [BZ #9894]
47723         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47724         Change to 2.6.32.
47725         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47726         * sysdeps/unix/sysv/linux/configure: Regenerated.
47727         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47728         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47729         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47730         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47731         * README: Update reference to required Linux kernel version.
47732         * manual/install.texi (Linux): Update reference to required Linux
47733         kernel headers version.
47734         * INSTALL: Regenerated.
47736         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47737         header inclusion.
47738         [POSIX] (limits.h): Likewise.
47739         [POSIX] (math.h): Likewise.
47740         [POSIX] (sys/wait.h): Likewise.
47741         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47742         function.
47743         [POSIX] (stddef.h): Do not allow header inclusion.
47745 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47747         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47749 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47751         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47752         Return immediately after lll_futex_wake.
47754 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47756         [BZ #16791]
47757         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47758         structure.
47759         (datahead_init_pos): Call datahead_init_common early.
47760         (datahead_init_neg): Likewise.
47762         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47763         datahead_init_neg): New functions.
47764         * nscd/aicache.c (addhstaiX): Use them.
47765         * nscd/grpcache.c (cache_addgr): Likewise.
47766         * nscd/hstcache.c (cache_addhst): Likewise.
47767         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47768         * nscd/netgroupcache.c (do_notfound): Likewise.
47769         (addgetnetgrentX): Likewise.
47770         (addinnetgrX): Likewise.
47771         * nscd/pwdcache.c (cache_addpw): Likewise.
47772         * nscd/servicescache.c (cache_addserv): Likewise.
47774 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47775             Atsushi Onoe  <atsushi@onoe.org>
47777         [BZ #14308]
47778         [BZ #12994]
47779         [BZ #13651]
47780         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47781         one response is valid.
47782         * resolv/res_send.c (send_dg): Check for validity of other
47783         response if the current response is a referral.
47785 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47787         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47789 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47791         [BZ #16823]
47792         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47793         Always divide by positive zero when computing -Inf result.
47794         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47795         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47797 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47799         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47800         FPSCR if value do not change.
47801         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47802         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47803         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47804         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47805         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47806         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47807         function.
47809 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47811         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47812         * sysdeps/unix/sysv/linux/hppa: Move directory from
47813         ports/systeps/unix/sysv/linux/hppa.
47814         * README: Update listing for hppa-*-linux-gnu.
47816 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47818         [BZ #16754]
47819         * manual/stdio.texi (Hook functions): Fix types of stream hook
47820         functions.
47821         [BZ #16854]
47822         * socket/sys/socket.h: Fix typo in comment.
47824 2014-04-28  Wilco  <wdijkstr@arm.com>
47826         * sysdeps/arm/fenv_private.h: New file.
47827         * sysdeps/arm/math_private.h: New file.
47828         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47830 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47832         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47833         with __int128_t.
47834         (La_x86_64_retval): Likewise.
47836 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47838         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47839         fpsr if value didn't change.
47840         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47841         to fpcr if value didn't change.
47842         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47843         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47844         fpsr or fpcr if value didn't change.
47845         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47846         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47847         fpcr if value didn't change.
47848         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47849         to fpsr if value didn't change.
47851 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47853         * nptl/tst-sem3.c: Use test-skeleton.c
47854         (main): Rename to do_test.  Use return instead of
47855         exit.
47856         * nptl/tst-sem4.c: Use test-skeleton.c
47857         (main): Rename to do_test.
47859 2014-04-22  David S. Miller  <davem@davemloft.net>
47861         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47862         (struct sigaction): New struct member __glibc_reserved0, change
47863         type of sa_flags to int.
47865 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47867         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47868         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47870 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47872         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47873         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47875 2014-04-22  Will Newton  <will.newton@linaro.org>
47876             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47878         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47879         (__longjmp): Add longjmp and longjmp_target SystemTap
47880         probes.
47881         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47882         (__sigsetjmp): Add setjmp SystemTap probe.
47884 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47886         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47887         match manual order.
47889 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47891         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47893         * sysdeps/powerpc/fpu/fenv_private.h
47894         (libc_feholdexcept_setroundl_ctx): Define to
47895         libc_feholdexcept_setround_ppc_ctx.
47896         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47897         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47898         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47899         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47901 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47903         * sysdeps/aarch64/math-tests.h: New file.
47905 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47907         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47908         New.
47909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47910         Check and set bit_AVX2_Usable.
47911         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47912         macro.
47913         (bit_AVX2): Likewise.
47914         (index_AVX2_Usable): Likewise.
47915         (CPUID_AVX2): Likewise.
47916         (HAS_AVX2): Likewise.
47918 2014-04-17  Will Newton  <will.newton@linaro.org>
47920         * manual/setjmp.texi (System V contexts): Add note that
47921         calling setcontext on a context created by a call to a
47922         signal handler is undefined.  Update text to note that
47923         setcontext from a signal handler is possible but not
47924         recommended.
47926         [BZ #16629]
47927         * stdlib/tst-setcontext.c: Include signal.h.
47928         (main): Check that the signal stack before and
47929         after swapcontext is the same.
47931         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47932         Re-implement to restore registers in user code and avoid
47933         rt_sigreturn system call.
47935 2014-04-17  Wilco  <wdijkstr@arm.com>
47937         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47938         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47939         * math/test-fenv.c: Skip exception trap tests on targets which only
47940         support non-stop mode.
47942 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47943             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47945         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47946         (libc_feholdsetround_aarch64_ctx)
47947         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47948         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47949         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47950         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47951         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47952         (libc_feresetround_noexl_ctx): Define.
47954 2014-04-16  Richard Henderson  <rth@redhat.com>
47956         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47958         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47959         unwind tables.
47961         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47962         const from the non-libc, non-ldso copy.
47964         * sysdeps/alpha/libm-test-ulps: Regenerate.
47966 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47967             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47969         * sysdeps/aarch64/fpu/math_private.h: New file.
47971 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47973         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47975 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47977         [BZ #16275]
47978         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47979         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47980         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47981         Intel MPX bound registers before _dl_profile_fixup.
47982         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47983         registers after _dl_profile_fixup.  Save and restore bound
47984         registers bnd0/bnd1 when calling _dl_call_pltexit.
47985         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47986         (LR_BND_OFFSET): Likewise.
47987         (LRV_BND0_OFFSET): Likewise.
47988         (LRV_BND1_OFFSET): Likewise.
47990 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47992         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47993         to...
47994         * sysdeps/mach/hurd/i386/tls.h: ... here.
47995         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47996         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47997         fields.
47999 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48001         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
48003 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48005         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48007 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48009         [BZ #14770]
48010         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
48011         * sysdeps/s390/configure: Regenerate.
48013         [BZ #16824]
48014         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
48015         Set round-to-nearest internally to reduce error accumulation.
48017 2014-04-16  Alan Modra  <amodra@gmail.com>
48019         [BZ #16740]
48020         [BZ #16619]
48021         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
48022         * math/libm-test.inc (frexp_test_data): Add tests.
48023         * NEWS: Update fixed bug list.
48025 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48027         * benchtests/Makefile: Depend on libraries in build directory.
48028         (bench-math): Separate out math tests.
48029         (bench-pthread): Separate out pthread tests.
48030         (bench): Include math and pthread tests.
48032 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
48034         [BZ #16831]
48035         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
48036         _dl_debug_initialize.
48038         * configure.ac: Remove SELinux header check.
48039         * configure: Regenerate.
48040         * nscd/selinux.c (perms): Array of const char* to permission names.
48041         (nscd_request_avc_has_perm): Call security_deny_unknown to find
48042         default policy. Call string_to_security_class and string_to_av_perm to
48043         translate strings. Enforce default policy and call avs_has_perm with
48044         results of translated strings.
48046 2014-04-13  David S. Miller  <davem@davemloft.net>
48048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48050 2014-04-12  Allan McRae  <allan@archlinux.org>
48052         [BZ #16838]
48053         * manual/string.texi (Collation Functions): Fix qsort argument
48054         order in example.
48055         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48057 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
48059         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
48060         Make the test a no-op if there are no exceptions defined.
48062 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
48064         * elf/Makefile (tests): make tst-dlopen-aout conditional on
48065         enable-hardcoded-path-in-tests
48067 2014-04-11  Will Newton  <will.newton@linaro.org>
48069         * benchtests/Makefile (extra-objs): Add json-lib.o.
48070         (bench-func): Tidy up JSON output.
48071         * benchtests/bench-skeleton.c: Include json-lib.h.
48072         (main): Use JSON library functions to do output of
48073         benchmark results.
48074         * benchtests/bench-timing-type.c (main): Output the
48075         timing type simply, leaving formatting to the user.
48076         * benchtests/json-lib.c: New file.
48077         * benchtests/json-lib.h: Likewise.
48079 2014-04-11  Torvald Riegel  <triegel@redhat.com>
48081         [BZ #15215]
48082         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
48083         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
48084         memory barriers.  Add comments.
48085         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
48086         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
48087         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
48088         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
48089         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
48090         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
48092 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48094         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
48095         * sysdeps/s390/s390-64/configure.ac: ... this ...
48096         * sysdeps/s390/configure.ac: ... to here.
48097         * sysdeps/s390/s390-32/configure: Delete file.
48098         * sysdeps/s390/s390-64/configure: Delete file.
48099         * sysdeps/s390/configure: Regenerate.
48101 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
48103         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
48105 2014-04-11  Will Newton  <will.newton@linaro.org>
48107         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
48108         to zero if it is not defined elsewhere.  (mtrim): Test
48109         the value of MALLOC_DEBUG with #if rather than #ifdef.
48111 2014-04-10 Torvald Riegel  <triegel@redhat.com>
48113         * benchtests/pthread_once-inputs: New file.
48114         * benchtests/pthread_once-source.c: New file.
48115         * benchtests/README: Update documentation.
48117 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
48118             H.J. Lu  <hongjiu.lu@intel.com>
48120         [BZ #16275]
48121         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
48122         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
48123         * sysdeps/x86_64/configure: Regenerated.
48124         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
48125         macro.
48126         (REGISTER_SAVE_RAX): Likewise.
48127         (REGISTER_SAVE_RCX): Likewise.
48128         (REGISTER_SAVE_RDX): Likewise.
48129         (REGISTER_SAVE_RSI): Likewise.
48130         (REGISTER_SAVE_RDI): Likewise.
48131         (REGISTER_SAVE_R8): Likewise.
48132         (REGISTER_SAVE_R9): Likewise.
48133         (REGISTER_SAVE_BND0): Likewise.
48134         (REGISTER_SAVE_BND1): Likewise.
48135         (REGISTER_SAVE_BND2): Likewise.
48136         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
48137         bound registers when calling _dl_fixup.
48139 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48141         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
48142         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
48143         of its definition.
48144         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
48145         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
48146         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
48147         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
48148         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
48149         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
48150         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
48152 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
48154         [BZ #15514]
48155         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
48156         pathconf(_PC_NAME_MAX).
48158 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48160         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
48161         Remove macro usage.
48162         (__PTHREAD_SPINS): Move definition to ...
48163         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48164         (__PTHREAD_SPINS): ... here.
48165         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48166         (__PTHREAD_SPIN): Likewise.
48167         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
48168         (__PTHREAD_SPIN): Likewise.
48169         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
48170         (__PTHREAD_SPIN): Likewise.
48171         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
48172         (__PTHREAD_SPIN): Likewise.
48173         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48174         (__PTHREAD_SPIN): Likewise.
48175         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48176         (__PTHREAD_SPIN): Likewise.
48177         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
48178         (__PTHREAD_SPIN): Likewise.
48179         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48180         (__PTHREAD_SPIN): Likewise.
48181         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48182         (__PTHREAD_SPIN): Likewise.
48183         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48184         (__PTHREAD_SPIN): Likewise.
48185         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48186         (__PTHREAD_SPIN): Likewise.
48187         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
48188         (__PTHREAD_SPIN): Likewise.
48190         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
48191         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
48192         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
48193         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
48194         imply folder.
48195         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
48196         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
48197         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
48198         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
48199         correct imply path.
48200         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
48201         strlen symbol for non multi-arch builds.
48202         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
48203         missing hidden_def and weak_alias.
48205 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
48207         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
48209 2014-04-07  Will Newton  <will.newton@linaro.org>
48211         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
48212         and contents.  [!_LIBC] Remove #ifndef and contents.
48213         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
48214         * string/memccpy.c (__memccpy): Use ANSI prototype.
48215         * string/memfrob.c (memfrob): Likewise.
48216         * string/strcoll.c (STRCOLL): Likewise.
48217         * string/strlen.c (strlen): Likewise.
48218         * string/strtok.c (STRTOK): Likewise.
48219         * string/strcat.c: Remove unused #include of memcopy.h.
48220         (strcat): Use ANSI prototype.
48221         * string/strchr.c: Remove unused #include of memcopy.h.
48222         (strchr): Use ANSI prototype.
48223         * string/strcmp.c: Remove unused #include of memcopy.h.
48224         (strcmp): Use ANSI prototype.
48225         * string/strcpy.c: Remove unused #include of memcopy.h.
48226         (strcpy): Use ANSI prototype.
48228 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48230         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
48231         * config.make.in (config-extra-cppflags): Set it from
48232         libc_extra_cppflags.
48233         * configure.ac (libc_extra_cflags): Make it accumulate over
48234         configure fragments.
48235         (libc_extra_cppflags): New flag.
48236         * configure. Regenerate.
48237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
48238         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
48239         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
48240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
48242         [BZ #16815]
48243         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
48244         result for FE_DOWNWARD rounding mode.
48245         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
48246         Likewise.
48247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48249 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
48251         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
48252         in function argument name.
48254 2014-04-03  David Svoboda  <svoboda@cert.org>
48256         [BZ #5666]
48257         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
48258         explicitly.
48260 2014-04-03  Roland McGrath  <roland@hack.frob.com>
48262         * elf/dl-unmap-segments.h: New file.
48263         * sysdeps/generic/ldsodefs.h
48264         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
48265         * elf/dl-close.c: Include <dl-unmap-segments.h>.
48266         * elf/dl-fptr.c: Likewise.
48267         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
48268         * sysdeps/aarch64/tlsdesc.c: Likewise.
48269         * sysdeps/arm/tlsdesc.c: Likewise.
48270         * sysdeps/i386/tlsdesc.c: Likewise.
48271         * sysdeps/tile/dl-runtime.c: Likewise.
48272         * sysdeps/x86_64/tlsdesc.c: Likewise.
48273         * elf/dl-load.h: New file.
48274         * elf/dl-load.c: Include it.
48275         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
48276         Macros moved to dl-load.h.
48277         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
48278         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
48279         Use _dl_unmap_segments in place of __munmap.
48280         Break out segment-mapping loop into ...
48281         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
48283 2014-04-03  Will Newton  <will.newton@linaro.org>
48285         * elf/dl-lookup.c (do_lookup_x): Remove comment
48286         referring to nested function and move variable
48287         declarations down to before first use.
48289 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
48291         [BZ #16799]
48292         [BZ #16800]
48293         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
48294         with 0 numerator.
48295         * math/s_catanf.c (__catanf): Likewise.
48296         * math/s_catanh.c (__catanh): Likewise.
48297         * math/s_catanhf.c (__catanhf): Likewise.
48298         * math/s_catanhl.c (__catanhl): Likewise.
48299         * math/s_catanl.c (__catanl): Likewise.
48300         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
48301         by positive zero when computing -Inf result.
48302         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
48303         (catanh_test): Likewise.
48304         * sysdeps/i386/fpu/libm-test-ulps: Update.
48305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48307         [BZ #16789]
48308         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
48309         instead of using underflowing value in computing result.
48310         * math/s_clog10.c (__clog10): Likewise.
48311         * math/s_clog10f.c (__clog10f): Likewise.
48312         * math/s_clog10l.c (__clog10l): Likewise.
48313         * math/s_clogf.c (__clogf): Likewise.
48314         * math/s_clogl.c (__clogl): Likewise.
48315         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
48316         (clog10_test): Likewise.
48317         * sysdeps/i386/fpu/libm-test-ulps: Update.
48318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48320 2014-04-02  Alan Modra  <amodra@gmail.com>
48322         [BZ #16739]
48323         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
48324         output when value is near a power of two.  Use int64_t for lx and
48325         remove casts.  Use decimal rather than hex exponent constants.
48326         Don't use long double multiplication when double will suffice.
48327         * math/libm-test.inc (nextafter_test_data): Add tests.
48328         * NEWS: Add 16739 and 16786 to bug list.
48330         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
48332         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
48334 2014-04-01  Will Newton  <will.newton@linaro.org>
48336         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
48337         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
48339 2014-04-01  Florian Weimer  <fweimer@redhat.com>
48341         [BZ #13347]
48342         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
48343         * nptl/tst-setuid2.c: New file.
48344         * nptl/Makefile (xtests): Add tst-setuid2.
48346 2014-04-01  Alan Modra  <amodra@gmail.com>
48348         [BZ #16786]
48349         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
48351 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48353         [BZ #6803]
48354         [BZ #6804]
48355         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
48356         set errno as appropriate.
48357         * math/w_scalbf.c (__scalbf): Likewise.
48358         * math/w_scalbl.c (__scalbl): Likewise.
48359         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
48360         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
48361         * math/libm-test.inc (scalb_test_data): Add errno expectations.
48362         Add more NaN tests.
48364         [BZ #16349]
48365         * math/w_atan2.c: Include <errno.h>.
48366         (__atan2): Set errno for result underflowing to zero.
48367         * math/w_atan2f.c: Include <errno.h>.
48368         (__atan2f): Set errno for result underflowing to zero.
48369         * math/w_atan2l.c: Include <errno.h>.
48370         (__atan2l): Set errno for result underflowing to zero.
48371         * math/auto-libm-test-in: Don't allow missing errno for some atan2
48372         tests.
48373         * math/auto-libm-test-out: Regenerated.
48375 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48377         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
48378         Encode instruction correctly in little endian.
48379         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
48380         Likewise.
48381         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
48382         Likewise.
48383         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
48384         Likewise.
48385         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
48386         Likewise.
48388 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48390         [BZ #9894]
48391         * sysdeps/unix/sysv/linux/kernel-features.h
48392         [__sparc__ && !__arch64__ && !__sparc_v9__]
48393         (__ASSUME_SET_ROBUST_LIST): Do not define.
48394         [__sparc__ && !__arch64__ && !__sparc_v9__]
48395         (__ASSUME_FUTEX_LOCK_PI): Likewise.
48396         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
48397         Likewise.
48398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48399         (__ASSUME_FUTEX_LOCK_PI): Undefine.
48400         (__ASSUME_REQUEUE_PI): Likewise.
48401         (__ASSUME_SET_ROBUST_LIST): Likewise.
48402         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48403         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
48404         Undefine.
48405         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48406         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
48407         Likewise.
48408         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
48409         Likewise.
48410         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
48411         Likewise.
48412         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48413         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
48414         Undefine.
48415         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
48416         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
48417         Likewise.
48419         [BZ #16648]
48420         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48421         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
48422         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
48424 2014-03-31  Will Newton  <will.newton@linaro.org>
48426         * benchtests/Makefile (bench): Add ffs and ffsll to list
48427         of tests.
48428         * benchtests/ffs-inputs: New file.
48429         * benchtests/ffsll-inputs: Likewise.
48431 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
48433         [BZ #16770]
48434         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
48435         too large before casting to int.
48436         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
48437         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
48438         * math/libm-test.inc (scalb_test_data): Add more tests.
48440 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48442         * benchtests/Makefile (DETAILED_OPT): New make option.
48443         (bench-func): Run benchmark program with -d if DETAILED_OPT is
48444         set.
48445         * benchtests/bench-skeleton.c: Include stdbool.h.
48446         (main): Store and print timings per input.
48447         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
48448         member to each argument value.
48449         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
48450         (_print_arg_data): Initialize per-input timing to 0.
48452         * benchtests/Makefile (timing-type): New binary.
48453         (bench-clean): Also remove bench-timing-type.
48454         (bench): New target for timing-type.
48455         (bench-func): Print output in JSON format.
48456         * benchtests/bench-skeleton.c (main): Print output in JSON
48457         format.
48458         * benchtests/bench-timing-type.c: New file.
48459         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
48460         (TIMING_PRINT_STATS): Remove.
48461         * benchtests/scripts/bench.py (_print_arg_data): Store variant
48462         name separately.
48464         * benchtests/bench-modf.c: Remove.
48465         * benchtests/modf-inputs: New inputs file.
48467 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
48469         [BZ #16362]
48470         * math/s_clog10.c (M_PI_LOG10E): New macro.
48471         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
48472         imaginary parts are 0.
48473         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
48474         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
48475         imaginary parts are 0.
48476         * math/s_clog10l.c (M_PI_LOG10El): New macro.
48477         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
48478         imaginary parts are 0.
48479         * math/libm-test.inc (clog10_test_data): Update expected results
48480         for when real and imaginary parts are 0.
48482 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
48484         * elf/dl-load.c: Finish conversion of __builtin_expect into
48485         __glibc_{un}likely.
48487 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
48489         [BZ #16348]
48490         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
48491         1+x for argument with exponent below -67.
48492         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
48493         Likewise.
48494         * math/auto-libm-test-in: Add more tests of exp.
48495         * math/auto-libm-test-out: Regenerated.
48497 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48499         [BZ #16759]
48500         * inet/getnetgrent_r.c (get_nonempty_val): New function.
48501         (nscd_getnetgrent): Use it.
48503         [BZ #16760]
48504         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
48505         of stpcpy.
48507 2014-03-27  Andi Kleen  <ak@linux.intel.com>
48509         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
48510         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48511         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48512         (lll_robust_unlock): Remove out of line section. Use cfi
48513         intrinsics.
48514         (LLL_STUB_UNWIND_INFO*): Remove.
48515         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
48516         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48517         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48518         (lll_robust_unlock): Remove out of line section. Use cfi
48519         intrinsics.
48520         (LLL_STUB_UNWIND_INFO*): Remove.
48522 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48524         [BZ #16758]
48525         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
48526         blank values.
48528 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
48530         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
48532 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
48534         [BZ #16198]
48535         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
48536         fnstenv.
48537         * math/test-fenv-preserve.c: New file.
48538         * math/Makefile (tests): Add test-fenv-preserve.
48540 2014-03-26  Will Newton <will.newton@linaro.org>
48542         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
48544 2014-03-25  Roland McGrath  <roland@hack.frob.com>
48546         * scripts/versionlist.awk: Partition the version sets and emit all
48547         GLIBC_* (sorted) before all others (sorted).
48549 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48551         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
48552         GLIBC_2.2.5 version.
48554 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48556         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
48557         calls.
48559         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
48560         previous change.
48562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48564 2014-03-25  Andreas Schwab  <schwab@suse.de>
48566         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
48567         label to be used after in6ailist is initialized.
48569 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48571         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48572         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48574 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48576         [BZ #16357]
48577         [BZ #16599]
48578         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
48579         min_plus_half.
48580         (fp_formats): Update initializers.
48581         (init_fp_formats): Initialize new field.
48582         (output_for_one_input_case): Allow underflow for results up to
48583         min_plus_half.
48584         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
48585         * math/auto-libm-test-in: Don't mark some underflows from asin and
48586         atanh as spurious.
48587         * math/auto-libm-test-out: Regenerated.
48588         * sysdeps/i386/fpu/libm-test-ulps: Update.
48589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48591 2014-03-25  Andreas Schwab  <schwab@suse.de>
48593         * libio/Makefile (tst-ftell-partial-wide-ENV)
48594         (tst-ftell-active-handler-ENV): Define.
48596 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
48598         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
48600 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48602         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48604 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48606         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48607         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48608         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48610 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48612         [BZ #16634]
48613         * elf/dl-load.c (open_verify): Add mode parameter.
48614         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48615         (open_path): Change from boolean 'secure' to complete flag 'mode'
48616         (_dl_map_object): Adjust.
48617         * elf/Makefile (tests): Add tst-dlopen-aout.
48618         * elf/tst-dlopen-aout.c: New test.
48620 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48622         [BZ #16714]
48623         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48624         (struct stat): Rename member pad0 to __glibc_reserved0.
48626         [BZ #16712]
48627         * sysdeps/s390/s390-32/bits/wordsize.h
48628         (__WORDSIZE32_SIZE_ULONG): New define.
48629         * sysdeps/s390/s390-64/bits/wordsize.h
48630         (__WORDSIZE32_SIZE_ULONG): Likewise.
48631         * sysdeps/generic/stdint.h (SIZE_MAX):
48632         Define as UL if __WORDSIZE32_SIZE_ULONG.
48634         [BZ #16713]
48635         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48636         (__glibc_reserved0): New variable.
48637         (sa_flags): Change type to int.
48639         * posix/Makefile (before-compile): Use += before-compile instead
48640         of a :=.
48642         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48643         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48645 2014-03-20  Andreas Schwab  <schwab@suse.de>
48647         [BZ #16743]
48648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48649         non-matching result from nscd.
48651 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48653         * scripts/bench.py: Moved to ...
48654         * benchtests/scripts/bench.py: ... here.
48655         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48657 2014-03-24  Andreas Schwab  <schwab@suse.de>
48659         [BZ #16002]
48660         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48661         alloca_account and account alloca use for struct in6ailist.
48663 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48665         [BZ #16284]
48666         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48667         rounding mode to recompute results that overflow to infinity or
48668         underflow to zero.
48669         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48670         bug 16284.
48671         * math/auto-libm-test-out: Regenerated.
48672         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48673         (ccosh_test): Likewise.
48674         (csin_test_data): Use plus_oflow.
48675         (csin_test): Use ALL_RM_TEST.
48676         (csinh_test_data): Use plus_oflow.
48677         (csinh_test): Use ALL_RM_TEST.
48678         * sysdeps/i386/fpu/libm-test-ulps: Update.
48679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48681 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48683         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48684         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48685         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48687         [BZ #16731]
48688         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48689         when x - 1 is zero.
48690         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48691         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48692         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48693         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48694         argument is 1.
48695         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48696         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48697         zero.
48698         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48699         * sysdeps/i386/fpu/libm-test-ulps: Update.
48700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48702 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48704         * scripts/bench.pl: Remove file.
48705         * scripts/bench.py: New benchmark script.
48706         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48707         * benchtests/README: Mention python dependency.
48708         * scripts/pylintrc: New file.
48709         * scripts/pylint: New file.
48711         * bits/mathdef.h: Use #ifdef instead of #if.
48712         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48713         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48714         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48715         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48716         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48717         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48719 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48720             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48722         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48724         and strpbrk-ppc64 objects.
48725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48726         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48727         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48728         multiarch strpbrk for POWER7.
48729         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48730         multiarch strpbrk for PPC64.
48731         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48732         ifunc selector.
48733         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48734         strpbrk for POWER7.
48736 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48738         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48739         (atan_test): Likewise.
48740         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48741         (atanh_test): Use ALL_RM_TEST.
48742         (atan2_test_data): Likewise.
48743         (cabs_test): Likewise.
48744         (cacosh_test): Likewise.
48745         (carg_test): Likewise.
48746         (casin_test): Likewise.
48747         (casinh_test): Likewise.
48748         (cbrt_test): Likewise.
48749         (csqrt_test): Likewise.
48750         (erf_test): Likewise.
48751         (erfc_test): Likewise.
48752         (pow10_test): Likewise.
48753         (exp2_test): Likewise.
48754         (hypot_test): Likewise.
48755         (j0_test): Likewise.
48756         (j1_test): Likewise.
48757         (lgamma_test): Likewise.
48758         (gamma_test): Likewise.
48759         (sincos_test): Likewise.
48760         (tanh_test): Likewise.
48761         (y0_test): Likewise.
48762         (y1_test): Likewise.
48763         * sysdeps/i386/fpu/libm-test-ulps: Update.
48764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48766 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48768         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48770         and strcspn-ppc64 objects.
48771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48772         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48773         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48774         multiarch strcspn for POWER7.
48775         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48776         multiarch strcspn for PPC64.
48777         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48778         ifunc selector.
48779         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48780         strcspn for POWER7.
48782 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48784         * math/gen-libm-test.pl (generate_testfile): Expect only function
48785         name as argument to AUTO_TESTS_* and pass results for all rounding
48786         modes to parse_args.
48787         (parse_auto_input): Separate inputs of automatic tests from
48788         outputs before storing in %auto_tests.
48789         * math/libm-test.inc (acos_test_data): Update call to
48790         AUTO_TESTS_f_f.
48791         (acos_test): Use ALL_RM_TEST.
48792         (acos_tonearest_test_data): Remove.
48793         (acos_test_tonearest): Likewise.
48794         (acos_towardzero_test_data): Likewise.
48795         (acos_test_towardzero): Likewise.
48796         (acos_downward_test_data): Likewise.
48797         (acos_test_downward): Likewise.
48798         (acos_upward_test_data): Likewise.
48799         (acos_test_upward): Likewise.
48800         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48801         (asin_test_data): Likewise.
48802         (asin_test): Use ALL_RM_TEST.
48803         (asin_tonearest_test_data): Remove.
48804         (asin_test_tonearest): Likewise.
48805         (asin_towardzero_test_data): Likewise.
48806         (asin_test_towardzero): Likewise.
48807         (asin_downward_test_data): Likewise.
48808         (asin_test_downward): Likewise.
48809         (asin_upward_test_data): Likewise.
48810         (asin_test_upward): Likewise.
48811         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48812         (atan_test_data): Likewise.
48813         (atanh_test_data): Likewise.
48814         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48815         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48816         (carg_test_data): Likewise.
48817         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48818         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48819         (ccosh_test_data): Likewise.
48820         (cexp_test_data): Likewise.
48821         (clog_test_data): Likewise.
48822         (clog10_test_data): Likewise.
48823         (cos_test_data): Update call to AUTO_TESTS_f_f.
48824         (cos_test): Use ALL_RM_TEST.
48825         (cos_tonearest_test_data): Remove.
48826         (cos_test_tonearest): Likewise.
48827         (cos_towardzero_test_data): Likewise.
48828         (cos_test_towardzero): Likewise.
48829         (cos_downward_test_data): Likewise.
48830         (cos_test_downward): Likewise.
48831         (cos_upward_test_data): Likewise.
48832         (cos_test_upward): Likewise.
48833         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48834         (cosh_test): Use ALL_RM_TEST.
48835         (cosh_tonearest_test_data): Remove.
48836         (cosh_test_tonearest): Likewise.
48837         (cosh_towardzero_test_data): Likewise.
48838         (cosh_test_towardzero): Likewise.
48839         (cosh_downward_test_data): Likewise.
48840         (cosh_test_downward): Likewise.
48841         (cosh_upward_test_data): Likewise.
48842         (cosh_test_upward): Likewise.
48843         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48844         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48845         (ctan_test_data): Likewise.
48846         (ctan_test): Use ALL_RM_TEST.
48847         (ctan_tonearest_test_data): Remove.
48848         (ctan_test_tonearest): Likewise.
48849         (ctan_towardzero_test_data): Likewise.
48850         (ctan_test_towardzero): Likewise.
48851         (ctan_downward_test_data): Likewise.
48852         (ctan_test_downward): Likewise.
48853         (ctan_upward_test_data): Likewise.
48854         (ctan_test_upward): Likewise.
48855         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48856         (ctanh_test): Use ALL_RM_TEST.
48857         (ctanh_tonearest_test_data): Remove.
48858         (ctanh_test_tonearest): Likewise.
48859         (ctanh_towardzero_test_data): Likewise.
48860         (ctanh_test_towardzero): Likewise.
48861         (ctanh_downward_test_data): Likewise.
48862         (ctanh_test_downward): Likewise.
48863         (ctanh_upward_test_data): Likewise.
48864         (ctanh_test_upward): Likewise.
48865         (erf_test_data): Update call to AUTO_TESTS_f_f.
48866         (erfc_test_data): Likewise.
48867         (exp_test_data): Likewise.
48868         (exp_test): Use ALL_RM_TEST.
48869         (exp_tonearest_test_data): Remove.
48870         (exp_test_tonearest): Likewise.
48871         (exp_towardzero_test_data): Likewise.
48872         (exp_test_towardzero): Likewise.
48873         (exp_downward_test_data): Likewise.
48874         (exp_test_downward): Likewise.
48875         (exp_upward_test_data): Likewise.
48876         (exp_test_upward): Likewise.
48877         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48878         (exp10_test): Use ALL_RM_TEST.
48879         (exp10_tonearest_test_data): Remove.
48880         (exp10_test_tonearest): Likewise.
48881         (exp10_towardzero_test_data): Likewise.
48882         (exp10_test_towardzero): Likewise.
48883         (exp10_downward_test_data): Likewise.
48884         (exp10_test_downward): Likewise.
48885         (exp10_upward_test_data): Likewise.
48886         (exp10_test_upward): Likewise.
48887         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48888         (expm1_test_data): Likewise.
48889         (expm1_test): Use ALL_RM_TEST.
48890         (expm1_tonearest_test_data): Remove.
48891         (expm1_test_tonearest): Likewise.
48892         (expm1_towardzero_test_data): Likewise.
48893         (expm1_test_towardzero): Likewise.
48894         (expm1_downward_test_data): Likewise.
48895         (expm1_test_downward): Likewise.
48896         (expm1_upward_test_data): Likewise.
48897         (expm1_test_upward): Likewise.
48898         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48899         (fma_test): Use ALL_RM_TEST.
48900         (fma_towardzero_test_data): Remove.
48901         (fma_test_towardzero): Likewise.
48902         (fma_downward_test_data): Likewise.
48903         (fma_test_downward): Likewise.
48904         (fma_upward_test_data): Likewise.
48905         (fma_test_upward): Likewise.
48906         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48907         (j0_test_data): Update call to AUTO_TESTS_f_f.
48908         (j1_test_data): Likewise.
48909         (jn_test_data): Update call to AUTO_TESTS_if_f.
48910         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48911         (log_test_data): Update call to AUTO_TESTS_f_f.
48912         (log10_test_data): Likewise.
48913         (log1p_test_data): Likewise.
48914         (log2_test_data): Likewise.
48915         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48916         (pow_tonearest_test_data): Likewise.
48917         (sin_test_data): Update call to AUTO_TESTS_f_f.
48918         (sin_test): Use ALL_RM_TEST.
48919         (sin_tonearest_test_data): Remove.
48920         (sin_test_tonearest): Likewise.
48921         (sin_towardzero_test_data): Likewise.
48922         (sin_test_towardzero): Likewise.
48923         (sin_downward_test_data): Likewise.
48924         (sin_test_downward): Likewise.
48925         (sin_upward_test_data): Likewise.
48926         (sin_test_upward): Likewise.
48927         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48928         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48929         (sinh_test): Use ALL_RM_TEST.
48930         (sinh_tonearest_test_data): Remove.
48931         (sinh_test_tonearest): Likewise.
48932         (sinh_towardzero_test_data): Likewise.
48933         (sinh_test_towardzero): Likewise.
48934         (sinh_downward_test_data): Likewise.
48935         (sinh_test_downward): Likewise.
48936         (sinh_upward_test_data): Likewise.
48937         (sinh_test_upward): Likewise.
48938         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48939         (sqrt_test): Use ALL_RM_TEST.
48940         (sqrt_tonearest_test_data): Remove.
48941         (sqrt_test_tonearest): Likewise.
48942         (sqrt_towardzero_test_data): Likewise.
48943         (sqrt_test_towardzero): Likewise.
48944         (sqrt_downward_test_data): Likewise.
48945         (sqrt_test_downward): Likewise.
48946         (sqrt_upward_test_data): Likewise.
48947         (sqrt_test_upward): Likewise.
48948         (tan_test_data): Update call to AUTO_TESTS_f_f.
48949         (tan_test): Use ALL_RM_TEST.
48950         (tan_tonearest_test_data): Remove.
48951         (tan_test_tonearest): Likewise.
48952         (tan_towardzero_test_data): Likewise.
48953         (tan_test_towardzero): Likewise.
48954         (tan_downward_test_data): Likewise.
48955         (tan_test_downward): Likewise.
48956         (tan_upward_test_data): Likewise.
48957         (tan_test_upward): Likewise.
48958         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48959         (tgamma_test_data): Likewise.
48960         (y0_test_data): Likewise.
48961         (y1_test_data): Likewise.
48962         (yn_test_data): Update call to AUTO_TESTS_if_f.
48963         (main): Do not call removed functions.
48965 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48967         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48968         (ldexp_test_data): Remove.
48969         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48970         scalbn_test_data.
48971         (scalb_test): Use ALL_RM_TEST.
48973 2014-03-19  Andreas Schwab  <schwab@suse.de>
48975         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48977 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48979         [BZ #16649]
48980         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48981         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48982         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48983         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48984         (__ASSUME_PREADV): Undefine.
48985         (__ASSUME_PWRITEV): Likewise.
48987 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48989         * bits/mman-linux.h: Add comment about non-Linux use.
48990         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48991         bits/mman-linux.h resting place.
48993         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48994         * bits/mman-linux.h: ... here.
48996 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48998         * conform/conformtest.pl: Add standard definition when calling C
48999         preprocessor on data files.
49000         (checknamespace): Remove unused variable.
49002 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49004         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
49005         minus_oflow, plus_uflow and minus_uflow in expected results.
49006         * math/libm-test.inc (scalbn_test_data): Add more tests of
49007         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
49008         minus_uflow.
49009         (scalbn_test): Use ALL_RM_TEST.
49010         (scalbln_test_data): Add more tests of negative arguments.  Use
49011         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
49012         (scalbln_test): Use ALL_RM_TEST.
49014 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49016         * scripts/abilist.awk: Ignore symbols marked with .hidden.
49018 2014-03-18  Will Newton  <will.newton@linaro.org>
49020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
49021         inaccurate comment.
49023 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49025         * Makerules [!subdir] (check-abi): Exit with error status if a
49026         test failed.
49028 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49030         * math/libm-test.inc (nearbyint_test_data): Include all tests used
49031         for rint.  Include results for all rounding modes.
49032         (nearbyint_test): Use ALL_RM_TEST.
49033         (rint_test_data): Include all tests used for nearbyint.
49035 2014-03-17  Will Newton  <will.newton@linaro.org>
49037         * nptl/sysdeps/pthread/pthread.h: Revert previous
49038         change.
49040         * sysdeps/generic/ldsodefs.h: Revert previous
49041         change.
49043         * libio/genops.c: Revert previous change.
49044         * libio/libioP.h: Likewise.
49045         * stdio-common/vfprintf.c: Likewise.
49047         * sysdeps/generic/math_private.h: Revert previous
49048         change.
49050         * sysdeps/generic/math_private.h: Check whether
49051         HAVE_RM_CTX is defined with #ifdef rather
49052         than #if.
49054         * argp/argp-fmtstream.h: Check whether
49055         __STRICT_ANSI__ is defined with #ifdef rather
49056         than #if.
49057         * argp/argp.h: Likewise.
49059         * libio/genops.c: Check whether
49060         _IO_JUMPS_OFFSET is defined with #ifdef rather
49061         than #if.
49062         * libio/libioP.h: Likewise.
49063         * stdio-common/vfprintf.c: Likewise.
49065         * sysdeps/generic/ldsodefs.h: Check whether
49066         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
49067         than #if.
49069         * nptl/sysdeps/pthread/pthread.h: Check
49070         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
49071         its value.
49073 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49075         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
49076         setting O_APPEND.
49077         * libio/tst-ftell-active-handler.c (do_append_test): Add a
49078         test case.
49080         [BZ #16680]
49081         * libio/fileops.c (_IO_file_open): Seek to end of file but
49082         don't cache the offset.
49083         (get_file_offset): Remove function.
49084         (do_ftell): Use cached offset when available.
49085         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
49086         don't cache the offset.
49087         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
49088         case.
49089         (do_one_test): Call it.
49090         (do_ftell_test): Fix up expected old offset for a+ mode.
49091         * libio/wfileops.c (do_ftell_wide): Used cached offset when
49092         available.
49094         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
49095         up test status with function return status.
49096         (do_write_test): Likewise.
49097         (do_append_test): Likewise.
49099         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
49100         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
49101         Remove.
49103 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49105         * math/gen-libm-test.pl (parse_args): Handle results specified for
49106         each rounding mode separately.
49107         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
49108         tests and results from lrint_tonearest_test_data,
49109         lrint_towardzero_test_data, lrint_downward_test_data and
49110         lrint_upward_test_data.
49111         (lrint_test): Use ALL_RM_TEST.
49112         (lrint_tonearest_test_data): Remove.
49113         (lrint_test_tonearest): Likewise.
49114         (lrint_towardzero_test_data): Likewise.
49115         (lrint_test_towardzero): Likewise.
49116         (lrint_downward_test_data): Likewise.
49117         (lrint_test_downward): Likewise.
49118         (lrint_upward_test_data): Likewise.
49119         (lrint_test_upward): Likewise.
49120         (llrint_test_data): Merge in per-rounding-mode tests and results
49121         from llrint_tonearest_test_data, llrint_towardzero_test_data,
49122         llrint_downward_test_data and llrint_upward_test_data.
49123         (llrint_test): Use ALL_RM_TEST.
49124         (llrint_tonearest_test_data): Remove.
49125         (llrint_test_tonearest): Likewise.
49126         (llrint_towardzero_test_data): Likewise.
49127         (llrint_test_towardzero): Likewise.
49128         (llrint_downward_test_data): Likewise.
49129         (llrint_test_downward): Likewise.
49130         (llrint_upward_test_data): Likewise.
49131         (llrint_test_upward): Likewise.
49132         (rint_test_data): Merge in per-rounding-mode tests and results
49133         from rint_tonearest_test_data, rint_towardzero_test_data,
49134         rint_downward_test_data and rint_upward_test_data.  Add
49135         per-rounding-mode results for tests not in those arrays.
49136         (rint_test): Use ALL_RM_TEST.
49137         (rint_tonearest_test_data): Remove.
49138         (rint_test_tonearest): Likewise.
49139         (rint_towardzero_test_data): Likewise.
49140         (rint_test_towardzero): Likewise.
49141         (rint_downward_test_data): Likewise.
49142         (rint_test_downward): Likewise.
49143         (rint_upward_test_data): Likewise.
49144         (rint_test_upward): Likewise.
49145         (main): Don't call removed functions.
49147 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49149         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
49150         "Compiled on ..." crapola.  It is anti-useful.
49152 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
49154         * scripts/evaluate-test.sh: Handle fourth argument to determine
49155         whether test run should stop on failure.
49156         * Makeconfig (stop-on-test-failure): New variable.
49157         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
49158         $(stop-on-test-failure).
49159         * Makefile (tests): Give a summary of results from testing and
49160         exit with failure status if they include an ERROR or FAIL.
49161         (xtests): Likewise.
49162         * manual/install.texi (Configuring and compiling): Mention
49163         stop-on-test-failure=y.
49164         * INSTALL: Regenerated.
49166 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49168         * scripts/versionlist.awk: New file.
49169         * Makerules [$(build-shared) = yes]
49170         (postclean-generated): Add Versions.def, not Versions.def.v and
49171         Versions.def.v.i.
49172         ($(common-objpfx)Versions.def.v.i): Target removed.
49173         ($(common-objpfx)Versions.def): New target.
49174         ($(common-objpfx)Versions.all): Depend on that rather that
49175         $(common-objpfx)Versions.def.v.
49176         * Versions.def: File removed.
49178         * Makeconfig (+gccwarn): Add -Wundef.
49179         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
49180         a dl-sysdep.h breaking its contract.
49181         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
49182         * include/stackinfo.h: New file.
49183         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
49184         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
49185         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
49186         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
49187         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
49188         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
49189         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49190         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49191         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49192         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49193         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49194         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
49195         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49196         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49197         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49199 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49201         [BZ #16707]
49202         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
49203         implementation.
49204         * math/libm-test.inc (round_test_data): Add more tests.
49206         [BZ #16706]
49207         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
49208         implementation.
49209         * math/libm-test.inc (nearbyint_test_data): Add more tests.
49211         [BZ #16701]
49212         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
49213         implementation.
49214         * math/libm-test.inc (ceil_test_data): Add more tests.
49216         * math/libm-test.inc (trunc_test_data): Add more tests related to
49217         BZ#16414.
49219 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49221         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
49222         with #if rather than #ifdef.
49223         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
49225 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
49227         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
49228         first.  Disable AVX-512 GCC support if assembler doesn't support
49229         it.
49230         * sysdeps/x86_64/configure: Regenerated.
49232 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
49234         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
49235         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
49236         (__old_pthread_attr_setstack): Likewise.
49237         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
49238         [!_STACK_GROWS_DOWN]: Likewise.
49240 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
49242         * config.make.in (have-bash2): Delete.
49243         * configure.ac (libc_cv_have_bash2): Delete.
49244         * configure: Regenerate.
49245         * elf/Makefile (common-ldd-rewrite): Rename to ...
49246         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
49247         (sh-ldd-rewrite): Delete.
49248         (bash-ldd-rewrite): Delete.
49249         (have-bash2): Delete checks.
49250         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
49251         ldd-rewrite.
49253         * config.make.in (have-ksh): Delete.
49254         (KSH): Delete.
49255         * configure.ac (libc_cv_have_ksh): Delete.
49256         * configure: Regenerate.
49258         * elf/Makefile: Delete $(have-ksh) check.
49259         ($(objpfx)sotruss): Change KSH to BASH.
49260         * elf/sotruss.ksh: Rename to ...
49261         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
49262         function style to match POSIX.  Drop ksh vim mode setting.
49264         * manual/time.texi (Specifying the Time Zone with TZ): Change
49265         Tuesday to Thursday.
49267         * debug/tst-longjmp_chk2.c: Update header comment.
49268         (stackoverflow_handler): Add comment.  Call assert on pass value.
49270 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
49272         [BZ #16194]
49273         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
49274         (HAVE_AVX512_ASM_SUPPORT): Likewise.
49275         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
49276         (La_x86_64_vector): Add zmm.
49277         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
49278         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
49279         ($(objpfx)tst-audit10): New target.
49280         ($(objpfx)tst-audit10.out): Likewise.
49281         (tst-audit10-ENV): New.
49282         (AVX512-CFLAGS): Likewise.
49283         (CFLAGS-tst-audit10.c): Likewise.
49284         (CFLAGS-tst-auditmod10a.c): Likewise.
49285         (CFLAGS-tst-auditmod10b.c): Likewise.
49286         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
49287         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
49288         * sysdeps/x86_64/configure: Regenerated.
49289         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
49290         AVX-512 zmm register support.
49291         (_dl_x86_64_save_sse): Likewise.
49292         (_dl_x86_64_restore_sse): Likewise.
49293         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49294         size vector registers.
49295         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
49296         (ZMM_SIZE): Likewise.
49297         * sysdeps/x86_64/tst-audit10.c: New file.
49298         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
49299         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49301 2014-03-13  Roland McGrath  <roland@hack.frob.com>
49303         * configure.ac (HAVE_EHDR_START): New check.
49304         * configure: Regenerated.
49305         * config.h.in (HAVE_EHDR_START): New #undef.
49306         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
49307         assuming the lowest-addressed segment maps the start of the file.
49309 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
49311         * INSTALL: Regenerated.
49313 2014-03-13  Will Newton  <will.newton@linaro.org>
49315         * manual/setjmp.texi (System V contexts): Improve
49316         clarity and grammar of documentation.
49318 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
49320         [BZ #16381]
49321         * elf/Makefile (tests): Add tst-pie2.
49322         (tests-pie): Add tst-pie2.
49323         * elf/tst-pie2.c: New file.
49324         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
49325         for ET_EXEC.
49326         * elf/rtld.c (map_doit): Load executable as lt_executable.
49327         (dl_main): Likewise.
49329 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
49331         [BZ #16642]
49332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49333         (__ASSUME_PSELECT): Undefine.
49335 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49337         [BZ #16689]
49338         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
49339         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
49340         static build.
49341         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
49342         selector for static builds.
49344 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49346         [BZ #16695]
49347         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
49348         key in the buffer.
49350 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49352         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
49353         IFUNC selector for static builds.
49355 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
49357         * sysdeps/mips/math_private.h [__mips_hard_float]
49358         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
49359         libc_feresetround_mips_ctx.
49360         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
49361         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
49362         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
49364         [BZ #16677]
49365         * math/s_nextafter.c (__nextafter): Do not return value from
49366         overflowing computation.
49367         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
49368         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
49369         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
49370         Likewise.
49371         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
49372         Likewise.
49373         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
49374         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
49376 2014-03-11  Roland McGrath  <roland@hack.frob.com>
49378         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
49379         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
49380         Move sfi_sp use from the load-multiple (that no longer sets sp) to
49381         the new mov targetting sp.
49383 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49385         [BZ #16683]
49386         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
49387         Define it for static builds as well.
49388         (NO_BZERO_IMPL): Likewise.
49390 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49392         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
49393         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
49394         multiarch strspn for PPC64.
49395         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
49396         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
49397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49398         (__libc_ifunc_impl_list): Likewise.
49399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
49400         multiarch optimizations
49401         * string/strspn.c (strspn): Using macro to redefine symbol name.
49403 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49404             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49406         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
49407         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
49408         multiarch strncat for PPC64.
49409         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
49410         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
49411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49412         (__libc_ifunc_impl_list): Likewise.
49413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
49414         multiarch optimizations
49416 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49418         [BZ #16639]
49419         * nscd/nscd.service: Make service type forking.
49421 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49423         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
49424         sign in non default rounding modes.
49425         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
49427 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
49429         * math/libm-test.inc (ALL_RM_TEST): New macro.
49430         (ceil_test): Use ALL_RM_TEST.
49431         (cimag_test): Likewise.
49432         (conj_test): Likewise.
49433         (copysign_test): Likewise.
49434         (cproj_test): Likewise.
49435         (creal_test): Likewise.
49436         (fabs_test): Likewise.
49437         (floor_test): Likewise.
49438         (fmax_test): Likewise.
49439         (fmin_test): Likewise.
49440         (fmod_test): Likewise.
49441         (fpclassify_test): Likewise.
49442         (frexp_test): Likewise.
49443         (ilogb_test): Likewise.
49444         (isfinite_test): Likewise.
49445         (finite_test): Likewise.
49446         (isgreater_test): Likewise.
49447         (isgreaterequal_test): Likewise.
49448         (isinf_test): Likewise.
49449         (isless_test): Likewise.
49450         (islessequal_test): Likewise.
49451         (islessgreater_test): Likewise.
49452         (isnan_test): Likewise.
49453         (isnormal_test): Likewise.
49454         (issignaling_test): Likewise.
49455         (isunordered_test): Likewise.
49456         (logb_test): Likewise.
49457         (logb_downward_test_data): Remove.
49458         (logb_test_downward): Likewise.
49459         (lround_test): Use ALL_RM_TEST.
49460         (llround_test): Likewise.
49461         (modf_test): Likewise.
49462         (nexttoward_test): Likewise.
49463         (remainder_test): Likewise.
49464         (drem_test): Likewise.
49465         (remainder_tonearest_test_data): Likewise.
49466         (remainder_test_tonearest): Likewise.
49467         (drem_test_tonearest): Likewise.
49468         (remainder_towardzero_test_data): Likewise.
49469         (remainder_test_towardzero): Likewise.
49470         (drem_test_towardzero): Likewise.
49471         (remainder_downward_test_data): Likewise.
49472         (remainder_test_downward): Likewise.
49473         (drem_test_downward): Likewise.
49474         (remainder_upward_test_data): Likewise.
49475         (remainder_test_upward): Likewise.
49476         (drem_test_upward): Likewise.
49477         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
49478         (round_test): Use ALL_RM_TEST.
49479         (signbit_test): Likewise.
49480         (trunc_test): Likewise.
49481         (significand_test): Likewise.
49482         (main): Don't call removed functions.
49484 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49486         [BZ #16674]
49487         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
49488         || __USE_XOPEN2K8].
49489         (ILL_ILLOPN): Likewise.
49490         (ILL_ILLADR): Likewise.
49491         (ILL_ILLTRP): Likewise.
49492         (ILL_PRVOPC): Likewise.
49493         (ILL_PRVREG): Likewise.
49494         (ILL_COPROC): Likewise.
49495         (ILL_BADSTK): Likewise.
49496         (FPE_INTDIV): Likewise.
49497         (FPE_INTOVF): Likewise.
49498         (FPE_FLTDIV): Likewise.
49499         (FPE_FLTOVF): Likewise.
49500         (FPE_FLTUND): Likewise.
49501         (FPE_FLTRES): Likewise.
49502         (FPE_FLTINV): Likewise.
49503         (FPE_FLTSUB): Likewise.
49504         (SEGV_MAPERR): Likewise.
49505         (SEGV_ACCERR): Likewise.
49506         (BUS_ADRALN): Likewise.
49507         (BUS_ADRERR): Likewise.
49508         (BUS_OBJERR): Likewise.
49509         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49510         (TRAP_TRACE): Likewise.
49511         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49512         __USE_XOPEN2K8].
49513         (CLD_KILLED): Likewise.
49514         (CLD_DUMPED): Likewise.
49515         (CLD_TRAPPED): Likewise.
49516         (CLD_STOPPED): Likewise.
49517         (CLD_CONTINUED): Likewise.
49518         (POLL_IN): Likewise.
49519         (POLL_OUT): Likewise.
49520         (POLL_MSG): Likewise.
49521         (POLL_ERR): Likewise.
49522         (POLL_PRI): Likewise.
49523         (POLL_HUP): Likewise.
49524         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
49525         Likewise.
49526         (ILL_ILLOPN): Likewise.
49527         (ILL_ILLADR): Likewise.
49528         (ILL_ILLTRP): Likewise.
49529         (ILL_PRVOPC): Likewise.
49530         (ILL_PRVREG): Likewise.
49531         (ILL_COPROC): Likewise.
49532         (ILL_BADSTK): Likewise.
49533         (FPE_INTDIV): Likewise.
49534         (FPE_INTOVF): Likewise.
49535         (FPE_FLTDIV): Likewise.
49536         (FPE_FLTOVF): Likewise.
49537         (FPE_FLTUND): Likewise.
49538         (FPE_FLTRES): Likewise.
49539         (FPE_FLTINV): Likewise.
49540         (FPE_FLTSUB): Likewise.
49541         (SEGV_MAPERR): Likewise.
49542         (SEGV_ACCERR): Likewise.
49543         (BUS_ADRALN): Likewise.
49544         (BUS_ADRERR): Likewise.
49545         (BUS_OBJERR): Likewise.
49546         (BUS_MCEERR_AR): Likewise.
49547         (BUS_MCEERR_AO): Likewise.
49548         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49549         (TRAP_TRACE): Likewise.
49550         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49551         __USE_XOPEN2K8].
49552         (CLD_KILLED): Likewise.
49553         (CLD_DUMPED): Likewise.
49554         (CLD_TRAPPED): Likewise.
49555         (CLD_STOPPED): Likewise.
49556         (CLD_CONTINUED): Likewise.
49557         (POLL_IN): Likewise.
49558         (POLL_OUT): Likewise.
49559         (POLL_MSG): Likewise.
49560         (POLL_ERR): Likewise.
49561         (POLL_PRI): Likewise.
49562         (POLL_HUP): Likewise.
49563         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
49564         (ILL_ILLOPN): Likewise.
49565         (ILL_ILLADR): Likewise.
49566         (ILL_ILLTRP): Likewise.
49567         (ILL_PRVOPC): Likewise.
49568         (ILL_PRVREG): Likewise.
49569         (ILL_COPROC): Likewise.
49570         (ILL_BADSTK): Likewise.
49571         (FPE_INTDIV): Likewise.
49572         (FPE_INTOVF): Likewise.
49573         (FPE_FLTDIV): Likewise.
49574         (FPE_FLTOVF): Likewise.
49575         (FPE_FLTUND): Likewise.
49576         (FPE_FLTRES): Likewise.
49577         (FPE_FLTINV): Likewise.
49578         (FPE_FLTSUB): Likewise.
49579         (SEGV_MAPERR): Likewise.
49580         (SEGV_ACCERR): Likewise.
49581         (BUS_ADRALN): Likewise.
49582         (BUS_ADRERR): Likewise.
49583         (BUS_OBJERR): Likewise.
49584         (BUS_MCEERR_AR): Likewise.
49585         (BUS_MCEERR_AO): Likewise.
49586         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49587         (TRAP_TRACE): Likewise.
49588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49589         __USE_XOPEN2K8].
49590         (CLD_KILLED): Likewise.
49591         (CLD_DUMPED): Likewise.
49592         (CLD_TRAPPED): Likewise.
49593         (CLD_STOPPED): Likewise.
49594         (CLD_CONTINUED): Likewise.
49595         (POLL_IN): Likewise.
49596         (POLL_OUT): Likewise.
49597         (POLL_MSG): Likewise.
49598         (POLL_ERR): Likewise.
49599         (POLL_PRI): Likewise.
49600         (POLL_HUP): Likewise.
49601         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
49602         Likewise.
49603         (ILL_ILLOPN): Likewise.
49604         (ILL_ILLADR): Likewise.
49605         (ILL_ILLTRP): Likewise.
49606         (ILL_PRVOPC): Likewise.
49607         (ILL_PRVREG): Likewise.
49608         (ILL_COPROC): Likewise.
49609         (ILL_BADSTK): Likewise.
49610         (ILL_BADIADDR): Likewise.
49611         (ILL_BREAK): Likewise.
49612         (FPE_INTDIV): Likewise.
49613         (FPE_INTOVF): Likewise.
49614         (FPE_FLTDIV): Likewise.
49615         (FPE_FLTOVF): Likewise.
49616         (FPE_FLTUND): Likewise.
49617         (FPE_FLTRES): Likewise.
49618         (FPE_FLTINV): Likewise.
49619         (FPE_FLTSUB): Likewise.
49620         (FPE_DECOVF): Likewise.
49621         (FPE_DECDIV): Likewise.
49622         (FPE_DECERR): Likewise.
49623         (FPE_INVASC): Likewise.
49624         (FPE_INVDEC): Likewise.
49625         (SEGV_MAPERR): Likewise.
49626         (SEGV_ACCERR): Likewise.
49627         (SEGV_PSTKOVF): Likewise.
49628         (BUS_ADRALN): Likewise.
49629         (BUS_ADRERR): Likewise.
49630         (BUS_OBJERR): Likewise.
49631         (BUS_MCEERR_AR): Likewise.
49632         (BUS_MCEERR_AO): Likewise.
49633         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49634         (TRAP_TRACE): Likewise.
49635         (TRAP_BRANCH): Likewise.
49636         (TRAP_HWBKPT): Likewise.
49637         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49638         __USE_XOPEN2K8].
49639         (CLD_KILLED): Likewise.
49640         (CLD_DUMPED): Likewise.
49641         (CLD_TRAPPED): Likewise.
49642         (CLD_STOPPED): Likewise.
49643         (CLD_CONTINUED): Likewise.
49644         (POLL_IN): Likewise.
49645         (POLL_OUT): Likewise.
49646         (POLL_MSG): Likewise.
49647         (POLL_ERR): Likewise.
49648         (POLL_PRI): Likewise.
49649         (POLL_HUP): Likewise.
49650         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49651         (ILL_ILLOPN): Likewise.
49652         (ILL_ILLADR): Likewise.
49653         (ILL_ILLTRP): Likewise.
49654         (ILL_PRVOPC): Likewise.
49655         (ILL_PRVREG): Likewise.
49656         (ILL_COPROC): Likewise.
49657         (ILL_BADSTK): Likewise.
49658         (FPE_INTDIV): Likewise.
49659         (FPE_INTOVF): Likewise.
49660         (FPE_FLTDIV): Likewise.
49661         (FPE_FLTOVF): Likewise.
49662         (FPE_FLTUND): Likewise.
49663         (FPE_FLTRES): Likewise.
49664         (FPE_FLTINV): Likewise.
49665         (FPE_FLTSUB): Likewise.
49666         (SEGV_MAPERR): Likewise.
49667         (SEGV_ACCERR): Likewise.
49668         (BUS_ADRALN): Likewise.
49669         (BUS_ADRERR): Likewise.
49670         (BUS_OBJERR): Likewise.
49671         (BUS_MCEERR_AR): Likewise.
49672         (BUS_MCEERR_AO): Likewise.
49673         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49674         (TRAP_TRACE): Likewise.
49675         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49676         __USE_XOPEN2K8].
49677         (CLD_KILLED): Likewise.
49678         (CLD_DUMPED): Likewise.
49679         (CLD_TRAPPED): Likewise.
49680         (CLD_STOPPED): Likewise.
49681         (CLD_CONTINUED): Likewise.
49682         (POLL_IN): Likewise.
49683         (POLL_OUT): Likewise.
49684         (POLL_MSG): Likewise.
49685         (POLL_ERR): Likewise.
49686         (POLL_PRI): Likewise.
49687         (POLL_HUP): Likewise.
49688         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49689         (ILL_ILLOPN): Likewise.
49690         (ILL_ILLADR): Likewise.
49691         (ILL_ILLTRP): Likewise.
49692         (ILL_PRVOPC): Likewise.
49693         (ILL_PRVREG): Likewise.
49694         (ILL_COPROC): Likewise.
49695         (ILL_BADSTK): Likewise.
49696         (FPE_INTDIV): Likewise.
49697         (FPE_INTOVF): Likewise.
49698         (FPE_FLTDIV): Likewise.
49699         (FPE_FLTOVF): Likewise.
49700         (FPE_FLTUND): Likewise.
49701         (FPE_FLTRES): Likewise.
49702         (FPE_FLTINV): Likewise.
49703         (FPE_FLTSUB): Likewise.
49704         (SEGV_MAPERR): Likewise.
49705         (SEGV_ACCERR): Likewise.
49706         (BUS_ADRALN): Likewise.
49707         (BUS_ADRERR): Likewise.
49708         (BUS_OBJERR): Likewise.
49709         (BUS_MCEERR_AR): Likewise.
49710         (BUS_MCEERR_AO): Likewise.
49711         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49712         (TRAP_TRACE): Likewise.
49713         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49714         __USE_XOPEN2K8].
49715         (CLD_KILLED): Likewise.
49716         (CLD_DUMPED): Likewise.
49717         (CLD_TRAPPED): Likewise.
49718         (CLD_STOPPED): Likewise.
49719         (CLD_CONTINUED): Likewise.
49720         (POLL_IN): Likewise.
49721         (POLL_OUT): Likewise.
49722         (POLL_MSG): Likewise.
49723         (POLL_ERR): Likewise.
49724         (POLL_PRI): Likewise.
49725         (POLL_HUP): Likewise.
49726         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49727         (ILL_ILLOPN): Likewise.
49728         (ILL_ILLADR): Likewise.
49729         (ILL_ILLTRP): Likewise.
49730         (ILL_PRVOPC): Likewise.
49731         (ILL_PRVREG): Likewise.
49732         (ILL_COPROC): Likewise.
49733         (ILL_BADSTK): Likewise.
49734         (FPE_INTDIV): Likewise.
49735         (FPE_INTOVF): Likewise.
49736         (FPE_FLTDIV): Likewise.
49737         (FPE_FLTOVF): Likewise.
49738         (FPE_FLTUND): Likewise.
49739         (FPE_FLTRES): Likewise.
49740         (FPE_FLTINV): Likewise.
49741         (FPE_FLTSUB): Likewise.
49742         (SEGV_MAPERR): Likewise.
49743         (SEGV_ACCERR): Likewise.
49744         (BUS_ADRALN): Likewise.
49745         (BUS_ADRERR): Likewise.
49746         (BUS_OBJERR): Likewise.
49747         (BUS_MCEERR_AR): Likewise.
49748         (BUS_MCEERR_AO): Likewise.
49749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49750         (TRAP_TRACE): Likewise.
49751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49752         __USE_XOPEN2K8].
49753         (CLD_KILLED): Likewise.
49754         (CLD_DUMPED): Likewise.
49755         (CLD_TRAPPED): Likewise.
49756         (CLD_STOPPED): Likewise.
49757         (CLD_CONTINUED): Likewise.
49758         (POLL_IN): Likewise.
49759         (POLL_OUT): Likewise.
49760         (POLL_MSG): Likewise.
49761         (POLL_ERR): Likewise.
49762         (POLL_PRI): Likewise.
49763         (POLL_HUP): Likewise.
49764         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49765         (ILL_ILLOPN): Likewise.
49766         (ILL_ILLADR): Likewise.
49767         (ILL_ILLTRP): Likewise.
49768         (ILL_PRVOPC): Likewise.
49769         (ILL_PRVREG): Likewise.
49770         (ILL_COPROC): Likewise.
49771         (ILL_BADSTK): Likewise.
49772         (ILL_DBLFLT): Likewise.
49773         (ILL_HARDWALL): Likewise.
49774         (FPE_INTDIV): Likewise.
49775         (FPE_INTOVF): Likewise.
49776         (FPE_FLTDIV): Likewise.
49777         (FPE_FLTOVF): Likewise.
49778         (FPE_FLTUND): Likewise.
49779         (FPE_FLTRES): Likewise.
49780         (FPE_FLTINV): Likewise.
49781         (FPE_FLTSUB): Likewise.
49782         (SEGV_MAPERR): Likewise.
49783         (SEGV_ACCERR): Likewise.
49784         (BUS_ADRALN): Likewise.
49785         (BUS_ADRERR): Likewise.
49786         (BUS_OBJERR): Likewise.
49787         (BUS_MCEERR_AR): Likewise.
49788         (BUS_MCEERR_AO): Likewise.
49789         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49790         (TRAP_TRACE): Likewise.
49791         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49792         __USE_XOPEN2K8].
49793         (CLD_KILLED): Likewise.
49794         (CLD_DUMPED): Likewise.
49795         (CLD_TRAPPED): Likewise.
49796         (CLD_STOPPED): Likewise.
49797         (CLD_CONTINUED): Likewise.
49798         (POLL_IN): Likewise.
49799         (POLL_OUT): Likewise.
49800         (POLL_MSG): Likewise.
49801         (POLL_ERR): Likewise.
49802         (POLL_PRI): Likewise.
49803         (POLL_HUP): Likewise.
49804         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49805         (ILL_ILLOPN): Likewise.
49806         (ILL_ILLADR): Likewise.
49807         (ILL_ILLTRP): Likewise.
49808         (ILL_PRVOPC): Likewise.
49809         (ILL_PRVREG): Likewise.
49810         (ILL_COPROC): Likewise.
49811         (ILL_BADSTK): Likewise.
49812         (FPE_INTDIV): Likewise.
49813         (FPE_INTOVF): Likewise.
49814         (FPE_FLTDIV): Likewise.
49815         (FPE_FLTOVF): Likewise.
49816         (FPE_FLTUND): Likewise.
49817         (FPE_FLTRES): Likewise.
49818         (FPE_FLTINV): Likewise.
49819         (FPE_FLTSUB): Likewise.
49820         (SEGV_MAPERR): Likewise.
49821         (SEGV_ACCERR): Likewise.
49822         (BUS_ADRALN): Likewise.
49823         (BUS_ADRERR): Likewise.
49824         (BUS_OBJERR): Likewise.
49825         (BUS_MCEERR_AR): Likewise.
49826         (BUS_MCEERR_AO): Likewise.
49827         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49828         (TRAP_TRACE): Likewise.
49829         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49830         __USE_XOPEN2K8].
49831         (CLD_KILLED): Likewise.
49832         (CLD_DUMPED): Likewise.
49833         (CLD_TRAPPED): Likewise.
49834         (CLD_STOPPED): Likewise.
49835         (CLD_CONTINUED): Likewise.
49836         (POLL_IN): Likewise.
49837         (POLL_OUT): Likewise.
49838         (POLL_MSG): Likewise.
49839         (POLL_ERR): Likewise.
49840         (POLL_PRI): Likewise.
49841         (POLL_HUP): Likewise.
49842         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49843         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49845         [BZ #16670]
49846         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49847         before #include of <time.h>.
49848         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49849         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49850         (test-xfail-UNIX98/sched.h/conform): Likewise.
49852 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49854         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49855         error absence of trapping exception support.
49856         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49858 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49860         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49861         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49862         * timezone/Makefile (testdata): Move definition above include of
49863         Rules.
49864         (test-zones): New variable.
49865         (tests-special): Add zone files.
49866         (build-testdata): Use $(evaluate-test).
49868         * elf/Makefile (tests-special): Rename tests to end with .out.
49869         ($(objpfx)noload-mem): Likewise.
49870         ($(objpfx)tst-leaks1-mem): Likewise.
49871         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49872         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49873         $(objpfx)test-iconvconfig.out.
49874         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49875         set -e inside subshell and redirect output to file.
49876         * iconvdata/Makefile (generated): Rename tests to end with .out.
49877         Correct type.
49878         (tests-special): Rename tests to end with .out.
49879         ($(objpfx)mtrace-tst-loading): Likewise.
49880         * intl/Makefile (generated): Likewise.
49881         (tests-special): Likewise.
49882         ($(objpfx)mtrace-tst-gettext): Likewise.
49883         * misc/Makefile (generated): Likewise.
49884         (tests-special): Likewise.
49885         ($(objpfx)tst-error1-mem): Likewise.
49886         * nptl/Makefile (tests-special): Likewise.
49887         ($(objpfx)tst-stack3-mem): Likewise.
49888         (generated): Likewise.
49889         * posix/Makefile (generated): Likewise.
49890         (tests-special): Likewise.
49891         (xtests-special): Likewise.
49892         ($(objpfx)tst-fnmatch-mem): Likewise.
49893         ($(objpfx)bug-regex2-mem): Likewise.
49894         ($(objpfx)bug-regex14-mem): Likewise.
49895         ($(objpfx)bug-regex21-mem): Likewise.
49896         ($(objpfx)bug-regex31-mem): Likewise.
49897         ($(objpfx)tst-vfork3-mem): Likewise.
49898         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49899         ($(objpfx)tst-pcre-mem): Likewise.
49900         ($(objpfx)tst-boost-mem): Likewise.
49901         ($(objpfx)bug-ga2-mem): Likewise.
49902         ($(objpfx)bug-glob2-mem): Likewise.
49903         * resolv/Makefile (generate): Likewise.
49904         (tests-special): Likewise.
49905         (xtests-special): Likewise.
49906         (generated): Likewise.
49907         ($(objpfx)mtrace-tst-leaks): Likewise.
49908         ($(objpfx)mtrace-tst-leaks2): Likewise.
49910         * scripts/merge-test-results.sh: New file.
49911         * Makefile (tests-special-notdir): New variable.
49912         (tests): Run merge-test-results.sh.
49913         (xtests): Likewise.
49914         * Rules (tests-special-notdir): New variable.
49915         (xtests-special-notdir): Likewise.
49916         (tests): Run merge-test-results.sh
49917         (xtests): Likewise.
49919         * Makeconfig (test-xfail-name): New variable.
49920         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49921         compute variable name for expected failures.
49922         * conform/Makefile (conformtest-headers-data): New variable.
49923         (conformtest-standards): Likewise.
49924         (conformtest-headers-ISO): Likewise.
49925         (conformtest-headers-ISO99): Likewise.
49926         (conformtest-headers-ISO11): Likewise.
49927         (conformtest-headers-POSIX): Likewise.
49928         (conformtest-headers-XPG3): Likewise.
49929         (conformtest-headers-XPG4): Likewise.
49930         (conformtest-headers-UNIX98): Likewise.
49931         (conformtest-headers-XOPEN2K): Likewise.
49932         (conformtest-headers-POSIX2008): Likewise.
49933         (conformtest-headers-XOPEN2K8): Likewise.
49934         (conformtest-header-list-base): Likewise.
49935         (conformtest-header-list-tests): Likewise.
49936         (conformtest-header-base): Likewise.
49937         (conformtest-header-tests): Likewise.
49938         (tests-special): Add $(conformtest-header-list-tests).  If
49939         [$(fast-check) && !$(cross-compiling)], add
49940         $(conformtest-header-tests) instead of
49941         $(objpfx)run-conformtest.out.
49942         (generated): Add $(conformtest-header-list-base).  If
49943         [$(fast-check) && !$(cross-compiling)], add
49944         $(conformtest-header-base).  Remove previous setting.
49945         ($(conformtest-header-list-tests)): New target.
49946         (test-xfail-run-conformtest): Remove variable.
49947         ($(objpfx)run-conformtest.out): Remove target.
49948         (test-xfail-ISO11/complex.h/conform): New variable.
49949         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49950         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49951         (test-xfail-XPG3/varargs.h/conform): Likewise.
49952         (test-xfail-XPG4/varargs.h/conform): Likewise.
49953         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49954         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49955         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49956         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49957         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49958         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49959         (test-xfail-XPG3/ftw.h/conform): Likewise.
49960         (test-xfail-XPG3/grp.h/conform): Likewise.
49961         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49962         (test-xfail-XPG3/limits.h/conform): Likewise.
49963         (test-xfail-XPG3/pwd.h/conform): Likewise.
49964         (test-xfail-XPG3/search.h/conform): Likewise.
49965         (test-xfail-XPG3/signal.h/conform): Likewise.
49966         (test-xfail-XPG3/stdio.h/conform): Likewise.
49967         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49968         (test-xfail-XPG3/string.h/conform): Likewise.
49969         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49970         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49971         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49972         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49973         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49974         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49975         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49976         (test-xfail-XPG3/termios.h/conform): Likewise.
49977         (test-xfail-XPG3/time.h/conform): Likewise.
49978         (test-xfail-XPG3/unistd.h/conform): Likewise.
49979         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49980         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49981         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49982         (test-xfail-XPG4/netdb.h/conform): Likewise.
49983         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49984         (test-xfail-XPG4/signal.h/conform): Likewise.
49985         (test-xfail-XPG4/stdio.h/conform): Likewise.
49986         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49987         (test-xfail-XPG4/stropts.h/conform): Likewise.
49988         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49989         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49990         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49991         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49992         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49993         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49994         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49995         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49996         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49997         (test-xfail-XPG4/termios.h/conform): Likewise.
49998         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49999         (test-xfail-XPG4/unistd.h/conform): Likewise.
50000         (test-xfail-XPG4/utmpx.h/conform): Likewise.
50001         (test-xfail-POSIX/sched.h/conform): Likewise.
50002         (test-xfail-POSIX/signal.h/conform): Likewise.
50003         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
50004         (test-xfail-POSIX/tar.h/conform): Likewise.
50005         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
50006         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
50007         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
50008         (test-xfail-UNIX98/netdb.h/conform): Likewise.
50009         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
50010         (test-xfail-UNIX98/sched.h/conform): Likewise.
50011         (test-xfail-UNIX98/signal.h/conform): Likewise.
50012         (test-xfail-UNIX98/stdio.h/conform): Likewise.
50013         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
50014         (test-xfail-UNIX98/stropts.h/conform): Likewise.
50015         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
50016         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
50017         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
50018         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
50019         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
50020         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
50021         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
50022         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
50023         (test-xfail-UNIX98/unistd.h/conform): Likewise.
50024         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
50025         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
50026         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
50027         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
50028         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
50029         (test-xfail-XOPEN2K/math.h/conform): Likewise.
50030         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
50031         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
50032         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
50033         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
50034         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
50035         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
50036         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
50037         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
50038         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
50039         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
50040         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
50041         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
50042         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
50043         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
50044         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
50045         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
50046         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
50047         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
50048         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
50049         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
50050         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
50051         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
50052         (test-xfail-POSIX2008/signal.h/conform): Likewise.
50053         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
50054         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
50055         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
50056         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
50057         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
50058         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
50059         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
50060         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
50061         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
50062         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
50063         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
50064         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
50065         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
50066         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
50067         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
50068         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
50069         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
50070         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
50071         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
50072         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
50073         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
50074         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
50075         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
50076         (conformtest-cc-flags): Likewise.
50077         ($(conformtest-header-tests): New target.
50078         * conform/check-header-lists.sh: New file.
50079         * conform/run-conformtest.sh: Remove.
50081         * conform/conformtest.pl: Allow ' and \ in values given for
50082         constants.
50083         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
50084         inclusion.
50085         [POSIX] (sys/types.h): Likewise.
50086         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
50087         inclusion.
50088         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
50089         inclusion.
50090         * conform/data/signal.h-data (SIGIO): Remove expectation.
50091         [XPG3] (SIGBUS): Do not expect.
50092         [POSIX || XPG3] (SIGPOLL): Likewise.
50093         [POSIX || XPG3] (SIGPROF): Likewise.
50094         [POSIX || XPG3] (SIGSYS): Likewise.
50095         [XPG3] (SIGTRAP): Likewise.
50096         [POSIX || XPG3] (SIGURG): Likewise.
50097         [POSIX || XPG3] (SIGVTALRM): Likewise.
50098         [POSIX || XPG3] (SIGXCPU): Likewise.
50099         [POSIX || XPG3] (SIGXFSZ): Likewise.
50100         [POSIX] (SA_SIGINFO): Expect.
50101         [XPG3] (siginfo_t): Do not expect type or contents.
50102         [POSIX] (si_pid): Do not expect element.
50103         [POSIX] (si_uid): Likewise.
50104         [POSIX] (si_addr): Likewise.
50105         [POSIX] (si_status): Likewise.
50106         [POSIX] (si_band): Likewise.
50107         [XPG4] (si_value): Likewise.
50108         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
50109         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
50110         [POSIX || XPG3] (ILL_ILLADR): Likewise.
50111         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
50112         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
50113         [POSIX || XPG3] (ILL_PRVREG): Likewise.
50114         [POSIX || XPG3] (ILL_COPROC): Likewise.
50115         [POSIX || XPG3] (ILL_BADSTK): Likewise.
50116         [POSIX || XPG3] (FPE_INTDIV): Likewise.
50117         [POSIX || XPG3] (FPE_INTOVF): Likewise.
50118         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
50119         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
50120         [POSIX || XPG3] (FPE_FLTUND): Likewise.
50121         [POSIX || XPG3] (FPE_FLTRES): Likewise.
50122         [POSIX || XPG3] (FPE_FLTINV): Likewise.
50123         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
50124         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
50125         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
50126         [POSIX || XPG3] (BUS_ADRALN): Likewise.
50127         [POSIX || XPG3] (BUS_ADRERR): Likewise.
50128         [POSIX || XPG3] (BUS_OBJERR): Likewise.
50129         [POSIX || XPG3] (CLD_EXITED): Likewise.
50130         [POSIX || XPG3] (CLD_KILLED): Likewise.
50131         [POSIX || XPG3] (CLD_DUMPED): Likewise.
50132         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
50133         [POSIX || XPG3] (CLD_STOPPED): Likewise.
50134         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
50135         [POSIX || XPG3] (POLL_IN): Likewise.
50136         [POSIX || XPG3] (POLL_OUT): Likewise.
50137         [POSIX || XPG3] (POLL_MSG): Likewise.
50138         [POSIX || XPG3] (POLL_ERR): Likewise.
50139         [POSIX || XPG3] (POLL_PRI): Likewise.
50140         [POSIX || XPG3] (POLL_HUP): Likewise.
50141         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
50142         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
50143         (SIG*): Do not allow.
50144         [XPG3] (si_*): Likewise.
50145         [XPG3] (SI_*): Likewise.
50146         [XPG3 || XPG4] (sigev_*): Likewise.
50147         [XPG3 || XPG4] (SIGEV_*): Likewise.
50148         [XPG3 || XPG4] (sival_*): Likewise.
50149         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
50150         [POSIX || XPG3] (BUS_*): Likewise.
50151         [POSIX || XPG3] (CLD_*): Likewise.
50152         [POSIX || XPG3] (FPE_*): Likewise.
50153         [POSIX || XPG3] (ILL_*): Likewise.
50154         [POSIX || XPG3] (POLL_*): Likewise.
50155         [POSIX || XPG3] (SEGV_*): Likewise.
50156         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
50157         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
50158         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
50159         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
50160         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
50161         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
50162         Specify type and value.
50163         (TVERSLEN): Likewise.
50164         (REGTYPE): Likewise.
50165         (AREGTYPE): Likewise.
50166         (LNKTYPE): Likewise.
50167         (SYMTYPE): Likewise.
50168         (CHRTYPE): Likewise.
50169         (BLKTYPE): Likewise.
50170         (DIRTYPE): Likewise.
50171         (FIFOTYPE): Likewise.
50172         (CONTTYPE): Likewise.
50173         (TSUID): Likewise.
50174         (TSGID): Likewise.
50175         (TSVTX): Likewise.
50176         (TUREAD): Likewise.
50177         (TUWRITE): Likewise.
50178         (TUEXEC): Likewise.
50179         (TGREAD): Likewise.
50180         (TGWRITE): Likewise.
50181         (TGEXEC): Likewise.
50182         (TOREAD): Likewise.
50183         (TOWRITE): Likewise.
50184         (TOEXEC): Likewise.
50185         [POSIX] (TSVTX): Expect constant.
50187 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
50189         * Makefile (tests): Change dependencies to ....
50190         (tests-special): ... additions to this variable.
50191         (tests): Depend on $(tests-special).
50192         * Makerules (check-abi-list): New variable.
50193         (check-abi): Depend on $(check-abi-list).
50194         [$(subdir) = elf] (tests-special): Add
50195         $(objpfx)check-abi-libc.out.
50196         [$(build-shared) = yes && subdir] (tests-special): Add
50197         $(check-abi-list).
50198         [$(build-shared) = yes && subdir] (tests): Do not depend on
50199         check-abi.
50200         * Rules (tests): Depend on $(tests-special).
50201         (xtests): Depend on $(xtests-special).
50202         * catgets/Makefile (tests): Change dependencies to ....
50203         (tests-special): ... additions to this variable.
50204         * conform/Makefile (tests): Change dependencies to ....
50205         (tests-special): ... additions to this variable.
50206         * elf/Makefile (tests): Change dependencies to ....
50207         (tests-special): ... additions to this variable.
50208         * grp/Makefile (tests): Change dependencies to ....
50209         (tests-special): ... additions to this variable.
50210         * iconv/Makefile (xtests): Change dependencies to ....
50211         (xtests-special): ... additions to this variable.
50212         * iconvdata/Makefile (tests): Change dependencies to ....
50213         (tests-special): ... additions to this variable.
50214         * intl/Makefile (tests): Change dependencies to ....
50215         (tests-special): ... additions to this variable.  Also add
50216         $(objpfx)tst-gettext.out.
50217         * io/Makefile (tests): Change dependencies to ....
50218         (tests-special): ... additions to this variable.
50219         * libio/Makefile (tests): Change dependencies to ....
50220         (tests-special): ... additions to this variable.
50221         * malloc/Makefile (tests): Change dependencies to ....
50222         (tests-special): ... additions to this variable.
50223         * misc/Makefile (tests): Change dependencies to ....
50224         (tests-special): ... additions to this variable.
50225         * nptl/Makefile (tests): Change dependencies to ....
50226         (tests-special): ... additions to this variable.
50227         * nptl_db/Makefile (tests): Change dependencies to ....
50228         (tests-special): ... additions to this variable.
50229         * posix/Makefile (tests): Change dependencies to ....
50230         (tests-special): ... additions to this variable.
50231         (xtests): Change dependencies to ....
50232         (xtests-special): ... additions to this variable.
50233         * resolv/Makefile (tests): Change dependencies to ....
50234         (tests-special): ... additions to this variable.
50235         (xtests): Change dependencies to ....
50236         (xtests-special): ... additions to this variable.
50237         * stdio-common/Makefile (tests): Change dependencies to ....
50238         (tests-special): ... additions to this variable.
50239         (do-tst-unbputc): Remove target.
50240         (do-tst-printf): Likewise.
50241         * stdlib/Makefile (tests): Change dependencies to ....
50242         (tests-special): ... additions to this variable.
50243         * string/Makefile (tests): Change dependencies to ....
50244         (tests-special): ... additions to this variable.
50245         * sysdeps/x86/Makefile (tests): Change dependencies to ....
50246         (tests-special): ... additions to this variable.
50248         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
50249         whole file.
50250         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
50251         whole file.
50252         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
50253         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
50255         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
50256         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
50257         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
50258         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
50259         * conform/data/libgen.h-data [XPG3]: Likewise.
50260         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
50261         * conform/data/ndbm.h-data [XPG3]: Likewise.
50262         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50263         * conform/data/netdb.h-data [XPG3]: Likewise.
50264         * conform/data/netinet/in.h-data [XPG3]: Likewise.
50265         * conform/data/poll.h-data [XPG3]: Likewise.
50266         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50267         * conform/data/strings.h-data [XPG3]: Likewise.
50268         * conform/data/stropts.h-data [XPG3]: Likewise.
50269         * conform/data/sys/mman.h-data [XPG3]: Likewise.
50270         * conform/data/sys/resource.h-data [XPG3]: Likewise.
50271         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
50272         Likewise.
50273         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
50274         * conform/data/sys/time.h-data [XPG3]: Likewise.
50275         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
50276         * conform/data/sys/uio.h-data [XPG3]: Likewise.
50277         * conform/data/sys/un.h-data [XPG3]: Likewise.
50278         * conform/data/syslog.h-data [XPG3]: Likewise.
50279         * conform/data/ucontext.h-data [XPG3]: Likewise.
50280         * conform/data/utmpx.h-data [XPG3]: Likewise.
50281         * conform/data/varargs.h-data [UNIX98]: Enable file.
50283         * manual/Makefile (INSTALL_INFO): Remove variable setting.
50285         * math/libm-test.inc (struct test_f_f_data): Move expected results
50286         into structure for each rounding mode.
50287         (struct test_ff_f_data): Likewise.
50288         (struct test_ff_f_data_nexttoward): Likewise.
50289         (struct test_fi_f_data): Likewise.
50290         (struct test_fl_f_data): Likewise.
50291         (struct test_if_f_data): Likewise.
50292         (struct test_fff_f_data): Likewise.
50293         (struct test_c_f_data): Likewise.
50294         (struct test_f_f1_data): Likewise.
50295         (struct test_fF_f1_data): Likewise.
50296         (struct test_ffI_f1_data): Likewise.
50297         (struct test_c_c_data): Likewise.
50298         (struct test_cc_c_data): Likewise.
50299         (struct test_f_i_data): Likewise.
50300         (struct test_ff_i_data): Likewise.
50301         (struct test_f_l_data): Likewise.
50302         (struct test_f_L_data): Likewise.
50303         (struct test_fFF_11_data): Likewise.
50304         (RM_): New macro.
50305         (RM_FE_DOWNWARD): Likewise.
50306         (RM_FE_TONEAREST): Likewise.
50307         (RM_FE_TOWARDZERO): Likewise.
50308         (RM_FE_UPWARD): Likewise.
50309         (RUN_TEST_LOOP_f_f): Update references to expected results.
50310         (RUN_TEST_LOOP_2_f): Likewise.
50311         (RUN_TEST_LOOP_fff_f): Likewise.
50312         (RUN_TEST_LOOP_c_f): Likewise.
50313         (RUN_TEST_LOOP_f_f1): Likewise.
50314         (RUN_TEST_LOOP_fF_f1): Likewise.
50315         (RUN_TEST_LOOP_fI_f1): Likewise.
50316         (RUN_TEST_LOOP_ffI_f1): Likewise.
50317         (RUN_TEST_LOOP_c_c): Likewise.
50318         (RUN_TEST_LOOP_cc_c): Likewise.
50319         (RUN_TEST_LOOP_f_i): Likewise.
50320         (RUN_TEST_LOOP_f_i_tg): Likewise.
50321         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50322         (RUN_TEST_LOOP_f_b): Likewise.
50323         (RUN_TEST_LOOP_f_b_tg): Likewise.
50324         (RUN_TEST_LOOP_f_l): Likewise.
50325         (RUN_TEST_LOOP_f_L): Likewise.
50326         (RUN_TEST_LOOP_fFF_11): Likewise.
50327         * math/gen-libm-test.pl (parse_args): Output four copies of
50328         expected results for each test.
50330         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50331         (__ASSUME_UTIMES): Remove.
50332         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50333         (__ASSUME_UTIMES): Likewise.
50335         * math/gen-auto-libm-tests.c: Update comment on output format.
50336         (output_for_one_input_case): Generate before-rounding and
50337         after-rounding information as conditions on output flags not
50338         floating-point format.
50339         * math/auto-libm-test-out: Regenerated.
50340         * math/gen-libm-test.pl (cond_value): New function.
50341         (or_cond_value): Use cond_value.
50342         (generate_testfile): Handle conditional exceptions.
50344 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
50346         * math/libm-test.inc (max_valid_error): New variable.
50347         (init_max_error): Take new argument specifying whether function
50348         results are exactly determined.  Set max_valid_error and bound
50349         other variables for errors based on this argument.
50350         (set_max_error): Do not record results above max_valid_error.
50351         (check_float_internal): Only accept errors of up to 0.5ulps if
50352         also at most max_valid_error.
50353         (START): Take new argument EXACT and pass it to init_max_error.
50354         (acos_test): Update call to START.
50355         (acos_test_tonearest): Likewise.
50356         (acos_test_towardzero): Likewise.
50357         (acos_test_downward): Likewise.
50358         (acos_test_upward): Likewise.
50359         (acosh_test): Likewise.
50360         (asin_test): Likewise.
50361         (asin_test_tonearest): Likewise.
50362         (asin_test_towardzero): Likewise.
50363         (asin_test_downward): Likewise.
50364         (asin_test_upward): Likewise.
50365         (asinh_test): Likewise.
50366         (atan_test): Likewise.
50367         (atanh_test): Likewise.
50368         (atan2_test): Likewise.
50369         (cabs_test): Likewise.
50370         (cacos_test): Likewise.
50371         (cacosh_test): Likewise.
50372         (carg_test): Likewise.
50373         (casin_test): Likewise.
50374         (casinh_test): Likewise.
50375         (catan_test): Likewise.
50376         (catanh_test): Likewise.
50377         (cbrt_test): Likewise.
50378         (ccos_test): Likewise.
50379         (ccosh_test): Likewise.
50380         (ceil_test): Likewise.
50381         (cexp_test): Likewise.
50382         (cimag_test): Likewise.
50383         (clog_test): Likewise.
50384         (clog10_test): Likewise.
50385         (conj_test): Likewise.
50386         (copysign_test): Likewise.
50387         (cos_test): Likewise.
50388         (cos_test_tonearest): Likewise.
50389         (cos_test_towardzero): Likewise.
50390         (cos_test_downward): Likewise.
50391         (cos_test_upward): Likewise.
50392         (cosh_test): Likewise.
50393         (cosh_test_tonearest): Likewise.
50394         (cosh_test_towardzero): Likewise.
50395         (cosh_test_downward): Likewise.
50396         (cosh_test_upward): Likewise.
50397         (cpow_test): Likewise.
50398         (cproj_test): Likewise.
50399         (creal_test): Likewise.
50400         (csin_test): Likewise.
50401         (csinh_test): Likewise.
50402         (csqrt_test): Likewise.
50403         (ctan_test): Likewise.
50404         (ctan_test_tonearest): Likewise.
50405         (ctan_test_towardzero): Likewise.
50406         (ctan_test_downward): Likewise.
50407         (ctan_test_upward): Likewise.
50408         (ctanh_test): Likewise.
50409         (ctanh_test_tonearest): Likewise.
50410         (ctanh_test_towardzero): Likewise.
50411         (ctanh_test_downward): Likewise.
50412         (ctanh_test_upward): Likewise.
50413         (erf_test): Likewise.
50414         (erfc_test): Likewise.
50415         (exp_test): Likewise.
50416         (exp_test_tonearest): Likewise.
50417         (exp_test_towardzero): Likewise.
50418         (exp_test_downward): Likewise.
50419         (exp_test_upward): Likewise.
50420         (exp10_test): Likewise.
50421         (exp10_test_tonearest): Likewise.
50422         (exp10_test_towardzero): Likewise.
50423         (exp10_test_downward): Likewise.
50424         (exp10_test_upward): Likewise.
50425         (pow10_test): Likewise.
50426         (exp2_test): Likewise.
50427         (expm1_test): Likewise.
50428         (expm1_test_tonearest): Likewise.
50429         (expm1_test_towardzero): Likewise.
50430         (expm1_test_downward): Likewise.
50431         (expm1_test_upward): Likewise.
50432         (fabs_test): Likewise.
50433         (fdim_test): Likewise.
50434         (floor_test): Likewise.
50435         (fma_test): Likewise.
50436         (fma_test_towardzero): Likewise.
50437         (fma_test_downward): Likewise.
50438         (fma_test_upward): Likewise.
50439         (fmax_test): Likewise.
50440         (fmin_test): Likewise.
50441         (fmod_test): Likewise.
50442         (fpclassify_test): Likewise.
50443         (frexp_test): Likewise.
50444         (hypot_test): Likewise.
50445         (ilogb_test): Likewise.
50446         (isfinite_test): Likewise.
50447         (finite_test): Likewise.
50448         (isgreater_test): Likewise.
50449         (isgreaterequal_test): Likewise.
50450         (isinf_test): Likewise.
50451         (isless_test): Likewise.
50452         (islessequal_test): Likewise.
50453         (islessgreater_test): Likewise.
50454         (isnan_test): Likewise.
50455         (isnormal_test): Likewise.
50456         (issignaling_test): Likewise.
50457         (isunordered_test): Likewise.
50458         (j0_test): Likewise.
50459         (j1_test): Likewise.
50460         (jn_test): Likewise.
50461         (ldexp_test): Likewise.
50462         (lgamma_test): Likewise.
50463         (gamma_test): Likewise.
50464         (lrint_test): Likewise.
50465         (lrint_test_tonearest): Likewise.
50466         (lrint_test_towardzero): Likewise.
50467         (lrint_test_downward): Likewise.
50468         (lrint_test_upward): Likewise.
50469         (llrint_test): Likewise.
50470         (llrint_test_tonearest): Likewise.
50471         (llrint_test_towardzero): Likewise.
50472         (llrint_test_downward): Likewise.
50473         (llrint_test_upward): Likewise.
50474         (log_test): Likewise.
50475         (log10_test): Likewise.
50476         (log1p_test): Likewise.
50477         (log2_test): Likewise.
50478         (logb_test): Likewise.
50479         (logb_test_downward): Likewise.
50480         (lround_test): Likewise.
50481         (llround_test): Likewise.
50482         (modf_test): Likewise.
50483         (nearbyint_test): Likewise.
50484         (nextafter_test): Likewise.
50485         (nexttoward_test): Likewise.
50486         (pow_test): Likewise.
50487         (pow_test_tonearest): Likewise.
50488         (pow_test_towardzero): Likewise.
50489         (pow_test_downward): Likewise.
50490         (pow_test_upward): Likewise.
50491         (remainder_test): Likewise.
50492         (drem_test): Likewise.
50493         (remainder_test_tonearest): Likewise.
50494         (drem_test_tonearest): Likewise.
50495         (remainder_test_towardzero): Likewise.
50496         (drem_test_towardzero): Likewise.
50497         (remainder_test_downward): Likewise.
50498         (drem_test_downward): Likewise.
50499         (remainder_test_upward): Likewise.
50500         (drem_test_upward): Likewise.
50501         (remquo_test): Likewise.
50502         (rint_test): Likewise.
50503         (rint_test_tonearest): Likewise.
50504         (rint_test_towardzero): Likewise.
50505         (rint_test_downward): Likewise.
50506         (rint_test_upward): Likewise.
50507         (round_test): Likewise.
50508         (scalb_test): Likewise.
50509         (scalbn_test): Likewise.
50510         (scalbln_test): Likewise.
50511         (signbit_test): Likewise.
50512         (sin_test): Likewise.
50513         (sin_test_tonearest): Likewise.
50514         (sin_test_towardzero): Likewise.
50515         (sin_test_downward): Likewise.
50516         (sin_test_upward): Likewise.
50517         (sincos_test): Likewise.
50518         (sinh_test): Likewise.
50519         (sinh_test_tonearest): Likewise.
50520         (sinh_test_towardzero): Likewise.
50521         (sinh_test_downward): Likewise.
50522         (sinh_test_upward): Likewise.
50523         (sqrt_test): Likewise.
50524         (sqrt_test_tonearest): Likewise.
50525         (sqrt_test_towardzero): Likewise.
50526         (sqrt_test_downward): Likewise.
50527         (sqrt_test_upward): Likewise.
50528         (tan_test): Likewise.
50529         (tan_test_tonearest): Likewise.
50530         (tan_test_towardzero): Likewise.
50531         (tan_test_downward): Likewise.
50532         (tan_test_upward): Likewise.
50533         (tanh_test): Likewise.
50534         (tgamma_test): Likewise.
50535         (trunc_test): Likewise.
50536         (y0_test): Likewise.
50537         (y1_test): Likewise.
50538         (yn_test): Likewise.
50539         (significand_test): Likewise.
50541         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
50542         individual tests in comment.
50543         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
50544         (prev_max_error): New variable.
50545         (prev_real_max_error): Likewise.
50546         (prev_imag_max_error): Likewise.
50547         (compare_ulp_data): Don't refer to test names in comment.
50548         (find_test_ulps): Remove function.
50549         (find_function_ulps): Likewise.
50550         (find_complex_function_ulps): Likewise.
50551         (init_max_error): Take function name as argument.  Look up ulps
50552         for that function.
50553         (print_ulps): Remove function.
50554         (print_max_error): Use prev_max_error instead of calling
50555         find_function_ulps.
50556         (print_complex_max_error): Use prev_real_max_error and
50557         prev_imag_max_error instead of calling find_complex_function_ulps.
50558         (check_float_internal): Take max_ulp parameter instead of calling
50559         find_test_ulps.  Don't call print_ulps.
50560         (check_float): Update call to check_float_internal.
50561         (check_complex): Update calls to check_float_internal.
50562         (START): Pass argument to init_max_error.
50563         * math/gen-libm-test.pl (%results): Don't include "kind"
50564         information.
50565         (parse_ulps): Don't handle ulps of individual tests.
50566         (print_ulps_file): Likewise.
50567         (output_ulps): Likewise.
50568         * math/README.libm-test: Update.
50569         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
50570         individual tests.
50571         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
50572         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
50573         * sysdeps/arm/libm-test-ulps: Likewise.
50574         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
50575         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
50576         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
50577         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
50578         * sysdeps/microblaze/libm-test-ulps: Likewise.
50579         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50580         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
50581         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50582         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
50583         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50584         * sysdeps/sh/libm-test-ulps: Likewise.
50585         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50586         * sysdeps/tile/libm-test-ulps: Likewise.
50587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50589 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
50591         * math/libm-test.inc (print_complex_max_error): Check separately
50592         whether real and imaginary errors are within allowed range and
50593         pass 0 to print_complex_function_ulps instead of value within
50594         allowed range.
50596 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50598         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
50599         formatting.
50600         (get_handles_fopen): Likewise.
50601         (do_write_test): Likewise.
50603         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50605         * libio/fileops.c (do_ftell): Use cached offset when
50606         available.
50607         * libio/iofwide.c (do_ftell_wide): Likewise.
50608         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50609         _IO_file_attach.
50610         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50612         [BZ #16532]
50613         * libio/libioP.h (get_file_offset): New function.
50614         * libio/fileops.c (get_file_offset): Likewise.
50615         (do_ftell): Likewise.
50616         (_IO_new_file_seekoff): Split out ftell logic.
50617         * libio/wfileops.c (do_ftell_wide): Likewise.
50618         (_IO_wfile_seekoff): Split out ftell logic.
50619         * libio/tst-ftell-active-handler.c: New test case.
50620         * libio/Makefile (tests): Add it.
50622 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50624         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50625         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50627 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50629         [BZ #16639]
50630         * nscd/connections.c (nscd_init): Call do_exit.
50631         (start_threads): Call do_exit and notify_parent.
50632         (begin_drop_privileges): Call do_exit.
50633         (finish_drop_privileges): Likewise.
50634         * nscd/selinux.c (preserve_capabilities): Likewise.
50635         (install_real_capabilities): Likewise.
50636         (nscd_selinux_enabled): Likewise.
50637         (avc_create_thread): Likewise.
50638         (avc_alloc_lock): Likewise.
50639         (nscd_avc_init): Likewise.
50640         * nscd/nscd.c (parent_fd): New static variable.
50641         (main): Create a pipe between parent and child processes.
50642         Skip closing parent_fd.
50643         (monitor_child): New function.
50644         (do_exit): Likewise.
50645         (notify_parent): Likewise.
50646         * nscd/nscd.h (notify_parent): Likewise.
50647         (do_exit): Likewise.
50649 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50651         * malloc/malloc.c (__libc_calloc): Revert last change.
50653 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50657 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50659         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50661         implementation.
50662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50663         (__libc_ifunc_impl_list): Likewise.
50664         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50665         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50666         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50667         * string/strrchr.c: Define STRRCHR.
50669 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50671         * benchtest/bench-strtok.c (simple_strtok): Delete.
50672         (strtok_string): Use as benchmark.
50673         * string/strtok (STRTOK): New macro.
50675 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50677         * manual/threads.texi: Add header and standard comments to all
50678         functions.
50680         * elf/dl-lookup.c (check_match): New function.
50681         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50682         (do_lookup_x): Remove nested function check_match. Use non-nested
50683         function check_match.
50685 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50687         * csu/Makefile (generated, before-compile): Use += rather than =.
50688         * catgets/Makefile (generated, generated-dirs): Likewise.
50689         * debug/Makefile (generated): Likewise.
50690         * dlfcn/Makefile (generated): Likewise.
50691         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50692         * iconvdata/Makefile (before-compile, generated): Likewise.
50693         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50694         * libio/Makefile (generated): Likewise.
50695         * malloc/Makefile (generated): Likewise.
50696         * manual/Makefile (generated, generated-dirs): Likewise.
50697         * misc/Makefile (generated): Likewise.
50698         * posix/Makefile (generated): Likewise.
50699         * resolv/Makefile (generated): Likewise.
50700         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50701         * timezone/Makefile (generated, generated-dirs): Likewise.
50703         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50705 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50708         power8 implementation.
50709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50710         file: POWER8 llround ifunc implementation.
50711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50712         (__lllround): Add POWER8 implementation.
50713         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50714         POWER8 llround implementation.
50716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50717         power8 implementation.
50718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50719         file: POWER8 llrint ifunc implementation.
50720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50721         Add POWER8 implementation.
50722         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50723         POWER8 llrint implementation.
50725         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50726         power8 implementation.
50727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50728         file: POWER8 finite ifunc implementation.
50729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50730         Add POWER8 implementation.
50731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50732         Likewise.
50733         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50734         POWER8 finite implementation.
50735         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50738         power8 implementation.
50739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50740         file: POWER8 isinf ifunc implementation.
50741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50742         POWER8 implementation.
50743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50744         Likewise.
50745         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50746         isinf implementation.
50747         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50749         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50750         (INIT_ARCH): Add hwcap2 initialization.
50751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50752         power8 implementation.
50753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50754         file: POWER8 isnan ifunc implementation.
50755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50756         POWER8 implementation.
50757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50758         Likewise.
50759         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50760         isnan implementation.
50761         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50763 2014-02-27  Joey Ye  <joey.ye@arm.com>
50765         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50766         (_FP_NANFRAC_Q): Set to zero.
50768 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50770         [BZ #16623]
50771         * math/auto-libm-test-in: New test inputs.
50772         * math/auto-libm-test-out: Regenerate.
50773         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50774         and DA.
50775         (__cos): Likewise.
50776         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50778 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50780         * scripts/evaluate-test.sh: Take new argument indicating whether
50781         failure is expected.
50782         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50783         indicating whether failure is expected.
50784         * conform/Makefile (test-xfail-run-conformtest): New variable.
50785         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50786         level.
50787         * posix/Makefile (test-xfail-annexc): New variable.
50788         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50790 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50792         * argp/Makefile: Include Makeconfig immediately after defining
50793         subdir.
50794         * assert/Makefile: Likewise.
50795         * benchtests/Makefile: Likewise.
50796         * catgets/Makefile: Likewise.
50797         * conform/Makefile: Likewise.
50798         * crypt/Makefile: Likewise.
50799         * csu/Makefile: Likewise.
50800         (all): Remove target.
50801         * ctype/Makefile: Include Makeconfig immediately after defining
50802         subdir.
50803         * debug/Makefile: Likewise.
50804         * dirent/Makefile: Likewise.
50805         * dlfcn/Makefile: Likewise.
50806         * gmon/Makefile: Likewise.
50807         * gnulib/Makefile: Likewise.
50808         * grp/Makefile: Likewise.
50809         * gshadow/Makefile: Likewise.
50810         * hesiod/Makefile: Likewise.
50811         * hurd/Makefile: Likewise.
50812         (all): Remove target.
50813         * iconvdata/Makefile: Include Makeconfig immediately after
50814         defining subdir.
50815         * inet/Makefile: Likewise.
50816         * intl/Makefile: Likewise.
50817         * io/Makefile: Likewise.
50818         * libio/Makefile: Likewise.
50819         (all): Remove target.
50820         * locale/Makefile: Include Makeconfig immediately after defining
50821         subdir.
50822         * login/Makefile: Likewise.
50823         * mach/Makefile: Likewise.
50824         (all): Remove target.
50825         * malloc/Makefile: Include Makeconfig immediately after defining
50826         subdir.
50827         (all): Remove target.
50828         * manual/Makefile: Include Makeconfig immediately after defining
50829         subdir.
50830         * math/Makefile: Likewise.
50831         * misc/Makefile: Likewise.
50832         * nis/Makefile: Likewise.
50833         * nss/Makefile: Likewise.
50834         * po/Makefile: Likewise.
50835         (all): Remove target.
50836         * posix/Makefile: Include Makeconfig immediately after defining
50837         subdir.
50838         * pwd/Makefile: Likewise.
50839         * resolv/Makefile: Likewise.
50840         * resource/Makefile: Likewise.
50841         * rt/Makefile: Likewise.
50842         * setjmp/Makefile: Likewise.
50843         * shadow/Makefile: Likewise.
50844         * signal/Makefile: Likewise.
50845         * socket/Makefile: Likewise.
50846         * soft-fp/Makefile: Likewise.
50847         * stdio-common/Makefile: Likewise.
50848         * stdlib/Makefile: Likewise.
50849         * streams/Makefile: Likewise.
50850         * string/Makefile: Likewise.
50851         * sunrpc/Makefile: Likewise.
50852         (all): Remove target.
50853         * sysvipc/Makefile: Include Makeconfig immediately after defining
50854         subdir.
50855         * termios/Makefile: Likewise.
50856         * time/Makefile: Likewise.
50857         * timezone/Makefile: Likewise.
50858         (all): Remove target.
50859         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50860         subdir.
50861         * wctype/Makefile: Likewise.
50863 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50865         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50866         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50867         (libc_feholdexcept_setround_mips): Ditto.
50868         (libc_feholdsetround): New.
50869         (libc_feholdsetroundf): New.
50870         (libc_feholdsetroundl): New.
50871         (libc_feupdateenv_test_mips): New.
50872         (libc_feupdateenv_test): New.
50873         (libc_feupdateenv_testf): New.
50874         (libc_feupdateenv_testl): New.
50875         (libc_feresetround): New.
50876         (libc_feresetroundf): New.
50877         (libc_feresetroundl): New.
50878         (libc_fetestexcept_mips): New.
50879         (libc_fetestexcept): New.
50880         (libc_fetestexceptf): New.
50881         (libc_fetestexceptl): New.
50882         (HAVE_RM_CTX): New.
50883         (libc_feholdexcept_setround_mips_ctx): New.
50884         (libc_feholdexcept_setround_ctx): New.
50885         (libc_feholdexcept_setroundf_ctx): New.
50886         (libc_feholdexcept_setroundl_ctx): New.
50887         (libc_fesetenv_mips_ctx): New.
50888         (libc_fesetenv_ctx): New.
50889         (libc_fesetenv_ctxf): New.
50890         (libc_fesetenv_ctxl): New.
50891         (libc_feupdateenv_mips_ctx): New.
50892         (libc_feupdateenv_ctx): New.
50893         (libc_feupdateenvf_ctx): New.
50894         (libc_feupdateenvl_ctx): New.
50895         (libc_feholdsetround_mips_ctx): New.
50896         (libc_feholdsetround_ctx): New.
50897         (libc_feholdsetroundf_ctx): New.
50898         (libc_feholdsetroundl_ctx): New.
50899         (libc_feresetround_mips_ctx): New.
50900         (libc_feresetround_ctx): New.
50901         (libc_feresetroundf_ctx): New.
50902         (libc_feresetroundl_ctx): New.
50904 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50906         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50908         * manual/ipc.texi: New file.
50909         * manual/Makefile (chapters): Add ipc.
50910         * manual/job.texi: Add "Inter-Process Communication" to next.
50911         * manual/process.texi: Add "Inter-Process Communication" to prev.
50913 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50917 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50919         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50921         * manual/arith.texi: Fix spaces after sentences.
50922         * manual/charset.texi: Likewise.
50923         * manual/errno.texi: Likewise.
50924         * manual/install.texi: Likewise.
50925         * manual/llio.texi: Likewise.
50926         * manual/locale.texi: Likewise.
50927         * manual/maint.texi: Likewise.
50928         * manual/math.texi: Likewise.
50929         * manual/memory.texi: Likewise.
50930         * manual/message.texi: Likewise.
50931         * manual/probes.texi: Likewise.
50932         * manual/resource.texi: Likewise.
50933         * manual/signal.texi: Likewise.
50934         * manual/socket.texi: Likewise.
50935         * manual/stdio.texi: Likewise.
50936         * manual/string.texi: Likewise.
50937         * manual/time.texi: Likewise.
50938         * manual/users.texi: Likewise.
50940 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50942         [BZ #16632]
50943         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50944         _DEFAULT_SOURCE is defined.
50946 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50947             Carlos O'Donell  <carlos@redhat.com>
50949         [BZ #16613]
50950         * elf/dl-tls.c (_dl_count_modids): New function.
50951         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50952         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50953         audit library and increment generation counter.
50954         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50955         * elf/tst-audit9.c: New file.
50956         * elf/tst-auditmod9a.c: New file.
50957         * elf/tst-auditmod9b.c: New file.
50958         * elf/Makefile: Add rules to build and run tst-audit9.
50960 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50962         [BZ #15347]
50963         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50965 2014-02-25  Will Newton  <will.newton@linaro.org>
50967         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50968         (__longjmp): Restore sp and lr before restoring callee
50969         saved registers.  Add longjmp and longjmp_target
50970         SystemTap probe point.
50971         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50972         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50973         Define to zero to match jmpbuf layout.
50974         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50975         (__sigsetjmp): Save sp and lr before saving callee
50976         saved registers.  Add setjmp SystemTap probe point.
50978 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50980         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50982 2014-02-24  Andreas Schwab  <schwab@suse.de>
50984         [BZ #15804]
50985         * elf/pldd.c (wait_for_ptrace_stop): New function.
50986         (main): Call it after attaching.
50988 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50990         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50991         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50992         Versions files is now verboten.
50993         * hurd/Versions (libc: GLIBC_2.0):
50994         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50995         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50996         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50997         * mach/Versions: Likewise.
50999         * csu/Versions: Remove unused %include.
51000         * resolv/Versions: Likewise.
51002 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
51004         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
51005         ($(objpfx)check-local-headers.out): Likewise.
51006         ($(objpfx)begin-end-check.out): Likewise.
51007         * Makerules (check-abi-%.out): Likewise.
51008         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
51009         ($(objpfx)test2.cat): Likewise.
51010         ($(objpfx)de/libc.cat): Likewise.
51011         ($(objpfx)test-gencat.out): Likewise.
51012         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
51013         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
51014         ($(objpfx)noload-mem): Likewise.
51015         ($(objpfx)tst-pathopt.out): Likewise.
51016         ($(objpfx)tst-rtld-load-self.out): Likewise.
51017         ($(objpfx)tst-array1-cmp.out): Likewise.
51018         ($(objpfx)tst-array1-static-cmp.out): Likewise.
51019         ($(objpfx)tst-array2-cmp.out): Likewise.
51020         ($(objpfx)tst-array3-cmp.out): Likewise.
51021         ($(objpfx)tst-array4-cmp.out): Likewise.
51022         ($(objpfx)tst-array5-cmp.out): Likewise.
51023         ($(objpfx)tst-array5-static-cmp.out): Likewise.
51024         ($(objpfx)check-textrel.out): Likewise.
51025         ($(objpfx)check-execstack.out): Likewise.
51026         ($(objpfx)check-localplt.out): Likewise.
51027         ($(objpfx)order2-cmp.out): Likewise.
51028         ($(objpfx)tst-leaks1-mem): Likewise.
51029         ($(objpfx)tst-leaks1-static-mem): Likewise.
51030         ($(objpfx)tst-initorder-cmp.out): Likewise.
51031         ($(objpfx)tst-initorder2-cmp.out): Likewise.
51032         ($(objpfx)tst-unused-dep.out): Likewise.
51033         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
51034         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
51035         * iconv/Makefile (test-iconvconfig): Likewise.
51036         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
51037         ($(objpfx)iconv-test.out): Likewise.
51038         ($(objpfx)tst-tables.out): Likewise.
51039         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
51040         ($(objpfx)tst-gettext.out): Likewise.
51041         ($(objpfx)tst-translit.out): Likewise.
51042         ($(objpfx)tst-gettext2.out): Likewise.
51043         ($(objpfx)tst-gettext4.out): Likewise.
51044         ($(objpfx)tst-gettext6.out): Likewise.
51045         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
51046         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
51047         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
51048         ($(objpfx)tst-fopenloc-mem.out): Likewise.
51049         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
51050         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
51051         * posix/Makefile ($(objpfx)globtest.out): Likewise.
51052         ($(objpfx)wordexp-tst.out): Likewise.
51053         ($(objpfx)annexc.out): Likewise.
51054         ($(objpfx)tst-fnmatch-mem): Likewise.
51055         ($(objpfx)bug-regex2-mem): Likewise.
51056         ($(objpfx)bug-regex14-mem): Likewise.
51057         ($(objpfx)bug-regex21-mem): Likewise.
51058         ($(objpfx)bug-regex31-mem): Likewise.
51059         ($(objpfx)tst-vfork3-mem): Likewise.
51060         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51061         ($(objpfx)tst-pcre-mem): Likewise.
51062         ($(objpfx)tst-boost-mem): Likewise.
51063         ($(objpfx)tst-getconf.out): Likewise.
51064         ($(objpfx)bug-ga2-mem): Likewise.
51065         ($(objpfx)bug-glob2-mem): Likewise.
51066         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
51067         ($(objpfx)mtrace-tst-leaks2): Likewise.
51068         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
51069         ($(objpfx)tst-printf.out): Likewise.
51070         ($(objpfx)tst-setvbuf1.out): Likewise.
51071         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
51072         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
51073         ($(objpfx)tst-fmtmsg.out): Likewise.
51074         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
51075         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
51077         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
51078         * bits/sigaction.h [__USE_MISC]: Likewise.
51079         * bits/waitstatus.h: Update #endif comments.
51080         * ctype/ctype.h: Likewise.
51081         * dirent/dirent.h: Likewise.
51082         [__USE_MISC]: Remove redundant conditionals.
51083         * grp/grp.h: Update #endif comments.
51084         [__USE_GNU]: Remove redundant conditionals.
51085         [__USE_MISC]: Likewise.
51086         * inet/netinet/in.h [__USE_GNU]: Likewise.
51087         * io/sys/stat.h [__USE_MISC]: Likewise.
51088         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
51089         * libio/bits/stdio.h: Update #endif comments.
51090         [__USE_MISC]: Remove redundant conditionals.
51091         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
51092         * libio/stdio.h: Update #endif comments.
51093         [__USE_MISC]: Remove redundant conditionals.
51094         * math/bits/math-finite.h [__USE_MISC]: Likewise.
51095         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
51096         * math/math.h: Update #else and #endif comments.
51097         [__USE_MISC]: Remove redundant conditionals.
51098         * misc/sys/uio.h: Update #endif comments.
51099         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
51100         * posix/glob.h [__USE_MISC]: Likewise.
51101         * posix/sys/types.h: Update #endif comments.
51102         [__USE_MISC]: Remove redundant conditionals.
51103         * posix/sys/wait.h: Update #endif comments.
51104         [__USE_MISC]: Remove redundant conditionals.
51105         * posix/unistd.h: Update #endif comments.
51106         [__USE_MISC]: Remove redundant conditionals.
51107         * pwd/pwd.h [__USE_GNU]: Likewise.
51108         [__USE_MISC]: Likewise.
51109         * resolv/netdb.h [__USE_GNU]: Likewise.
51110         * signal/signal.h: Update #endif comments.
51111         [__USE_MISC]: Remove redundant conditionals.
51112         * stdlib/stdlib.h: Update #else and #endif comments.
51113         [__USE_MISC]: Remove redundant conditionals.
51114         [__USE_GNU]: Likewise.
51115         * string/bits/string2.h [__USE_MISC]: Likewise.
51116         * string/string.h: Update #endif comments.
51117         [__USE_MISC]: Remove redundant conditionals.
51118         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
51119         Likewise.
51120         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
51121         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
51122         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
51123         Likewise.
51124         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
51125         Likewise.
51126         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
51127         comments.
51128         [__USE_MISC]: Remove redundant conditionals.
51129         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
51130         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
51131         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
51132         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
51133         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
51134         Likewise.
51135         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
51136         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
51137         Likewise.
51138         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
51139         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
51140         Likewise.
51141         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
51142         Likewise.
51143         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
51144         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
51145         Likewise.
51146         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
51147         Likewise.
51148         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
51149         * sysdeps/x86/bits/string.h: Update #endif comments.
51150         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
51151         conditionals.
51152         * time/sys/time.h: Update #endif comments.
51153         * time/time.h: Likewise.
51154         [__USE_MISC]: Remove redundant conditionals.
51156 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
51158         [BZ #16600]
51159         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
51161 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
51163         * Versions.def (librt): Add GLIBC_2.17.
51165 2014-02-21  Adam Conrad  <adconrad@0c3.net>
51167         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
51168         synonym for _SYS_AUXV_H to allow direct inclusion.
51169         * sysdeps/sparc/bits/hwcap.h: Likewise.
51170         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
51171         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
51172         * sysdeps/sparc/sysdep.h: Likewise.
51174 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51176         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
51178 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51180         * benchtests/bench-strrchr.c: Print length instead of position.
51182 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
51184         [BZ #16611]
51185         * sysdeps/unix/sysv/linux/kernel-features.h
51186         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
51187         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
51188         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
51189         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
51190         Likewise.
51191         [__i386__ || __powerpc__ || __sh__ || __sparc__]
51192         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51193         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
51194         (__ASSUME_SENDMMSG): Define instead of using previous
51195         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
51196         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51197         (__ASSUME_SENDMMSG_SYSCALL): Define.
51198         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51199         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
51200         Likewise.
51201         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51202         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51203         Likewise.
51204         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51205         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51206         Likewise.
51207         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
51208         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51209         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51210         [__ASSUME_SENDMMSG]: Change conditionals to
51211         [__ASSUME_SENDMMSG_SOCKETCALL].
51212         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51213         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
51214         Define.
51215         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51216         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
51217         Likewise.
51218         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
51219         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51220         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51221         [!__ASSUME_SENDMMSG]: Change conditional to
51222         [!__ASSUME_SENDMMSG_SOCKETCALL].
51223         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51224         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51225         Define.
51227         [BZ #16610]
51228         * sysdeps/unix/sysv/linux/kernel-features.h
51229         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
51230         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
51231         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
51232         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
51233         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
51234         [__i386__ || __sparc__]
51235         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51236         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
51237         (__ASSUME_RECVMMSG): Define instead of using previous
51238         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
51239         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51240         (__ASSUME_RECVMMSG_SYSCALL): Define.
51241         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51242         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51243         Likewise.
51244         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51245         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51246         Likewise.
51247         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51248         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51249         Likewise.
51250         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
51251         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51252         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51253         [__ASSUME_RECVMMSG]: Change condition to
51254         [__ASSUME_RECVMMSG_SOCKETCALL].
51255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51256         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51257         Define.
51258         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51259         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51260         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51261         Likewise.
51262         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
51263         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51264         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51265         [!__ASSUME_RECVMMSG]: Change condition to
51266         [!__ASSUME_RECVMMSG_SOCKETCALL].
51267         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51268         (__ASSUME_RECVMMSG_SYSCALL): Define.
51270         [BZ #16609]
51271         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
51272         __powerpc__ || __s390__ || __sh__ || __sparc__]
51273         (__ASSUME_SOCKETCALL): Define.
51274         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51275         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
51276         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
51277         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
51278         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51279         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
51280         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
51281         (__ASSUME_ACCEPT4): Define instead of using previous
51282         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
51283         __powerpc__ || __sparc__ || __s390__)] condition.
51284         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51285         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51286         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
51287         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51288         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51289         [!__ASSUME_ACCEPT4]: Change condition to
51290         [!__ASSUME_ACCEPT4_SOCKETCALL].
51291         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51292         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
51293         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
51294         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51295         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
51296         __ASSUME_ACCEPT4_SYSCALL.
51297         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
51298         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
51299         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51300         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
51301         __ASSUME_ACCEPT4_SYSCALL.
51302         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
51303         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51304         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51305         [__ASSUME_ACCEPT4]: Change condition to
51306         [__ASSUME_ACCEPT4_SOCKETCALL].
51307         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51308         (__ASSUME_SOCKETCALL): Define.
51309         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
51310         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51311         (__ASSUME_SOCKETCALL): Define.
51312         (__ASSUME_ACCEPT4): Remove.
51313         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
51314         Define.
51315         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51316         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
51317         Likewise.
51318         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51319         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51321         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
51322         macro.
51323         (HWCAP_ARM_LPAE): Likewise.
51324         (HWCAP_ARM_EVTSTRM): Likewise.
51325         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
51326         Add vpfd32, lpae and evtstrm.
51327         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
51328         Increase to 22.
51330 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
51332         * math/auto-libm-test-in: Add tests of clog10.
51333         * math/auto-libm-test-out: Regenerated.
51334         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
51335         * sysdeps/i386/fpu/libm-test-ulps: Update.
51336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51338 2014-02-18  Andreas Schwab  <schwab@suse.de>
51340         [BZ #16574]
51341         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
51342         Store non-zero if the second buffer was newly allocated.
51343         (send_dg): Likewise.
51344         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
51345         to send_vc and send_dg.
51346         (res_nsend): Pass NULL for ansp2_malloced.
51347         * resolv/res_query.c (__libc_res_nquery): Add parameter
51348         answerp2_malloced and pass it down to __libc_res_nsend.
51349         (res_nquery): Pass additional NULL to __libc_res_nquery.
51350         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
51351         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
51352         second answer buffer if answerp2_malloced was set.
51353         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
51354         (__libc_res_nquerydomain): Add parameter
51355         answerp2_malloced and pass it down to __libc_res_nquery.
51356         (res_nquerydomain): Pass additional NULL to
51357         __libc_res_nquerydomain.
51358         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
51359         additional NULL to __libc_res_nsend and __libc_res_nquery.
51360         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
51361         additional NULL to __libc_res_nsearch.
51362         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
51363         parameter of __libc_res_nsearch to check for separately allocated
51364         second buffer.
51365         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
51366         __libc_res_nquery.
51367         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
51368         additional NULL to __libc_res_nquery.
51369         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
51370         __libc_res_nsearch.
51371         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
51372         * include/resolv.h: Update prototypes of __libc_res_nquery,
51373         __libc_res_nsearch, __libc_res_nsend.
51375 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
51377         * math/auto-libm-test-in: Add tests of fma.
51378         * math/auto-libm-test-out: Regenerated.
51379         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
51380         (fma_towardzero_test_data): Likewise.
51381         (fma_downward_test_data): Likewise.
51382         (fma_upward_test_data): Likewise.
51383         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
51384         mpc_mode.
51385         (rounding_modes): Add values for new field.
51386         (func_calc_method): Add value mpfr_fff_f.
51387         (func_calc_desc): Add mpfr_fff_f union field.
51388         (test_function): Add field exact_args.
51389         (FUNC): Add macro argument EXACT_ARGS.
51390         (FUNC_mpfr_f_f): Update call to FUNC.
51391         (FUNC_mpfr_f_f): Likewise.
51392         (FUNC_mpfr_ff_f): Likewise.
51393         (FUNC_mpfr_if_f): Likewise.
51394         (FUNC_mpc_c_f): Likewise.
51395         (FUNC_mpc_c_c): Likewise.
51396         (test_functions): Add fma.  Update calls to FUNC.
51397         (handle_input_arg): Add argument exact_args.
51398         (add_test): Update call to handle_input_arg.
51399         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
51400         (output_for_one_input_case): Update call to calc_generic_results.
51401         Recalculate exact zero results in each rounding mode.
51403         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
51404         non-negative before setting low bit.
51405         * math/auto-libm-test-in: Mark one asin test possibly having
51406         spurious underflow.
51407         * math/auto-libm-test-out: Regenerated.
51408         * sysdeps/i386/fpu/libm-test-ulps: Update.
51409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51411 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
51413         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
51414         * sysdeps/unix/sysv/linux/microblaze: Move directory from
51415         ports/sysdeps/unix/sysv/linux/microblaze.
51416         * README: Add missing listing for microblaze*-*-linux-gnu.
51418 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
51420         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
51421         duplicate code
51423 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
51425         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
51426         * sysdeps/unix/sysv/linux/ia64: Move directory from
51427         ports/sysdeps/unix/sysv/linux/ia64.
51428         * README: Update listing for ia64-*-linux-gnu.
51430 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
51431             Joseph Myers  <joseph@codesourcery.com>
51433         * Makeconfig (test-name): New variable.
51434         (evaluate-test): Likewise.
51435         * Makerules (do-test-clean): Remove .test-result files.
51436         (common-mostlyclean): Likewise.
51437         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
51438         * scripts/evaluate-test.sh: New file.
51440 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
51442         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
51443         separate $(objpfx)tst-fopenloc-cmp.out and
51444         $(objpfx)tst-fopenloc-mem.out targets.
51445         (tests): Update dependencies.
51446         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
51447         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
51448         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
51449         (tst-rxspencer-no-utf8-ARGS): New variable.
51450         (tst-rxspencer-no-utf8-ENV): Likewise.
51451         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
51452         instead of $(objpfx)tst-rxspencer-mem.
51453         ($(objpfx)tst-rxspencer-mem): Change target to
51454         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
51455         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
51456         * posix/tst-rxspencer-no-utf8.c: New file.
51458         * elf/Makefile ($(objpfx)order.out): Remove rule.
51459         [$(run-built-tests) = yes] (tests): Depend on
51460         $(objpfx)order-cmp.out.
51461         ($(objpfx)order-cmp.out): New rule.
51462         [$(run-built-tests) = yes] (tests): Depend on
51463         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
51464         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
51465         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
51466         $(objpfx)tst-array5-static-cmp.out.
51467         ($(objpfx)tst-array1.out): Remove rule.
51468         ($(objpfx)tst-array1-cmp.out): New rule.
51469         ($(objpfx)tst-array1-static.out): Remove rule.
51470         ($(objpfx)tst-array1-static-cmp.out): New rule.
51471         ($(objpfx)tst-array2.out): Remove rule.
51472         ($(objpfx)tst-array2-cmp.out): New rule.
51473         ($(objpfx)tst-array3.out): Remove rule.
51474         ($(objpfx)tst-array3-cmp.out): New rule.
51475         ($(objpfx)tst-array4.out): Remove rule.
51476         ($(objpfx)tst-array4-cmp.out): New rule.
51477         ($(objpfx)tst-array5.out): Remove rule.
51478         ($(objpfx)tst-array5-cmp.out): New rule.
51479         ($(objpfx)tst-array5-static.out): Remove rule.
51480         ($(objpfx)tst-array5-static-cmp.out): New rule.
51481         [$(run-built-tests) = yes] (tests): Depend on
51482         $(objpfx)order2-cmp.out.
51483         ($(objpfx)order2.out): Remove rule.
51484         ($(objpfx)order2-cmp.out): New rule.
51485         ($(objpfx)tst-initorder.out): Remove rule.
51486         [$(run-built-tests) = yes] (tests): Depend on
51487         $(objpfx)tst-initorder-cmp.out.
51488         ($(objpfx)tst-initorder-cmp.out): New rule.
51489         ($(objpfx)tst-initorder2.out): Remove rule.
51490         [$(run-built-tests) = yes] (tests): Depend on
51491         $(objpfx)tst-initorder2-cmp.out.
51492         ($(objpfx)tst-initorder2-cmp.out): New rule.
51493         [$(run-built-tests) = yes] (tests): Depend on
51494         $(objpfx)tst-unused-dep-cmp.out.
51495         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
51496         ($(objpfx)tst-unused-dep-cmp.out): New rule.
51497         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
51498         on $(objpfx)tst-setvbuf1-cmp.out.
51499         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
51500         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
51501         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
51502         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
51503         ($(objpfx)tst-svc.out): Remove rule.
51504         ($(objpfx)tst-svc-cmp.out): New rule.
51506 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
51508         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
51509         * ctype/ctype.h [__USE_MISC]: Likewise.
51510         * dirent/dirent.h [__USE_MISC]: Likewise.
51511         * grp/grp.h [__USE_MISC]: Likewise.
51512         * io/fcntl.h [__USE_MISC]: Likewise.
51513         * io/sys/stat.h [__USE_MISC]: Likewise.
51514         * libio/stdio.h [__USE_MISC]: Likewise.
51515         * posix/unistd.h [__USE_MISC]: Likewise.
51516         * pwd/pwd.h [__USE_MISC]: Likewise.
51517         * stdlib.h [__USE_MISC]: Likewise.
51518         * string/bits/string2.h [__USE_MISC]: Likewise.
51519         * string/string.h [__USE_MISC]: Likewise.
51520         * time/time.h [__USE_MISC]: Likewise.
51522 2014-02-13  Andreas Schwab  <schwab@suse.de>
51524         [BZ #16574]
51525         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
51526         second answer buffer if it was separately allocated.
51528 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
51530         * sysdeps/mips/math-tests.h: Include <features.h>.
51531         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51532         (ROUNDING_TESTS_long_double): Do not define.
51533         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51534         (EXCEPTION_TESTS_long_double): Likewise.
51535         * sysdeps/mips/mips64/libm-test-ulps: Update.
51537         * include/features.h (__USE_BSD): Remove macro definitions.
51538         (__USE_SVID): Likewise.
51539         (_BSD_SOURCE): Likewise.
51540         (_SVID_SOURCE): Likewise.
51541         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
51542         from definition of _DEFAULT_SOURCE.
51543         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
51544         [_DEFAULT_SOURCE].
51545         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
51546         * bits/mman.h [__USE_BSD]: Likewise.
51547         * bits/termios.h [__USE_BSD]: Likewise.
51548         * bits/waitstatus.h [__USE_BSD]: Likewise.
51549         * ctype/ctype.h [__USE_SVID]: Likewise.
51550         * dirent/dirent.h [__USE_BSD]: Likewise.
51551         * grp/grp.h [__USE_SVID]: Likewise.
51552         [__USE_BSD]: Likewise.
51553         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
51554         * io/fcntl.h [__USE_BSD]: Likewise.
51555         * io/ftw.h [__USE_BSD]: Likewise.
51556         * io/sys/stat.h [__USE_BSD]: Likewise.
51557         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
51558         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
51559         * libio/stdio.h [__USE_SVID]: Likewise.
51560         [__USE_BSD]: Likewise.
51561         * math/math.h [__USE_SVID]: Likewise.
51562         [__USE_BSD]: Likewise.
51563         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
51564         * misc/bits/syslog.h [__USE_BSD]: Likewise.
51565         * misc/search.h [__USE_SVID]: Likewise.
51566         * misc/sys/mman.h [__USE_BSD]: Likewise.
51567         * misc/sys/syslog.h [__USE_BSD]: Likewise.
51568         * misc/sys/uio.h [__USE_BSD]: Likewise.
51569         * posix/bits/unistd.h [__USE_BSD]: Likewise.
51570         * posix/glob.h [__USE_BSD]: Likewise.
51571         * posix/regex.h [__USE_BSD]: Likewise.
51572         * posix/sys/types.h [__USE_BSD]: Likewise.
51573         [__USE_SVID]: Likewise.
51574         * posix/sys/utsname.h [__USE_SVID]: Likewise.
51575         * posix/sys/wait.h [__USE_BSD]: Likewise.
51576         [__USE_SVID]: Likewise.
51577         * posix/unistd.h [__USE_BSD]: Likewise.
51578         [__USE_SVID]: Likewise.
51579         * pwd/pwd.h [__USE_SVID]: Likewise.
51580         * resolv/netdb.h [__USE_BSD]: Likewise.
51581         * setjmp/setjmp.h [__USE_BSD]: Likewise.
51582         * signal/signal.h [__USE_BSD]: Likewise.
51583         [__USE_SVID]: Likewise.
51584         * socket/sys/socket.h [__USE_BSD]: Likewise.
51585         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
51586         * stdlib/stdlib.h [__USE_BSD]: Likewise.
51587         [__USE_SVID]: Likewise.
51588         * string/bits/string2.h [__USE_BSD]: Likewise.
51589         [__USE_SVID]: Likewise.
51590         * string/bits/string3.h [__USE_BSD]: Likewise.
51591         * string/endian.h [__USE_BSD]: Likewise.
51592         * string/string.h [__USE_SVID]: Likewise.
51593         [__USE_BSD]: Likewise.
51594         * string/strings.h [__USE_BSD]: Likewise.
51595         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
51596         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
51597         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
51598         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
51599         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
51600         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
51601         Likewise.
51602         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
51603         Likewise.
51604         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51605         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51606         Likewise.
51607         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51608         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51609         Likewise.
51610         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51611         Likewise.
51612         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51613         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51614         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51615         Likewise.
51616         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51617         Likewise.
51618         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51619         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51620         * termios/termios.h [__USE_BSD]: Likewise.
51621         * time/sys/time.h [__USE_BSD]: Likewise.
51622         * time/time.h [__USE_BSD]: Likewise.
51623         [__USE_SVID]: Likewise.
51625         * Makefile (subdir_targets): Remove subdir_lint.out.
51627         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51628         (do-tst-printf): Likewise.
51629         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51630         $(objpfx)tst-printf.out.
51632         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51634         * Makerules (check-abi-%): Change target to
51635         $(objpfx)check-abi-%.out.
51636         (check-abi target): Update dependencies.
51637         (check-abi-pattern variable): Redirect output of diff to $@.
51638         (check-abi variable): Likewise.
51639         * elf/Makefile (check-abi): Update dependencies.
51641         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51642         unused.
51643         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51644         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51645         subnormal range.
51646         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51647         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51648         value has largest subnormal exponent.
51649         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51650         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51651         * sysdeps/aarch64/soft-fp/sfp-machine.h
51652         (_FP_TININESS_AFTER_ROUNDING): New macro.
51653         * sysdeps/alpha/soft-fp/sfp-machine.h
51654         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51655         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51656         Likewise.
51657         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51658         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51659         * sysdeps/mips/soft-fp/sfp-machine.h
51660         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51661         * sysdeps/powerpc/soft-fp/sfp-machine.h
51662         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51663         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51664         Likewise.
51665         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51666         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51667         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51668         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51669         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51670         Likewise.
51672 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51674         [BZ #16545]
51675         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51676         model 1.
51678 2014-02-12  Richard Henderson  <rth@redhat.com>
51680         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51681         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51682         * sysdeps/unix/sysv/linux/alpha: Move directory from
51683         ports/sysdeps/unix/sysv/linux/alpha.
51684         * README: Update listing for alpha-*-linux-gnu.
51686 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51688         * include/features.h: Update comment documenting feature test
51689         macros.
51690         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51691         _DEFAULT_SOURCE.
51692         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51693         (_SVID_SOURCE): Likewise.
51694         (_DEFAULT_SOURCE): Update description of default features.
51695         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51696         with _GNU_SOURCE.
51697         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51698         (S_ISVTX): Likewise.
51699         * manual/math.texi (Mathematical Constants): Likewise.
51700         * manual/signal.texi (Interrupted Primitives): Likewise.
51701         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51702         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51703         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51704         Don't refer to _SVID_SOURCE in warning text.
51706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51708         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51709         already defined.
51710         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51711         * sysdeps/mips/dl-lookup.c: Remove.
51712         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51714 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51716         [BZ #16447]
51717         * math/auto-libm-test-in: Add testcase for expl.
51718         * math/auto-libm-test-out: Regenerate.
51719         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51720         calculation of unsafe.
51721         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51723 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51725         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51726         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51727         ports/sysdeps/unix/sysv/linux/aarch64.
51728         * README: Update listing for aarch64*-*-linux-gnu.
51730 2014-02-11  Will Newton  <will.newton@linaro.org>
51732         * manual/probes.texi (Mathematical Function Probes): Use
51733         "triggered" instead of "hit".
51735         * manual/probes.texi (Internal Probes): Add documentation
51736         of setjmp, longjmp and longjmp_target probes.
51738         * include/stap-probe.h: Add comment about probe argument
51739         format.
51741         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51742         definition.  (tr_where, tr_freehook, tr_mallochook,
51743         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51745 2014-02-11  David S. Miller  <davem@davemloft.net>
51747         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51748         processing int_tests.
51750 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51752         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51753         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51754         * sysdeps/unix/sysv/linux/mips: Move directory from
51755         ports/sysdeps/unix/sysv/linux/mips.
51756         * README: Update listing for mips-*-linux-gnu and
51757         mips64-*-linux-gnu.
51759 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51761         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51762         * sysdeps/unix/sysv/linux/m68k: Move directory from
51763         ports/sysdeps/unix/sysv/linux/m68k.
51764         * README: Update listing for m68k-*-linux-gnu.
51766 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51768         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51769         * sysdeps/unix/sysv/linux/generic: Move directory from
51770         ports/sysdeps/unix/sysv/linux/generic.
51771         * sysdeps/unix/sysv/linux/tile: Move directory from
51772         ports/sysdeps/unix/sysv/linux/tile.
51773         * README: Update listing for tile*-*-linux-gnu.
51775 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51777         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51778         __builtin_expect.
51779         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51780         * catgets/open_catalog.c (__open_catalog): Likewise.
51781         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51782         * debug/confstr_chk.c: Likewise.
51783         * debug/fread_chk.c (__fread_chk): Likewise.
51784         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51785         * debug/getgroups_chk.c: Likewise.
51786         * debug/mbsnrtowcs_chk.c: Likewise.
51787         * debug/mbsrtowcs_chk.c: Likewise.
51788         * debug/mbstowcs_chk.c: Likewise.
51789         * debug/memcpy_chk.c: Likewise.
51790         * debug/memmove_chk.c: Likewise.
51791         * debug/mempcpy_chk.c: Likewise.
51792         * debug/memset_chk.c: Likewise.
51793         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51794         * debug/strcat_chk.c (__strcat_chk): Likewise.
51795         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51796         * debug/strncat_chk.c (__strncat_chk): Likewise.
51797         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51798         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51799         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51800         * debug/wcpncpy_chk.c: Likewise.
51801         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51802         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51803         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51804         * debug/wcsncpy_chk.c: Likewise.
51805         * debug/wcsnrtombs_chk.c: Likewise.
51806         * debug/wcsrtombs_chk.c: Likewise.
51807         * debug/wcstombs_chk.c: Likewise.
51808         * debug/wmemcpy_chk.c: Likewise.
51809         * debug/wmemmove_chk.c: Likewise.
51810         * debug/wmempcpy_chk.c: Likewise.
51811         * debug/wmemset_chk.c: Likewise.
51812         * dirent/scandirat.c (SCANDIRAT): Likewise.
51813         * dlfcn/dladdr1.c (dladdr1): Likewise.
51814         * dlfcn/dladdr.c (dladdr): Likewise.
51815         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51816         * dlfcn/dlerror.c (__dlerror): Likewise.
51817         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51818         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51819         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51820         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51821         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51822         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51823         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51824         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51825         Likewise.
51826         * elf/dl-conflict.c: Likewise.
51827         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51828         * elf/dl-dst.h: Likewise.
51829         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51830         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51831         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51832         * elf/dl-init.c (call_init, _dl_init): Likewise.
51833         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51834         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51835         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51836         Likewise.
51837         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51838         Likewise.
51839         * elf/dl-minimal.c (__libc_memalign): Likewise.
51840         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51841         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51842         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51843         * elf/dl-sym.c (do_sym): Likewise.
51844         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51845         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51846         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51847         * elf/dl-writev.h (_dl_writev): Likewise.
51848         * elf/ldconfig.c (search_dir): Likewise.
51849         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51850         (dl_main): Likewise.
51851         * elf/setup-vdso.h (setup_vdso): Likewise.
51852         * grp/compat-initgroups.c (compat_call): Likewise.
51853         * grp/fgetgrent.c (fgetgrent): Likewise.
51854         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51855         * grp/putgrent.c (putgrent): Likewise.
51856         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51857         Likewise.
51858         * hurd/hurdinit.c: Likewise.
51859         * iconvdata/8bit-gap.c (struct): Likewise.
51860         * iconvdata/ansi_x3.110.c : Likewise.
51861         * iconvdata/big5.c : Likewise.
51862         * iconvdata/big5hkscs.c : Likewise.
51863         * iconvdata/cp1255.c: Likewise.
51864         * iconvdata/cp1258.c : Likewise.
51865         * iconvdata/cp932.c : Likewise.
51866         * iconvdata/euc-cn.c: Likewise.
51867         * iconvdata/euc-jisx0213.c : Likewise.
51868         * iconvdata/euc-jp.c: Likewise.
51869         * iconvdata/euc-jp-ms.c : Likewise.
51870         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51871         * iconvdata/gb18030.c : Likewise.
51872         * iconvdata/gbbig5.c (const): Likewise.
51873         * iconvdata/gbgbk.c: Likewise.
51874         * iconvdata/gbk.c : Likewise.
51875         * iconvdata/ibm1364.c : Likewise.
51876         * iconvdata/ibm930.c : Likewise.
51877         * iconvdata/ibm932.c: Likewise.
51878         * iconvdata/ibm933.c : Likewise.
51879         * iconvdata/ibm935.c : Likewise.
51880         * iconvdata/ibm937.c : Likewise.
51881         * iconvdata/ibm939.c : Likewise.
51882         * iconvdata/ibm943.c: Likewise.
51883         * iconvdata/iso_11548-1.c: Likewise.
51884         * iconvdata/iso-2022-cn.c : Likewise.
51885         * iconvdata/iso-2022-cn-ext.c : Likewise.
51886         * iconvdata/iso-2022-jp-3.c: Likewise.
51887         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51888         * iconvdata/iso-2022-kr.c : Likewise.
51889         * iconvdata/iso646.c (gconv_end): Likewise.
51890         * iconvdata/iso_6937-2.c : Likewise.
51891         * iconvdata/iso_6937.c : Likewise.
51892         * iconvdata/iso8859-1.c: Likewise.
51893         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51894         * iconvdata/shift_jisx0213.c : Likewise.
51895         * iconvdata/sjis.c : Likewise.
51896         * iconvdata/t.61.c : Likewise.
51897         * iconvdata/tcvn5712-1.c : Likewise.
51898         * iconvdata/tscii.c: Likewise.
51899         * iconvdata/uhc.c : Likewise.
51900         * iconvdata/unicode.c (gconv_end): Likewise.
51901         * iconvdata/utf-16.c (gconv_end): Likewise.
51902         * iconvdata/utf-32.c (gconv_end): Likewise.
51903         * iconvdata/utf-7.c (base64): Likewise.
51904         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51905         * iconv/gconv_close.c (__gconv_close): Likewise.
51906         * iconv/gconv_open.c (__gconv_open): Likewise.
51907         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51908         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51909         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51910         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51911         (ucs4le_internal_loop_single): Likewise.
51912         * iconv/iconv.c (iconv): Likewise.
51913         * iconv/iconv_close.c: Likewise.
51914         * iconv/loop.c (SINGLE): Likewise.
51915         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51916         * include/atomic.h: Likewise.
51917         * inet/inet6_option.c (option_alloc): Likewise.
51918         * intl/bindtextdom.c (set_binding_values): Likewise.
51919         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51920         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51921         * intl/localealias.c (read_alias_file): Likewise.
51922         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51923         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51924         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51925         * libio/fmemopen.c (fmemopen): Likewise.
51926         * libio/iofgets.c (_IO_fgets): Likewise.
51927         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51928         * libio/iofgetws.c (fgetws): Likewise.
51929         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51930         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51931         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51932         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51933         * locale/findlocale.c (_nl_find_locale): Likewise.
51934         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51935         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51936         Likewise.
51937         * locale/setlocale.c (setlocale): Likewise.
51938         * login/programs/pt_chown.c (main): Likewise.
51939         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51940         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51941         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51942         (mmap, mmap64, mremap, munmap): Likewise.
51943         * math/e_exp2l.c: Likewise.
51944         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51945         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51946         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51947         * math/s_catan.c (__catan): Likewise.
51948         * math/s_catanf.c (__catanf): Likewise.
51949         * math/s_catanh.c (__catanh): Likewise.
51950         * math/s_catanhf.c (__catanhf): Likewise.
51951         * math/s_catanhl.c (__catanhl): Likewise.
51952         * math/s_catanl.c (__catanl): Likewise.
51953         * math/s_ccosh.c (__ccosh): Likewise.
51954         * math/s_ccoshf.c (__ccoshf): Likewise.
51955         * math/s_ccoshl.c (__ccoshl): Likewise.
51956         * math/s_cexp.c (__cexp): Likewise.
51957         * math/s_cexpf.c (__cexpf): Likewise.
51958         * math/s_cexpl.c (__cexpl): Likewise.
51959         * math/s_clog10.c (__clog10): Likewise.
51960         * math/s_clog10f.c (__clog10f): Likewise.
51961         * math/s_clog10l.c (__clog10l): Likewise.
51962         * math/s_clog.c (__clog): Likewise.
51963         * math/s_clogf.c (__clogf): Likewise.
51964         * math/s_clogl.c (__clogl): Likewise.
51965         * math/s_csin.c (__csin): Likewise.
51966         * math/s_csinf.c (__csinf): Likewise.
51967         * math/s_csinh.c (__csinh): Likewise.
51968         * math/s_csinhf.c (__csinhf): Likewise.
51969         * math/s_csinhl.c (__csinhl): Likewise.
51970         * math/s_csinl.c (__csinl): Likewise.
51971         * math/s_csqrt.c (__csqrt): Likewise.
51972         * math/s_csqrtf.c (__csqrtf): Likewise.
51973         * math/s_csqrtl.c (__csqrtl): Likewise.
51974         * math/s_ctan.c (__ctan): Likewise.
51975         * math/s_ctanf.c (__ctanf): Likewise.
51976         * math/s_ctanh.c (__ctanh): Likewise.
51977         * math/s_ctanhf.c (__ctanhf): Likewise.
51978         * math/s_ctanhl.c (__ctanhl): Likewise.
51979         * math/s_ctanl.c (__ctanl): Likewise.
51980         * math/w_pow.c: Likewise.
51981         * math/w_powf.c: Likewise.
51982         * math/w_powl.c: Likewise.
51983         * math/w_scalb.c (sysv_scalb): Likewise.
51984         * math/w_scalbf.c (sysv_scalbf): Likewise.
51985         * math/w_scalbl.c (sysv_scalbl): Likewise.
51986         * misc/error.c (error_tail): Likewise.
51987         * misc/pselect.c (__pselect): Likewise.
51988         * nis/nis_callback.c (__nis_create_callback): Likewise.
51989         * nis/nis_call.c (__nisfind_server): Likewise.
51990         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51991         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51992         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51993         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51994         * nis/nis_lookup.c (nis_lookup): Likewise.
51995         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51996         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51997         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51998         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51999         * nis/nss_compat/compat-grp.c (getgrent_next_file)
52000         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
52001         * nis/nss_compat/compat-initgroups.c (add_group)
52002         (internal_getgrent_r): Likewise.
52003         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
52004         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
52005         * nis/nss_compat/compat-spwd.c (getspent_next_file)
52006         (internal_getspnam_r): Likewise.
52007         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
52008         (_nss_nis_getaliasbyname_r): Likewise.
52009         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
52010         (_nss_nis_getntohost_r): Likewise.
52011         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
52012         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
52013         (_nss_nis_getgrgid_r): Likewise.
52014         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
52015         (internal_nis_gethostent_r, internal_gethostbyname2_r)
52016         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
52017         (_nss_nis_gethostbyname4_r): Likewise.
52018         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
52019         (initgroups_netid): Likewise.
52020         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
52021         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
52022         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
52023         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
52024         (_nss_nis_getprotobynumber_r): Likewise.
52025         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
52026         (_nss_nis_getsecretkey): Likewise.
52027         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
52028         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
52029         (_nss_nis_getpwuid_r): Likewise.
52030         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
52031         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
52032         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
52033         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
52034         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
52035         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
52036         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
52037         Likewise.
52038         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
52039         (_nss_nisplus_getntohost_r): Likewise.
52040         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
52041         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
52042         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
52043         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
52044         Likewise.
52045         * nis/nss_nisplus/nisplus-initgroups.c
52046         (_nss_nisplus_initgroups_dyn): Likewise.
52047         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
52048         (_nss_nisplus_getnetbyaddr_r): Likewise.
52049         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
52050         (_nss_nisplus_getprotobynumber_r): Likewise.
52051         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
52052         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
52053         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
52054         Likewise.
52055         * nis/nss_nisplus/nisplus-service.c
52056         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
52057         (_nss_nisplus_getservbyport_r): Likewise.
52058         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
52059         (_nss_nisplus_getspnam_r): Likewise.
52060         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
52061         Likewise.
52062         * nscd/aicache.c (addhstaiX): Likewise.
52063         * nscd/cache.c (cache_search, prune_cache): Likewise.
52064         * nscd/connections.c (register_traced_file, send_ro_fd)
52065         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
52066         (main_loop_epoll): Likewise.
52067         * nscd/grpcache.c (addgrbyX): Likewise.
52068         * nscd/hstcache.c (addhstbyX): Likewise.
52069         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52070         * nscd/mem.c (gc, mempool_alloc): Likewise.
52071         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
52072         (addinnetgrX): Likewise.
52073         * nscd/nscd-client.h (__nscd_acquire_maplock)
52074         (__nscd_drop_map_ref): Likewise.
52075         * nscd/nscd_getai.c (__nscd_getai): Likewise.
52076         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
52077         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
52078         Likewise.
52079         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
52080         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52081         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
52082         (__nscd_get_map_ref): Likewise.
52083         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
52084         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
52085         Likewise.
52086         * nscd/pwdcache.c (addpwbyX): Likewise.
52087         * nscd/selinux.c (preserve_capabilities): Likewise.
52088         * nscd/servicescache.c (addservbyX): Likewise.
52089         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
52090         * posix/fnmatch.c (fnmatch): Likewise.
52091         * posix/getopt.c (_getopt_internal_r): Likewise.
52092         * posix/glob.c (glob, glob_in_dir): Likewise.
52093         * posix/wordexp.c (exec_comm_child): Likewise.
52094         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
52095         (getanswer_r, gaih_getanswer_slice): Likewise.
52096         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
52097         * resolv/res_init.c: Likewise.
52098         * resolv/res_mkquery.c (res_nmkquery): Likewise.
52099         * resolv/res_query.c (__libc_res_nquery): Likewise.
52100         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
52101         Likewise.
52102         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
52103         * stdio-common/perror.c (perror): Likewise.
52104         * stdio-common/printf_fp.c (___printf_fp): Likewise.
52105         * stdio-common/tmpnam.c (tmpnam): Likewise.
52106         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52107         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
52108         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
52109         Likewise.
52110         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
52111         * stdlib/putenv.c (putenv): Likewise.
52112         * stdlib/setenv.c (__add_to_environ): Likewise.
52113         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52114         * stdlib/strtol_l.c (INTERNAL): Likewise.
52115         * string/memmem.c (memmem): Likewise.
52116         * string/strerror.c (strerror): Likewise.
52117         * string/strnlen.c (__strnlen): Likewise.
52118         * string/test-memmem.c (simple_memmem): Likewise.
52119         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
52120         * sunrpc/pm_getport.c (__get_socket): Likewise.
52121         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
52122         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
52123         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
52124         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
52125         Likewise.
52126         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
52127         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
52128         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
52129         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
52130         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
52131         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
52132         Likewise.
52133         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
52134         Likewise.
52135         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
52136         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
52137         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52138         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
52139         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
52140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
52141         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52142         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
52143         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
52144         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
52145         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52146         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
52147         Likewise.
52148         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
52149         Likewise.
52150         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
52151         Likewise.
52152         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
52153         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52154         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
52155         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
52156         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
52157         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
52158         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52159         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
52160         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
52161         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
52162         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
52163         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52164         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52165         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
52166         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52167         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
52168         Likewise.
52169         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
52170         Likewise.
52171         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
52172         Likewise.
52173         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
52174         Likewise.
52175         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52177         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
52178         Likewise.
52179         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
52180         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
52181         * sysdeps/posix/opendir.c (__opendirat): Likewise.
52182         * sysdeps/posix/sleep.c: Likewise.
52183         * sysdeps/posix/tempname.c: Likewise.
52184         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
52185         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52186         Likewise.
52187         * sysdeps/powerpc/powerpc32/dl-machine.h
52188         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
52189         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52190         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52191         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
52192         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
52193         Likewise.
52194         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
52195         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
52196         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52197         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
52198         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52199         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
52200         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
52201         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
52202         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52203         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
52204         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
52205         (elf_machine_lazy_rel): Likewise.
52206         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52207         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
52208         (elf_machine_lazy_rel): Likewise.
52209         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
52210         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
52211         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
52212         * sysdeps/unix/grantpt.c (grantpt): Likewise.
52213         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
52214         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
52215         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
52216         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52217         Likewise.
52218         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
52219         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
52220         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
52221         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
52222         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52223         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52224         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
52225         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
52226         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
52227         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52228         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52229         Likewise.
52230         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
52231         (__posix_fallocate64_l64): Likewise.
52232         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
52233         (posix_fallocate): Likewise.
52234         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
52235         Likewise.
52236         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52237         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
52238         (getifaddrs_internal): Likewise.
52239         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
52240         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
52241         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
52242         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
52243         * sysdeps/unix/sysv/linux/posix_fallocate64.c
52244         (__posix_fallocate64_l64): Likewise.
52245         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
52246         Likewise.
52247         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
52248         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
52249         (__get_clockfreq): Likewise.
52250         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
52251         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
52252         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
52253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52254         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52255         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
52256         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
52257         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
52258         Likewise.
52259         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
52260         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
52261         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
52262         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
52263         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52264         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
52265         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
52266         Likewise.
52267         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52268         (posix_fallocate): Likewise.
52269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52270         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
52271         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
52272         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
52273         (elf_machine_rela, elf_machine_rela_relative)
52274         (elf_machine_lazy_rel): Likewise.
52275         * time/asctime.c (asctime_internal): Likewise.
52276         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
52277         * time/tzset.c (__tzset_parse_tz): Likewise.
52278         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52279         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
52280         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
52281         * wcsmbs/wcsmbsload.h: Likewise.
52283         [BZ #15894]
52284         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
52286         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
52287         (arena_get2): Remove THREAD_STATS conditionals.
52288         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
52289         (__malloc_stats, int): Likewise.
52291 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
52293         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
52294         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
52296         * manual/setjmp.texi: Fix typos/grammar errors.
52298         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
52299         Only return early when n is <= 0.  Delete unused return statement.
52301         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
52302         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
52303         * debug/tst-longjmp_chk3.c: New file.
52305         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
52306         (test_main): Replace code with set_fortify_handler call.
52307         * debug/test-strcpy_chk.c: Likewise.
52308         * debug/tst-chk1.c: Likewise.
52309         * debug/tst-longjmp_chk.c: Likewise.
52310         * test-skeleton.c: Include fcntl.h & paths.h
52311         (set_fortify_handler): Define.
52313         * debug/tst-longjmp_chk.c: Add header comment and include
52314         ../test-skeleton.c.
52315         (do_test): Mark static.
52316         (TEST_FUNCTION): Define.
52318         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
52319         (IP_PMTUDISC_INTERFACE): Likewise.
52320         (IP_MULTICAST_IF): Likewise.
52321         (IP_MULTICAST_TTL): Likewise.
52322         (IP_MULTICAST_LOOP): Likewise.
52323         (IP_ADD_MEMBERSHIP): Likewise.
52324         (IP_DROP_MEMBERSHIP): Likewise.
52325         (IP_UNBLOCK_SOURCE): Likewise.
52326         (IP_BLOCK_SOURCE): Likewise.
52327         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
52328         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
52329         (IP_MSFILTER): Likewise.
52330         (MCAST_JOIN_GROUP): Likewise.
52331         (MCAST_BLOCK_SOURCE): Likewise.
52332         (MCAST_UNBLOCK_SOURCE): Likewise.
52333         (MCAST_LEAVE_GROUP): Likewise.
52334         (MCAST_JOIN_SOURCE_GROUP): Likewise.
52335         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
52336         (MCAST_MSFILTER): Likewise.
52337         (IP_MULTICAST_ALL): Likewise.
52338         (IP_UNICAST_IF): Likewise.
52340         * timezone/Makefile: Delete $(have-ksh) check.
52341         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
52342         * timezone/tzselect.ksh: Add +x mode bits.
52344         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
52345         (ANON_INODE_FS_MAGIC): Likewise.
52346         (BDEVFS_MAGIC): Likewise.
52347         (BINFMTFS_MAGIC): Likewise.
52348         (BTRFS_TEST_MAGIC): Likewise.
52349         (CRAMFS_MAGIC_WEND): Likewise.
52350         (DEBUGFS_MAGIC): Likewise.
52351         (ECRYPTFS_SUPER_MAGIC): Likewise.
52352         (EXT3_SUPER_MAGIC): Likewise.
52353         (EXT4_SUPER_MAGIC): Likewise.
52354         (FUTEXFS_SUPER_MAGIC): Likewise.
52355         (HOSTFS_SUPER_MAGIC): Likewise.
52356         (HUGETLBFS_MAGIC): Likewise.
52357         (MINIX3_SUPER_MAGIC): Likewise.
52358         (MTD_INODE_FS_MAGIC): Likewise.
52359         (NILFS_SUPER_MAGIC): Likewise.
52360         (OPENPROM_SUPER_MAGIC): Likewise.
52361         (PIPEFS_MAGIC): Likewise.
52362         (PSTOREFS_MAGIC): Likewise.
52363         (QNX6_SUPER_MAGIC): Likewise.
52364         (RAMFS_MAGIC): Likewise.
52365         (REISERFS_SUPER_MAGIC_STRING): Likewise.
52366         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
52367         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
52368         (SECURITYFS_MAGIC): Likewise.
52369         (SELINUX_MAGIC): Likewise.
52370         (SMACK_MAGIC): Likewise.
52371         (SOCKFS_MAGIC): Likewise.
52372         (SQUASHFS_MAGIC): Likewise.
52373         (STACK_END_MAGIC): Likewise.
52374         (TMPFS_MAGIC): Likewise.
52375         (USBDEVICE_SUPER_MAGIC): Likewise.
52376         (V9FS_MAGIC): Likewise.
52377         (XENFS_SUPER_MAGIC): Likewise.
52378         (CRAMFS_MAGIC): Fix typo in comment.
52379         (EXT2_SUPER_MAGIC): Update comment.
52380         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
52382 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
52384         * sysdeps/arm: Move directory from ports/sysdeps/arm.
52385         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
52386         * sysdeps/unix/sysv/linux/arm: Move directory from
52387         ports/sysdeps/unix/sysv/linux/arm.
52388         * README: Update listing for arm-*-linux-gnueabi.
52390         * README: Remove mention of am33.
52392 2014-02-07  Roland McGrath  <roland@hack.frob.com>
52394         * bits/sigset.h (__sigemptyset): Use a statement expression rather
52395         than the comma operator, to avoid "rhs of comma has no effect"
52396         compiler warnings.
52397         (__sigfillset, __sigandset, __sigorset): Likewise.
52398         * include/signal.h (__sigemptyset): Likewise.
52399         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
52401 2014-02-07  Allan McRae  <allan@archlinux.org>
52403         * version.h (RELEASE): Set to "development".
52404         (VERSION): Set to "2.19.90"
52405         * NEWS: Add 2.20 section.
52407 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
52409         [BZ #16529]
52410         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
52412 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52414         * manual/contrib.texi: Update entry for Carlos O'Donell,
52415         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
52417 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
52419         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
52421         * sysdeps/unix/sysv/linux/kernel-features.h
52422         [__LINUX_KERNEL_VERSION >= 0x020621]
52423         (__ASSUME_PROC_PID_TASK_COMM): Define.
52425 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52427         [BZ #16398]
52428         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
52429         conversion when destination buffer does not have enough space.
52430         * libio/tst-ftell-partial-wide.c: New test case.
52431         * libio/Makefile (tests): Add tst-ftell-partial-wide.
52433         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
52434         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
52435         Leonard and Allan McRae.
52437 2014-02-04  David S. Miller  <davem@davemloft.net>
52439         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
52440         32-bit.
52442 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
52445         New file
52446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
52447         New file
52448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
52449         New file.
52450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
52451         New file.
52452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
52453         New file.
52454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
52455         New file.
52456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
52457         New file.
52458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
52459         New file.
52460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
52461         New file.
52462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
52463         New file.
52464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
52465         New file.
52466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
52467         New file.
52468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
52469         New file.
52471 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52473         * nptl/shlib-versions: Change powerpc*le start to 2.17.
52474         * shlib-versions: Likewise.
52476 2014-02-04  Roland McGrath  <roland@hack.frob.com>
52477             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52479         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
52480         (abilist-pattern): New variable, set to %-le.abilist.
52482         * Makerules (abilist-pattern): New variable.
52483         (vpath): Use $(abilist-pattern) in place of %.abilist.
52484         (check-abi-% pattern rule): Likewise.
52485         (check-abi, update-abi): Likewise.
52487 2014-02-04  Eric Wong  <normalperson@yhbt.net>
52489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52491 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
52493         * manual/startup.texi: Add next, previous, and top entries for
52494         the `Program Arguments' and `Environment Variables' nodes.
52496 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
52498         * manual/macros.texi: Add comments before MTASC-safety macros.
52500         * manual/users.texi: Document MTASC-safety properties.
52502         * manual/threads.texi (pthread_key_create, pthread_key_delete)
52503         (pthread_getspecific, pthread_setspecific): Format with
52504         @deftypefun, and add @safety note.
52505         * manual/signal.texi: Move comments that analyze the above
52506         functions to their home place.
52508 2014-02-03  Allan McRae  <allan@archlinux.org>
52510         * po/sl.po: Update Slovenian translation from translation project.
52512 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
52514         * manual/time.texi (timegm): Add missing blank after @c.
52515         Reported by Joseph Myers <joseph@codesourcery.com>.
52517 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
52519         * manual/check-safety.sh: New.
52520         * manual/Makefile ($(objpfx)stamp-summary): Run it.
52522         * manual/terminal.texi: Document MTASC-safety properties.
52524         * manual/filesys.texi: Document MTASC-safety properties.
52526         * manual/errno.texi: Document MTASC-safety properties.
52528         * manual/intro.texi: Document safety identifiers and
52529         conditionals.
52531         * manual/string.texi (wcstok): Fix prototype.
52532         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
52534         * manual/time.texi: Document MTASC-safety properties.
52536         * manual/string.texi: Document MTASC-safety properties.
52538         * manual/threads.texi: Document MTASC-safety properties.
52540         * manual/stdio.texi: Document MTASC-safety properties.
52542         * manual/syslog.texi: Document MTASC-safety properties.
52544         * manual/sysinfo.texi: Document MTASC-safety properties.
52546         * manual/startup.texi: Document MTASC-safety properties.
52548         * manual/socket.texi: Document MTASC-safety properties.
52550         * manual/signal.texi: Document MTASC-safety properties.
52552 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
52554         * manual/setjmp.texi: Document MTASC-safety properties.
52556         * manual/search.texi: Document MTASC-safety properties.
52558         * manual/resource.texi: Document MTASC-safety properties.
52560         * manual/process.texi: Document MTASC-safety properties.
52562         * manual/platform.texi: Document MTASC-safety properties.
52564         * manual/pipe.texi: Document MTASC-safety properties.
52566         * manual/pattern.texi: Document MTASC-safety properties.
52568         * manual/message.texi: Document MTASC-safety properties.
52570         [BZ #12751]
52571         * manual/memory.texi: Document MTASC-safety properties.
52573         * manual/math.texi: Document MTASC-safety properties.
52575         * manual/locale.texi: Document MTASC-safety properties.
52577         * manual/llio.texi: Document MTASC-safety properties.
52579         * manual/libdl.texi: New.
52581         * manual/lang.texi: Document MTASC-safety properties.
52583         * manual/job.texi: Document MTASC-safety properties.
52585         * manual/getopt.texi: Document MTASC-safety properties.
52587         * manual/ctype.texi: Document MTASC-safety properties.
52589 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
52591         [BZ #16046]
52592         * csu/libc-tls.c (static_map): Remove variable.
52593         (__libc_setup_tls): Use main executable's link map for TLS data.
52594         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
52595         casing for LM_ID_BASE and GL(dl_nns).
52596         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
52597         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
52598         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
52599         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
52600         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
52601         member.
52602         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
52603         l_phnum members.
52605 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52607         * manual/debug.texi: Document MTASC-safety properties.
52609 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52611         [BZ #16510]
52612         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52613         of __x86_64__ when disabling x87 inline functions.
52615 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52617         * manual/charset.texi: Document MTASC-safety properties.
52619         * manual/crypt.texi: Document MTASC-safety properties.
52621         * manual/conf.texi: Document MTASC-safety properties.
52623         * manual/arith.texi: Document MTASC-safety properties.
52625         * manual/argp.texi: Document MTASC-safety properties.
52627         * manual/macros.texi: Introduce macros to document multi
52628         thread, asynchronous signal and asynchronous cancellation
52629         safety properties.
52630         * manual/intro.texi: Introduce the properties themselves.
52632 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52634         * sysdeps/sh/sh4/Makefile: New file.
52636 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52638         * math/gen-libm-test.pl ($srcdir): New variable.
52639         ($auto_input): Use it.
52641 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52643         [BZ #16506]
52644         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52645         access beyond array bounds when parsing netgroups file.
52647         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52648         the old buffer before realloc.
52650 2014-01-27  Allan McRae  <allan@archlinux.org>
52652         * po/fr.po: Update French translation from translation project.
52654 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52656         * sysdeps/sh/libm-test-ulps: Regenerate.
52658 2014-01-24  David S. Miller  <davem@davemloft.net>
52660         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52662 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52664         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52665         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52667 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52669         [BZ #16474]
52670         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52671         string pointers after reallocation.
52673 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52675         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52676         __SH4A__ instead of __SH_FPU_ANY__.
52678 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52680         * sysdeps/sh/fpu_control.h: New file.
52681         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52682         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52683         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52684         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52685         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52686         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52687         * sysdeps/sh/sys/ucontext.h: Remove.
52688         * sysdeps/sh/sys: Remove directory.
52690 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52692         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52693         s390/sys/ucontext.h.
52694         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52695         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52697 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52699         [BZ #15605]
52700         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52702 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52704         [BZ #16431]
52705         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52706         Adjust the vDSO correctly for internal calls.
52707         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52709 2014-01-20  Allan McRae  <allan@archlinux.org>
52711         * po/ca.po: Update Catalan translation from translation project.
52713 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52715         * sysdeps/s390/sotruss-lib.c: New file.
52717 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52719         [BZ #16430]
52720         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52721         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52722         local calls issues by not having a PLT stub required for IFUNC calls.
52723         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52725 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52727         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52728         * math/test-fpucw-static.c: Likewise.
52730 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52732         [BZ #16453]
52733         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52735 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52737         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52738         implementation for powerpc.
52740 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52742         [BZ #14782]
52743         * sysdeps/posix/system.c (__libc_system): Do not enable
52744         asynchronous cancellation.
52746 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52748         [BZ #16427]
52749         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52750         handling only for numbers special also in the IEEE case.
52752 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52754         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52756 2014-01-11  Allan McRae  <allan@archlinux.org>
52758         * po/bg.po: Update Bulgarian translation from translation project.
52760         * po/de.po: Update German translation from translation project.
52762 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52764         * sysdeps/generic/gcc-compat.h: New file.
52766 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52768         * benchtests/asin-inputs: Correct slow inputs.
52769         * benchtests/acos-inputs: Likewise.
52771 2014-01-10  Allan McRae  <allan@archlinux.org>
52773         * po:sv.po: Update Swedish translation from translation project.
52775         * po/vi.po: Update Vietnamese translation from translation project.
52777         * po/eo.po: Update Esperanto translation from translation project.
52779         * po/cs.po: Update Czech translation from translation project.
52781         * po/nl.po: Update Dutch translation from translation project.
52783         * po/pl.po: Update Polish translation from translation project.
52785         * po/ru.po: Update Russian translation from translation project.
52787         * po/uk.po: Update Ukrainian translation from translation project.
52789 2014-01-08  Brooks Moses  <bmoses@google.com>
52791         * elf/dl-load.c: Fix comment typo.
52793 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52795         * po/header.pot: Rename to...
52796         * po/pot.header: ... this.
52797         * po/Makefile: Use pot.header.
52799 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52800             Maxim Kuvyrkov  <maxim@kugelworks.com>
52802         [BZ #16394]
52803         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52804         SRC and DEST against LEN.
52806 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52808         [BZ #16414]
52809         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52810         implementation.
52811         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52813 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52817 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52819         [BZ #16408]
52820         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52821         for large positive arguments.
52823 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52825         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52827         * math/auto-libm-test-in: Mark various tests with
52828         xfail-rounding:ldbl-128ibm.
52829         * math/auto-libm-test-out: Regenerated.
52831         [BZ #16407]
52832         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52833         Increase overflow threshold.
52835 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52837         [BZ #14286]
52838         * stdio-common/vfprintf.c: Check for integer overflow.
52840 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52842         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52843         the first argument and return value of __tls_get_addr_internal.
52845 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52847         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52848         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52850 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52852         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52853         * sysdeps/s390/rtld-global-offsets.sym: New file.
52854         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52855         GLIBC_2.19 symbol.
52856         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52857         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52858         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52859         ... this.
52860         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52861         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52862         ... this.
52863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52864         Regenerate.
52865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52866         Regenerate.
52867         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52868         halfs of GPRs for high_gprs contexts.
52869         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52870         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52871         field.
52872         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52873         uc_flags field.
52874         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52875         64 bit versions:
52876         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52877         for high GPRs (uc_high_gprs) and for future extensions
52878         (__reserved).
52879         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52880         for future extensions (__reserved).
52881         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52882         64 bit versions:
52883         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52884         SC_HIGHGPRS offset definition.
52885         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52886         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52888         * Versions.def: Add GLIBC_2.19 for libpthread.
52889         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52890         siglongjmp for libpthread with GLIBC_2.19 symver.
52891         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52892         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52893         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52894         * sysdeps/s390/__longjmp.c: New file.
52895         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52896         * sysdeps/s390/longjmp.c: New file.
52897         * sysdeps/s390/setjmp.S: New file.
52898         * sysdeps/s390/sigjmp.S: New file.
52899         * sysdeps/s390/v1-longjmp.c: New file.
52900         * sysdeps/s390/v1-setjmp.h: New file.
52901         * sysdeps/s390/v1-sigjmp.c: New file.
52902         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52903         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52904         GLIBC_2.19 version.
52905         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52906         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52907         versioned symbols for ____longjmp_chk.
52908         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52909         Likewise.
52910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52911         Regenerate.
52912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52913         Regenerate.
52914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52915         Regenerate.
52916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52917         Regenerate.
52918         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52919         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52920         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52921         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52922         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52923         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52924         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52925         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52926         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52927         * sysdeps/s390/rtld-__longjmp.c: New file.
52928         * sysdeps/s390/rtld-setjmp.S: New file.
52930 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52932         [BZ #16400]
52933         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52934         Return -__logl (x) for small positive arguments without evaluating
52935         a polynomial.
52937 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52939         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52940         Rename to ...
52941         (__ptrace_peeksiginfo_args): ... this.
52942         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52943         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52944         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52946 2014-01-06  Allan McRae  <allan@archlinux.org>
52948         * inet/netinet/in.h: Fix typo in comment.
52950 2014-01-05  Andreas Jaeger  <aj@suse.de>
52952         * sysdeps/i386/fpu/libm-test-ulps: Update.
52954 2014-01-05  Allan McRae  <allan@archlinux.org>
52956         * po/libc.pot: Regenerated.
52958         * malloc/memusagestat.c: Fix gettext call formatting.
52960 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52962         * nscd/nscd.c: Improve usage() output.
52964 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52966         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52967         * sysdeps/unix/sysv/linux/configure: Regenerated.
52968         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52969         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52971 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52973         [BZ #16390]
52974         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52975         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52977 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52979         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52980         extra tokens at end of #undef directive.
52981         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52982         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52983         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52985 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52987         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52989         * math/auto-libm-test-in: Mark various tests with
52990         xfail-rounding:ldbl-128ibm.
52991         * math/auto-libm-test-out: Regenerated.
52993 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52995         [BZ #16386]
52996         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52997         numbers with subnormal high part when calculating exponent.
52999         [BZ #16385]
53000         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
53001         fabs.
53003         [BZ #16384]
53004         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
53005         M_LN2l.
53006         (__ieee754_acoshl): Use __log1pl not __log1p.
53008 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
53010         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
53011         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
53012         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
53013         (grow_heap, heap_trim, _int_new_arena, get_free_list)
53014         (reused_arena, arena_get2): Convert to GNU style.
53015         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
53016         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
53017         (memalign_check, __malloc_set_state): Likewise.
53018         * malloc/mallocbug.c (main): Likewise.
53019         * malloc/malloc.c (__malloc_assert, malloc_init_state)
53020         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
53021         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
53022         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
53023         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
53024         (__posix_memalign, malloc_info): Likewise.
53025         * malloc/malloc.h: Likewise.
53026         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
53027         (mallochook, memalignhook, reallochook, mabort): Likewise.
53028         * malloc/mcheck.h: Likewise.
53029         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
53030         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
53031         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
53032         * malloc/morecore.c (__default_morecore): Likewise.
53033         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
53034         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
53035         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
53036         (print_and_abort): Likewise.
53037         * malloc/obstack.h: Likewise.
53038         * malloc/set-freeres.c (__libc_freeres): Likewise.
53039         * malloc/tst-mallocstate.c (main): Likewise.
53040         * malloc/tst-mtrace.c (main): Likewise.
53041         * malloc/tst-realloc.c (do_test): Likewise.
53043 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53045         [BZ #16366]
53046         * nscd/netgroupcache.c (do_notfound): New function.
53047         (addgetnetgrentX): Use it.
53049         [BZ # 16365]
53050         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
53051         NSS_STATUS_NOTFOUND.
53053 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
53055         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53058 2014-01-01  Allan McRae  <allan@archlinux.org>
53060         * scripts/update-copyrights: Update configure input file suffix.
53062         * NEWS: Update copyright year.
53063         * catgets/gencat.c: Likewise.
53064         * csu/version.c: Likewise.
53065         * debug/catchsegv.sh: Likewise.
53066         * debug/pcprofiledump.c: Likewise.
53067         * debug/xtrace.sh: Likewise.
53068         * elf/ldconfig.c: Likewise.
53069         * elf/ldd.bash.in: Likewise.
53070         * elf/pldd.c: Likewise.
53071         * elf/sotruss.ksh: Likewise.
53072         * elf/sprof.c: Likewise.
53073         * iconv/iconv_prog.c: Likewise.
53074         * iconv/iconvconfig.c: Likewise.
53075         * locale/programs/locale.c: Likewise.
53076         * locale/programs/localedef.c: Likewise.
53077         * login/programs/pt_chown.c: Likewise.
53078         * malloc/memusage.sh: Likewise.
53079         * malloc/memusagestat.c: Likewise.
53080         * malloc/mtrace.pl: Likewise.
53081         * manual/libc.texinfo: Likewise.
53082         * nscd/nscd.c: Likewise.
53083         * nss/getent.c: Likewise.
53084         * nss/makedb.c: Likewise.
53085         * posix/getconf.c: Likewise.
53086         * scripts/test-installation.pl: Likewise.
53088         * All files with FSF copyright notices: Update copyright dates
53089         using scripts/update-copyrights.
53090         * intl/plural.c: Regenerated.
53091         * locale/programs/charmap-kw.h: Likewise.
53092         * locale/programs/locfile-kw.h: Likewise.
53094 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
53096         * sysdeps/unix/sysv/linux/configure: Regenerated.
53097         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
53098         the linux/fanotify.h header.
53099         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
53100         HAVE_LINUX_FANOTIFY_H is defined.
53102 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53104         * benchtests/cos-inputs: New inputs.
53105         * benchtests/sin-inputs: Likewise.
53107         * benchtests/atan-inputs: New inputs. Fix name of multiple
53108         precision fallback inputs.
53110         * benchtests/atanh-inputs: New inputs.
53111         * benchtests/tanh-inputs: Likewise.
53113         * benchtests/acosh-inputs: New inputs.
53114         * benchtests/asinh-inputs: Likewise.
53116         * benchtests/cosh-inputs: New inputs.
53117         * benchtests/sinh-inputs: Likewise.
53119         * benchtests/acos-inputs: Add more inputs.
53120         * benchtests/asin-inputs: Likewise.
53122 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
53124         [BZ #16375]
53125         * manual/arith.texi: Fix spelling.
53126         * manual/charset.texi: Likewise.
53127         * manual/errno.texi: Likewise.
53128         * manual/filesys.texi: Likewise.
53129         * manual/lang.texi: Likewise.
53130         * manual/llio.texi: Likewise.
53131         * manual/locale.texi: Likewise.
53132         * manual/message.texi: Likewise.
53133         * manual/resource.texi: Likewise.
53134         * manual/search.texi: Likewise.
53135         * manual/setjmp.texi: Likewise.
53136         * manual/stdio.texi: Likewise.
53137         * manual/string.texi: Likewise.
53138         * manual/sysinfo.texi: Likewise.
53139         * manual/time.texi: Likewise.
53141 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
53143         * po/sl.po: New file.
53145 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
53147         * .gitignore: Add core/.gdbinit/.gdb_history.
53149 2013-12-27  Allan McRae  <allan@archlinux.org>
53151         [BZ #16369]
53152         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
53153         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
53155 2013-12-24  Brooks Moses  <bmoses@google.com>
53157         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
53158         all compilers that claim C++98 compliance, not just GCC.
53159         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
53160         Likewise.
53162 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53164         * NEWS: Restore accidentally deleted bug-fix entries.
53166 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53167             Ondřej Bílka  <neleai@seznam.cz>
53169         [BZ #15073]
53170         * malloc/malloc.c (_int_free): Perform sanity check only if we
53171         have_lock.
53173 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
53175         [BZ #12986]
53176         * manual/stdio.texi (String Input Conversions): Clarify that character
53177         classes are not supported.
53179 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53183 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
53185         [BZ #16337]
53186         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53187         Calculate results for small negative arguments directly rather
53188         than using reflection formula with special underflow handling.
53190         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
53191         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
53192         sysdeps/unix/bsd/bsd4.4/syscalls.list.
53193         (fchflags): Likewise.
53194         (revoke): Likewise.
53195         (setlogin): Likewise.
53196         (sigaltstack): Likewise.
53197         (wait4): Likewise.
53198         (sigblock): Remove.
53199         (sigsetmask): Likewise.
53200         (wait3): Likewise.
53201         (waitpid): Likewise.
53202         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
53203         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
53204         file.
53205         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
53206         * sysdeps/unix/bsd/Makefile: ... here.
53207         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
53208         * sysdeps/unix/bsd/Versions: ... here.
53209         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
53210         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
53211         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
53212         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
53213         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
53214         * sysdeps/unix/bsd/sigblock.c: ... here.
53215         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
53216         * sysdeps/unix/bsd/sigsetmask.c: ... here.
53217         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
53218         * sysdeps/unix/bsd/sigvec.c: ... here.
53219         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
53220         * sysdeps/unix/bsd/tcdrain.c: ... here.
53221         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
53222         * sysdeps/unix/bsd/tcgetattr.c: ... here.
53223         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
53224         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53225         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
53226         * sysdeps/unix/bsd/wait.c: ... here.
53227         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
53228         * sysdeps/unix/bsd/wait3.c: ... here.
53229         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
53230         * sysdeps/unix/bsd/waitpid.c: ... here.
53232 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
53234         [BZ #16356]
53235         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
53236         round-to-nearest for [!USE_AS_EXPM1L].
53237         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
53238         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
53239         more tests of exp and exp10.  Expect some exp10 tests to miss
53240         exceptions or fail in directed rounding modes.
53241         * math/auto-libm-test-out: Regenerated.
53242         * math/libm-test.inc (exp10_tonearest_test_data): New array.
53243         (exp10_test_tonearest): New function.
53244         (exp10_towardzero_test_data): New array.
53245         (exp10_test_towardzero): New function.
53246         (exp10_downward_test_data): New array.
53247         (exp10_test_downward): New function.
53248         (exp10_upward_test_data): New array.
53249         (exp10_test_upward): New function.
53250         (main): Call the new functions.
53251         * sysdeps/i386/fpu/libm-test-ulps: Update.
53252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53254 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
53256         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
53257         asinh, atan, atan2, atanh, cbrt, cos and cosh.
53258         * math/auto-libm-test-out: Regenerated.
53259         * math/libm-test.inc (acosh_test_data): Add more tests.
53260         (atanh_test_data): Likewise.
53261         (ceil_test_data): Likewise.
53262         (copysign_test_data): Likewise.
53263         * sysdeps/i386/fpu/libm-test-ulps: Update.
53264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53266         * timezone/checktab.awk: Update from tzcode 2013i.
53267         * timezone/private.h: Likewise.
53268         * timezone/scheck.c: Likewise.
53269         * timezone/tzfile.h: Likewise.
53270         * timezone/tzselect.ksh: Likewise.
53271         * timezone/zdump.c: Likewise.
53272         * timezone/zic.c: Likewise.
53274         * math/auto-libm-test-in: Add tests of cpow.
53275         * math/auto-libm-test-out: Regenerated.
53276         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
53277         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53278         mpc_cc_c.
53279         (func_calc_desc): Add mpc_cc_c union field.
53280         (test_functions): Add cpow.
53281         (special_fill_2pi): New function.
53282         (special_real_inputs): Add 2pi.
53283         (calc_generic_results): Handle mpc_cc_c.
53284         * sysdeps/i386/fpu/libm-test-ulps: Update.
53285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53287         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
53288         csqrt, ctan and ctanh.
53289         * math/auto-libm-test-out: Regenerated.
53290         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53291         (TEST_COND_x86): Likewise.
53292         (ccos_test_data): Use AUTO_TESTS_c_c.
53293         (ccosh_test_data): Likewise.
53294         (cexp_test_data): Likewise.
53295         (clog_test_data): Likewise.
53296         (csqrt_test_data): Likewise.
53297         (ctan_test_data): Likewise.
53298         (ctan_tonearest_test_data): Likewise.
53299         (ctan_towardzero_test_data): Likewise.
53300         (ctan_downward_test_data): Likewise.
53301         (ctan_upward_test_data): Likewise.
53302         (ctanh_test_data): Likewise.
53303         (ctanh_tonearest_test_data): Likewise.
53304         (ctanh_towardzero_test_data): Likewise.
53305         (ctanh_downward_test_data): Likewise.
53306         (ctanh_upward_test_data): Likewise.
53307         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53308         mpc_c_c.
53309         (func_calc_desc): Add mpc_c_c union field.
53310         (FUNC_mpc_c_c): New macro.
53311         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
53312         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
53313         ctanh.
53314         (special_fill_min_subnorm_p120): New function.
53315         (special_real_inputs): Add min_subnorm_p120.
53316         (calc_generic_results): Handle mpc_c_c.
53317         * sysdeps/i386/fpu/libm-test-ulps: Update.
53318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53320 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53322         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
53323         (do_sin_slow): New functions.
53324         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
53325         (cslow2, csloww1, csloww2): Use the new functions.
53327         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
53328         Use M to change sign of result instead of X.  Assume X is
53329         positive.
53330         (csloww1): Likewise.
53331         (__sin): Adjust.
53332         (__cos): Adjust.
53334         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
53335         arguments A and DA.
53336         (__sin): Adjust.
53337         (__cos): Likewise.
53339         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
53340         (__cos): Likewise.
53341         (sloww1): Don't adjust sign of DX.
53342         (csloww1): Likewise.
53343         (sloww2): Use X directly and don't adjust sign of DX.
53344         (csloww2): Likewise.
53346 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53348         * math/auto-libm-test-in: Add tests of cabs and carg.
53349         * math/auto-libm-test-out: Regenerated.
53350         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
53351         (carg_test_data): Likewise.
53352         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53353         mpc_c_f.
53354         (func_calc_desc): Add mpc_c_f union field.
53355         (test_functions): Add cabs and carg.
53356         (calc_generic_results): Handle mpc_c_f.
53358         * sysdeps/powerpc/powerpc32/libgcc-compat.S
53359         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
53360         as a macro and a compat symbol.
53361         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
53362         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
53363         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
53364         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
53365         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
53366         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
53367         not use .hidden.
53368         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
53369         Likewise.
53370         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
53371         Likewise.
53372         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
53373         Likewise.
53374         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
53375         Likewise.
53376         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
53377         Likewise.
53378         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
53379         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
53380         from GLIBC_2.3.2.
53382 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53386 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53388         * manual/texinfo.tex: Update to version 2013-11-26.10 with
53389         trailing whitespace removed.
53390         * scripts/config.guess: Update to version 2013-11-29.
53391         * scripts/config.sub: Update to version 2013-10-01.
53393         * math/auto-libm-test-in: Add tests of sincos.
53394         * math/auto-libm-test-out: Regenerated.
53395         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
53396         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53397         mpfr_f_11.
53398         (func_calc_desc): Add mpfr_f_11 union field.
53399         (test_functions): Add sincos.
53400         (calc_generic_results): Handle mpfr_f_11.
53401         * sysdeps/i386/fpu/libm-test-ulps: Update.
53402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53404 2013-12-19  Andreas Schwab  <schwab@suse.de>
53406         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
53407         CALL_MCOUNT.
53408         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53409         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
53410         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
53412 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53414         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
53415         * sysdeps/i386/fpu/libm-test-ulps: Update.
53416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53418         [BZ #16293]
53419         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
53420         round-to-nearest mode when using frndint.
53421         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
53422         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53423         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
53424         Likewise.
53425         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
53426         sinh test to fail.
53427         * math/auto-libm-test-out: Regenerated.
53428         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
53429         (TEST_COND_x86): Likewise.
53430         (expm1_tonearest_test_data): New array.
53431         (expm1_test_tonearest): New function.
53432         (expm1_towardzero_test_data): New array.
53433         (expm1_test_towardzero): New function.
53434         (expm1_downward_test_data): New array.
53435         (expm1_test_downward): New function.
53436         (expm1_upward_test_data): New array.
53437         (expm1_test_upward): New function.
53438         (main): Run the new test functions.
53439         * sysdeps/i386/fpu/libm-test-ulps: Update.
53440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53442         * include/features.h: Update comment documenting feature test
53443         macros.  Mention _DEFAULT_SOURCE in comment.
53444         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
53445         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
53446         _BSD_SOURCE and _SVID_SOURCE.
53447         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
53448         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
53449         !_SVID_SOURCE]: Likewise.
53450         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53451         (__USE_POSIX_IMPLICITLY): Define.
53452         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53453         (_POSIX_SOURCE): Undefine and redefine.
53454         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53455         (_POSIX_C_SOURCE): Likewise.
53456         * manual/creature.texi (_DEFAULT_SOURCE): Document.
53457         (Feature Test Macros): Update documentation of default features.
53459 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53461         * benchtests/Makefile: Add bench-strtok.
53462         * benchtests/bench-strtok.c: New file: strtok benchtest.
53464 2013-12-19  Allan McRae  <allan@archlinux.org>
53466         * manual/install.texi: Suppress menu for plain text output.
53467         * INSTALL: Regenerated.
53469 2013-12-18  Brooks Moses  <bmoses@google.com>
53471         [BZ #15846]
53472         * misc/getauxval.c: Include errno.h.
53473         (__getauxval): Set errno to ENOENT if the requested type is not
53474         found.
53475         * misc/sys/auxv.h (getauxval): Document that it may set errno;
53476         don't declare with __attribute_const__.
53477         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
53478         * manual/startup.texi: Document that getauxval sets errno.
53480 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53482         * math/auto-libm-test-in: Add tests of jn and yn.
53483         * math/auto-libm-test-out: Regenerated.
53484         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
53485         (yn_test_data): Likewise.
53486         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53487         mpfr_if_f.
53488         (func_calc_desc): Add mpfr_if_f union field.
53489         (FUNC_mpfr_if_f): New macro.
53490         (test_functions): Add jn and yn.
53491         (calc_generic_results): Assert type of second input for
53492         mpfr_ff_f.  Handle mpfr_if_f.
53493         (output_for_one_input_case): Disable all checking for arguments
53494         fitting floating-point types in case of an integer argument.
53495         * sysdeps/i386/fpu/libm-test-ulps: Update.
53496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53499         Don't expect fegetround reference in libm.so.
53501 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53503         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
53504         $(config-cflags-nofma).
53506 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53508         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
53509         * math/auto-libm-test-out: Regenerated.
53511         [BZ #16338]
53512         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
53513         to determine exponent and adjust argument to have exponent of -1.
53514         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
53515         log2.
53516         * math/auto-libm-test-out: Regenerated.
53517         * sysdeps/i386/fpu/libm-test-ulps: Update.
53518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53520 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
53522         * manual/probes.texi: Remove cases when per-thread arenas are
53523         disabled.
53525 2013-12-18  Andreas Schwab  <schwab@suse.de>
53527         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
53528         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
53529         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
53530         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
53531         * sysdeps/i386/i686/multiarch/Makefile: Update.
53532         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
53534 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53536         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
53537         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
53539 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
53541         [BZ #15968]
53542         Support TZ transition times < 00:00:00.
53543         This is needed for version-3 tz-format files; it supports time
53544         stamps past 2037 for America/Godthab (the only entry in the tz
53545         database for which this change is relevant).
53546         * manual/time.texi (TZ Variable): Document transition times
53547         from -167:59:59 through -00:00:01.
53548         * time/tzset.c (tz_rule): Time of day is now signed.
53549         (__tzset_parse_tz): Parse negative time of day.
53551         Document TZ transition times >= 25:00:00.
53552         * manual/time.texi (TZ Variable): Document transition times from
53553         25:00:00 through 167:59:59.  These are already supported, and this
53554         support will help with version-3 tz-format files.
53556         * manual/time.texi (TZ Variable): Modernize North America example
53557         to reflect current (i.e., 2007-and-later) daylight saving rules.
53559         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
53561 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53563         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
53564         * sysdeps/unix/bsd/bits/stat.h: Likewise.
53565         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
53566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53567         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
53568         * sysdeps/unix/bsd/bsdstat.h: Likewise.
53569         * sysdeps/unix/bsd/clock.c: Likewise.
53570         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
53571         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
53572         * sysdeps/unix/bsd/init-posix.c: Likewise.
53573         * sysdeps/unix/bsd/poll.c: Likewise.
53574         * sysdeps/unix/bsd/ptsname.c: Likewise.
53575         * sysdeps/unix/bsd/seekdir.c: Likewise.
53576         * sysdeps/unix/bsd/setegid.c: Likewise.
53577         * sysdeps/unix/bsd/seteuid.c: Likewise.
53578         * sysdeps/unix/bsd/setgid.c: Likewise.
53579         * sysdeps/unix/bsd/setrgid.c: Likewise.
53580         * sysdeps/unix/bsd/setruid.c: Likewise.
53581         * sysdeps/unix/bsd/setsid.c: Likewise.
53582         * sysdeps/unix/bsd/setuid.c: Likewise.
53583         * sysdeps/unix/bsd/sigaction.c: Likewise.
53584         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
53585         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
53586         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
53587         * sysdeps/unix/bsd/telldir.c: Likewise.
53588         * sysdeps/unix/bsd/times.c: Likewise.
53589         * sysdeps/unix/bsd/usleep.c: Likewise.
53591         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53592         ($(objpfx)libbsd-compat.a): Remove rule.
53594         * include/features.h (__FAVOR_BSD): Do not define.
53595         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
53596         features conflicting with POSIX.
53597         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
53598         (_BSD_SOURCE): Remove description of not being a subset of other
53599         feature test macros.
53600         * manual/job.texi (getpgrp): Do not document BSD version.
53601         (getpgid): Do not document by reference to BSD getpgrp.
53602         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
53603         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53604         * signal/signal.h [__FAVOR_BSD]: Likewise.
53605         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53606         instead of making contents conditional on [__FAVOR_BSD].
53607         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53609 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53613 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53615         [BZ #16314]
53616         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53617         values below 2**-450, not 2**-500.
53618         * math/auto-libm-test-in: Don't allow spurious underflow from
53619         hypot.
53620         * math/auto-libm-test-out: Regenerated.
53622         [BZ #16316]
53623         [BZ #16330]
53624         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53625         values of ha and hb and sort them after adjusting subnormal
53626         arguments.
53627         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53628         Likewise.
53629         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53630         values of ea and eb and sort them after adjusting subnormal
53631         arguments.
53632         * math/auto-libm-test-in: Do not expect some hypot tests of
53633         subnormals to fail.  Add more hypot tests.
53634         * math/auto-libm-test-out: Regenerated.
53636 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53638         [BZ #13304]
53639         * sysdeps/sh/s_fma.c: New file.
53640         * sysdeps/sh/s_fmaf.c: New file.
53641         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53642         version.
53643         * sysdeps/sh/Implies: Add sh/soft-fp.
53645 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53647         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53648         level of indirection to members `objname', `errstring', `malloced'.
53649         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53650         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53651         it as the __longjmp argument (just pass 1 instead).
53652         (_dl_catch_error): Initialize C with argument pointers and address of
53653         volatile local ERRCODE rather than copying values out of C at return.
53655 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53657         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53658         * math/auto-libm-test-out: Regenerated.
53659         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53660         (hypot_test_data): Likewise.
53661         (pow_test_data): Likewise.
53662         (pow_tonearest_test_data): Likewise.
53663         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53664         mpfr_ff_f.
53665         (func_calc_desc): Add mpfr_ff_f union field.
53666         (FUNC_mpfr_ff_f): New macro.
53667         (test_functions): Add atan2, hypot and pow.
53668         (special_fill_min): New function.
53669         (special_fill_minus_min): Likewise.
53670         (special_fill_min_subnorm): Likewise.
53671         (special_fill_minus_min_subnorm): Likewise.
53672         (special_real_inputs): Add min, -min, min_subnorm and
53673         -min_subnorm.
53674         (calc_generic_results): Handle mpfr_ff_f.
53675         * sysdeps/i386/fpu/libm-test-ulps: Update.
53676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53678 2013-12-16  Will Newton  <will.newton@linaro.org>
53680         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53681         (Aligned Memory Blocks): Add documentation for aligned_alloc
53682         and suggest it as an alternative to posix_memalign.
53683         (Hooks for Malloc): Document __memalign_hook is also called
53684         for aligned_alloc.  (Summary of Malloc): Add summary for
53685         aligned alloc.  Document __memalign_hook is also called
53686         for aligned_alloc.
53688 2013-12-16  Will Newton  <will.newton@linaro.org>
53690         * manual/memory.texi (Malloc Examples): Clarify default
53691         alignment documentation.  Suggest posix_memalign rather
53692         than memalign or valloc.
53693         (Aligned Memory Blocks): Remove suggestion to use memalign
53694         or valloc.  Remove obsolete comment about BSD.
53695         Document memalign errno values and mark the function obsolete.
53696         Document posix_memalign returned error codes.  Mark valloc
53697         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53698         called for posix_memalign and valloc.
53699         (Summary of Malloc): Add posix_memalign to function summary.
53700         __memalign_hook is also called for posix_memalign and valloc.
53702 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53704         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53705         TAYLOR_SIN.
53706         (__sin): Adjust.
53707         (__cos): Likewise.
53708         (sloww): Use mynumber union.  Expand ternary operator into
53709         if-else statements.
53710         (cslow): use mynumber union.
53712 2013-12-16  Allan McRae  <allan@archlinux.org>
53714         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53715         * configure: Regenerated.
53717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53719         [BZ #14120]
53720         * configure.ac: Added --enable-maintainer-mode. Check for
53721         autoconf when enabled.
53722         * configure: Regenerated.
53724         * nscd/nscd.service: New file.
53725         * nscd/nscd.tmpfiles: New file.
53727 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53729         [BZ #12100]
53730         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53731         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53732         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53733         (strstr): Add __strstr_sse2_unaligned ifunc.
53734         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53735         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53736         (strcasestr): Remove __strcasestr_sse42 ifunc.
53737         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53741 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53743         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53744         * sysdeps/sh/bits/fenv.h: ... here.
53745         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53747 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53749         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53752         hypotf multiarch implementations.
53753         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53754         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53755         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53756         multiarch hypot for PPC64.
53757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53758         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53759         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53760         multiarch hypotf for PPC64.
53762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53763         modff multiarch implementations.
53764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53767         multiarch modf for PPC64.
53768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53771         multiarch modff for PPC64.
53773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53774         and logl multiarch implementations.
53775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53778         multiarch logb for PPC64.
53779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53782         multiarch logb for PPC64.
53783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53786         multiarch logb for PPC64.
53788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53789         isinff multiarch implementation.
53790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53791         file.
53792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53794         multiarch isinf for PPC64.
53795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53796         file.
53797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53798         multiarch isinff for PPC64.
53800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53801         finitef multiarch implementation.
53802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53803         file.
53804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53806         multiarch finite for PPC64.
53807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53808         file.
53809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53810         multiarch finitef for PPC64.
53812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53813         lrint multiarch implementation.
53814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53815         file.
53816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53818         multiarch llrint for PPC64.
53819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53820         multiarch lrint for PPC64.
53822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53823         copysignf multiarch implementation.
53824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53825         file.
53826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53827         file.
53828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53829         multiarch copysign for PPC64.
53830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53831         multiarch copysignf for PPC64.
53833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53834         multiarch implementation.
53835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53836         file.
53837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53838         file.
53839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53840         file.
53841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53842         file.
53843         multiarch llround for PPC64.
53844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53845         multiarch trunc for PPC64.
53846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53847         multiarch truncf for PPC64.
53849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53850         multiarch implementation.
53851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53852         file.
53853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53854         file.
53855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53856         file.
53857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53858         file.
53859         multiarch llround for PPC64.
53860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53861         multiarch round for PPC64.
53862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53863         multiarch roundf for PPC64.
53865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53866         multiarch implementation.
53867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53868         file.
53869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53870         file.
53871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53872         file.
53873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53874         file.
53875         multiarch llround for PPC64.
53876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53877         multiarch floor for PPC64.
53878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53879         multiarch floorf for PPC64.
53881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53882         multiarch implementation.
53883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53884         file.
53885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53886         file.
53887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53888         file.
53889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53890         file.
53891         multiarch llround for PPC64.
53892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53893         multiarch ceil for PPC64.
53894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53895         multiarch ceilf for PPC64.
53897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53898         multiarch implementation.
53899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53900         file.
53901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53902         file.
53903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53904         file.
53905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53906         multiarch llround for PPC64.
53907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53908         multiarch lround for PPC64.
53910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53911         multiarch implementation.
53912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53915         file.
53916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53919         multiarch isnan for PPC64.
53920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53921         multiarch isnanf for PPC64.
53923         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53924         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53925         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53926         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53927         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53930         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53931         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53932         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53933         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53936         multiarch implementations.
53937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53938         (__libc_ifunc_impl_list): Likewise.
53939         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53940         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53941         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53942         multiarch stpcpy for PPC64.
53944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53945         multiarch implementations.
53946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53947         (__libc_ifunc_impl_list): Likewise.
53948         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53949         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53950         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53951         multiarch strcpy for PPC64.
53953         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53954         redefine function name.
53955         (_wordcopy_fwd_dest_aligned): Likewise.
53956         (_wordcopy_bwd_aligned): Likewise.
53957         (_wordcopy_bwd_dest_aligned): Likewise.
53958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53959         multiarch implementations.
53960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53961         (__libc_ifunc_impl_list): Likewise.
53962         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53963         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53964         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53966         multiarch wcscpy for PPC64.
53968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53969         multiarch implementations.
53970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53971         (__libc_ifunc_impl_list): Likewise.
53972         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53973         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53974         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53975         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53976         multiarch wcscpy for PPC64.
53978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53979         multiarch implementations.
53980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53981         (__libc_ifunc_impl_list): Likewise.
53982         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53983         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53984         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53985         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53986         multiarch wcsrchr for PPC64.
53988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53989         multiarch implementations.
53990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53991         (__libc_ifunc_impl_list): Likewise.
53992         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53993         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53994         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53995         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53996         multiarch wcschr for PPC64.
53998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53999         multiarch implementations.
54000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54001         (__libc_ifunc_impl_list): Likewise.
54002         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
54003         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
54004         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
54005         multiarch strchrnul for PPC64.
54007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
54008         implementations.
54009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54010         (__libc_ifunc_impl_list): Likewise.
54011         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
54012         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
54013         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
54014         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
54015         strchr for PPC64.
54017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
54018         implementations.
54019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54020         (__libc_ifunc_impl_list): Likewise.
54021         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
54022         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
54023         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
54024         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
54025         strncmp for PPC64.
54027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
54028         multiarch implementations.
54029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54030         (__libc_ifunc_impl_list): Likewise.
54031         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
54032         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
54033         strncasecmp for PPC64.
54034         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
54035         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
54036         multiarch strncasecmp_l for PPC64.
54038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
54039         multiarch implementations.
54040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54041         (__libc_ifunc_impl_list): Likewise.
54042         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
54043         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
54044         multiarch strcasecmp for PPC64.
54045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
54046         file.
54047         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
54048         multiarch strcasecmp_l for PPC64.
54050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
54051         implementations.
54052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54053         (__libc_ifunc_impl_list): Likewise.
54054         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
54055         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
54056         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
54057         strnlen for PPC64.
54059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
54060         implementations.
54061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54062         (__libc_ifunc_impl_list): Likewise.
54063         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
54064         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
54065         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
54066         strlen for PPC64.
54068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
54069         implementations.
54070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54071         (__libc_ifunc_impl_list): Likewise.
54072         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
54073         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
54074         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
54075         rawmemrchr for PPC64.
54077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
54078         implementation.
54079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54080         (__libc_ifunc_impl_list): Likewise.
54081         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
54082         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
54083         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
54084         memrchr for PPC64.
54086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
54087         implementation.
54088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54089         (__libc_ifunc_impl_list): Likewise.
54090         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
54091         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
54092         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
54093         memchr for PPC64.
54095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
54096         implementation.
54097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54098         (__libc_ifunc_impl_list): Likewise.
54099         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
54100         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
54101         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
54102         mempcpy for PPC64.
54104         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
54105         avoid cretion of __bzero symbol.
54106         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
54107         Likewise.
54108         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
54109         Likewise.
54110         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
54111         Likewise.
54112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
54113         multiarch implementations.
54114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54115         (__libc_ifunc_impl_list): Likewise.
54116         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
54117         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
54118         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
54119         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
54120         bzero for PPC32.
54121         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
54122         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
54123         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
54124         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
54125         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
54126         memset for PPC64.
54127         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
54129         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
54130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
54131         implementations.
54132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54133         (__libc_ifunc_impl_list): Likewise.
54134         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
54135         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
54136         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
54137         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
54138         memcmp for PPC64.
54140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
54141         multiarch for POWER/PPC64.
54142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
54143         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
54144         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
54145         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
54146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
54147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
54148         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
54149         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
54150         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
54151         memcpy for PPC64.
54153         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
54154         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
54155         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
54156         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
54157         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
54158         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
54159         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
54160         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
54161         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
54162         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
54163         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
54164         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
54165         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
54166         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
54167         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
54168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
54169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
54170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
54171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
54172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
54173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
54174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
54176 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54178         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
54180 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54182         * benchtests/Makefile (bench): Add exp2 and log2.
54183         (LDLIBS-bench-exp2): Add -lm.
54184         (LDLIBS-bench-log2): Likewise.
54185         * benchtests/exp2-inputs: New inputs file.
54186         * benchtests/log2-inputs: New inputs file.
54187         * benchtests/log-inputs: Add new inputs.
54188         * benchtests/tan-inputs: Likewise.
54190 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54192         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
54193         definition...
54194         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
54195         (csloww2): ... from here.
54197         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
54198         instead of structures.
54199         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
54200         (POLYNOMIAL): Likewise.
54201         (TAYLOR_SLOW): Likewise.
54202         (__sin): Likewise.
54203         (__cos): Likewise.
54204         (slow1): Likewise.
54205         (slow2): Likewise.
54206         (sloww): Likewise.
54207         (sloww1); Likewise.
54208         (sloww2): Likewise.
54209         (bsloww1): Likewise.
54210         (bsloww2): Likewise.
54211         (cslow2): Likewise.
54212         (csloww): Likewise.
54213         (csloww1): Likewise.
54214         (csloww2): Likewise.
54216 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
54218         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
54219         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
54220         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
54221         * malloc/hooks.c (realloc_check): Likewise.
54223         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
54224         * malloc/arena.c: Remove PER_THREAD conditional.
54225         [!PER_THREAD]: Remove code.
54226         (ptmalloc_unlock_all2): Likewise.
54227         (ptmalloc_init): Likewise.
54228         (_int_new_arena): Likewise.
54229         (arena_get2): Likewise.
54230         * malloc/hooks.c (__malloc_get_state): Likewise.
54231         (__malloc_set_state): Likewise.
54232         * malloc/malloc.c: Likewise.
54233         (struct malloc_state): Likewise.
54234         (struct malloc_par): Likewise.
54235         (__libc_realloc): Likewise.
54236         (__libc_mallopt): Likewise.
54238 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54240         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
54242 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
54244         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54245         macro to a function.  Check for zero perturb_byte.
54246         (_int_malloc, _int_free): Remove zero perturb_byte checks.
54248         * malloc/malloc.c: (force_reg): Remove.
54249         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
54250         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
54251         force_reg by atomic_forced_read.
54252         * malloc/arena.c (ptmalloc_init): Likewise.
54253         * malloc/hooks.c (top_check): Likewise.
54255 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54259 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
54261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54263 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
54265         * math/auto-libm-test-in: Add tests of lgamma.
54266         * math/auto-libm-test-out: Regenerated.
54267         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
54268         (M_LOG_2_SQRT_PIl): Likewise.
54269         (lgamma_test_data): Use AUTO_TESTS_f_f1.
54270         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54271         mpfr_f_f1.
54272         (func_calc_desc): Add mpfr_f_f1 union field.
54273         (ARGS1): New macro.
54274         (ARGS2): Likewise.
54275         (ARGS3): Likewise.
54276         (ARGS4): Likewise.
54277         (RET1): Likewise.
54278         (RET2): Likewise.
54279         (CALC): Likewise.
54280         (FUNC): Likewise.
54281         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
54282         (test_functions): Add lgamma.
54283         (calc_generic_results): Handle mpfr_f_f1.
54284         * sysdeps/i386/fpu/libm-test-ulps: Update.
54285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54287 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54289         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
54290         __mpn_add_n for PowerPC64/POWER7.
54291         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
54292         __mpn_sub_n for PowerPC64/POWER7.
54294         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
54295         __mpn_addmul_1 for PowerPC64.
54296         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
54297         __mpn_submul_1 for PowerPC64.
54298         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
54299         for PowerPC64.
54300         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
54301         for PowerPC64.
54303 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
54305         [BZ #15089]
54306         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
54308 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54310         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
54312         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
54313         add multiarch folders.
54314         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
54315         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
54316         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
54317         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
54318         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
54319         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
54320         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
54321         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
54322         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
54323         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
54324         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
54325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
54326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
54327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
54328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
54329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
54330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
54332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54333         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
54334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
54335         New file.
54336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
54337         New file.
54338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
54339         multiarch __ieee754_hypot for PowerPC32.
54340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
54341         New file.
54342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
54343         New file.
54344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
54345         multiarch __ieee754_hypotf for PowerPC32.
54347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
54348         long_double_symbol only if __logbl is defined.
54349         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54350         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
54351         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
54352         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
54353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
54354         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
54355         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
54356         path for implementation.
54357         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
54358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
54359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
54360         logb, and logbl multiarch implementations for PowerPC32.
54361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
54362         file.
54363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
54364         file.
54365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
54366         multiarch logb for PowerPC32.
54367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
54368         file.
54369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
54370         file.
54371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
54372         multiarch logbf for PowerPC32.
54373         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
54374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
54375         file.
54376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
54377         multiarch logbl implementation for PowerPC32.
54379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
54380         and modff multiarch implementations.
54381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
54382         New file.
54383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
54384         New file.
54385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
54386         multiarch modf for PowerPC32.
54387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
54388         New file.
54389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
54390         New file.
54391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
54392         multiarch modff for PowerPC32.
54394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
54395         and lrintf multiarch implementations.
54396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
54397         New file.
54398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
54399         New file.
54400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
54401         multiarch lrint for PowerPC32.
54402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
54403         file: multiarch lrintf for PowerPC32.
54405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
54406         and lroundf multiarch implementations.
54407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
54408         New file.
54409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
54410         New file.
54411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
54412         New file.
54413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
54414         multiarch lround for PowerPC32.
54415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
54416         file: multiarch lroundf for PowerPC32.
54418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54419         copysign and copysignf multiarch implementations.
54420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
54421         New file.
54422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
54423         New file.
54424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
54425         file: multiarch copysign for PowerPC32.
54426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
54427         file: multiarch copysignf for PowerPC32.
54429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
54430         and truncf multiarch implementations.
54431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
54432         New file.
54433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
54434         file.
54435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
54436         multiarch trunc for PowerPC32.
54437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
54438         New file.
54439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
54440         New file.
54441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
54442         multiarch truncf for PowerPC32.
54444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
54445         and roundf multiarch implementations.
54446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
54447         New file.
54448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
54449         file.
54450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
54451         multiarch round for PowerPC32.
54452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
54453         New file.
54454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
54455         New file.
54456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
54457         multiarch roundf for PowerPC32.
54459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
54460         and floorf multiarch implementations.
54461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
54462         New file.
54463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
54464         file.
54465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
54466         multiarch floor for PowerPC32.
54467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
54468         New file.
54469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
54470         New file.
54471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
54472         multiarch floorf for PowerPC32.
54474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
54475         and ceilf multiarch implementations.
54476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
54477         New file.
54478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
54479         file.
54480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
54481         multiarch ceil for PowerPC32.
54482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
54483         New file.
54484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
54485         file.
54486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
54487         multiarch ceilf for PowerPC32.
54489         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
54490         is defined.
54491         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
54492         FINITEF is defined.
54493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
54494         and finitef multiarch implementations.
54495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
54496         New file.
54497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
54498         file.
54499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
54500         multiarch finite for PowerPC32.
54501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
54502         New file.
54503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
54504         file: multiarch finitef for PowerPC32.
54506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
54507         and isinff multiarch implementations.
54508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
54509         file.
54510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
54511         file.
54512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
54513         multiarch isinf for PowerPC32.
54514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
54515         New file.
54516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
54517         multiarch isinff for PowerPC32.
54519         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
54520         alias when __isnan is defined.
54521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
54522         and isnanf multiarch implementations.
54523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
54524         file.
54525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
54526         file.
54527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
54528         file.
54529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
54530         file.
54531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
54532         multiarch isnan for PowerPC32.
54533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
54534         New file.
54535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
54536         New file.
54537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
54538         multiarch isnanf for PowerPC32.
54540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
54541         and sqrtf multiarch implementations.
54542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
54543         file.
54544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
54545         file.
54546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
54547         multiarch sqrt for PowerPC32.
54548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
54549         file.
54550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
54551         file.
54552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
54553         multiarch sqrtf for PowerPC32.
54555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
54556         and llroundf multiarch implementations.
54557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
54558         New file.
54559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
54560         New file.
54561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
54562         New file.
54563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
54564         file: multiarch llround for PowerPC32.
54565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
54566         file: multiarch llroundf for PowerPC32.
54568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
54569         multiarch PowerPC32 fpu implementations.
54570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
54571         New file.
54572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
54573         New file.
54574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
54575         multiarch llrint for PowerPC32.
54576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
54577         New file.
54578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
54579         New file.
54580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
54581         file.
54583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
54585         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
54586         file.
54587         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
54588         file.
54589         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
54590         file.
54591         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
54592         multiarch wordcopy for PPC32.
54593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54594         wordcopy objects.
54595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54596         (__libc_ifunc_impl_list): Likewise.
54597         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
54598         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
54599         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
54600         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
54601         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
54602         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54604         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54606         file.
54607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54608         file.
54609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54610         file.
54611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54612         multiarch wcscpy for PPC32.
54613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54614         multiarch objects.
54615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54616         (__libc_ifunc_impl_list): Likewise.
54617         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54618         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54619         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54620         sysdeps/powerpc/power6/wcscpy.c.
54622         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54623         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54624         file.
54625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54626         file.
54627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54628         file.
54629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54630         multiarch wcsrchr for PPC32.
54631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54632         multiarch objects.
54633         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54634         (__libc_ifunc_impl_list): Likewise.
54635         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54636         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54637         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54638         sysdeps/powerpc/power6/wcsrchr.c.
54640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54641         file.
54642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54643         file.
54644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54646         multiarch wcschr for PPc32.
54647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54648         multiarch objects.
54649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54650         (__libc_ifunc_impl_list): Likewise.
54651         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54652         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54653         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54654         sysdeps/powerpc/power6/wcschr.c.
54656         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54657         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54658         file.
54659         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54660         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54661         file: multiarch strchr for PPC32.
54662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54663         multiarch objects.
54664         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54665         (__libc_ifunc_impl_list): Likewise.
54667         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54668         name.
54669         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54670         file.
54671         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54672         file.
54673         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54674         multiarch strchrnul for PPC32.
54675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54676         multiarch objects.
54677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54678         (__libc_ifunc_impl_list): Likewise.
54680         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54681         file.
54682         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54683         multiarch strncasecmp for PPC32.
54684         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54685         file.
54686         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54687         multiarch strncasecmp_l for PPC32.
54688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54689         strncasecmp multiarch objects.
54690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54691         (__libc_ifunc_impl_list): Likewise.
54693         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54694         file.
54695         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54696         multiarch strncasecmp for PPC32.
54697         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54698         New file.
54699         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54700         multiarch strcasecmp_l for PPC32.
54701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54702         multiarch objects.
54703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54704         (__libc_ifunc_impl_list): Likewise.
54706         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54707         file.
54708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54709         file.
54710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54711         multiarch strncmp for PPC32.
54712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54713         multiarch objects.
54714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54715         (__libc_ifunc_impl_list): Likewise.
54717         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54718         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54719         file.
54720         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54721         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54722         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54723         multiarch objects.
54724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54725         (__libc_ifunc_impl_list): Likewise.
54727         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54728         file.
54729         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54730         file.
54731         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54733         multiarch objects.
54734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54735         (__libc_ifunc_impl_list): Likewise.
54737         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54738         file.
54739         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54740         file.
54741         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54742         multiarch rawmemchr for PPC32.
54743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54744         multiarch objects.
54745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54746         (__libc_ifunc_impl_list): Likewise.
54748         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54749         file.
54750         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54751         file.
54752         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54753         file: memrchr multiarch for PPC32.
54754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54755         multiarch objects.
54756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54757         (__libc_ifunc_impl_list): Likewise.
54759         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54760         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54761         file.
54762         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54763         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54764         multiarch memchr for PPC32.
54765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54766         multiarch objects.
54767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54768         (__libc_ifunc_impl_list): Likewise.
54770         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54771         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54772         file.
54773         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54774         file.
54775         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54776         file: multiarch mempcpy for PPC32.
54777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54778         multiarch objects.
54779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54780         (__libc_ifunc_impl_list): Likewise.
54782         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54783         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54784         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54785         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54786         multiarch bzero for PPC32.
54787         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54788         file.
54789         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54790         file.
54791         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54792         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54793         file: multiarch memset for PPC32.
54794         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54795         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54796         memset multiarch objects.
54797         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54798         (__libc_ifunc_impl_list): Likewise.
54800         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54801         file.
54802         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54804         memcmp for PPC32.
54805         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54807         multiarch objects.
54808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54809         (__libc_ifunc_impl_list): Likewise.
54811         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54812         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54813         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54814         file.
54815         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54816         file.
54817         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54818         file.
54819         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54820         multiarch memcpy for PPC32.
54821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54822         multiarch objects.
54823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54824         (__libc_ifunc_impl_list): Likewise.
54826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54827         support multiarch for POWER/PPC32.
54828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54829         Likewise.
54830         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54832         Implies file to make multiarch folder appers before the fpu and
54833         default folder for power4 configuration.
54835 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54837         * scripts/bench.pl: Append volatile keyword to type.
54839 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54841         * sysdeps/sh/sotruss-lib.c: New file.
54842         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54844 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54848 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54850         [BZ #6810]
54851         * math/w_tgamma.c: Include <errno.h>.
54852         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54853         * math/w_tgammaf.c: Include <errno.h>.
54854         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54855         * math/w_tgammal.c: Include <errno.h>.
54856         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54857         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54858         underflow.  Add more tgamma tests.
54859         * math/auto-libm-test-out: Regenerated.
54860         * sysdeps/i386/fpu/libm-test-ulps: Update.
54861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54863         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54864         sin, sinh, tan, tanh, tgamma, y0 and y1.
54865         * math/auto-libm-test-out: Regenerated.
54866         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54867         (TEST_COND_x86): Likewise.
54868         (M_E2l): Remove macro.
54869         (M_E3l): Likewise.
54870         (M_2_SQRT_PIl): Likewise.
54871         (M_SQRT_PIl): Likewise.
54872         (M_1_DIV_El): Likewise.
54873         (log_test_data): Use AUTO_TESTS_f_f.
54874         (log10_test_data): Likewise.
54875         (log1p_test_data): Likewise.
54876         (log2_test_data): Likewise.
54877         (sin_test_data): Likewise.
54878         (sin_tonearest_test_data): Likewise.
54879         (sin_towardzero_test_data): Likewise.
54880         (sin_downward_test_data): Likewise.
54881         (sin_upward_test_data): Likewise.
54882         (sinh_test_data): Likewise.
54883         (sinh_tonearest_test_data): Likewise.
54884         (sinh_towardzero_test_data): Likewise.
54885         (sinh_downward_test_data): Likewise.
54886         (sinh_upward_test_data): Likewise.
54887         (tan_test_data): Likewise.
54888         (tan_tonearest_test_data): Likewise.
54889         (tan_towardzero_test_data): Likewise.
54890         (tan_downward_test_data): Likewise.
54891         (tan_upward_test_data): Likewise.
54892         (tanh_test_data): Likewise.
54893         (tgamma_test_data): Likewise.
54894         (y0_test_data): Likewise.
54895         (y1_test_data): Likewise.
54896         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54897         (special_real_inputs): Add pi/4.
54898         * sysdeps/i386/fpu/libm-test-ulps: Update.
54899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54901 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54903         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54904         "longjmp_target" static probes.
54905         (__longjmp): Rename to __longjmp_symbol.
54906         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54907         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54908         on which longjmp to generate.
54909         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54910         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54911         probe.
54912         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54913         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54914         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54915         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54916         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54917         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54919         __longjmp_symbol based on which __longjmp to generate.
54920         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54921         probe.
54922         (setjmp): Rename to setjmp_symbol.
54923         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54924         (_setjmp): Rename to _setjmp_symbol.
54925         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54926         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54927         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54928         which setjmp to generate.
54929         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54930         "longjmp_target" static probes.
54932 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54934         * benchtests/README: Add note about output arguments.
54935         * benchtests/bench-sincos.c: Remove file.
54936         * benchtests/sincos-inputs: New file.
54937         * scripts/bench.pl: Identify output arguments and define
54938         static variables for them.
54940         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54942         [BZ #15941]
54943         * Makefile (INSTALL): Add install-plain.texi as the primary
54944         dependency.
54945         * manual/install-plain.texi: New file.
54946         * manual/install.texi: Include node directive only for
54947         non-plaintext output.
54949 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54951         * stdlib/longlong.h: Update from GCC.
54953         [BZ #6807]
54954         [BZ #15901]
54955         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54956         * math/w_j0f.c (y0f): Likewise.
54957         * math/w_j0l.c (__y0l): Likewise.
54958         * math/w_j1.c (y1): Likewise.
54959         * math/w_j1f.c (y1f): Likewise.
54960         * math/w_j1l.c (__y1l): Likewise.
54961         * math/w_jn.c (yn): Likewise.
54962         * math/w_jnf.c (ynf): Likewise.
54963         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54964         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54965         value for Bessel function domain errors outside _SVID_ mode.
54966         Adjust sign of return value for yn (negative integer, 0).
54967         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54968         by zero in return for negative x and set sign appropriately for
54969         negative n.
54970         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54971         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54972         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54973         expectations in error cases.
54974         (y1_test_data): Likewise.
54975         (yn_test_data): Likewise.
54976         * sysdeps/i386/fpu/libm-test-ulps: Update.
54977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54979 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54981         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54982         "64" to "64-v1".  Add "64-v2".
54983         (abi-64-options): Rename to ...
54984         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54985         (abi-64-condition): Rename to ...
54986         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54987         (abi-64-ld-soname): Rename to ...
54988         (abi-64-v1-ld-soname): ... this.
54989         (abi-64-v2-options): Define.
54990         (abi-64-v2-condition): Likewise.
54991         (abi-64-v2-ld-soname): Likewise.
54992         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54993         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54998 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54999             Alan Modra  <amodra@gmail.com>
55001         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
55002         New versions for use with the ELFv2 ABI.
55003         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
55004         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
55005         declaration.
55006         (struct La_ppc64v2_retval): Likewise.
55007         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
55008         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
55009         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
55010         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
55011         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
55012         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55013         Do not save or restore CR.
55014         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
55015         (_dl_profile_resolve): Do no save or restore CR.  Support extended
55016         return values for ELFv2 ABI.  Fix location of FPR return registers.
55017         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
55018         updated values for _CALL_ELF == 2.
55019         (La_regs, La_retval, int_retval): Likewise.
55021 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55023         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
55024         (FRAME_MIN_SIZE_PARM): Likewise.
55025         (FRAME_BACKCHAIN): Likewise.
55026         (FRAME_CR_SAVE): Likewise.
55027         (FRAME_LR_SAVE): Likewise.
55028         (FRAME_TOC_SAVE): Likewise.
55029         (FRAME_PARM_SAVE): Likewise.
55030         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
55031         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
55032         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55033         (call_mcount_parm_offset): New macro.
55034         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
55035         (PROF): Use symbolic stack frame offsets.
55036         (TAIL_CALL_SYSCALL_ERROR): Likewise.
55037         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
55038         Redefine in terms of FRAME_MIN_SIZE.
55039         (_dl_runtime_resolve): Use symbolic stack frame offsets.
55040         (_dl_profile_resolve): Likewise.  Update comment.
55041         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
55042         symbols stack frame offsets.
55043         (__sigsetjmp): Likewise.
55044         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
55045         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
55046         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
55047         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
55049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
55050         (FRAME_BACKCHAIN): Remove.
55051         (FRAME_CR_SAVE): Likewise.
55052         (FRAME_LR_SAVE): Likewise.
55053         (FRAME_COMPILER_DW): Likewise.
55054         (FRAME_LINKER_DW): Likewise.
55055         (FRAME_TOC_SAVE): Likewise.
55056         (FRAME_PARM_SAVE): Likewise.
55057         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
55058         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
55059         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
55061         (CHECK_SP): Use symbolic stack frame offsets.
55062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
55063         zone" instead of caller's parameter save area for temp storage.
55064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55065         Likewise.  Also, use symbolic stack frame offsets.
55066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
55067         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
55068         our own stack frame instead of the caller's.
55069         (__socket): Use symbolic stack frame offsets.
55071 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55072             Alan Modra  <amodra@gmail.com>
55074         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
55075         Define.
55076         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
55077         (PPC64_LOCAL_ENTRY_OFFSET): Define.
55078         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
55079         New function.
55080         (elf_machine_fixup_plt): Call it.
55081         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
55082         reloc arguments.
55083         (elf_machine_rela): Update call to elf_machine_plt_conflict.
55084         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55085         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
55086         r2 before calling target.
55088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55089             Alan Modra  <amodra@gmail.com>
55091         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
55092         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
55093         versions of macros to support ELFv2 ABI.
55094         (LOCALENTRY): New macro.
55095         (ENTRY, EALIGN): Use it.
55096         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
55097         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
55098         fall through into ENTRY entry point.
55099         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
55100         Only define if _CALL_ELF != 2.
55102         (elf_machine_matches_host): Verify ABI version matches.
55103         (RTLD_START): Use LOCALENTRY.
55104         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
55105         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
55106         (PLT_ENTRY_WORDS): New macro.
55107         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
55108         (elf_machine_runtime_setup): Support ELFv2 ABI.
55109         (elf_machine_fixup_plt): Likewise.
55110         (elf_machine_plt_conflict): Likewise.
55111         (resolve_ifunc): Likewise.
55112         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55114         Likewise.
55115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
55116         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
55117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55118         (makecontext): Support ELFv2 ABI.
55119         * elf/elf.h (EF_PPC64_ABI): Define.
55121 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55123         * sysdeps/powerpc/powerpc64/sysdep.h
55124         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
55125         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
55126         (ENTRY) [ASSEMBLER]: ... but instead here ...
55127         (EALIGN) [ASSEMBLER]: ... and here.
55128         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
55129         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
55130         (ENTRY_2) [!ASSEMBLER]: Use it.
55131         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
55132         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
55133         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55134         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
55135         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
55136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
55137         Use PPC64_LOAD_FUNCPTR.
55139         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
55141 2013-12-04  Alan Modra  <amodra@gmail.com>
55143         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
55144         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
55145         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
55146         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
55148         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
55149         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
55150         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
55151         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
55152         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
55153         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
55155 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55158         (__makecontext): Fix incorrect CFI when backtracing out of
55159         context created via makecontext.
55160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
55161         (__setcontext): Fix incorrect CFI during switch to new context.
55162         (__novec_setcontext): Likewise.
55164 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55166         [BZ #4772]
55167         * time/strptime_l.c (__strptime_internal): Allow modifiers
55168         in strptime.
55169         * time/tst-strptime.c (day_tests): Add testcase.
55171 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55173         * scripts/bench.pl: Skip over blank lines.
55175 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
55177         [BZ #926]
55178         * manual/time.texi (Calendar Time): Clarify what timezone functions
55179         use.
55181 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55185 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55187         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
55188         implementation.
55189         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
55190         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
55191         * debug/memset_chk.c (__memset_chk): Likewise.
55192         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
55193         * debug/strncpy_chk.c: Likewise.
55195 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55197         [BZ #15268]
55198         [BZ #15425]
55199         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
55200         (__ieee754_exp): For possibly underflowing results, check size of
55201         result and force underflow exception if required.
55202         * math/auto-libm-test-in: Add more tests of exp.
55203         * math/auto-libm-test-out: Regenerated.
55204         * sysdeps/i386/fpu/libm-test-ulps: Update.
55205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55207         [BZ #16283]
55208         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
55209         * math/w_exp2f.c (__exp2f): Likewise.
55210         * math/w_exp2l.c (__exp2l): Likewise.
55211         * math/auto-libm-test-in: Do not allow missing errno on exp2
55212         underflow.
55213         * math/auto-libm-test-out: Regenerated.
55215 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
55217         [BZ #16274]
55218         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
55219         handle filename validation.
55220         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
55221         (do_open): Delete.
55223 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55225         [BZ #6786]
55226         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
55227         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
55228         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55229         <float.h>.
55230         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
55231         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
55232         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55233         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
55234         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55235         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
55236         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55237         * math/auto-libm-test-in: Don't allow missing errno from erfc.
55238         Add more erfc tests.
55239         * math/auto-libm-test-out: Regenerated.
55240         * sysdeps/i386/fpu/libm-test-ulps: Update.
55241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55243         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
55244         exp2, expm1, j0 and j1.
55245         * math/auto-libm-test-out: Regenerated.
55246         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
55247         (erfc_test_data): Likewise.
55248         (exp_test_data): Likewise.
55249         (exp_tonearest_test_data): Likewise.
55250         (exp_towardzero_test_data): Likewise.
55251         (exp_downward_test_data): Likewise.
55252         (exp_upward_test_data): Likewise.
55253         (exp10_test_data): Likewise.
55254         (exp2_test_data): Likewise.
55255         (expm1_test_data): Likewise.
55256         (j0_test_data): Likewise.
55257         (j1_test_data): Likewise.
55258         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
55259         (input_flag_type): Add flag_xfail_rounding.
55260         (input_flags): Add xfail-rounding.
55261         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
55262         (output_for_one_input_case): Handle flag_xfail_rounding.
55263         * sysdeps/i386/fpu/libm-test-ulps: Update.
55264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55266 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
55268         [BZ #16289]
55269         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
55270         division by 0.
55272 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55274         [BZ #16195]
55275         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
55276         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55277         (STAP_PROBE0): New macro.
55278         (STAP_PROBE1): Likewise.
55279         (STAP_PROBE2): Likewise.
55280         (STAP_PROBE3): Likewise.
55281         (STAP_PROBE4): Likewise.
55283 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
55285         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
55287 2013-12-02  Steve Ellcey  <sellcey@mips.com>
55289         * benchtests/Makefile (bench): Add sqrt.
55290         (LDLIBS-bench-sqrt): New.
55291         * benchtests/sqrt-input: New.
55293 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
55295         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
55296         (GAIH_EAI): Likewise.
55297         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
55298         (gaih_inet): Likewise.
55299         (getaddrinfo): Don't use GAIH_EAI.
55301         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
55302         (struct gaih): Remove definition.
55304 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55306         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
55307         Use HERRNOP directly.
55309 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55313 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
55315         * math/gen-auto-libm-tests.c (test_functions): Add more
55316         single-argument functions.
55317         (special_fill_pi_2): New function.
55318         (special_fill_minus_pi_2): Likewise.
55319         (special_fill_pi_6): Likewise.
55320         (special_fill_minus_pi_6): Likewise.
55321         (special_fill_pi_3): Likewise.
55322         (special_fill_2pi_3): Likewise.
55323         (special_fill_e): Likewise.
55324         (special_fill_1_e): Likewise.
55325         (special_fill_e_minus_1): Likewise.
55326         (special_real_inputs): Add more special inputs.
55327         (output_for_one_input_case): Do not require ERANGE on underflow to
55328         zero if round-to-nearest result does not underflow to zero, unless
55329         exact results required.
55330         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
55331         atan, atanh, cbrt, cos and cosh.
55332         * math/auto-libm-test-out: Regenerated.
55333         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
55334         (acos_tonearest_test_data): Likewise.
55335         (acos_towardzero_test_data): Likewise.
55336         (acos_downward_test_data): Likewise.
55337         (acos_upward_test_data): Likewise.
55338         (acosh_test_data): Likewise.
55339         (asin_test_data): Likewise.
55340         (asin_tonearest_test_data): Likewise.
55341         (asin_towardzero_test_data): Likewise.
55342         (asin_upward_test_data): Likewise.
55343         (asinh_test_data): Likewise.
55344         (atan_test_data): Likewise.
55345         (atanh_test_data): Likewise.
55346         (cbrt_test_data): Likewise.
55347         (cos_test_data): Likewise.
55348         (cos_tonearest_test_data): Likewise.
55349         (cos_towardzero_test_data): Likewise.
55350         (cos_downward_test_data): Likewise.
55351         (cos_upward_test_data): Likewise.
55352         (cosh_test_data): Likewise.
55353         (cosh_tonearest_test_data): Likewise.
55354         (cosh_towardzero_test_data): Likewise.
55355         (cosh_downward_test_data): Likewise.
55356         (cosh_upward_test_data): Likewise.
55357         * sysdeps/i386/fpu/libm-test-ulps: Update.
55358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55360 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
55362         [BZ #6787]
55363         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
55364         * math/w_exp10f.c (__exp10f): Likewise.
55365         * math/w_exp10l.c (__exp10l): Likewise.
55366         * math/libm-test.inc (exp10_test_data): Add more tests and expect
55367         errno settings in existing tests.
55369         [BZ #14032]
55370         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
55371         precision control set to double precision.
55372         * sysdeps/i386/fpu/w_sqrt.c: New file.
55373         * math/auto-libm-test-in: Add more tests.
55374         * math/auto-libm-test-out: Update.
55376         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
55377         (sqrt_test_tonearest): New function.
55378         (sqrt_towardzero_test_data): New variable.
55379         (sqrt_test_towardzero): New function.
55380         (sqrt_downward_test_data): New variable.
55381         (sqrt_test_downward): New function.
55382         (sqrt_upward_test_data): New variable.
55383         (sqrt_test_upward): New function.
55384         (main): Call the new functions.
55386         * math/gen-auto-libm-tests.c: New file.
55387         * math/auto-libm-test-in: Likewise.
55388         * math/auto-libm-test-out: New generated file.
55389         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
55390         variables.
55391         (%beautify): Add generated representations of zero.
55392         (top level): Set $auto_input and call parse_auto_input.
55393         (beautify): Remove trailing "f" from hex float constants.
55394         (parse_args): Handle XFAIL_TEST.
55395         (convert_condition): New function.
55396         (or_value): Likewise.
55397         (or_cond_value): Likewise.
55398         (generate_testfile): Handle AUTO_TESTS_* lines.
55399         (parse_auto_input): New function.
55400         * math/libm-test.inc (XFAIL_TEST): New macro.
55401         (ERRNO_UNCHANGED): Update value.
55402         (ERRNO_EDOM): Likewise.
55403         (ERRNO_ERANGE): Likewise.
55404         (IGNORE_RESULT): Likewise.
55405         (TEST_COND_flt_32): New macro.
55406         (TEST_COND_dbl_64): Likewise.
55407         (TEST_COND_ldbl_96_intel): Likewise.
55408         (TEST_COND_ldbl_96_m68k): Likewise.
55409         (TEST_COND_ldbl_128): Likewise.
55410         (TEST_COND_ldbl_128ibm): Likewise.
55411         (TEST_COND_long32): Likewise.
55412         (TEST_COND_long64): Likewise.
55413         (TEST_COND_before_rounding): Likewise.
55414         (TEST_COND_after_rounding): Likewise.
55415         (enable_test): Handle XFAIL_TEST flag.
55416         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
55417         with finite results.
55418         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
55419         auto-libm-test-out.
55421 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55422             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55424         [BZ #16214]
55425         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
55426         __tls_get_addr_internal instead of __tls_get_offset in order to
55427         avoid GOT pointer dependency.  Make rtld export
55428         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
55429         __tls_get_addr since we are a __tls_get_offset platform.
55430         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
55431         GOT pointer being set up before.
55432         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
55434 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
55436         * manual/math.texi (Errors in Math Functions): Document accuracy
55437         goals.
55439         [BZ #15004]
55440         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
55441         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
55442         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55443         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55444         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55445         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55446         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55447         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55448         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55449         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55450         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55451         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55452         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55453         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55454         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55455         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55457         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
55458         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
55459         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
55460         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
55461         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
55462         Likewise.
55463         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
55464         Likewise.
55465         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
55466         Likewise.
55467         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
55468         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
55469         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
55470         atomic-feupdateenv and flt-rounds.
55471         * sysdeps/powerpc/nofpu/Versions (libc): Add
55472         __atomic_feholdexcept, __atomic_feclearexcept,
55473         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
55474         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
55475         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
55476         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
55477         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
55478         here.
55479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
55480         Update.
55482         * manual/arith.texi (FP Exceptions): Document that exceptions may
55483         not be raised when matherr is used.
55484         (Math Error Reporting): Document overflow in directed rounding
55485         modes.  Document that errno may not be set when finite values are
55486         returned on overflow.  Document intent to set errno on underflow
55487         only for underflow to zero.
55489         [BZ #16271]
55490         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
55491         round-to-nearest then adjust result for other rounding modes.
55492         * include/fenv.h (fegetround): Use libm_hidden_proto.
55493         * math/fegetround.c (fegetround): Use libm_hidden_def.
55494         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
55495         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
55496         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55497         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
55498         Likewise.
55499         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
55500         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55501         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
55502         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
55504 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55506         [BZ #16077]
55507         * nss/Versions (libnss_files): Add
55508         _nss_files_gethostbyname3_r.
55509         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
55510         New function.
55511         (HOST_DB_LOOKUP): Remove macro.
55512         (_nss_files_gethostbyname_r): Implement function without the
55513         HOST_DB_LOOKUP macro.
55514         (_nss_files_gethostbyname2_r): Likewise.
55516 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
55518         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
55520 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
55522         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
55523         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
55524         warning.
55526 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55528         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
55529         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
55530         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
55531         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
55532         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
55533         __fe_nomask_env_priv and attribute_hidden.
55534         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
55535         (libc_feupdateenv_test_ppc): Likewise.
55536         (libc_feresetround_ppc): Likewise.
55537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55538         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
55539         compat_symbol macro.
55540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55541         (__fe_nomask_env): Likewise.
55542         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
55544 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55546         * string/Makefile: Remove ifunc tests.
55547         * string/test-string.h: Define TEST_IFUNC.
55548         * string/test-bcopy-ifunc.c: Remove.
55549         * string/test-bzero-ifunc.c: Likewise.
55550         * string/test-memccpy-ifunc.c: Likewise.
55551         * string/test-memchr-ifunc.c: Likewise.
55552         * string/test-memcmp-ifunc.c: Likewise.
55553         * string/test-memcpy-ifunc.c: Likewise.
55554         * string/test-memmem-ifunc.c: Likewise.
55555         * string/test-memmove-ifunc.c: Likewise.
55556         * string/test-mempcpy-ifunc.c: Likewise.
55557         * string/test-memrchr-ifunc.c: Likewise.
55558         * string/test-memset-ifunc.c: Likewise.
55559         * string/test-rawmemchr-ifunc.c: Likewise.
55560         * string/test-stpcpy-ifunc.c: Likewise.
55561         * string/test-stpncpy-ifunc.c: Likewise.
55562         * string/test-strcasecmp-ifunc.c: Likewise.
55563         * string/test-strcasestr-ifunc.c: Likewise.
55564         * string/test-strcat-ifunc.c: Likewise.
55565         * string/test-strchr-ifunc.c: Likewise.
55566         * string/test-strchrnul-ifunc.c: Likewise.
55567         * string/test-strcmp-ifunc.c: Likewise.
55568         * string/test-strcpy-ifunc.c: Likewise.
55569         * string/test-strcspn-ifunc.c: Likewise.
55570         * string/test-strlen-ifunc.c: Likewise.
55571         * string/test-strncasecmp-ifunc.c: Likewise.
55572         * string/test-strncat-ifunc.c: Likewise.
55573         * string/test-strncmp-ifunc.c: Likewise.
55574         * string/test-strncpy-ifunc.c: Likewise.
55575         * string/test-strnlen-ifunc.c: Likewise.
55576         * string/test-strpbrk-ifunc.c: Likewise.
55577         * string/test-strrchr-ifunc.c: Likewise.
55578         * string/test-strspn-ifunc.c: Likewise.
55579         * string/test-strstr-ifunc.c: Likewise.
55581 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55583         * benchtests/Makefile: Remove ifunc tests.
55584         * benchtests/bench-string.h: Define TEST_IFUNC.
55585         * benchtests/bench-bcopy-ifunc.c: Remove.
55586         * benchtests/bench-bzero-ifunc.c: Likewise.
55587         * benchtests/bench-memccpy-ifunc.c: Likewise.
55588         * benchtests/bench-memchr-ifunc.c: Likewise.
55589         * benchtests/bench-memcmp-ifunc.c: Likewise.
55590         * benchtests/bench-memcpy-ifunc.c: Likewise.
55591         * benchtests/bench-memmem-ifunc.c: Likewise.
55592         * benchtests/bench-memmove-ifunc.c: Likewise.
55593         * benchtests/bench-mempcpy-ifunc.c: Likewise.
55594         * benchtests/bench-memrchr-ifunc.c: Likewise.
55595         * benchtests/bench-memset-ifunc.c: Likewise.
55596         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
55597         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
55598         * benchtests/bench-stpcpy-ifunc.c: Likewise.
55599         * benchtests/bench-stpncpy-ifunc.c: Likewise.
55600         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
55601         * benchtests/bench-strcasestr-ifunc.c: Likewise.
55602         * benchtests/bench-strcat-ifunc.c: Likewise.
55603         * benchtests/bench-strchr-ifunc.c: Likewise.
55604         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55605         * benchtests/bench-strcmp-ifunc.c: Likewise.
55606         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55607         * benchtests/bench-strcpy-ifunc.c: Likewise.
55608         * benchtests/bench-strcspn-ifunc.c: Likewise.
55609         * benchtests/bench-strlen-ifunc.c: Likewise.
55610         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55611         * benchtests/bench-strncat-ifunc.c: Likewise.
55612         * benchtests/bench-strncmp-ifunc.c: Likewise.
55613         * benchtests/bench-strncpy-ifunc.c: Likewise.
55614         * benchtests/bench-strnlen-ifunc.c: Likewise.
55615         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55616         * benchtests/bench-strrchr-ifunc.c: Likewise.
55617         * benchtests/bench-strsep-ifunc.c: Likewise.
55618         * benchtests/bench-strspn-ifunc.c: Likewise.
55619         * benchtests/bench-strstr-ifunc.c: Likewise.
55621 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55623         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55625 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55627         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55628         * rt/aio.h: Likewise.
55629         * sysdeps/gnu/bits/utmp.h: Likewise.
55630         * sysdeps/gnu/bits/utmpx.h: Likewise.
55631         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55632         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55633         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55634         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55635         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55636         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55637         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55638         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55639         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55640         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55641         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55642         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55643         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55645         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55646         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55647         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55648         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55649         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55650         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55651         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55652         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55653         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55654         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55655         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55656         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55657         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55658         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55659         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55660         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55661         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55662         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55663         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55664         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55665         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55666         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55667         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55668         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55669         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55670         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55671         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55672         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55674 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55676         [BZ #16245]
55677         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55678         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55680 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55682         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55683         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55684         Likewise.
55686 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55688         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55689         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55690         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55691         (__fesetround): Remove define.
55692         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55693         rounding and exceptions handling.
55694         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55695         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55696         (__fe_nomask_env): Likewise.
55697         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55698         __fegetround instead of fegetround.
55699         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55700         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55702 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55704         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55705         it's there.
55707         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55709 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55711         [BZ #11157]
55712         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55713         (encrypt_r): Likewise.
55714         * malloc/obstack.h (obstack_free): Likewise.
55715         * posix/unistd.h (encrypt): Likewise.
55717 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55719         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55720         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55721         DL_CALL_DT_FINI() that call the functions directly.
55722         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55723         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55724         * elf/dl-fini.c: Likewise.
55726 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55728         * malloc/hooks.c (memalign_check): Add alignment rounding.
55729         * malloc/malloc.c (_mid_memalign): New function.
55730         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55731         Implement by calling _mid_memalign.
55732         * manual/probes.texi (Memory Allocation Probes): Remove
55733         memory_valloc_retry and memory_pvalloc_retry.
55735 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55737         * locale/programs/locarchive.c (open_archive): Add const
55738         qualifier to ARCHIVEFNAME and copy default fname to
55739         DEFAULT_FNAME.
55741         [BZ #15601]
55742         * libio/tst-widetext.input: Rename Oriya to Odia.
55743         * locale/iso-639.def: Likewise.
55745         * manual/probes.texi (Mathematical Function Probes): Add
55746         documentation for sin, cos, asin and acos probes.
55747         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55748         (__sin32): Add slowasin probe.
55749         (__cos32): Add slowacos probe.
55750         (__mpsin): Add slowsin probe.
55751         (__mpcos): Add slowcos probe.
55753 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55755         [BZ #15483]
55756         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55757         thread-local __sim_exceptions_thread and global
55758         __sim_exceptions_global.
55759         (__sim_disabled_exceptions): Change to thread-local
55760         __sim_disabled_exceptions_thread and global
55761         __sim_disabled_exceptions_global.
55762         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55763         and global __sim_round_mode_global.
55764         (__simulate_exceptions): Use thread-local floating-point state and
55765         set global state from it as needed.
55766         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55767         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55768         __sim_round_mode_thread.
55769         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55770         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55771         and global __sim_exceptions_global.
55772         (__sim_disabled_exceptions): Change to thread-local
55773         __sim_disabled_exceptions_thread and global
55774         __sim_disabled_exceptions_global.
55775         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55776         and global __sim_round_mode_global.
55777         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55778         (SIM_SET_GLOBAL): Likewise.
55779         * sysdeps/powerpc/soft-fp/sfp-machine.h
55780         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55781         __sim_round_mode_thread.
55782         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55783         __sim_disabled_exceptions_thread.
55784         (__sim_exceptions): Change to __sim_exceptions_thread.
55785         (__sim_disabled_exceptions): Change to
55786         __sim_disabled_exceptions_thread.
55787         (__sim_round_mode): Change to __sim_round_mode_thread.
55788         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55789         thread-local floating-point state and set global state from it as
55790         needed.
55791         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55792         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55793         (__sim_disabled_exceptions): Remove extern declaration.
55794         (feenableexcept): Use thread-local floating-point state and set
55795         global state from it as needed.
55796         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55797         extern declaration.
55798         (__sim_disabled_exceptions): Likewise.
55799         (__sim_round_mode): Likewise.
55800         (__fegetenv): Use thread-local floating-point state.
55801         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55802         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55803         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55804         floating-point state and set global state from it as needed.
55805         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55806         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55807         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55808         Likewise.
55809         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55810         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55811         Likewise.
55812         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55813         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55814         Use __sim_round_mode_thread.
55815         * math/test-fenv-tls.c: New file.
55816         * math/Makefile (tests): Add test-fenv-tls.
55817         ($(objpfx)test-fenv-tls): Depend on
55818         $(common-objpfx)nptl/libpthread.so.
55820 2013-11-19  Andreas Schwab  <schwab@suse.de>
55822         * locale/programs/locale.c (show_info): Decode wordarray elements.
55823         * locale/categories.def (LC_MONETARY): Add element for
55824         _NL_MONETARY_CRNCYSTR.
55825         * locale/C-monetary.c (conversion_rate): New variable.
55826         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55827         element.
55829 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55831         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55832         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55834 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55836         * elf/Makefile (tst-auxv): New test.
55837         * elf/tst-auxv.c: New
55838         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55840 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55842         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55843         (hidden_proto): Caller changed.
55844         (hidden_tls_proto): New macro.
55845         (libc_hidden_tls_proto): Likewise.
55846         (rtld_hidden_tls_proto): Likewise.
55847         (libm_hidden_tls_proto): Likewise.
55848         (libresolv_hidden_tls_proto): Likewise.
55849         (librt_hidden_tls_proto): Likewise.
55850         (libdl_hidden_tls_proto): Likewise.
55851         (libnss_files_hidden_tls_proto): Likewise.
55852         (libnsl_hidden_tls_proto): Likewise.
55853         (libnss_nisplus_hidden_tls_proto): Likewise.
55854         (libutil_hidden_tls_proto): Likewise.
55856 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55858         [BZ #10253]
55859         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55860         (decompose_rpath): Defer expansion to fillin_rpath.
55861         (_dl_init_paths): Pass linkmap to fillin_rpath.
55863 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55865         * benchtests/Makefile: Add strsep.
55866         * benchtests/bench-strsep.c: New file: strsep benchtest.
55867         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55869 2013-11-18  Andreas Schwab  <schwab@suse.de>
55871         * locale/programs/locale.c (show_info) [case byte]: Check for
55872         '\377' instead of '\177'.
55873         * locale/C-monetary.c (not_available): Always use "\377".
55874         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55875         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55876         detect unavailable sign_posn locale elements.
55877         * locale/localeconv.c (__localeconv): For grouping and
55878         mon_grouping handle "\177" and "\377" like no grouping.
55879         (INT_ELEM): New macro.  Use it to set all numeric members.
55880         * locale/programs/ld-monetary.c (monetary_read)
55881         <tok_mon_grouping>: Normalize single -1 to the empty string.
55882         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55883         Likewise.
55885 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55887         [BZ #16055]
55888         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55889         when we match (nil).
55890         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55892 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55894         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55895         (NO_TEST_INLINE): Update value.
55896         (ERRNO_UNCHANGED): Likewise.
55897         (ERRNO_EDOM): Likewise.
55898         (ERRNO_ERANGE): Likewise.
55899         (IGNORE_RESULT): Likewise.
55900         (check_float_internal): Check signs of NaN results if
55901         TEST_NAN_SIGN used.
55902         (check_complex): Pass TEST_NAN_SIGN flag through to second
55903         check_float_internal call.
55904         (copysign_test_data): Add tests with quiet NaNs as second
55905         argument.  Use TEST_NAN_SIGN.
55906         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55907         TEST_NAN_SIGN.
55908         (signbit_test_data): Add tests of quiet NaN argument.
55909         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55911         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55912         $ignore_result.
55913         (parse_args): Handle function results specified as IGNORE.
55914         * math/libm-test.inc (IGNORE_RESULT): New macro.
55915         (check_float_internal): Do not check numerical result if flag
55916         IGNORE_RESULT set.
55917         (check_complex): Pass through IGNORE_RESULT to second
55918         check_float_internal call.
55919         (check_int): Do not check numerical result if flag IGNORE_RESULT
55920         set.
55921         (check_long): Likewise.
55922         (check_bool): Likewise.
55923         (check_longlong): Likewise.
55924         (lrint_test_data): Add tests of infinite and NaN arguments.
55925         (lrint_tonearest_test_data): Likewise.
55926         (lrint_towardzero_test_data): Likewise.
55927         (lrint_downward_test_data): Likewise.
55928         (lrint_upward_test_data): Likewise.
55929         (llrint_test_data): Likewise.
55930         (llrint_tonearest_test_data): Likewise.
55931         (llrint_towardzero_test_data): Likewise.
55932         (llrint_downward_test_data): Likewise.
55933         (llrint_upward_test_data): Likewise.
55934         (lround_test_data): Likewise.
55935         (llround_test_data): Likewise.
55937         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55938         (ERRNO_UNCHANGED): Update value.
55939         (ERRNO_EDOM): Likewise.
55940         (ERRNO_ERANGE): Likewise.
55941         (NO_TEST_INLINE_FLOAT): New macro.
55942         (NO_TEST_INLINE_DOUBLE): Likewise.
55943         (enable_test): New function.
55944         (RUN_TEST_f_f): Check enable_test before running test.
55945         (RUN_TEST_2_f): Likewise.
55946         (RUN_TEST_fff_f): Likewise.
55947         (RUN_TEST_c_f): Likewise.
55948         (RUN_TEST_f_f1): Likewise.
55949         (RUN_TEST_fF_f1): Likewise.
55950         (RUN_TEST_fI_f1): Likewise.
55951         (RUN_TEST_ffI_f1): Likewise.
55952         (RUN_TEST_c_c): Likewise.
55953         (RUN_TEST_cc_c): Likewise.
55954         (RUN_TEST_f_i): Likewise.
55955         (RUN_TEST_f_i_tg): Likewise.
55956         (RUN_TEST_ff_i_tg): Likewise.
55957         (RUN_TEST_f_b): Likewise.
55958         (RUN_TEST_f_b_tg): Likewise.
55959         (RUN_TEST_f_l): Likewise.
55960         (RUN_TEST_f_L): Likewise.
55961         (RUN_TEST_fFF_11): Likewise.
55962         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55963         conditionals.
55964         (cosh_test_data): Likewise.
55965         (exp_test_data): Likewise.
55966         (expm1_test_data): Likewise.
55967         (hypot_test_data): Likewise.
55968         (pow_test_data): Likewise.
55969         (sinh_test_data): Likewise.
55970         (tanh_test_data): Likewise.
55971         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55972         flags argument.
55974         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55975         tests with quiet NaN input and output.
55976         (acosh_test_data): Likewise.
55977         (asin_test_data): Likewise.
55978         (asinh_test_data): Likewise.
55979         (atan_test_data): Likewise.
55980         (atanh_test_data): Likewise.
55981         (atan2_test_data): Likewise.
55982         (cbrt_test_data): Likewise.
55983         (cos_test_data): Likewise.
55984         (cosh_test_data): Likewise.
55985         (erf_test_data): Likewise.
55986         (erfc_test_data): Likewise.
55987         (exp_test_data): Likewise.
55988         (exp10_test_data): Likewise.
55989         (exp2_test_data): Likewise.
55990         (expm1_test_data): Likewise.
55991         (hypot_test_data): Likewise.
55992         (j0_test_data): Likewise.
55993         (j1_test_data): Likewise.
55994         (jn_test_data): Likewise.
55995         (lgamma_test_data): Likewise.
55996         (log_test_data): Likewise.
55997         (log10_test_data): Likewise.
55998         (log1p_test_data): Likewise.
55999         (log2_test_data): Likewise.
56000         (pow_test_data): Likewise.
56001         (scalb_test_data): Likewise.
56002         (sin_test_data): Likewise.
56003         (sincos_test_data): Likewise.
56004         (sinh_test_data): Likewise.
56005         (tan_test_data): Likewise.
56006         (tanh_test_data): Likewise.
56007         (tgamma_test_data): Likewise.
56008         (y0_test_data): Likewise.
56009         (y1_test_data): Likewise.
56010         (yn_test_data): Likewise.
56012         [BZ #16167]
56013         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
56014         argument being NaN and avoid computations with second argument in
56015         that case.
56016         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
56017         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
56018         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
56020 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
56022         * locale/iso-639.def: Add Chitwani Tharu (the).
56024 2013-11-14  Andreas Schwab  <schwab@suse.de>
56026         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
56027         word instead of empty string.
56029 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56032         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
56033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56034         (__fe_nomask_env): Likewise.
56036 2013-11-13  Steve Ellcey  <sellcey@mips.com>
56038         * benchtests/bench-timing.h: Include time.h.
56040 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
56042         [BZ #15997]
56043         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
56044         to 3.4.0 for x32.
56045         * sysdeps/unix/sysv/linux/configure: Regenerated.
56047 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
56049         [BZ #16151]
56050         * stdlib/strtod_l.c (round_and_return): Do not consider
56051         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
56052         exponent one less than half the least subnormal exponent.
56053         * stdlib/test-strtod-round-data: Add more tests.
56054         * stdlib/tst-strtod-round.c (tests): Regenerated.
56056 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56058         [BZ #14143]
56059         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
56060         (__fe_mask_env): Likewise.
56061         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
56062         libm_hidden_proto and add function prototype.
56063         (__fe_mask_env): Add function prototype.
56064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56065         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
56066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56067         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
56068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56069         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
56071 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56073         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
56074         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
56076 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56078         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
56079         of htab_find_slot().
56081 2013-11-11  David S. Miller  <davem@davemloft.net>
56083         [BZ #16150]
56084         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
56085         symbol in the non-vis3 case in static builds.
56086         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
56087         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
56088         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
56089         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
56091 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
56093         [BZ #387]
56094         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
56095         it is empty.
56097 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56099         * benchtests/Makefile: Add bench-strtod.
56100         * benchtests/bench-strtod.c: New file: strtod benchtest
56102 2013-11-11  Andreas Schwab  <schwab@suse.de>
56104         [BZ #16153]
56105         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
56106         terminating NUL in key length.
56108 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56110         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56111         Add artificial ODP entry for vDSO symbol for PPC64.
56112         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
56113         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
56115 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56117         [BZ #15374]
56118         * nss/getent.c (services_keys): Recognize services starting with digit.
56120 2013-11-06  David S. Miller  <davem@davemloft.net>
56122         [BZ #15985]
56123         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
56124         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
56126 2013-11-06  Will Newton  <will.newton@linaro.org>
56128         * manual/memory.texi (Malloc Examples): Remove register
56129         keyword from examples.
56131 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
56133         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
56135 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
56137         [BZ #6981]
56138         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
56139         depending on [__GCC_IEC_559 > 0].
56140         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
56141         depending on [__GCC_IEC_559_COMPLEX > 0].
56143 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
56145         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
56146         to iso-639.def.
56148 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
56150         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
56152 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
56154         [BZ #16112]
56155         * malloc/malloc (malloc_info): Do not handle first bin as
56156         special case.
56158 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
56160         * locale/iso-639.def: Add Central Nahuatl (nhn).
56162 2013-11-01  Bruno Haible  <bruno@clisp.org>
56164         [BZ #7003]
56165         * manual/math.texi (BSD Random): Specify range upper bound as
56166         in POSIX.
56168 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
56170         * locale/iso-639.def: Add Meadow Mari (mhr).
56172 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
56174         [BZ #14752], [BZ #15763]
56175         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
56176         Validate name.
56177         * rt/tst_shm.c: Add test for escaping directory.
56179 2013-10-31  Andreas Schwab  <schwab@suse.de>
56181         [BZ #15917]
56182         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
56183         followed by 'x' as part of digit sequence.
56184         * stdio-common/tst-sscanf.c (double_tests2): New tests.
56186 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
56188         [BZ #16037]
56189         * configure.ac: allow GNU Make 4.0 and greater.
56190         * configure: Regenerated.
56192 2013-10-30  Will Newton  <will.newton@linaro.org>
56194         [BZ #16038]
56195         * malloc/hooks.c (memalign_check): Limit alignment to the
56196         maximum representable power of two.
56197         * malloc/malloc.c (__libc_memalign): Likewise.
56198         * malloc/tst-memalign.c (do_test): Add test for very
56199         large alignment values.
56200         * malloc/tst-posix_memalign.c (do_test): Likewise.
56202 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56204         [BZ #11087]
56205         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
56206         (munmap_chunk): Likewise.
56207         (mremap_chunk): Likewise.
56209 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56211         [BZ #15799]
56212         * stdlib/div.c (div): Remove obsolete code.
56213         * stdlib/ldiv.c (ldiv): Likewise.
56214         * stdlib/lldiv.c (lldiv): Likewise.
56216 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56218         [BZ #16071]
56219         * nss/nss_files/files-XXX.c (get_contents_ret): New
56220         enumerator.
56221         (get_contents): New function.
56222         (internal_getent): Use it.  Expand size of LINEBUFLEN.
56224 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
56226         * configure.in: Moved to ...
56227         * configure.ac: ... here. Change reference to configure.in
56228         to configure.ac.
56229         * sysdeps/arm/preconfigure.ac: ... here.
56230         configure.in to configure.ac.
56231         * sysdeps/gnu/configure.in: Moved to ...
56232         * sysdeps/gnu/configure.ac: ... here.
56233         * sysdeps/i386/configure.in: Moved to ...
56234         * sysdeps/i386/configure.ac: ... here.
56235         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
56236         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
56237         * sysdeps/mach/configure.in: Moved to ...
56238         * sysdeps/mach/configure.ac: ... here.
56239         * sysdeps/mach/hurd/configure.in: Moved to ...
56240         * sysdeps/mach/hurd/configure.ac: ... here.
56241         * sysdeps/powerpc/configure.in: Moved to ...
56242         * sysdeps/powerpc/configure.ac: ... here.
56243         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
56244         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
56245         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
56246         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
56247         * sysdeps/s390/s390-32/configure.in: Moved to ...
56248         * sysdeps/s390/s390-32/configure.ac: ... here.
56249         * sysdeps/s390/s390-64/configure.in: Moved to ...
56250         * sysdeps/s390/s390-64/configure.ac: ... here.
56251         * sysdeps/sh/configure.in: Moved to ...
56252         * sysdeps/sh/configure.ac: ... here.
56253         * sysdeps/sparc/configure.in: Moved to ...
56254         * sysdeps/sparc/configure.ac: ... here.
56255         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
56256         * sysdeps/unix/sysv/linux/configure.ac: ... here.
56257         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
56258         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
56259         * sysdeps/x86_64/configure.in: Moved to ...
56260         * sysdeps/x86_64/configure.ac: ... here.
56261         * sysdeps/x86_64/preconfigure.in: Moved to ...
56262         * sysdeps/x86_64/preconfigure.ac: ... here.
56263         * aclocal.m4: Change reference to configure.in to configure.ac.
56264         * config.h.in: Likewise.
56265         * manual/install.texi: Likewise.
56266         * manual/maint.texi: Likewise.
56267         * Makefile: Likewise.
56268         * malloc/Makefile: Likewise.
56269         * nscd/Makefile: Likewise.
56270         * Makeconfig: Change reference to configure.in and
56271         preconfigure.in to configure.ac and preconfigure.ac
56272         respectively.
56273         * INSTALL: Regenerated.
56274         * configure: Likewise.
56275         * sysdeps/gnu/configure: Likewise.
56276         * sysdeps/i386/configure: Likewise.
56277         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
56278         * sysdeps/mach/configure: Likewise.
56279         * sysdeps/mach/hurd/configure: Likewise.
56280         * sysdeps/powerpc/configure: Likewise.
56281         * sysdeps/powerpc/powerpc32/configure: Likewise.
56282         * sysdeps/powerpc/powerpc64/configure: Likewise.
56283         * sysdeps/s390/s390-32/configure: Likewise.
56284         * sysdeps/s390/s390-64/configure: Likewise.
56285         * sysdeps/sh/configure: Likewise.
56286         * sysdeps/sparc/configure: Likewise.
56287         * sysdeps/unix/sysv/linux/configure: Likewise.
56288         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
56289         * sysdeps/x86_64/configure: Likewise.
56290         * sysdeps/x86_64/preconfigure: Likewise.
56292 2013-10-29  Andreas Schwab  <schwab@suse.de>
56294         * stdio-common/Makefile (tst-swscanf-ENV): Define.
56296 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56298         * benchtests/pow-inputs: Add new inputs.
56300         * benchtests/exp-inputs: Add new inputs.
56302         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
56303         conditional check for return value.
56304         (__cos32): Likewise.
56306 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56308         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
56309         to provide a boost for large inputs with word alignment.
56310         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
56311         implementation based on optimized PPC64 strcpy.
56312         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
56313         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
56314         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
56315         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
56317 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56319         [BZ #2801]
56320         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
56322 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56324         [BZ #14876]
56325         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
56326         * time/tst-strptime.c (day_tests): Add testcase.
56328 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56330         [BZ #14029]
56331         * manual/pattern.texi: Acknowledge that fnmatch can fail.
56333 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
56335         [BZ #16074]
56336         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
56337         MAP_FAILED on error.
56339 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56341         [BZ #16072]
56342         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
56343         heap for large requests.
56345 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
56347         [BZ #9954]
56348         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
56349         result if the result has no associated interface.
56350         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56351         interface for all 127.X.Y.Z addresses.
56353 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
56355         * locale/iso-639.def: Add Ligurian (lij)
56357 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
56359         [BZ #15825]
56360         * sunrpc/rpc_main.c: Document rpcgen -5.
56362 2013-10-19  Michael Stahl  <mstahl@redhat.com>
56364         * elf/rtld.c (do_preload): Print the reason why preloading failed.
56366 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56368         [BZ #10278]
56369         * posix/glob.c: Match only directories when trailing slash is present.
56370         * posix/tst-gnuglob.c (my_opendir): Do not open files.
56371         (main): Add testcase.
56373 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56375         [BZ #15670]
56376         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
56378 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
56380         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
56381         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
56382         AUTH_DES and cindex for FIPS 140-2.
56383         (DES Encryption): Add cindex FIPS 46-3.
56385         * locale/locarchive.h (struct locarhandle): Add fname.
56386         * locale/programs/localedef.c (main): Pass ARGV[remaining]
56387         if an optional argument was specified to --list-archive,
56388         otherwise NULL.
56389         * locale/programs/locarchive.c (show_archive_content): Take new
56390         argument fname and pass it via ah.fname to open_archive.
56391         * locale/programs/localedef.h: Update decl.
56392         (open_archive): If AH->fname is non-null, open that file
56393         rather than the default file name, and don't ignore ENOENT.
56394         (create_archive): Set AH.fname to NULL.
56395         (delete_locales_from_archive): Likewise.
56396         (add_locales_to_archive): Likewise.
56397         * locale/programs/locfile.c (write_all_categories): Likewise.
56399 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
56400             Aldy Hernandez  <aldyh@redhat.com>
56402         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
56403         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
56404         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
56405         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
56406         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
56407         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
56408         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
56409         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
56410         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
56411         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
56412         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
56413         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
56414         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
56415         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
56416         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
56417         Likewise.
56418         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
56419         Likewise.
56420         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
56421         Likewise.
56422         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
56423         Likewise.
56424         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
56425         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
56426         Likewise.
56427         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
56428         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
56429         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
56430         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
56431         Likewise.
56432         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
56433         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
56434         * sysdeps/powerpc/preconfigure: Likewise.
56435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
56436         Likewise.
56437         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
56438         Replace contents of file by #include of <fenv_libc.h>.
56439         * sysdeps/powerpc/soft-fp/sfp-machine.h
56440         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
56441         and <sys/prctl.h>.
56442         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
56443         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
56444         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
56445         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
56446         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
56447         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
56448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
56449         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
56450         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
56451         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
56452         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
56453         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
56454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56455         Allow copysignl PLT reference to be missing.
56457 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
56458             Joseph Myers  <joseph@codesourcery.com
56460         [BZ #15948]
56461         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
56462         single character.
56463         (add_to_tablewc): Assert sequence of wide characters is nonempty.
56465 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56467         * elf/tst-tls-dlinfo.c: Don't include tls.h.
56468         * elf/tst-tls1.c: Likewise.
56469         * elf/tst-tls10.h: Likewise.
56470         * elf/tst-tls14.c: Likewise.
56471         * elf/tst-tls2.c: Likewise.
56472         * elf/tst-tls3.c: Likewise.
56473         * elf/tst-tls4.c: Likewise.
56474         * elf/tst-tls5.c: Likewise.
56475         * elf/tst-tls6.c: Likewise.
56476         * elf/tst-tls7.c: Likewise.
56477         * elf/tst-tls8.c: Likewise.
56478         * elf/tst-tls9.c: Likewise.
56479         * elf/tst-tlsmod1.c: Likewise.
56480         * elf/tst-tlsmod13.c: Likewise.
56481         * elf/tst-tlsmod13a.c: Likewise.
56482         * elf/tst-tlsmod14a.c: Likewise.
56483         * elf/tst-tlsmod16a.c: Likewise.
56484         * elf/tst-tlsmod16b.c: Likewise.
56485         * elf/tst-tlsmod2.c: Likewise.
56486         * elf/tst-tlsmod3.c: Likewise.
56487         * elf/tst-tlsmod4.c: Likewise.
56488         * elf/tst-tlsmod5.c: Likewise.
56489         * elf/tst-tlsmod6.c: Likewise.
56491 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
56493         [BZ #12486]
56494         * malloc/malloc.c: remove checks for statistics.
56496 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56498         [BZ #15277]
56499         * inet/inet_net.c (inet_network): Detect additional invalid strings.
56500         * inet/tst-network.c: Add testcase.
56502 2013-10-17  Andreas Schwab  <schwab@suse.de>
56504         [BZ #15218]
56505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
56506         to determine canonical name.
56508 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56510         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
56511         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
56512         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56513         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56515         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56516         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56517         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56518         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56519         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56520         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56521         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56522         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56523         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56524         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56525         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56527         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56528         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56529         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56530         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56531         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56532         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56533         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
56534         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
56535         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56536         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56537         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
56538         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56539         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
56540         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56541         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56542         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56543         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56544         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56545         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56546         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56547         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56548         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56549         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56550         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56551         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56552         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56553         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56554         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56555         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56556         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56557         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56558         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56559         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56560         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56561         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56562         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56563         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56564         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56565         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56566         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56567         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56569 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
56571         [BZ #16041]
56572         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
56573         make result into a quiet NaN.
56575 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
56577         * soft-fp/adddf3.c: Fix horizontal whitespace.
56578         * soft-fp/addsf3.c: Likewise.
56579         * soft-fp/addtf3.c: Likewise.
56580         * soft-fp/divdf3.c: Likewise.
56581         * soft-fp/divsf3.c: Likewise.
56582         * soft-fp/divtf3.c: Likewise.
56583         * soft-fp/double.h: Likewise.
56584         * soft-fp/eqdf2.c: Likewise.
56585         * soft-fp/eqsf2.c: Likewise.
56586         * soft-fp/eqtf2.c: Likewise.
56587         * soft-fp/extenddftf2.c: Likewise.
56588         * soft-fp/extended.h: Likewise.
56589         * soft-fp/extendsfdf2.c: Likewise.
56590         * soft-fp/extendsftf2.c: Likewise.
56591         * soft-fp/extendxftf2.c: Likewise.
56592         * soft-fp/fixdfdi.c: Likewise.
56593         * soft-fp/fixdfsi.c: Likewise.
56594         * soft-fp/fixdfti.c: Likewise.
56595         * soft-fp/fixsfdi.c: Likewise.
56596         * soft-fp/fixsfsi.c: Likewise.
56597         * soft-fp/fixsfti.c: Likewise.
56598         * soft-fp/fixtfdi.c: Likewise.
56599         * soft-fp/fixtfsi.c: Likewise.
56600         * soft-fp/fixtfti.c: Likewise.
56601         * soft-fp/fixunsdfdi.c: Likewise.
56602         * soft-fp/fixunsdfsi.c: Likewise.
56603         * soft-fp/fixunsdfti.c: Likewise.
56604         * soft-fp/fixunssfdi.c: Likewise.
56605         * soft-fp/fixunssfsi.c: Likewise.
56606         * soft-fp/fixunssfti.c: Likewise.
56607         * soft-fp/fixunstfdi.c: Likewise.
56608         * soft-fp/fixunstfsi.c: Likewise.
56609         * soft-fp/fixunstfti.c: Likewise.
56610         * soft-fp/floatdidf.c: Likewise.
56611         * soft-fp/floatdisf.c: Likewise.
56612         * soft-fp/floatditf.c: Likewise.
56613         * soft-fp/floatsidf.c: Likewise.
56614         * soft-fp/floatsisf.c: Likewise.
56615         * soft-fp/floatsitf.c: Likewise.
56616         * soft-fp/floattidf.c: Likewise.
56617         * soft-fp/floattisf.c: Likewise.
56618         * soft-fp/floattitf.c: Likewise.
56619         * soft-fp/floatundidf.c: Likewise.
56620         * soft-fp/floatundisf.c: Likewise.
56621         * soft-fp/floatunditf.c: Likewise.
56622         * soft-fp/floatunsidf.c: Likewise.
56623         * soft-fp/floatunsisf.c: Likewise.
56624         * soft-fp/floatunsitf.c: Likewise.
56625         * soft-fp/floatuntidf.c: Likewise.
56626         * soft-fp/floatuntisf.c: Likewise.
56627         * soft-fp/floatuntitf.c: Likewise.
56628         * soft-fp/fmadf4.c: Likewise.
56629         * soft-fp/fmasf4.c: Likewise.
56630         * soft-fp/fmatf4.c: Likewise.
56631         * soft-fp/gedf2.c: Likewise.
56632         * soft-fp/gesf2.c: Likewise.
56633         * soft-fp/getf2.c: Likewise.
56634         * soft-fp/ledf2.c: Likewise.
56635         * soft-fp/lesf2.c: Likewise.
56636         * soft-fp/letf2.c: Likewise.
56637         * soft-fp/muldf3.c: Likewise.
56638         * soft-fp/mulsf3.c: Likewise.
56639         * soft-fp/multf3.c: Likewise.
56640         * soft-fp/negdf2.c: Likewise.
56641         * soft-fp/negsf2.c: Likewise.
56642         * soft-fp/negtf2.c: Likewise.
56643         * soft-fp/op-1.h: Likewise.
56644         * soft-fp/op-2.h: Likewise.
56645         * soft-fp/op-4.h: Likewise.
56646         * soft-fp/op-8.h: Likewise.
56647         * soft-fp/op-common.h: Likewise.
56648         * soft-fp/quad.h: Likewise.
56649         * soft-fp/single.h: Likewise.
56650         * soft-fp/soft-fp.h: Likewise.
56651         * soft-fp/sqrtdf2.c: Likewise.
56652         * soft-fp/sqrtsf2.c: Likewise.
56653         * soft-fp/sqrttf2.c: Likewise.
56654         * soft-fp/subdf3.c: Likewise.
56655         * soft-fp/subsf3.c: Likewise.
56656         * soft-fp/subtf3.c: Likewise.
56657         * soft-fp/truncdfsf2.c: Likewise.
56658         * soft-fp/trunctfdf2.c: Likewise.
56659         * soft-fp/trunctfsf2.c: Likewise.
56660         * soft-fp/trunctfxf2.c: Likewise.
56661         * soft-fp/unorddf2.c: Likewise.
56662         * soft-fp/unordsf2.c: Likewise.
56663         * soft-fp/unordtf2.c: Likewise.
56665 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56667         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56668         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56670 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56672         * elf/dl-libc.c: Clear initfini list after freeing.
56674 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56676         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56677         * soft-fp/addsf3.c: Likewise.
56678         * soft-fp/addtf3.c: Likewise.
56679         * soft-fp/divdf3.c: Likewise.
56680         * soft-fp/divsf3.c: Likewise.
56681         * soft-fp/divtf3.c: Likewise.
56682         * soft-fp/double.h: Likewise.
56683         * soft-fp/eqdf2.c: Likewise.
56684         * soft-fp/eqsf2.c: Likewise.
56685         * soft-fp/eqtf2.c: Likewise.
56686         * soft-fp/extenddftf2.c: Likewise.
56687         * soft-fp/extended.h: Likewise.
56688         * soft-fp/extendsfdf2.c: Likewise.
56689         * soft-fp/extendsftf2.c: Likewise.
56690         * soft-fp/extendxftf2.c: Likewise.
56691         * soft-fp/fixdfdi.c: Likewise.
56692         * soft-fp/fixdfsi.c: Likewise.
56693         * soft-fp/fixdfti.c: Likewise.
56694         * soft-fp/fixsfdi.c: Likewise.
56695         * soft-fp/fixsfsi.c: Likewise.
56696         * soft-fp/fixsfti.c: Likewise.
56697         * soft-fp/fixtfdi.c: Likewise.
56698         * soft-fp/fixtfsi.c: Likewise.
56699         * soft-fp/fixtfti.c: Likewise.
56700         * soft-fp/fixunsdfdi.c: Likewise.
56701         * soft-fp/fixunsdfsi.c: Likewise.
56702         * soft-fp/fixunsdfti.c: Likewise.
56703         * soft-fp/fixunssfdi.c: Likewise.
56704         * soft-fp/fixunssfsi.c: Likewise.
56705         * soft-fp/fixunssfti.c: Likewise.
56706         * soft-fp/fixunstfdi.c: Likewise.
56707         * soft-fp/fixunstfsi.c: Likewise.
56708         * soft-fp/fixunstfti.c: Likewise.
56709         * soft-fp/floatdidf.c: Likewise.
56710         * soft-fp/floatdisf.c: Likewise.
56711         * soft-fp/floatditf.c: Likewise.
56712         * soft-fp/floatsidf.c: Likewise.
56713         * soft-fp/floatsisf.c: Likewise.
56714         * soft-fp/floatsitf.c: Likewise.
56715         * soft-fp/floattidf.c: Likewise.
56716         * soft-fp/floattisf.c: Likewise.
56717         * soft-fp/floattitf.c: Likewise.
56718         * soft-fp/floatundidf.c: Likewise.
56719         * soft-fp/floatundisf.c: Likewise.
56720         * soft-fp/floatunsidf.c: Likewise.
56721         * soft-fp/floatunsisf.c: Likewise.
56722         * soft-fp/floatuntidf.c: Likewise.
56723         * soft-fp/floatuntisf.c: Likewise.
56724         * soft-fp/floatuntitf.c: Likewise.
56725         * soft-fp/fmadf4.c: Likewise.
56726         * soft-fp/fmasf4.c: Likewise.
56727         * soft-fp/fmatf4.c: Likewise.
56728         * soft-fp/gedf2.c: Likewise.
56729         * soft-fp/gesf2.c: Likewise.
56730         * soft-fp/getf2.c: Likewise.
56731         * soft-fp/ledf2.c: Likewise.
56732         * soft-fp/lesf2.c: Likewise.
56733         * soft-fp/letf2.c: Likewise.
56734         * soft-fp/muldf3.c: Likewise.
56735         * soft-fp/mulsf3.c: Likewise.
56736         * soft-fp/multf3.c: Likewise.
56737         * soft-fp/negdf2.c: Likewise.
56738         * soft-fp/negsf2.c: Likewise.
56739         * soft-fp/negtf2.c: Likewise.
56740         * soft-fp/op-1.h: Likewise.
56741         * soft-fp/op-2.h: Likewise.
56742         * soft-fp/op-4.h: Likewise.
56743         * soft-fp/op-8.h: Likewise.
56744         * soft-fp/op-common.h: Likewise.
56745         * soft-fp/quad.h: Likewise.
56746         * soft-fp/single.h: Likewise.
56747         * soft-fp/soft-fp.h: Likewise.
56748         * soft-fp/sqrtdf2.c: Likewise.
56749         * soft-fp/sqrtsf2.c: Likewise.
56750         * soft-fp/sqrttf2.c: Likewise.
56751         * soft-fp/subdf3.c: Likewise.
56752         * soft-fp/subsf3.c: Likewise.
56753         * soft-fp/subtf3.c: Likewise.
56754         * soft-fp/truncdfsf2.c: Likewise.
56755         * soft-fp/trunctfdf2.c: Likewise.
56756         * soft-fp/trunctfsf2.c: Likewise.
56757         * soft-fp/trunctfxf2.c: Likewise.
56758         * soft-fp/unorddf2.c: Likewise.
56759         * soft-fp/unordsf2.c: Likewise.
56760         * soft-fp/unordtf2.c: Likewise.
56762 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56764         [BZ #15672]
56765         * misc/error.c (error_tail): Fix possible buffer overflow.
56767 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56769         [BZ #13028]
56770         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56771         address.
56773 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56775         [BZ #832]
56776         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56777         testing pipefail option.
56779 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56781         * soft-fp/double.h: Indent preprocessor directives inside #if.
56782         * soft-fp/extended.h: Likewise.
56783         * soft-fp/op-2.h: Likewise.
56784         * soft-fp/op-4.h: Likewise.
56785         * soft-fp/op-common.h: Likewise.
56786         * soft-fp/quad.h: Likewise.
56787         * soft-fp/single.h: Likewise.
56788         * soft-fp/soft-fp.h: Likewise.
56790 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56792         * iconv/iconv_prog.c: Fix typos.
56793         * stdio-common/psiginfo-data.h: Likewise.
56795 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56797         [BZ #15764]
56798         * locale/setlocale.c: Fix typo.
56800 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56802         [BZ #16036]
56803         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56804         signaling NaN arguments.
56805         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56806         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56808         [BZ #14910]
56809         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56810         unordered operands.
56811         * soft-fp/gesf2.c (__gesf2): Likewise.
56812         * soft-fp/getf2.c (__getf2): Likewise.
56813         * soft-fp/ledf2.c (__ledf2): Likewise.
56814         * soft-fp/lesf2.c (__lesf2): Likewise.
56815         * soft-fp/letf2.c (__letf2): Likewise.
56817         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56818         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56819         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56820         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56821         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56822         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56823         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56824         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56825         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56826         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56827         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56828         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56829         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56830         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56831         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56832         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56833         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56834         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56835         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56836         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56837         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56838         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56839         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56840         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56841         * soft-fp/floattidf.c (__floattidf): Likewise.
56842         * soft-fp/floattisf.c (__floattisf): Likewise.
56843         * soft-fp/floattitf.c (__floattitf): Likewise.
56844         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56845         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56846         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56847         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56848         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56849         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56850         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56851         * soft-fp/gesf2.c (__gesf2): Likewise.
56852         * soft-fp/getf2.c (__getf2): Likewise.
56853         * soft-fp/ledf2.c (__ledf2): Likewise.
56854         * soft-fp/lesf2.c (__lesf2): Likewise.
56855         * soft-fp/letf2.c (__letf2): Likewise.
56857         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56858         Undefine and redefine.
56859         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56860         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56861         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56862         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56863         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56864         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56865         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56866         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56867         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56868         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56869         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56870         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56871         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56872         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56873         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56875         [BZ #16032]
56876         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56877         without decrementing exponent if mantissa >= that for the
56878         denominator, not >.
56879         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56880         denominator, not >.  Decrement exponent in < case instead of
56881         incrementing in >= case.
56882         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56883         without decrementing exponent if mantissa >= that for the
56884         denominator, not >.
56886         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56887         computing saturated result for unsigned overflow.
56889 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56890             Jeff Law  <law@redhat.com>
56892         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56893         (atan2Mp): Add systemtap probe marker.
56894         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56895         (__ieee754_log): Add systemtap probe marker.
56896         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56897         (atanMp): Add systemtap probe marker.
56898         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56899         (tanMp): Add systemtap probe marker.
56900         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56901         (__slowexp): Add systemtap probe marker.
56902         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56903         (__slowpow): Add systemtap probe marker.
56904         * manual/probes.texi: Document probes.
56906 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56908         [BZ #15362]
56909         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56910         written.
56911         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56912         written.
56913         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56914         written to buffer but not flushed.
56915         * libio/iofwrite_u.c:  Likewise.
56916         * libio/iopadn.c:  Return bytes returned even if EOF was
56917         encountered.
56918         * libio/iowpadn.c:  Likewise.
56919         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56920         if _IO_padn does not write the whole buffer.
56921         [!COMPILE_WPRINTF] (PAD): Likewise.
56923 2013-10-10  David S. Miller  <davem@davemloft.net>
56925         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56926         directory block.
56928 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56930         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56931         instead of FSF address.
56932         * soft-fp/fixdfti.c: Likewise.
56933         * soft-fp/fixsfti.c: Likewise.
56934         * soft-fp/fixtfti.c: Likewise.
56935         * soft-fp/fixunsdfti.c: Likewise.
56936         * soft-fp/fixunssfti.c: Likewise.
56937         * soft-fp/fixunstfti.c: Likewise.
56938         * soft-fp/floattidf.c: Likewise.
56939         * soft-fp/floattisf.c: Likewise.
56940         * soft-fp/floattitf.c: Likewise.
56941         * soft-fp/floatuntidf.c: Likewise.
56942         * soft-fp/floatuntisf.c: Likewise.
56943         * soft-fp/floatuntitf.c: Likewise.
56944         * soft-fp/trunctfxf2.c: Likewise.
56946         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56947         * soft-fp/fixdfti.c: Likewise.
56948         * soft-fp/fixsfti.c: Likewise.
56949         * soft-fp/fixtfti.c: Likewise.
56950         * soft-fp/fixunsdfti.c: Likewise.
56951         * soft-fp/fixunssfti.c: Likewise.
56952         * soft-fp/fixunstfti.c: Likewise.
56953         * soft-fp/floattidf.c: Likewise.
56954         * soft-fp/floattisf.c: Likewise.
56955         * soft-fp/floattitf.c: Likewise.
56956         * soft-fp/floatuntidf.c: Likewise.
56957         * soft-fp/floatuntisf.c: Likewise.
56958         * soft-fp/floatuntitf.c: Likewise.
56959         * soft-fp/trunctfxf2.c: Likewise.
56961 2013-10-10  David S. Miller  <davem@davemloft.net>
56963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56965 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56967         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56968         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56969         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56970         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56971         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56972         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56973         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56975         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56976         for NaNs before doing comparisons on argument.
56977         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56978         Likewise.
56980 2013-10-10  Will Newton  <will.newton@linaro.org>
56982         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56983         passed to _int_memalign does not overflow.
56985 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56987         * scripts/bench.pl: Add include-sources directive.
56988         * benchtests/README: Update documentation.
56990 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56992         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56993         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56994         instead of FP_INIT_ROUNDMODE.
56995         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56996         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56998         [BZ #16034]
56999         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
57000         copy class of input value.
57001         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
57002         not handle exceptions.
57003         * soft-fp/negsf2.c (__negsf2): Likewise.
57004         * soft-fp/negtf2.c (__negtf2): Likewise.
57005         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
57007 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
57009         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
57010         semicolon.  From Linux kernel.
57012 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
57014         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
57016 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
57018         [BZ #156]
57019         * manual/socket.texi: Added statement about buffer
57020         for gethostbyname2_r.
57022 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
57024         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
57025         Use .p2align directive instead, throughout.
57026         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57027         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
57028         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
57029         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57030         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57031         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
57032         * sysdeps/x86_64/strchr.S: Likewise.
57033         * sysdeps/x86_64/strrchr.S: Likewise.
57035 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57037         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
57039         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
57041         * sysdeps/generic/math_private.h (__mpsin1): Remove
57042         declaration.
57043         (__mpcos1): Likewise.
57044         (__mpsin): New argument __range_reduce.
57045         (__mpcos): Likewise.
57046         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57047         (slow): Use __mpsin and __mpcos.
57048         (slow1): Likewise.
57049         (slow2): Likewise.
57050         (sloww): Likewise.
57051         (sloww1): Likewise.
57052         (sloww2): Likewise.
57053         (bsloww): Likewise.
57054         (bsloww1): Likewise.
57055         (bsloww2): Likewise.
57056         (cslow2): Likewise.
57057         (csloww): Likewise.
57058         (csloww1): Likewise.
57059         (csloww2): Likewise.
57060         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
57061         range_reduce.  Merge in __mpsin1.
57062         (__mpcos): Likewise.
57063         (__mpsin1): Remove.
57064         (__mpcos1): Likewise.
57066 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
57068         * locale/loadlocale.c (_nl_intern_locale_data): Use
57069         LOCFILE_ALIGNED_P.
57070         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
57071         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
57072         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
57073         obstack data is appropriately aligned.
57074         (obstack_int32_grow_fast): Likewise.
57075         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
57076         * locale/programs/locfile.c (add_locale_uint32): Likewise.
57077         (add_locale_uint32_array): Likewise.
57079 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57081         * benchtests/Makefile: Remove ARGLIST and RET variables.
57082         ($(objpfx)bench-%.c): Pass only function name to the script.
57083         * benchtests/README: Update documentation.
57084         * benchtests/acos-inputs: Add new directives.
57085         * benchtests/acosh-inputs: Likewise.
57086         * benchtests/asin-inputs: Likewise.
57087         * benchtests/asinh-inputs: Likewise.
57088         * benchtests/atan-inputs: Likewise.
57089         * benchtests/atanh-inputs: Likewise.
57090         * benchtests/cos-inputs: Likewise.
57091         * benchtests/cosh-inputs: Likewise.
57092         * benchtests/exp-inputs: Likewise.
57093         * benchtests/log-inputs: Likewise.
57094         * benchtests/pow-inputs: Likewise.
57095         * benchtests/rint-inputs: Likewise.
57096         * benchtests/sin-inputs: Likewise.
57097         * benchtests/sinh-inputs: Likewise.
57098         * benchtests/tan-inputs: Likewise.
57099         * benchtests/tanh-inputs: Likewise.
57100         * scripts/bench.pl: Add support for new directives.
57102 2013-10-07  Alan Modra  <amodra@gmail.com>
57104         * README: Fix careless merge.
57106 2013-10-05  Alan Modra  <amodra@gmail.com>
57108         * NEWS: Mention powerpc64le support and bugs fixed.
57109         * README: Both big-endian and little-endian powerpc64 supported.
57111 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57113         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
57114         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
57115         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
57116         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
57118 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
57120         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
57121         match prototype.
57123 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
57125         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
57126         Move -mhard-float appending from
57127         ports/sysdeps/powerpc/powerpc32/Makefile.
57128         [$(with-fp) = yes] (ASFLAGS): Likewise.
57129         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
57130         * sysdeps/powerpc/nofpu: Move directory from
57131         ports/sysdeps/powerpc/nofpu.
57132         * sysdeps/powerpc/soft-fp: Move directory from
57133         ports/sysdeps/powerpc/soft-fp.
57134         * sysdeps/powerpc/powerpc32/405: Move directory from
57135         ports/sysdeps/powerpc/powerpc32/405.
57136         * sysdeps/powerpc/powerpc32/440: Move directory from
57137         ports/sysdeps/powerpc/powerpc32/440.
57138         * sysdeps/powerpc/powerpc32/464: Move directory from
57139         ports/sysdeps/powerpc/powerpc32/464.
57140         * sysdeps/powerpc/powerpc32/476: Move directory from
57141         ports/sysdeps/powerpc/powerpc32/476.
57142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
57143         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
57144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
57145         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
57146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
57147         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
57148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
57149         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
57150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
57151         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
57152         * README: Update for powerpc-*-linux-gnu software floating point
57153         support in libc.
57155         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
57156         case to powerpc/powerpc32*.
57157         * sysdeps/unix/sysv/linux/configure: Regenerated.
57159         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
57160         (_FPU_MASK_OM): Define as 0x04.
57161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
57162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
57163         0x00c10080.
57164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
57165         0x0000003c.
57166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
57168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
57169         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57170         getcontext_e500.
57171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
57172         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57173         setcontext_e500.
57174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
57175         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
57176         and setcontext_e500.
57178 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
57180         * locale/iso-3166.def: Update iso-1366.def and related occurrences
57182 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57184         * manual/threads.texi (Default Thread Attributes): Fix typo.
57186 2013-10-04  Will Newton  <will.newton@linaro.org>
57188         * malloc/Makefile: Add tst-memalign.
57189         * malloc/tst-memalign.c: New file.
57191         * malloc/tst-posix_memalign.c: Add comments.
57192         (do_test): Add comments and call free on all potentially
57193         allocated pointers. Add space after cast.
57195         * malloc/tst-pvalloc.c: Add comments.
57196         (do_test): Add comments and call free on all potentially
57197         allocated pointers. Remove duplicate check for NULL pointer.
57198         Add space after cast.
57200         * malloc/tst-valloc.c: Add comments.
57201         (do_test): Add comments and call free on all potentially
57202         allocated pointers. Remove duplicate check for NULL pointer.
57203         Add space after cast.
57205 2013-10-04  Alan Modra  <amodra@gmail.com>
57207         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57208         Use stdint types in rather than __attribute__((mode())).
57209         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57211 2013-10-04  Alan Modra  <amodra@gmail.com>
57213         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57214         Correct handling of unaligned relocs for little-endian.
57215         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57217 2013-10-04  Alan Modra  <amodra@gmail.com>
57219         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
57220         * configure: Regenerate.
57221         * nptl/shlib-versions: Powerpc*le starts at 2.18.
57222         * shlib-versions: Likewise.
57224 2013-10-04  Alan Modra  <amodra@gmail.com>
57226         * string/tester.c (test_memrchr): Increment reported test cycle.
57228 2013-10-04  Alan Modra  <amodra@gmail.com>
57230         * string/test-memcpy.c (do_one_test): When reporting errors, print
57231         string address and don't overrun end of string.
57233 2013-10-04  Alan Modra  <amodra@gmail.com>
57235         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
57236         insrdi.  Make better use of reg selection to speed exit slightly.
57237         Schedule entry path a little better.  Remove useless "are we done"
57238         checks on entry to main loop.  Handle wrapping around zero address.
57239         Correct main loop count.  Handle single left-over word from main
57240         loop inline rather than by using loop_small.  Remove extra word
57241         case in loop_small caused by wrong loop count.  Add little-endian
57242         support.
57243         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57244         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
57245         cache hint.
57246         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57247         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
57248         support.  Avoid rlwimi.
57249         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
57251 2013-10-04  Alan Modra  <amodra@gmail.com>
57253         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
57254         insrdi.  Formatting.
57255         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
57256         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57257         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
57258         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57259         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57260         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
57262 2013-10-04  Alan Modra  <amodra@gmail.com>
57264         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
57265         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57266         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57267         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
57268         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57269         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57270         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57271         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57272         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
57273         use of regs.  Use power7 mtocrf.  Tidy function tails.
57275 2013-10-04  Alan Modra  <amodra@gmail.com>
57277         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
57278         Formatting.  Consistently use rXXX register defines or rN defines.
57279         Use early exit labels that avoid restoring unused non-volatile regs.
57280         Make cr field use more consistent with rWORDn compares.  Rename
57281         regs used as shift registers for unaligned loop, using rN defines
57282         for short lifetime/multiple use regs.
57283         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57284         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
57285         addi 1,1,64 to pop stack frame.  Simplify return value code.
57286         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57288 2013-10-04  Alan Modra  <amodra@gmail.com>
57290         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
57291         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
57292         rather than rlwimi.
57293         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
57294         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
57295         little-endian support.  Correct typos.
57296         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
57297         rather than rlwimi.
57298         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
57299         in loop and entry code to keep "and." results.
57300         (strchr): Add little-endian support.  Comment.  Move cntlzd
57301         earlier in tail.
57302         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
57304 2013-10-04  Alan Modra  <amodra@gmail.com>
57306         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57307         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
57308         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
57309         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
57311 2013-10-04  Alan Modra  <amodra@gmail.com>
57313         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
57314         (rTMP): Define as r11.
57315         (strcmp): Add little-endian support.  Optimise tail.
57316         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
57317         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57318         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57319         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57320         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57321         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57322         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57324 2013-10-04  Alan Modra  <amodra@gmail.com>
57326         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
57327         little-endian support.  Remove unnecessary "are we done" tests.
57328         Handle "s" wrapping around zero and extremely large "size".
57329         Correct main loop count.  Handle single left-over word from main
57330         loop inline rather than by using small_loop.  Correct comments.
57331         Delete "zero" tail, use "end_max" instead.
57332         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
57334 2013-10-04  Alan Modra  <amodra@gmail.com>
57336         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
57337         support.  Don't branch over align.
57338         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
57339         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
57340         support.  Rearrange tmp reg use to suit.  Comment.
57341         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
57343 2013-10-04  Alan Modra  <amodra@gmail.com>
57345         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
57347 2013-10-04  Alan Modra  <amodra@gmail.com>
57349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
57350         conditional form of branch and link when obtaining pc.
57351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
57353 2013-10-04  Alan Modra  <amodra@gmail.com>
57355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
57356         HIWORD/LOWORD.
57357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
57358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
57360 2013-10-04  Alan Modra  <amodra@gmail.com>
57362         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
57363         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
57364         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
57365         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
57366         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57367         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57368         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
57369         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57370         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
57371         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
57373 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57374             Alistair Popple <alistair@ozlabs.au.ibm.com>
57375             Alan Modra <amodra@gmail.com>
57377         [BZ #15723]
57378         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
57379         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
57380         _dl_hwcap access for little-endian.
57381         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
57382         destroy vmx regs when saving unaligned.
57383         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
57384         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
57385         destroy vmx regs when saving unaligned.
57387 2013-10-04  Alan Modra  <amodra@gmail.com>
57389         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
57390         Don't use a union to pack hi/low value.
57392 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57394         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
57395         for little-endian.
57396         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57397         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
57398         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57399         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57400         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57402 2013-10-04  Alan Modra  <amodra@gmail.com>
57404         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
57405         constants to usual value for .cst8 section, and remove redundant
57406         high address load.
57407         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
57408         constant for 0x1p52.  Load little-endian words of double from
57409         correct stack offsets.
57411 2013-10-04  Alan Modra  <amodra@gmail.com>
57413         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
57414         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
57415         words of double from correct stack offsets.
57416         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
57417         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
57418         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57419         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57420         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57421         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57422         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57423         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
57424         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
57425         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57426         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57427         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57428         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57429         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57430         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57431         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
57432         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
57434 2013-10-04  Alan Modra  <amodra@gmail.com>
57436         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
57437         64-bit int/double union.
57438         (_FPU_SETCW): Likewise.
57439         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
57440         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
57442 2013-10-04  Alan Modra  <amodra@gmail.com>
57444         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
57445         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
57447 2013-10-04  Alan Modra  <amodra@gmail.com>
57449         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
57450         use vector int constants.
57451         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
57453 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57455         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
57456         array with long long.
57457         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
57458         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
57459         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
57460         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
57461         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
57462         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
57463         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
57464         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
57465         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
57466         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
57467         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
57468         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
57469         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
57471 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57473         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
57474         (__signbit): Likewise.  Correct for little-endian.
57475         (__signbitl): Call __signbit.
57476         (lrint): Correct for little-endian.
57477         (lrintf): Call lrint.
57479 2013-10-04  Alan Modra  <amodra@gmail.com>
57481         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
57482         union 32-bit int array member with 64-bit int array.
57483         (t515, tm256): Double rather than long double.
57484         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
57486 2013-10-04  Alan Modra  <amodra@gmail.com>
57488         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
57489         Delete.
57490         (IEEE854_LONG_DOUBLE_BIAS): Delete.
57491         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
57492         version of math_ldbl.h.
57494 2013-10-04  Alan Modra  <amodra@gmail.com>
57496         [BZ #15734], [BZ #15735]
57497         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
57498         all uses of ieee875 long double macros and unions.  Simplify test
57499         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
57500         ldbl_extract_mantissa value for ix,iy exponents.  Properly
57501         normalize after ldbl_extract_mantissa, and don't add hidden bit
57502         already handled.  Don't treat low word of ieee854 mantissa like
57503         low word of IBM long double and mask off bit when testing for
57504         zero.
57505         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
57506         all uses of ieee875 long double macros and unions.  Simplify tests
57507         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
57508         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
57509         two1022, instead use their values.  Recognise that tests for large
57510         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
57511         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
57512         Rewrite all uses of ieee875 long double macros and unions.  Simplify
57513         test for 0.0L and nan.  Correct negation.
57514         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
57515         ieee875 long double macros and unions.  Correct output for large
57516         magnitude x.  Correct absolute value calculation.
57517         (__erfcl): Likewise.
57518         * math/libm-test.inc: Add tests for errors discovered in IBM long
57519         double versions of fmodl, remainderl, erfl and erfcl.
57521 2013-10-04  Alan Modra  <amodra@gmail.com>
57523         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
57524         all uses of ieee854 long double macros and unions.  Simplify tests
57525         for long doubles that are fully specified by the high double.
57526         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
57527         Likewise.
57528         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
57529         Remove dead code too.
57530         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
57531         (__ieee754_ynl): Likewise.
57532         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
57533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
57534         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
57535         Remove dead code too.
57536         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
57537         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
57538         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
57539         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
57540         Simplify.
57541         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
57542         Simplify.
57543         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
57544         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
57545         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
57546         Comment on variable precision.
57547         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
57548         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57549         Likewise.
57550         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
57551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57553         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
57554         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
57556 2013-10-04  Alan Modra  <amodra@gmail.com>
57558         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
57559         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
57560         all uses of ieee854 long double macros and unions.
57561         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
57562         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57563         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
57564         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
57565         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
57566         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57567         Likewise.
57568         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
57569         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57570         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
57571         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57572         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
57573         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
57574         Simplify sign and nan test too.
57575         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
57576         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57577         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
57578         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
57579         Likewise.
57580         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57581         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
57582         Likewise.
57583         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57584         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
57585         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
57586         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
57587         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
57588         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
57590 2013-10-04  Alan Modra  <amodra@gmail.com>
57592         * stdio-common/printf_size.c (__printf_size): Don't use
57593         union ieee854_long_double in fpnum union.
57594         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
57595         signbit macro to retrieve sign from long double.
57596         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
57597         retrieve sign from long double.
57598         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
57599         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
57600         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
57601         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57602         * math/test-misc.c (main): Don't use union ieee854_long_double.
57604 2013-10-04  Alan Modra  <amodra@gmail.com>
57606         [BZ #15680]
57607         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57608         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57609         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57610         calculation.  Remove unnecessary test for denormal exponent.
57611         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57612         Correct handling of denormals.  Avoid undefined shift behaviour.
57613         Correct normalisation of low mantissa when low double is denormal.
57614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57615         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57616         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57617         Correct normalisation of low mantissa.  Test for overflow of high
57618         mantissa and normalise.
57619         (ldbl_nearbyint): Use more readable constant for two52.
57620         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57621         (__mpn_construct_long_double): Fix test for overflow of high
57622         mantissa and correct normalisation.  Avoid undefined shift.
57624 2013-10-04  Alan Modra  <amodra@gmail.com>
57626         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57627         (union ibm_extended_long_double): Define as an array of ieee754_double.
57628         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57629         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57630         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57631         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57632         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57633         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57634         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57635         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57636         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57637         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57638         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57640 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57642         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57643         page size instead of calling getpagesize.
57645         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57646         (LOCFILE_ALIGN_MASK): Likewise.
57647         (LOCFILE_ALIGN_UP): Likewise.
57648         (LOCFILE_ALIGNED_P): Likewise.
57649         * locale/programs/ld-collate.c (collate_output): Use the new
57650         macros instead of __alignof__ (int32_t).
57651         * locale/weight.h (findidx): Likewise.
57653 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57655         [BZ #431]
57656         * manual/string.texi: Fix strncat and wcsncat.
57658 2013-10-03  Brooks Moses  <bmoses@google.com>
57660         [BZ #15915]
57661         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57662         * Makerules: ...here, and adjust associated comments.
57664 2013-10-02  Will Newton  <will.newton@linaro.org>
57666         * malloc/Makefile: Add tst-pvalloc.
57667         * malloc/tst-pvalloc.c: New file.
57669 2013-10-02  Will Newton  <will.newton@linaro.org>
57671         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57672         improve test coverage.
57674 2013-10-02  Will Newton  <will.newton@linaro.org>
57676         * malloc/Makefile: Add tst-posix_memalign.
57677         * malloc/tst-posix_memalign.c: New file.
57679 2013-10-01  Eric Blake  <eblake@redhat.com>
57681         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57682         Use __THROWNL rather than __THROW on static functions.
57684 2013-09-30  Petr Machata  <pmachata@redhat.com>
57686         * elf/elf.h (R_AARCH64_ABS16): New macro.
57687         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57688         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57689         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57690         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57691         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57692         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57693         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57694         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57695         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57696         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57697         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57698         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57699         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57700         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57701         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57702         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57703         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57704         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57705         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57706         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57707         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57708         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57709         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57710         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57711         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57712         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57713         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57714         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57715         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57716         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57717         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57718         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57719         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57720         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57721         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57722         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57723         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57724         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57725         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57726         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57727         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57728         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57729         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57730         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57731         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57732         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57733         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57734         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57735         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57736         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57737         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57738         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57739         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57740         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57741         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57742         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57743         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57744         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57745         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57746         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57747         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57748         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57749         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57750         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57751         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57752         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57753         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57754         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57755         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57756         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57757         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57758         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57759         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57760         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57761         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57762         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57763         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57764         (R_AARCH64_TLSDESC_LDR): Likewise.
57765         (R_AARCH64_TLSDESC_ADD): Likewise.
57766         (R_AARCH64_TLSDESC_CALL): Likewise.
57768 2013-09-30  Andreas Schwab  <schwab@suse.de>
57770         [BZ #15048]
57771         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57772         the nss database lookup.
57773         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57776 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57778         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57780 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57782         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57783         ${Bash-specific parameter/pattern/string} parameter expansion.
57784         * sysdeps/unix/make-syscalls.sh: Likewise.
57786 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57788         * sysdeps/sh/stackguard-macros.h: New file.
57790 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57793         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57794         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57795         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57796         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57797         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57799 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57801         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57802         Fix thread ID register.
57804 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57806         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57807         [POSIX || UNIX98]: Require rather than permitting all symbols from
57808         <time.h>.
57809         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57810         element of struct sched_param.
57811         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57812         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57813         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57814         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57815         constant.
57817 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57819         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57820         argument calculation.
57822 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57824         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57825         Expect macro.
57826         [POSIX] (pthread_attr_t): Do not require type.
57827         [POSIX] (pthread_cond_t): Likewise.
57828         [POSIX] (pthread_condattr_t): Likewise.
57829         [POSIX] (pthread_key_t): Likewise.
57830         [POSIX] (pthread_mutex_t): Likewise.
57831         [POSIX] (pthread_mutexattr_t): Likewise.
57832         [POSIX] (pthread_once_t): Likewise.
57833         [POSIX] (pthread_t): Likewise.
57834         [POSIX-based standards] (pthread_atfork): Expect function.
57836 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57837             Richard Sandiford  <richard@codesourcery.com>
57839         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57840         (swap_endianness_p): New extern variable.
57841         (set_big_endian): New inline function.
57842         (maybe_swap_uint32): Likewise.
57843         (maybe_swap_uint32_array): Likewise.
57844         (maybe_swap_uint32_obstack): Likewise.
57845         * locale/programs/locfile.c: Include <stdbool.h>.
57846         (swap_endianness_p): New variable.
57847         (add_locale_uint32): Call maybe_swap_uint32.
57848         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57849         (write_locale_data): Call maybe_swap_uint32_array.
57850         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57851         maybe_swap_uint32.
57852         (obstack_int32_grow_fast): Likewise.
57853         (output_weightwc): Call maybe_swap_uint32_obstack.
57854         (collate_output): Likewise.
57855         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57856         (OPT_LITTLE_ENDIAN): Likewise.
57857         (options): Add --little-endian and --big-endian options.
57858         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57859         * locale/programs/locarchive.c: Include "locfile.h".
57860         (GET): New macro.
57861         (SET): Likewise.
57862         (INC): Likewise.
57863         (create_archive): Use the new macros to access fields of
57864         structures directly mapped from or written to locale archives.
57865         (oldlocrecentcmp): Likewise.
57866         (enlarge_archive): Likewise.
57867         (insert_name): Likewise.
57868         (add_alias): Likewise.
57869         (add_locale): Likewise.
57870         (delete_locales_from_archive): Likewise.
57871         (show_archive_content): Likewise.
57872         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57873         locale data.
57875 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57877         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57878         http://www.gnu.org/doc/freemanuals.texi.
57879         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57881 2013-09-24  Will Newton  <will.newton@linaro.org>
57883         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57884         macro.
57886 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57888         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57889         unsigned char.
57891 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57893         * manual/threads.texi (POSIX Threads): Fix a typo.
57895 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57897         [BZ #14547]
57898         * string/tst-strcoll-overflow.c: New test case.
57899         * string/Makefile (xtests): Add tst-strcoll-overflow.
57900         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57901         cache if string sizes may cause integer overflow.
57903         [BZ #14547]
57904         * string/strcoll_l.c (coll_seq): New members rule, idx,
57905         save_idx and back_us.
57906         (get_next_seq_nocache): New function.
57907         (do_compare_nocache): New function.
57908         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57909         when malloc fails.
57911 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57913         [BZ #15754]
57914         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57915         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57916         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57918         [BZ #15754]
57919         * elf/Makefile (tests): Add tst-ptrguard1.
57920         (tests-static): Add tst-ptrguard1-static.
57921         (tst-ptrguard1-ARGS): Define.
57922         (tst-ptrguard1-static-ARGS): Define.
57923         * elf/tst-ptrguard1.c: New file.
57924         * elf/tst-ptrguard1-static.c: New file.
57925         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57926         * sysdeps/i386/stackguard-macros.h: Likewise.
57927         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57928         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57929         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57930         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57931         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57932         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57934 2013-09-23  Hector Marco  <hecmargi@upv.es>
57935             Ismael Ripoll  <iripoll@disca.upv.es>
57936             Carlos O'Donell  <carlos@redhat.com>
57938         [BZ #15754]
57939         * sysdeps/generic/stackguard-macros.h: Define
57940         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57941         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57942         Define __pointer_chk_guard_local.
57943         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57944         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57946 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57948         [BZ #15859]
57949         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57951 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57953         * include/string.h (__ffs): Declare as hidden.
57954         * string/ffs.c (__ffs): Define as hidden.
57955         * sysdeps/i386/ffs.c (__ffs): Likewise.
57956         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57957         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57958         * sysdeps/s390/ffs.c (__ffs): Likewise.
57959         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57961 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57963         * NEWS: Mention malloc probes.
57965         * malloc/arena.c (new_heap): New memory_heap_new probe.
57966         (grow_heap): New memory_heap_more probe.
57967         (shrink_heap): New memory_heap_less probe.
57968         (heap_trim): New memory_heap_free probe.
57969         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57970         (systrim): New memory_sbrk_less probe.
57971         * manual/probes.texi: Document them.
57973         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57974         * manual/probes.texi: Document it.
57976         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57977         (__libc_realloc): Add memory_realloc_retry probe.
57978         (__libc_memalign): Add memory_memalign_retry probe.
57979         (__libc_valloc): Add memory_valloc_retry probe.
57980         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57981         (__libc_calloc): Add memory_calloc_retry probe.
57982         * manual/probes.texi: Document them.
57984         * malloc/arena.c (get_free_list): Add probe
57985         memory_arena_reuse_free_list.
57986         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57987         and memory_arena_reuse.
57988         (arena_get2) [!PER_THREAD]: Likewise.
57989         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57990         memory_arena_reuse_realloc.
57991         * manual/probes.texi: Document them.
57993         * malloc/malloc.c (__libc_free): Add
57994         memory_mallopt_free_dyn_thresholds probe.
57995         (__libc_mallopt): Add multiple memory_mallopt probes.
57996         * manual/probes.texi: Document them.
57998         * malloc/malloc.c: Include stap-probe.h.
57999         (__libc_mallopt): Add memory_mallopt probe.
58000         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
58001         * manual/probes.texi: New.
58002         * manual/Makefile (chapters): Add probes.
58003         * manual/threads.texi: Set next node.
58005 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
58007         [BZ #15963, #13985]
58008         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
58009         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
58010         Add `Chinese' to `nan' entry name.
58012 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58014         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
58015         (POLYNOMIAL): Likewise.
58016         (TAYLOR_SINCOS): Likewise.
58017         (TAYLOR_SLOW): Likewise.
58018         (__sin): Use TAYLOR_SINCOS.
58019         (__cos): Likewise.
58020         (slow): Use TAYLOR_SLOW.
58021         (sloww): Likewise.
58022         (bsloww): Likewise.
58023         (csloww): Likewise.
58025 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58027         * stdlib/strtod_l.c: Fix buffer overrun.
58029 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58031         * benchtests/Makefile (bench): Add sincos.
58032         * benchtests/bench-sincos.c: New file.
58034         * math/libm-test.inc (cos_test_data): New test inputs.
58035         (sin_test_data): Likewise.
58037         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
58038         macro.
58039         (__sin): Use it.
58040         (__cos): Likewise.
58041         (slow1): Likewise.
58042         (slow2): Likewise.
58043         (sloww1): Likewise.
58044         (sloww2): Likewise.
58045         (bsloww1): Likewise.
58046         (bsloww2): Likewise.
58047         (cslow2): Likewise.
58048         (csloww1): Likewise.
58049         (csloww2): Likewise.
58051         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
58052         function.
58053         (__sin): Use it.
58054         (__cos): Likewise.
58056         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
58057         gotos.
58058         (__cos): Likewise.
58060 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
58062         * config.h.in (HAVE_MIPS_NAN2008): New macro.
58063         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
58064         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
58065         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
58066         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
58067         * elf/cache.c (print_entry): Handle the new cache flags.
58069 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58070             Aldy Hernandez  <aldyh@redhat.com>
58072         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
58073         Change condition to [_SOFT_FLOAT].
58074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
58075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
58076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
58077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
58078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
58079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
58080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
58081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
58082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
58083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
58084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
58085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
58086         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
58087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
58088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
58089         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
58090         declaration.
58092 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58094         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
58095         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58096         (__longjmp): Use LOAD_GP to load saved GPRs.
58097         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
58098         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58099         (__sigsetjmp): Use SAVE_GP to save GPRs.
58101         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
58102         Do not append -msoft-float.
58103         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
58105 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58107         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
58109 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
58111         [BZ #15966]
58112         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
58113         (_FPU_GETCW): Use initial "__" on variable and field names but not
58114         on macro parameter name.
58115         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
58116         parentheses around reference to macro parameter.
58118 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
58120         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
58121         prototype.
58122         (ctype_startup): Use uint32_t in cast and sizeof for
58123         ctype->charnames.
58125 2013-09-11  Jia Liu  <proljc@gmail.com>
58127         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
58128         __daddr_t_defined.
58129         [__FreeBSD__]: Likewise.
58131 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
58133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
58134         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
58135         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
58136         (strchr): Remove __strchr_sse42 ifunc selection.
58137         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
58138         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
58140 2013-09-11  Will Newton  <will.newton@linaro.org>
58142         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
58143         parameter to RES. Remove hardcoded 1000 value.
58144         * benchtests/bench-skeleton.c (main): Pass RES parameter
58145         to TIMING_INIT and multiply result by 1000.
58147 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58151 2013-09-11  Andreas Schwab  <schwab@suse.de>
58153         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
58154         if not defined.
58155         (O_TMPFILE) [__USE_GNU]: Define.
58156         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
58157         Define.
58159 2013-09-11  Will Newton  <will.newton@linaro.org>
58161         [BZ #15857]
58162         * malloc/malloc.c (__libc_memalign): Check the value of bytes
58163         does not overflow.
58165 2013-09-11  Will Newton  <will.newton@linaro.org>
58167         [BZ #15856]
58168         * malloc/malloc.c (__libc_valloc): Check the value of bytes
58169         does not overflow.
58171 2013-09-11  Will Newton  <will.newton@linaro.org>
58173         [BZ #15855]
58174         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
58175         does not overflow.
58177 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
58179         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
58180         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58181         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58182         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58183         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58185 2013-09-10  Allan McRae  <allan@archlinux.org>
58187         [BZ #15748]
58188         * manual/arith.texi (Parsing of Floats): Clarify
58189         cross-reference.
58191         [BZ #15849]
58192         * manual/install.texi (Running make install): Mention
58193         --enable-pt-chown.
58194         * INSTALL: Regenerated.
58196 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
58198         * csu/init-first.c (_init): Remove the !SHARED condition around
58199         FPU control word initialization.
58200         * elf/dl-support.c (_dl_fpu_control): New variable.
58201         (_dl_aux_init) <AT_FPUCW>: Initialize it.
58202         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
58203         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
58204         * math/test-fpucw-static.c: New file.
58205         * math/test-fpucw-ieee.c: New file.
58206         * math/test-fpucw-ieee-static.c: New file.
58207         * math/Makefile (tests): Add `test-fpucw-ieee' and
58208         `$(tests-static)'.
58209         (tests-static): New variable.
58210         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
58211         dependency to...
58212         [($(build-shared),yes)]
58213         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
58214         ... this.
58215         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
58216         New dependency.
58218 2013-09-09  Allan McRae  <allan@archlinux.org>
58220         [BZ #15939]
58221         * manual/string.texi (Collation Functions): Fix typo in
58222         strcoll example.
58223         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
58225         [BZ #15893]
58226         * stdlib/isomac.c (get_null_defines): Fix memory leak.
58228         [BZ #15892]
58229         * libio/memstream.c (open_memstream): Fix memory leak.
58230         * libio/wmemstream.c (open_wmemstream): Likewise.
58232         [BZ #15895]
58233         * nscd/netgroupcache.c: Fix nesting of ifdefs.
58235 2013-09-09  Will Newton  <will.newton@linaro.org>
58237         * malloc/Makefile: Add tst-realloc to tests.
58238         * malloc/tst-realloc.c: New file.
58240 2013-09-09  Allan McRae  <allan@archlinux.org>
58242         [BZ #15844]
58243         * COPYING: Update from GNU website to fix FSF address.
58244         * COPYING.LIB: Likewise.
58246 2013-09-06  David S. Miller  <davem@davemloft.net>
58248         * po/zh_TW.po: Update Chinese (traditional) translation from
58249         translation project.
58251 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
58252             Joseph Myers  <joseph@codesourcery.com>
58254         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
58255         "localeinfo.h".
58256         (obstack_chunk_alloc): New macro.
58257         (obstack_chunk_free): Likewise.
58258         (record_offset): New function.
58259         (init_locale_data): Likewise.
58260         (align_locale_data): Likewise.
58261         (add_locale_empty): Likewise.
58262         (add_locale_raw_data): Likewise.
58263         (add_locale_raw_obstack): Likewise.
58264         (add_locale_string): Likewise.
58265         (add_locale_wstring): Likewise.
58266         (add_locale_uint32): Likewise.
58267         (add_locale_uint32_array): Likewise.
58268         (add_locale_char): Likewise.
58269         (start_locale_structure): Likewise.
58270         (end_locale_structure): Likewise.
58271         (start_locale_prelude): Likewise.
58272         (end_locale_prelude): Likewise.
58273         (write_locale_data): Take locale_file structure rather than an
58274         iovec.
58275         * locale/programs/locfile.h: Include "obstack.h".
58276         (struct locale_file): Change to store locale file contents instead
58277         of header.
58278         (init_locale_data): New prototype.
58279         (align_locale_data): Likewise.
58280         (add_locale_empty): Likewise.
58281         (add_locale_raw_data): Likewise.
58282         (add_locale_raw_obstack): Likewise.
58283         (add_locale_string): Likewise.
58284         (add_locale_wstring): Likewise.
58285         (add_locale_uint32): Likewise.
58286         (add_locale_uint32_array): Likewise.
58287         (add_locale_char): Likewise.
58288         (start_locale_structure): Likewise.
58289         (end_locale_structure): Likewise.
58290         (start_locale_prelude): Likewise.
58291         (end_locale_prelude): Likewise.
58292         (write_locale_data): Update prototype.
58293         * locale/programs/3level.h (struct TABLE): Remove result field.
58294         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
58295         Use new locale_file interface.
58296         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
58297         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
58298         * locale/programs/ld-address.c (address_output): Use new
58299         locale_file interface.
58300         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
58301         NO_ADD_LOCALE.
58302         (collate_finish): Don't call collseq_table_finalize.
58303         (collate_output): Use new locale_file interface.
58304         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
58305         in file.
58306         (NO_FINALIZE): Change to NO_ADD_LOCALE.
58307         (TABLE): Move defines earlier in file.
58308         (ELEMENT): Likewise.
58309         (DEFAULT): Likewise.
58310         (wctrans_table_add): Move macro and inline function earlier in
58311         file.
58312         (struct wctype_table): Move type earlier in file.
58313         (add_locale_wctype_table): New static prototype.
58314         (struct locale_ctype_t): Use logical types instead of struct iovec
58315         pointers for members.
58316         (ctype_output): Use new locale_file interface.
58317         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
58318         new locale_file interface.
58319         (allocate_arrays): Update for use of new locale_file interface.
58320         * locale/programs/ld-identification.c (identification_output): Use
58321         new locale_file interface.
58322         * locale/programs/ld-measurement.c (measurement_output): Likewise.
58323         * locale/programs/ld-messages.c (messages_output): Likewise.
58324         * locale/programs/ld-monetary.c (monetary_output): Likewise.
58325         * locale/programs/ld-name.c (name_output): Likewise.
58326         * locale/programs/ld-numeric.c (numeric_output): Likewise.
58327         * locale/programs/ld-paper.c (paper_output): Likewise.
58328         * locale/programs/ld-telephone.c (telephone_output): Likewise.
58329         * locale/programs/ld-time.c (time_output): Likewise.
58331 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58333         * benchtests/Makefile: Add memrchr benchmark.
58334         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
58335         benchmark as memrchr.
58336         * benchtests/bench-memrchr-ifunc.c: New file.
58337         * benchtests/bench-memrchr.c: New file.
58339 2013-09-06   Will Newton  <will.newton@linaro.org>
58341         * benchtests/Makefile (string-bench): Add memcpy.
58343 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
58344             Cong Wang  <amwang@redhat.com>
58346         [BZ #15850]
58347         * sysdeps/unix/sysv/linux/bits/in.h
58348         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
58349         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
58350         before __USE_KERNEL_IPV6_DEFS uses.
58351         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
58352         IPPROTO_BEETPH.
58353         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
58354         sockaddr_in6, or ipv6_mreq.
58356 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58358         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
58359         memory access for final bytes in some large inputs.
58360         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
58362 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58364         * string/test-memrchr.c: New file.
58365         * string/test-memrchr-ifunc.c: New file.
58366         * string/Makefile: Add new memrchr testcase.
58368 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
58370         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
58371         fanotify_init returns EPERM.
58373 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58375         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
58376         errors.
58377         (top level): Treat second token from macro or constant entries for
58378         allowed headers as allowed.
58379         * include/complex.h: Condition internal declarations on
58380         [!_ISOMAC].
58381         * include/fenv.h: Condition include of <stdbool.h> and internal
58382         declarations on [!_ISOMAC].
58384 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
58386         [BZ #15923]
58387         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
58389 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58391         * configure.in (--enable-versioning): Remove configure option.
58392         (libc_cv_asm_symver_directive): Remove configure test.
58393         (libc_cv_ld_version_script_option): Likewise.
58394         (VERSIONING): Remove variable and AC_SUBST.
58395         (DO_VERSIONING): Remove AC_DEFINE.
58396         * configure: Regenerated.
58397         * config.h.in (DO_VERSIONING): Remove macro.
58398         * Makerules [$(versioning) = yes]: Change conditionals to
58399         [$(build-shared) = yes].
58400         * config.make.in (versioning): Remove variable.
58401         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
58402         [$(build-shared) = yes].
58403         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
58404         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
58405         * elf/Makefile [$(versioning) = yes]: Change conditionals to
58406         [$(build-shared) = yes].
58407         * extra-lib.mk [$(versioning) = yes]: Likewise.
58408         * hurd/Makefile [$(versioning) = yes]: Likewise.
58409         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
58410         [SHARED].
58411         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
58412         [SHARED].
58413         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58414         [SHARED && !NO_HIDDEN].
58415         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
58416         [SHARED].
58417         [SHARED && DO_VERSIONING]: Likewise..
58418         * libio/Makefile [$(versioning) = yes]: Change conditionals to
58419         [$(build-shared) = yes].
58420         * manual/install.texi (--disable-versioning): Remove
58421         documentation.
58422         * INSTALL: Regenerated.
58423         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
58424         to [SHARED].
58425         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
58426         [$(build-shared) = yes].
58427         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
58428         * sysdeps/i386/i686/multiarch/strstr-c.c
58429         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58430         [SHARED && !NO_HIDDEN].
58431         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
58432         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
58433         * sysdeps/powerpc/powerpc32/dl-machine.c
58434         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
58435         * sysdeps/powerpc/powerpc32/sysdep.h
58436         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
58437         to [SHARED && PIC && !NO_HIDDEN].
58438         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
58439         conditional to [SHARED].
58441 2013-09-04   Will Newton  <will.newton@linaro.org>
58443         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
58444         * benchtests/bench-string.h: Include bench-timing.h instead
58445         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
58446         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
58447         call to HP_TIMING_DIFF_INIT.
58448         * benchtests/bench-memccpy.c: Use bench-timing.h macros
58449         instead of hp-timing.h macros.
58450         * benchtests/bench-memchr.c: Likewise.
58451         * benchtests/bench-memcmp.c: Likewise.
58452         * benchtests/bench-memcpy.c: Likewise.
58453         * benchtests/bench-memmem.c: Likewise.
58454         * benchtests/bench-memmove.c: Likewise.
58455         * benchtests/bench-memset.c: Likewise.
58456         * benchtests/bench-rawmemchr.c: Likewise.
58457         * benchtests/bench-strcasecmp.c: Likewise.
58458         * benchtests/bench-strcasestr.c: Likewise.
58459         * benchtests/bench-strcat.c: Likewise.
58460         * benchtests/bench-strchr.c: Likewise.
58461         * benchtests/bench-strcmp.c: Likewise.
58462         * benchtests/bench-strcpy.c: Likewise.
58463         * benchtests/bench-strcpy_chk.c: Likewise.
58464         * benchtests/bench-strlen.c: Likewise.
58465         * benchtests/bench-strncasecmp.c: Likewise.
58466         * benchtests/bench-strncat.c: Likewise.
58467         * benchtests/bench-strncmp.c: Likewise.
58468         * benchtests/bench-strncpy.c: Likewise.
58469         * benchtests/bench-strnlen.c: Likewise.
58470         * benchtests/bench-strpbrk.c: Likewise.
58471         * benchtests/bench-strrchr.c: Likewise.
58472         * benchtests/bench-strspn.c: Likewise.
58473         * benchtests/bench-strstr.c: Likewise.
58475 2013-09-04  Will Newton  <will.newton@linaro.org>
58477         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
58479 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
58481         [BZ #15427]
58482         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
58483         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
58484         * math/libm-test.inc (lgamma_test_data): Add more tests.
58485         * sysdeps/i386/fpu/libm-test-ulps: Update.
58486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58488 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
58490         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
58491         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58492         Add ifunc.
58493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58494         Add strcmp-sse2-unaligned
58495         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
58497 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58499         * Versions.def (libc): Add GLIBC_2.19.
58501 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58503         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
58504         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
58506 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
58508         [BZ #14155]
58509         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
58510         intermediate calculations in recurrence.
58511         (__ieee754_ynf): Likewise.
58512         * math/libm-test.inc (jn_test_data): Do not allow spurious
58513         underflow exception.  Add more tests.
58514         (yn_test_data): Add more tests.
58515         * sysdeps/i386/fpu/libm-test-ulps: Update.
58516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58518 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
58520         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
58522 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58524         * csu/init-first.c: Fix then/than typos.
58525         * locale/programs/ld-collate.c: Likewise.
58526         * locale/programs/linereader.h: Likewise.
58527         * manual/charset.texi: Likewise.
58528         * manual/filesys.texi: Likewise.
58529         * manual/stdio.texi: Likewise.
58530         * manual/string.texi: Likewise.
58531         * stdlib/fmtmsg.c: Likewise.
58532         * sysdeps/i386/stpncpy.S: Likewise.
58533         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58534         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58535         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58536         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58538 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58540         * elf/dl-open.c: Fix typos.
58541         * iconvdata/gbbig5.c: Likewise.
58542         * iconvdata/iso-2022-jp.c: Likewise.
58543         * iconv/gconv_int.h: Likewise.
58544         * iconv/loop.c: Likewise.
58545         * nis/rpcsvc/nis.h: Likewise.
58546         * resolv/ns_name.c: Likewise.
58547         * stdio-common/vfscanf.c: Likewise.
58548         * streams/stropts.h: Likewise.
58549         * sunrpc/rpc_thread.c: Likewise.
58550         * sysdeps/i386/strpbrk.S: Likewise.
58551         * sysdeps/ieee754/k_standard.c: Likewise.
58552         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58553         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58554         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
58555         * sysdeps/mach/hurd/profil.c: Likewise.
58556         * sysdeps/s390/dl-procinfo.h: Likewise.
58557         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
58558         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
58559         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
58560         * sysdeps/x86_64/dl-trampoline.S: Likewise.
58561         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58563 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
58565         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
58566         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
58568 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
58570         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
58571         aix specific files.
58572         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
58573         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
58574         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
58575         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
58576         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
58577         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
58578         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58579         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
58581 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58582             Roland McGrath  <roland@hack.frob.com>
58584         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
58585         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
58587 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58589         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
58590         __executable_start symbol instead of _start.
58592 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58594         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
58595         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
58596         Move macros to...
58597         * sysdeps/gnu/ldsodefs.h: ... this new file.
58599         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
58600         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
58601         instead of ELFOSABI_LINUX.
58603         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58604         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58605         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58606         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58607         Likewise.
58608         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58609         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58610         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58611         Likewise.
58612         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58613         (ibm_extended_long_double): Add ieee_nan member.
58614         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58615         (do_test): New function.
58617         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58618         TEST_TRUNC.
58619         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58620         functions, renamed from truncdfsf_test, trunctfsf_test,
58621         trunctfdf_test.
58622         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58623         functions.
58624         (do_test): Run all these.
58626 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58628         * argp/argp-help.c: Fix typos.
58629         * argp/argp-parse.c: Likewise.
58630         * debug/backtracesyms.c: Likewise.
58631         * elf/elf.h: Likewise.
58632         * malloc/malloc.c: Likewise.
58633         * nis/nis_print.c: Likewise.
58634         * resolv/res_comp.c: Likewise.
58635         * stdlib/stdlib.h: Likewise.
58636         * sunrpc/clnt_tcp.c: Likewise.
58637         * sunrpc/clnt_udp.c: Likewise.
58638         * sunrpc/clnt_unix.c: Likewise.
58639         * sysdeps/unix/bsd/ptsname.c: Likewise.
58640         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58641         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58643         Likewise.
58644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58645         Likewise.
58646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58647         Likewise.
58648         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58650 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58652         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58655 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58657         [BZ #15897]
58658         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58659         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58660         ($(objpfx)bug-dl-leaf): New rule.
58661         ($(objpfx)bug-dl-leaf.so): Likewise.
58662         ($(objpfx)bug-dl-leaf.out): Likewise.
58663         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58664         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58665         * dlfcn/bug-dl-leaf.c: New test.
58666         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58667         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58668         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58669         (dlclose): Likewise.
58670         (dlmopen): Likewise.
58672 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58674         * include/netdb.h [!_ISOMAC]:
58675         Don't include <tls.h>.
58676         (h_errno, __libc_h_errno): Move declaration and macros out of
58677         [_LIBC_REENTRANT].
58679         * include/resolv.h [_RESOLV_H_]:
58680         Don't include <tls.h>.
58681         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58682         * resolv/res_libc.c: Don't include <tls.h>.
58683         (_res): Use __attribute__ ((nocommon)) in place of
58684         __attribute__ ((section (".bss"))).
58686         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58687         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58689         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58691         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58692         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58694         * resolv/res_mkquery.c: Include <sys/time.h>.
58696         * inet/ifreq.c: Moved to ...
58697         * sysdeps/unix/ifreq.c: ... here.
58698         * inet/ifreq.c: New file, true stub version.
58700         * socket/sa_len.c: New file.
58701         * socket/Makefile (aux): Add it.
58702         * sysdeps/unix/sysv/linux/Makefile
58703         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58704         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58705         and #include <socket/sa_len.c>.
58706         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58707         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58709         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58710         * bits/socket.h: ... here.
58712         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58713         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58714         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58716 2013-08-27  Andreas Schwab  <schwab@suse.de>
58718         [BZ #15736]
58719         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58720         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58721         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58722         * string/test-strcasecmp.c (test_main): Run tests in several
58723         locales.
58724         * string/test-strncasecmp.c (test_main): Likewise.
58726         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58727         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58728         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58729         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58730         (__strncasecmp_ssse3) [PIC]: Likewise.
58732 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58734         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58736         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58737         instead of explicitly declaring xdecrypt.
58738         * nis/nss_nis/nis-publickey.c: Likewise.
58740 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58742         [BZ #15890]
58743         * nscd/aicache.c: Include res_hconf.h.
58744         (addhstaiX): Initialize res_hconf.
58746 2013-08-26  Andreas Schwab  <schwab@suse.de>
58748         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58749         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58751 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58753         * nscd/aicache.c (addhstaiX): Fix indentation.
58755 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58757         * configure.ac: Quote $build_pt_chown test.
58758         * configure: Regenerated.
58760 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58762         [BZ #15532]
58763         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58764         * math/s_cexpf.c (__cexpf): Likewise.
58765         * math/s_cexpl.c (__cexpl): Likewise.
58766         * math/libm-test.inc (cexp_test_data): Correct expected return
58767         value for NaN + i0.  Add another test.
58769 2013-08-22  David S. Miller  <davem@davemloft.net>
58771         * po/ca.po: Update Catalan translation from translation project.
58772         * po/uk.po: Add Ukrainian translations from translation project.
58774 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58776         [BZ #15797]
58777         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58778         is infinite, not alongside NaN test.
58779         * math/s_fdimf.c (__fdimf): Likewise.
58780         * math/s_fdiml.c (__fdiml): Likewise.
58781         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58782         errno is unchanged.
58784 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58786         * argp/argp-help.c: Fix typos.
58787         * crypt/speeds.c: Likewise.
58788         * csu/check_fds.c: Likewise.
58789         * elf/dl-load.c: Likewise.
58790         * elf/dl-open.c: Likewise.
58791         * elf/reldep3.c: Likewise.
58792         * elf/reldep.c: Likewise.
58793         * elf/sprof.c: Likewise.
58794         * iconv/iconv_charmap.c: Likewise.
58795         * iconv/skeleton.c: Likewise.
58796         * iconv/strtab.c: Likewise.
58797         * io/lockf64.c: Likewise.
58798         * libio/libioP.h: Likewise.
58799         * resolv/gai_notify.c: Likewise.
58800         * resolv/ns_name.c: Likewise.
58801         * resolv/ns_samedomain.c: Likewise.
58802         * resolv/res_send.c: Likewise.
58803         * stdlib/random.c: Likewise.
58804         * sunrpc/rpc/xdr.h: Likewise.
58805         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58806         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58807         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58808         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58809         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58810         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58812         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58813         * sysdeps/mach/hurd/check_fds.c: Likewise.
58814         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58815         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58816         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58817         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58818         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58819         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58820         * sysdeps/pthread/aio_notify.c: Likewise.
58821         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58822         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58823         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58824         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58825         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58827 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58829         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58830         version if bit_Slow_SSE4_2 is set.
58831         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58832         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58834 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58836         [BZ #15867]
58837         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58838         trampoline stack frame information.
58839         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58840         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58841         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58842         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58843         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58844         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58845         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58846         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58847         sa_flags value.
58848         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58849         interrupting a syscall and set with option SA_SIGINFO.
58851 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58853         [BZ #15531]
58854         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58855         argument is infinite.
58856         * math/s_cprojf.c (__cprojf): Likewise.
58857         * math/s_cprojl.c (__cprojl): Likewise.
58858         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58859         * math/libm-test.inc (cproj_test_data): Add more tests.
58861         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58863         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58864         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58865         size.  Use __ffs to determine corresponding shift.
58867 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58868             Roland McGrath  <roland@hack.frob.com>
58870         * Makefile (INSTALL): Remove trailing blank lines from output of
58871         makeinfo.
58873 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58875         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58876         Align 32 bit compat elf_greg to 8 bytes.
58878 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58880         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58882 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58884         * string/strcoll_l.c (coll_seq): New structure.
58885         (get_next_seq_cached): New function.
58886         (get_next_seq): New function.
58887         (do_compare): New function.
58888         (STRCOLL): Use GNU style definition.  Simplify implementation
58889         by using get_next_seq, get_next_seq_cached and do_compare.
58891 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58893         [BZ #14699]
58894         CVE-2013-4237
58895         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58896         member.
58897         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58898         member.
58899         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58900         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58901         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58902         conditional.
58903         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58904         GETDENTS_64BIT_ALIGNED.
58905         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58906         * manual/filesys.texi (Reading/Closing Directory): Document
58907         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58908         strongly.
58909         * manual/conf.texi (Limits for Files): Add portability note to
58910         NAME_MAX, PATH_MAX.
58911         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58913 2013-08-13  Andreas Schwab  <schwab@suse.de>
58915         [BZ #15749]
58916         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58917         of fabs.
58918         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58919         LDBL_MAX_EXP >= 16384]: Add tests for it.
58921 2013-08-12  David S. Miller  <davem@davemloft.net>
58923         * version.h (RELEASE): Set to "development".
58924         (VERSION): Set to "2.18.90".
58925         * NEWS: Add 2.19 section.
58927 2013-08-03  David S. Miller  <davem@davemloft.net>
58929         * po/ko.po: Update Korean translation from translation project.
58931 2013-08-01  David S. Miller  <davem@davemloft.net>
58933         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58934         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58935         Bilka.
58937 2013-07-30  David S. Miller  <davem@davemloft.net>
58939         * po/fr.po: Update French translation from translation project.
58941 2013-07-28  David S. Miller  <davem@davemloft.net>
58943         * po/cs.po: Update Czech translation from translation project.
58945         * po/sv.po: Update Swedish translation from translation project.
58947 2013-07-27  David S. Miller  <davem@davemloft.net>
58949         * po/eo.po: Update Esperanto translation from translation project.
58951         * po/vi.po: Update Vietnamese translation from translation project.
58953         * po/de.po: Update German translation from translation project.
58955 2013-07-26  David S. Miller  <davem@davemloft.net>
58957         * po/bg.po: Update Bulgarian translation from translation project.
58959         * po/nl.po: Update Dutch translation from translation project.
58960         * po/pl.po: Update Polish translation from translation project.
58961         * po/ru.po: Update Russian translation from translation project.
58963 2013-07-24  David S. Miller  <davem@davemloft.net>
58965         * po/libc.pot: Update.
58967 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58969         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58970         variable page size.
58971         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58972         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58973         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58975 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58977         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58979 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58980             Andreas Schwab  <schwab@suse.de>
58981             Roland McGrath  <roland@hack.frob.com>
58982             Joseph Myers  <joseph@codesourcery.com>
58983             Carlos O'Donell  <carlos@redhat.com>
58985         [BZ #15755]
58986         * config.h.in: Define HAVE_PT_CHOWN.
58987         * config.make.in (build-pt-chown): New variable.
58988         * configure.in (--enable-pt_chown): New configure option.
58989         * configure: Regenerate.
58990         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58991         build-pt-chown is enabled.
58992         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58993         pt_chown to fix pty ownership.
58994         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58995         CLOSE_ALL_FDS.
58996         * manual/install.texi (Configuring and compiling): Mention
58997         --enable-pt_chown. Add @findex for grantpt.
58998         * INSTALL: Regenerate.
59000 2013-07-20  David S. Miller  <davem@davemloft.net>
59002         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
59003         difference between 32-bit and 64-bit.
59005 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
59007         [BZ #15711]
59008         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
59009         Avoid system header dependency with -ffreestanding.
59010         ($(objpfx)bits/syscall%d): Likewise.
59012 2013-07-13  David S. Miller  <davem@davemloft.net>
59014         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
59015         underflows from atanl/atan2l due to bug 15319.
59016         (casinh_test_data): Likewise.
59018 2013-07-07  David S. Miller  <davem@davemloft.net>
59020         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
59022 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
59024         * sysdeps/i386/fpu/libm-test-ulps: Update.
59025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59027 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59029         * configure.in (--enable-lock-elision): Fix message text.
59030         * INSTALL: Regenerate.
59031         * configure: Regenerate.
59033 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59037 2013-07-03  Andreas Jaeger  <aj@suse.de>
59039         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
59040         define.
59041         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
59042         (ptrace_peeksiginfo_args): Add.
59043         (__ptrace_peeksiginfo_flags): Add.
59044         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59045         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59046         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59048 2013-07-03  Allan McRae  <allan@archlinux.org>
59050         * sysdeps/i386/fpu/libm-test-ulps: Update.
59052 2013-07-02  David S. Miller  <davem@davemloft.net>
59054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59056 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
59058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59060 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59062         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
59063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59065 2013-07-02  Andi Kleen <ak@linux.intel.com>
59067         * config.h.in (ENABLE_LOCK_ELISION): Add.
59068         * configure.in (--enable-lock-elision): Add option.
59069         * manual/install.texi: Document --enable lock elision.
59070         * configure: Regenerate
59071         * INSTALL: Regenerate.
59073 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
59075         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
59076         SSE4.2 strcasecmp for libc.a.
59077         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
59079 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59081         [BZ #13304]
59082         * soft-fp/op-common.h (_FP_FMA): New macro.
59083         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
59084         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
59085         (_FP_MUL_MEAT_1_imm): ... here.
59086         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
59087         (_FP_MUL_MEAT_1_wide): ... here.
59088         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
59089         (_FP_MUL_MEAT_1_hard): ... here.
59090         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
59091         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
59092         (_FP_MUL_MEAT_2_wide): ... here.
59093         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
59094         (_FP_MUL_MEAT_2_wide_3mul): ... here.
59095         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
59096         (_FP_MUL_MEAT_2_gmp): ... here.
59097         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
59098         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
59099         (_FP_MUL_MEAT_4_wide): ... here.
59100         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
59101         (_FP_MUL_MEAT_4_gmp): ... here.
59102         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
59103         (_FP_WFRACBITS_DW_S): Likewise.
59104         (_FP_WFRACXBITS_DW_S): Likewise.
59105         (_FP_HIGHBIT_DW_S): Likewise.
59106         (FP_FMA_S): Likewise.
59107         (_FP_FRAC_HIGH_DW_S): Likewise.
59108         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
59109         (_FP_WFRACBITS_DW_D): Likewise.
59110         (_FP_WFRACXBITS_DW_D): Likewise.
59111         (_FP_HIGHBIT_DW_D): Likewise.
59112         (FP_FMA_D): Likewise.
59113         (_FP_FRAC_HIGH_DW_D): Likewise.
59114         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
59115         (_FP_WFRACBITS_DW_E): Likewise.
59116         (_FP_WFRACXBITS_DW_E): Likewise.
59117         (_FP_HIGHBIT_DW_E): Likewise.
59118         (FP_FMA_E): Likewise.
59119         (_FP_FRAC_HIGH_DW_E): Likewise.
59120         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
59121         (_FP_WFRACBITS_DW_Q): Likewise.
59122         (_FP_WFRACXBITS_DW_Q): Likewise.
59123         (_FP_HIGHBIT_DW_Q): Likewise.
59124         (FP_FMA_Q): Likewise.
59125         (_FP_FRAC_HIGH_DW_Q): Likewise.
59126         * soft-fp/fmasf4.c: New file.
59127         * soft-fp/fmadf4.c: Likewise.
59128         * soft-fp/fmatf4.c: Likewise.
59130 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59133         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
59134         Silvermont.
59135         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
59136         macro.
59137         (index_Slow_SSE4_2): Likewise.
59138         (index_Prefer_PMINUB_for_stringop): Likewise.
59139         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
59140         bit_Slow_SSE4_2 is set.
59141         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59142         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59144 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59146         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
59147         rtld_global._dl_hwcap2.
59148         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
59149         POWER8.
59150         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
59151         POWER8 feature descriptions defined in _dl_hwcap2.
59152         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
59153         string handling for POWER8 feature bits.
59154         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
59155         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
59156         _dl_powerpc_cap_flags.
59157         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
59158         * sysdeps/powerpc/rtld-global-offsets.sym
59159         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
59160         _dl_hwcap2 in the rtld_global_ro structure.
59162 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59164         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
59165         hardware capabilities in support of AT_HWCAP2.
59166         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
59167         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
59168         GLRO(dl_hwcap2).
59169         (_dl_show_auxv): Add support for calling _dl_procinfo to display
59170         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
59171         explicitly the unknown a_type display mechanism is used.
59172         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
59173         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
59174         struct member.
59175         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
59176         to macro prototype for AT_HWCAP2 support.
59177         * sysdeps/i386/dl-procinfo.h: Likewise.
59178         * sysdeps/s390/dl-procinfo.h: Likewise.
59179         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
59180         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
59181         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
59182         return -1 for unknown a_type display fallback.
59183         * sysdeps/sparc/dl-procinfo.h: Likewise.
59184         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
59185         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
59187 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
59189         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
59190         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
59192 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
59194         [BZ #12492]
59195         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
59196         mprotect making __stack_prot writable.
59198 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
59199             Joseph Myers  <joseph@codesourcery.com>
59201         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
59202         as being properly aligned.
59204 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
59206         * dlfcn/modstatic5.c: New file.
59207         * dlfcn/tststatic5.c: New file.
59208         * dlfcn/Makefile (tests): Add tststatic5.
59209         (tests-static): Likewise.
59210         (modules-names): Add modstatic5.
59211         (tststatic5-ENV): New variable.
59212         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
59214         [BZ #15022]
59215         * elf/dl-support.c (_dl_main_map): New variable.
59216         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
59217         (_dl_nns, _dl_load_adds): Set to 1.
59218         (_dl_initial_searchlist): Refer to _dl_main_map.
59219         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
59220         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
59221         call to _dl_get_origin.
59222         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
59223         around call_map.
59224         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
59225         * dlfcn/modstatic3.c: New file.
59226         * dlfcn/tststatic3.c: New file.
59227         * dlfcn/tststatic4.c: New file.
59228         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
59229         (tests-static): Likewise.
59230         (modules-names): Add modstatic3.
59231         (tststatic3-ENV, tststatic4-ENV): New variables.
59232         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
59233         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
59235 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
59237         * configure.in (CC): Require GCC version 4.4 or later.
59238         * configure: Regenerated.
59239         * manual/install.texi (Tools for Compilation): Update GCC version
59240         requirement.
59241         * INSTALL: Regenerated.
59243 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59245         [BZ #15674]
59246         * string/test-memcmp.c (check2): New.
59247         (main): Call check2.
59249         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
59251 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
59253         [BZ #15022]
59254         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
59255         over to...
59256         (dl_open_worker) [!SHARED]: ... here.
59258 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59260         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
59262 2013-06-25  Richard Henderson  <rth@redhat.com>
59264         * locale/programs/locarchive.c: Include <libc-internal.h>
59266 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
59268         * manual/texinfo.tex: Update to version 2013-06-21.17, with
59269         trailing whitespace removed.
59271 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59273         [BZ #10283]
59274         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
59275         * locale/programs/locarchive.c: Include libc-mmap.h.
59276         (prepare_address_space): Take two new outputs (the mmap base and len).
59277         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
59278         values.
59279         (create_archive): Declare new mmap base and len values for
59280         prepare_address_space, and store the result in ah.
59281         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
59282         (enlarge_archive): If ah->mmap_base is not NULL, use that and
59283         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59284         Declare new mmap base and len values for
59285         prepare_address_space, and store the result in new_ah.
59286         (open_archive): Declare new mmap base and len values for
59287         prepare_address_space, and store the result in ah.
59288         (close_archive): If ah->mmap_base is not NULL, use that and
59289         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59290         * sysdeps/generic/libc-mmap.h: New file.
59292 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59294         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
59295         (ALIGN_UP): Likewise.
59296         (PTR_ALIGN_DOWN): Likewise.
59297         (PTR_ALIGN_UP): Likewise.
59299 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59301         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
59302         entry mapped to PPC_PLATFORM_POWER8.
59303         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
59304         POWER8.
59305         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
59306         (_dl_string_platform): Add case for exporting platform position for
59307         POWER8.
59308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
59309         search path to sysdeps/powerpc/powerpc32/power8 directory.
59310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
59311         search path to sysdeps/powerpc/powerpc64/power8 directory.
59312         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
59313         power7 directories.
59314         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
59315         power7 directories.
59317 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59319         * INSTALL: Regenerate.
59321         * nscd/connections.c (nscd_init): Fix comment.
59323 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
59325         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
59327         [BZ #15667]
59328         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
59329         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
59331 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59333         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
59334         DL_DST_REQ_STATIC.
59335         (DL_DST_REQ_STATIC): Remove macro.
59337 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
59339         [BZ #7006]
59340         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
59341         with a shift of 0 bits.
59343 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59345         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
59346         $(tststatic-ENV).
59348 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59350         [BZ #15655]
59351         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
59353 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59355         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
59356         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
59357         accepts -fno-tree-loop-distribute-patterns.
59358         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
59359         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
59360         recursive call.
59361         * string/memset.c (memset): Likewise.
59362         * string/test-memmove.c (simple_memmove): Disable loop transformation
59363         to library calls.
59364         * string/test-memset.c (simple_memset): Likewise.
59365         * benchtests/bench-memmove.c (simple_memmove): Likewise.
59366         * benchtests/bench-memset.c (simple_memset): Likewise.
59367         * configure: Regenerated.
59369 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
59371         * math/test-misc.c (main): Ignore fesetround failure when failures
59372         of subsequent rounding tests would be ignored.
59374         [BZ #15654]
59375         * math/fedisblxcpt.c (fedisableexcept): Return 0.
59376         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
59377         * math/fegetenv.c (__fegetenv): Return 0.
59378         * math/fegetexcept.c (fegetexcept): Return 0.
59379         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
59380         FE_TONEAREST.
59381         * math/feholdexcpt.c (feholdexcept): Return 0.
59382         * math/fesetenv.c (__fesetenv): Return 0.
59383         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
59384         argument FE_TONEAREST.
59385         * math/feupdateenv.c (__feupdateenv): Return 0.
59386         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
59388 2013-06-18  Roland McGrath  <roland@hack.frob.com>
59390         * elf/rtld-Rules (rtld-compile-command.S): New variable.
59391         (rtld-compile-command.s, rtld-compile-command.c): New variables.
59392         ($(objpfx)rtld-%.os rules): Use them.
59394 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59396         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
59397         fields.
59399 2013-06-17  Roland McGrath  <roland@hack.frob.com>
59401         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
59402         length of target pattern, then descending length of dependency pattern.
59403         * configure.in (AWK): Require gawk 3.1.2 or newer.
59404         * manual/install.texi (Tools for Compilation): Say that we do.
59405         * configure: Regenerated.
59407         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
59408         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
59409         * scripts/sysd-rules.awk: ... this new script.
59410         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
59411         than a glob-style pattern.
59413 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
59415         * math/test-misc.c (main): Do not treat incorrectly rounded
59416         conversions as failure unless ROUNDING_TESTS passes.
59418 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
59420         [BZ #15631]
59421         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
59422         restore exception state around main square root computation, then
59423         check for inexactness explicitly.
59425         * math/libm-test.inc (fma_test_data): Add another test.
59427 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59429         * manual/threads.texi (Non-POSIX Extensions): New document
59430         node.  Document pthread_getattr_default_np and
59431         pthread_setattr_default_np.
59433         * Versions.def (libpthread): Add GLIBC_2.18.
59434         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
59435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59436         Likewise.
59437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59438         Likewise.
59439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59440         Likewise.
59441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59442         Likewise.
59443         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
59444         Likewise.
59445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59446         Likewise.
59447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59448         Likewise.
59449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59450         Likewise.
59451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59452         Likewise.
59454 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59457         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
59459 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59460             H.J. Lu  <hjl.tools@gmail.com>
59462         [BZ #15627]
59463         * sysdeps/x86_64/rtld-memset.c: Remove file.
59464         * sysdeps/x86_64/rtld-memset.S: New file.
59466 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
59468         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
59469         (test_in_one_mode): Take arguments for whether the rounding mode
59470         is supported for each floating-point type.
59471         (do_test): Pass new arguments to test_in_one_mode using
59472         ROUNDING_TESTS.
59474 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59476         * posix/tst-waitid.c (do_test): Distinguish different instances of
59477         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
59478         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
59479         before entering the kernel for waitpid.
59481 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59483         * NEWS: Fix note on clock function precision.  Text by Roland
59484         McGrath.
59486 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59488         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
59489         it into place only when and if the sanity check passes.
59491 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
59493         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
59494         output for whether conversion result is exact.  Take argument
59495         indicating whether type is IBM long double.
59496         (round_for_all): Change need_exact field to ibm_ld.
59497         * stdlib/tst-strtod-round.c (struct exactness): New type.
59498         (struct test): Change bool ld_ok field to struct exactness exact.
59499         (TEST): Update all definitions for change to field.
59500         (tests): Regenerate array contents.
59501         (test_in_one_mode): Take pointer to new field instead of old ld_ok
59502         field value.  Check for IBM long double here.
59503         (do_test): Update calls to test_in_one_mode.
59505 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59507         [BZ #12515]
59508         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
59509         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
59511 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59513         [BZ #15605]
59514         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
59515         generated by the compiler on loop optimizations.
59516         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
59517         general definitions.
59519 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
59521         * math/bug-nextafter.c: Include <math-tests.h>.
59522         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59523         the relevant type.
59524         * math/bug-nexttoward.c: Include <math-tests.h>.
59525         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59526         the relevant type.
59527         * math/test-misc.c: Include <math-tests.h>.
59528         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59529         the relevant type.
59531 2013-06-12  Andreas Jaeger  <aj@suse.de>
59533         * po/ia.po: Update Interlingua translation from translation
59534         project.
59536 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59538         * include/fenv.h: Include stdbool.h.
59539         (struct rm_ctx): New structure.
59540         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
59541         Define macro.
59542         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
59543         (SET_RESTORE_ROUNDF): Likewise.
59544         (SET_RESTORE_ROUNDL): Likewise.
59545         (SET_RESTORE_ROUND_NOEX): Likewise.
59546         (SET_RESTORE_ROUND_NOEXF): Likewise.
59547         (SET_RESTORE_ROUND_NOEXL): Likewise.
59548         (SET_RESTORE_ROUND_53BIT): Likewise.
59549         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
59550         (libc_feresetround_noexf_ctx): Likewise.
59551         (libc_feresetround_noexl_ctx): Likewise.
59552         (libc_feholdsetround_53bit_ctx): Likewise.
59553         (libc_feresetround_53bit_ctx): Likewise.
59554         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
59555         (libc_feholdexcept_setround_sse_ctx): New function.
59556         (libc_fesetenv_sse_ctx): Likewise.
59557         (libc_feupdateenv_sse_ctx): Likewise.
59558         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
59559         (libc_feholdexcept_setround_387_ctx): Likewise.
59560         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
59561         (libc_feholdsetround_387_prec_ctx): Likewise.
59562         (libc_feholdsetround_387_ctx): Likewise.
59563         (libc_feholdsetround_387_53bit_ctx): Likewise.
59564         (libc_feholdsetround_sse_ctx): Likewise.
59565         (libc_feresetround_sse_ctx): Likewise.
59566         (libc_feresetround_387_ctx): Likewise.
59567         (libc_feupdateenv_387_ctx): Likewise.
59568         (libc_feholdexcept_setroundf_ctx): Define macro.
59569         (libc_fesetenvf_ctx): Likewise.
59570         (libc_feupdateenvf_ctx): Likewise.
59571         (libc_feholdsetroundf_ctx): Likewise.
59572         (libc_feresetroundf_ctx): Likewise.
59573         (libc_feholdexcept_setround_ctx): Likewise.
59574         (libc_fesetenv_ctx): Likewise.
59575         (libc_feupdateenv_ctx): Likewise.
59576         (libc_feholdsetround_ctx): Likewise.
59577         (libc_feresetround_ctx): Likewise.
59578         (libc_feholdexcept_setroundl_ctx): Likewise.
59579         (libc_feupdateenvl_ctx): Likewise.
59580         (libc_feholdsetroundl_ctx): Likewise.
59581         (libc_feresetroundl_ctx): Likewise.
59582         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
59583         (libc_feresetround_53bit_ctx): Likewise.
59585 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59587         * locale/iso-639.def: Convert to UTF-8.
59589 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
59591         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
59592         (EXCEPTION_TESTS_double): Likewise.
59593         (EXCEPTION_TESTS_long_double): Likewise.
59594         (EXCEPTION_TESTS): Likewise.
59595         * math/libm-test.inc (test_exceptions): Only test exceptions if
59596         EXCEPTION_TESTS (FLOAT).
59598 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59600         * benchtests/Makefile (string-bench): Add strcpy_chk and
59601         stpcpy_chk.
59602         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
59603         * benchtests/bench-stpcpy_chk.c: New file.
59604         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59605         * benchtests/bench-strcpy_chk.c: New file.
59606         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59607         code.
59608         (do_test): Likewise.
59610 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59612         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59613         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59614         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59615         with tabs where appropriate.
59616         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59617         dl-procinfo.h.
59618         [PPC_PLATFORM_PPC440]: Likewise.
59619         [PPC_PLATFORM_PPC464]: Likewise.
59620         [PPC_PLATFORM_PPC476]: Likewise.
59621         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59622         ppc464, and ppc476 platform strings merging from ports/
59623         dl-procinfo.h.
59625 2013-06-11  Andreas Schwab  <schwab@suse.de>
59627         [BZ #14991]
59628         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59629         (from_ucs4_idx): Regenerate.
59630         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59631         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59632         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59633         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59634         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59635         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59636         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59637         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59638         from FROM_LOOP and TO_LOOP specific macros.
59639         (BODY): Handle combining characters.
59640         * iconvdata/BIG5HKSCS.irreversible: Update.
59641         * iconvdata/BIG5HKSCS.precomposed: New file.
59642         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59643         characters.
59644         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59646 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59648         * include/sys/time.h: Fix indentation and add copyright header.
59650         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59651         (do_test): Likewise.
59652         * string/test-memchr.c (do_one_test): Likewise.
59653         (do_test): Likewise.
59654         * string/test-memcmp.c (do_one_test): Likewise.
59655         (do_test): Likewise.
59656         * string/test-memcpy.c (do_one_test): Likewise.
59657         (do_test): Likewise.
59658         * string/test-memmem.c (do_one_test): Likewise.
59659         (do_test): Likewise.
59660         (do_random_tests): Likewise.
59661         * string/test-memmove.c (do_one_test): Likewise.
59662         (do_test): Likewise.
59663         * string/test-memset.c (do_one_test): Likewise.
59664         (do_test): Likewise.
59665         * string/test-rawmemchr.c (do_one_test): Likewise.
59666         (do_test): Likewise.
59667         * string/test-strcasecmp.c (do_one_test): Likewise.
59668         (do_test): Likewise.
59669         * string/test-strcasestr.c (do_one_test): Likewise.
59670         (do_test): Likewise.
59671         * string/test-strcat.c (do_one_test): Likewise.
59672         (do_test): Likewise.
59673         * string/test-strchr.c (do_one_test): Likewise.
59674         (do_test): Likewise.
59675         * string/test-strcmp.c (do_one_test): Likewise.
59676         (do_test): Likewise.
59677         * string/test-strcpy.c (do_one_test): Likewise.
59678         (do_test): Likewise.
59679         * string/test-string.h: Likewise.
59680         (test_init): Likewise.
59681         * string/test-strlen.c (do_one_test): Likewise.
59682         (do_test): Likewise.
59683         * string/test-strncasecmp.c (do_one_test): Likewise.
59684         (do_test): Likewise.
59685         * string/test-strncat.c (do_one_test): Likewise.
59686         (do_test): Likewise.
59687         * string/test-strncmp.c (do_one_test): Likewise.
59688         (do_test_limit): Likewise.
59689         (do_test): Likewise.
59690         * string/test-strncpy.c (do_one_test): Likewise.
59691         (do_test): Likewise.
59692         * string/test-strnlen.c (do_one_test): Likewise.
59693         (do_test): Likewise.
59694         * string/test-strpbrk.c (do_one_test): Likewise.
59695         (do_test): Likewise.
59696         * string/test-strrchr.c (do_one_test): Likewise.
59697         (do_test): Likewise.
59698         * string/test-strspn.c (do_one_test): Likewise.
59699         (do_test): Likewise.
59700         * string/test-strstr.c (do_one_test): Likewise.
59701         (do_test): Likewise.
59703         * benchtests/Makefile (string-bench): Add string benchmarks.
59704         * benchtests/bench-bcopy-ifunc.c: New file.
59705         * benchtests/bench-bcopy.c: New file.
59706         * benchtests/bench-bzero-ifunc.c: New file.
59707         * benchtests/bench-bzero.c: New file.
59708         * benchtests/bench-memccpy-ifunc.c: New file.
59709         * benchtests/bench-memccpy.c: New file.
59710         * benchtests/bench-memchr-ifunc.c: New file.
59711         * benchtests/bench-memchr.c: New file.
59712         * benchtests/bench-memcmp-ifunc.c: New file.
59713         * benchtests/bench-memcmp.c: New file.
59714         * benchtests/bench-memmem-ifunc.c: New file.
59715         * benchtests/bench-memmem.c: New file.
59716         * benchtests/bench-memmove-ifunc.c: New file.
59717         * benchtests/bench-memmove.c: New file.
59718         * benchtests/bench-mempcpy-ifunc.c: New file.
59719         * benchtests/bench-mempcpy.c: New file.
59720         * benchtests/bench-memset-ifunc.c: New file.
59721         * benchtests/bench-memset.c: New file.
59722         * benchtests/bench-rawmemchr-ifunc.c: New file.
59723         * benchtests/bench-rawmemchr.c: New file.
59724         * benchtests/bench-stpcpy-ifunc.c: New file.
59725         * benchtests/bench-stpcpy.c: New file.
59726         * benchtests/bench-stpncpy-ifunc.c: New file.
59727         * benchtests/bench-stpncpy.c: New file.
59728         * benchtests/bench-strcasecmp-ifunc.c: New file.
59729         * benchtests/bench-strcasecmp.c: New file.
59730         * benchtests/bench-strcasestr-ifunc.c: New file.
59731         * benchtests/bench-strcasestr.c: New file.
59732         * benchtests/bench-strcat-ifunc.c: New file.
59733         * benchtests/bench-strcat.c: New file.
59734         * benchtests/bench-strchr-ifunc.c: New file.
59735         * benchtests/bench-strchr.c: New file.
59736         * benchtests/bench-strchrnul-ifunc.c: New file.
59737         * benchtests/bench-strchrnul.c: New file.
59738         * benchtests/bench-strcmp-ifunc.c: New file.
59739         * benchtests/bench-strcmp.c: New file.
59740         * benchtests/bench-strcpy-ifunc.c: New file.
59741         * benchtests/bench-strcpy.c: New file.
59742         * benchtests/bench-strcspn-ifunc.c: New file.
59743         * benchtests/bench-strcspn.c: New file.
59744         * benchtests/bench-strlen-ifunc.c: New file.
59745         * benchtests/bench-strlen.c: New file.
59746         * benchtests/bench-strncasecmp-ifunc.c: New file.
59747         * benchtests/bench-strncasecmp.c: New file.
59748         * benchtests/bench-strncat-ifunc.c: New file.
59749         * benchtests/bench-strncat.c: New file.
59750         * benchtests/bench-strncmp-ifunc.c: New file.
59751         * benchtests/bench-strncmp.c: New file.
59752         * benchtests/bench-strncpy-ifunc.c: New file.
59753         * benchtests/bench-strncpy.c: New file.
59754         * benchtests/bench-strnlen-ifunc.c: New file.
59755         * benchtests/bench-strnlen.c: New file.
59756         * benchtests/bench-strpbrk-ifunc.c: New file.
59757         * benchtests/bench-strpbrk.c: New file.
59758         * benchtests/bench-strrchr-ifunc.c: New file.
59759         * benchtests/bench-strrchr.c: New file.
59760         * benchtests/bench-strspn-ifunc.c: New file.
59761         * benchtests/bench-strspn.c: New file.
59762         * benchtests/bench-strstr-ifunc.c: New file.
59763         * benchtests/bench-strstr.c: New file.
59765         * benchtests/Makefile: Disable parallel execution of targets.
59766         (string-bench): Add memcpy.
59767         (benchset): New variable to store a list of benchmark sets.
59768         (bench-func): Renamed from bench.
59769         (bench-set): New target.
59770         (bench): Depend on bench-func and bench-set.
59771         * benchtests/README: Add section on benchmark sets.
59772         * benchtests/bench-memcpy-ifunc.c: New file.
59773         * benchtests/bench-memcpy.c: New file.
59774         * benchtests/bench-string.h: New file.
59776 2013-06-11  Andreas Schwab  <schwab@suse.de>
59778         [BZ #15577]
59779         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59780         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59781         values in the triple.
59782         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59783         terminator in the group key.
59785 2013-06-11  Andreas Jaeger  <aj@suse.de>
59787         * po/zh_TW.po: Update Chinese (traditional) translation from
59788         translation project.
59790 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59792         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59793         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59794         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59795         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59796         (clock_getcpuclockid): Likewise.
59797         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59798         Add weak_alias and libc_hidden_def.
59799         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59800         * rt/clock_gettime.c (clock_gettime): Rename to
59801         __clock_gettime.  Add weak_alias and libc_hidden_def.
59802         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59803         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59804         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59805         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59806         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59807         Likewise.
59808         * rt/clock_settime.c (clock_settime): Rename to
59809         __clock_settime.  Add weak_alias and libc_hidden_def.
59810         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59812 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59814         * mach/err_boot.sub: Remove trailing whitespace.
59815         * mach/err_ipc.sub: Likewise.
59816         * mach/err_mach.sub: Likewise.
59818         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59819         (ROUNDING_TESTS_double): Likewise.
59820         (ROUNDING_TESTS_long_double): Likewise.
59821         (ROUNDING_TESTS): Likewise.
59822         * math/libm-test.inc: Include <math-tests.h>.
59823         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59824         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59825         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59826         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59828 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59830         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59831         of assigning.
59833 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59835         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59836         otherwise empty TRANS lines.
59837         * sysdeps/gnu/errlist.c: Regenerated.
59839         * catgets/gencat.c (error_print): Use (void) in function
59840         definition.
59841         * crypt/crypt_util.c (__init_des): Likewise.
59842         * crypt/speeds.c (Stop): Likewise.
59843         (main): Likewise.
59844         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59845         * inet/ruserpass.c (token): Likewise.
59846         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59847         * intl/localealias.c (extend_alias_table): Likewise.
59848         * intl/plural-exp.c (init_germanic_plural): Likewise.
59849         * libio/fcloseall.c (__fcloseall): Likewise.
59850         * libio/genops.c (_IO_flush_all): Likewise.
59851         (_IO_flush_all_linebuffered): Likewise.
59852         (_IO_cleanup): Likewise.
59853         (_IO_iter_begin): Likewise.
59854         (_IO_iter_end): Likewise.
59855         (_IO_list_lock): Likewise.
59856         (_IO_list_unlock): Likewise.
59857         (_IO_list_resetlock): Likewise.
59858         * libio/getchar.c (getchar): Likewise.
59859         * libio/getchar_u.c (getchar_unlocked): Likewise.
59860         * libio/getwchar.c (getwchar): Likewise.
59861         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59862         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59863         * login/getpt.c (__getpt): Likewise.
59864         * login/tst-utmp.c (main): Likewise.
59865         * malloc/hooks.c (__malloc_check_init): Likewise.
59866         * malloc/malloc.c (__malloc_stats): Likewise.
59867         * malloc/mtrace.c (tr_break): Likewise.
59868         (mtrace): Likewise.
59869         (muntrace): Likewise.
59870         * misc/fstab.c (endfsent): Likewise.
59871         * misc/getclktck.c (__getclktck): Likewise.
59872         * misc/getdtsz.c (__getdtablesize): Likewise.
59873         * misc/gethostid.c (gethostid): Likewise.
59874         * misc/getpagesize.c (__getpagesize): Likewise.
59875         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59876         (__get_nprocs): Likewise.
59877         (__get_phys_pages): Likewise.
59878         (__get_avphys_pages): Likewise.
59879         * misc/getttyent.c (getttyent): Likewise.
59880         (setttyent): Likewise.
59881         (endttyent): Likewise.
59882         * misc/getusershell.c (getusershell): Likewise.
59883         (endusershell): Likewise.
59884         (setusershell): Likewise.
59885         (initshells): Likewise.
59886         * misc/hsearch.c (__hdestroy): Likewise.
59887         * misc/sync.c (sync): Likewise.
59888         * misc/syslog.c (closelog_internal): Likewise.
59889         (closelog): Likewise.
59890         * misc/ttyslot.c (ttyslot): Likewise.
59891         * misc/vhangup.c (vhangup): Likewise.
59892         * posix/fork.c (__fork): Likewise.
59893         * posix/getegid.c (__getegid): Likewise.
59894         * posix/geteuid.c (__geteuid): Likewise.
59895         * posix/getgid.c (__getgid): Likewise.
59896         * posix/getpid.c (__getpid): Likewise.
59897         * posix/getppid.c (__getppid): Likewise.
59898         * posix/getuid.c (__getuid): Likewise.
59899         * posix/pause.c (pause): Likewise.
59900         * posix/setpgrp.c (setpgrp): Likewise.
59901         * posix/setsid.c (__setsid): Likewise.
59902         * posix/test-vfork.c (noop): Likewise.
59903         * resolv/gethnamaddr.c (_endhtent): Likewise.
59904         (_gethtent): Likewise.
59905         (ht_endhostent): Likewise.
59906         (gethostent): Likewise.
59907         (dns_service): Likewise.
59908         * stdlib/drand48.c (drand48): Likewise.
59909         * stdlib/lrand48.c (lrand48): Likewise.
59910         * stdlib/mrand48.c (mrand48): Likewise.
59911         * stdlib/rand.c (rand): Likewise.
59912         * stdlib/random.c (__random): Likewise.
59913         * stdlib/setenv.c (clearenv): Likewise.
59914         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59915         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59916         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59917         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59918         (__get_nprocs): Likewise.
59919         (__get_phys_pages): Likewise.
59920         (__get_avphys_pages): Likewise.
59921         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59922         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59923         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59924         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59925         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59926         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59927         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59928         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59929         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59930         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59931         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59932         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59933         * sysdeps/posix/clock.c (clock): Likewise.
59934         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59935         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59936         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59937         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59938         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59939         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59940         (__get_nprocs_conf): Likewise.
59941         (__get_phys_pages): Likewise.
59942         (__get_avphys_pages): Likewise.
59943         * time/clock.c (clock): Likewise.
59944         * time/tzset.c (__tzname_max): Likewise.
59946 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59948         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59949         (__bswap_32): Do not use "register".
59950         * crypt/crypt.c (_ufc_doit_r): Likewise.
59951         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59952         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59953         * gmon/gmon.c (__monstartup): Likewise.
59954         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59955         * hurd/hurdmalloc.c (more_memory): Likewise.
59956         (malloc): Likewise.
59957         (free): Likewise.
59958         (realloc): Likewise.
59959         (malloc_fork_prepare): Likewise.
59960         (malloc_fork_parent): Likewise.
59961         (malloc_fork_child): Likewise.
59962         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59963         (_svcauth_des): Likewise.
59964         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59965         * inet/inet_net.c (inet_network): Likewise.
59966         * inet/inet_netof.c (inet_netof): Likewise.
59967         * inet/rcmd.c (__validuser2_sa): Likewise.
59968         * io/fts.c (fts_open): Likewise.
59969         (fts_load): Likewise.
59970         (fts_close): Likewise.
59971         (fts_read): Likewise.
59972         (fts_children): Likewise.
59973         (fts_build): Likewise.
59974         (fts_stat): Likewise.
59975         (fts_sort): Likewise.
59976         (fts_alloc): Likewise.
59977         (fts_lfree): Likewise.
59978         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59979         (_IO_file_xsgetn): Likewise.
59980         (_IO_file_xsgetn_mmap): Likewise.
59981         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59982         (_IO_cookie_write): Likewise.
59983         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59984         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59985         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59986         * malloc/obstack.c (_obstack_begin): Likewise.
59987         (_obstack_begin_1): Likewise.
59988         (_obstack_newchunk): Likewise.
59989         (_obstack_allocated_p): Likewise.
59990         (obstack_free): Likewise.
59991         (_obstack_memory_used): Likewise.
59992         * misc/getttyent.c (getttynam): Likewise.
59993         (getttyent): Likewise.
59994         (skip): Likewise.
59995         (value): Likewise.
59996         * misc/getusershell.c (initshells): Likewise.
59997         * misc/syslog.c (__vsyslog_chk): Likewise.
59998         * misc/ttyslot.c (ttyslot): Likewise.
59999         * nis/nis_hash.c (__nis_hash): Likewise.
60000         * posix/fnmatch_loop.c (FCT): Likewise.
60001         * posix/getconf.c (print_all): Likewise.
60002         (main): Likewise.
60003         * posix/getopt.c (exchange): Likewise.
60004         * posix/glob.c (globfree): Likewise.
60005         (prefix_array): Likewise.
60006         (__glob_pattern_type): Likewise.
60007         * resolv/arpa/nameser.h (NS_GET16): Likewise.
60008         (NS_GET32): Likewise.
60009         (NS_PUT16): Likewise.
60010         (NS_PUT32): Likewise.
60011         * resolv/gethnamaddr.c (getanswer): Likewise.
60012         (gethostbyname2): Likewise.
60013         (gethostbyaddr): Likewise.
60014         (_gethtent): Likewise.
60015         (_gethtbyname2): Likewise.
60016         (_gethtbyaddr): Likewise.
60017         * resolv/ns_print.c (dst_s_get_int16): Likewise.
60018         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
60019         * resolv/res_init.c (__res_vinit): Likewise.
60020         (net_mask): Likewise.
60021         * resolv/res_mkquery.c (outchar): Likewise.
60022         (PRINT): Likewise.
60023         * stdio-common/printf_fp.c (outchar): Likewise.
60024         (PRINT): Likewise.
60025         * stdio-common/printf_fphex.c (outchar): Likewise.
60026         (PRINT): Likewise.
60027         * stdio-common/printf_size.c (outchar): Likewise.
60028         (PRINT): Likewise.
60029         * stdio-common/test_rdwr.c (main): Likewise.
60030         * stdio-common/tfformat.c (matches): Likewise.
60031         * stdio-common/vfprintf.c (outchar): Likewise.
60032         (printf_unknown): Likewise.
60033         (buffered_vfprintf): Likewise.
60034         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
60035         * stdio-common/xbug.c (AppendToBuffer): Likewise.
60036         (ReadFile): Likewise.
60037         * stdlib/qsort.c (SWAP): Likewise.
60038         (_quicksort): Likewise.
60039         * stdlib/setenv.c (__add_to_environ): Likewise.
60040         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
60041         * stdlib/strtol_l.c (__strtol_l): Likewise.
60042         * stdlib/tst-strtod.c (main): Likewise.
60043         * stdlib/tst-strtol.c (main): Likewise.
60044         * stdlib/tst-strtoll.c (main): Likewise.
60045         * string/bits/string2.h (__strcmp_cc): Likewise.
60046         (__strcmp_cg): Likewise.
60047         (__strcspn_c1): Likewise.
60048         (__strcspn_c2): Likewise.
60049         (__strcspn_c3): Likewise.
60050         (__strspn_c1): Likewise.
60051         (__strspn_c2): Likewise.
60052         (__strspn_c3): Likewise.
60053         (__strsep_1c): Likewise.
60054         (__strsep_2c): Likewise.
60055         (__strsep_3c): Likewise.
60056         * string/memccpy.c (__memccpy): Likewise.
60057         * string/stpcpy.c (__stpcpy): Likewise.
60058         * string/strcmp.c (strcmp): Likewise.
60059         * string/strrchr.c (strrchr): Likewise.
60060         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
60061         Likewise.
60062         * sysdeps/mach/hurd/getcwd.c
60063         (_hurd_canonicalize_directory_name_internal): Likewise.
60064         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
60065         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
60066         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
60067         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
60068         Likewise, in both definitions.
60069         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
60070         definitions.
60071         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
60072         64] (__bswap_64): Likewise.
60073         * time/test_time.c (main): Likewise.
60074         * time/tzfile.c (__tzfile_read): Likewise.
60075         (__tzfile_compute): Likewise.
60076         * time/tzset.c (__tzset_parse_tz): Likewise.
60077         (tzset_internal): Likewise.
60078         (compute_change): Likewise.
60079         * wcsmbs/wcscat.c (__wcscat): Likewise.
60080         * wcsmbs/wcschr.c (wcschr): Likewise.
60081         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
60082         * wcsmbs/wcscspn.c (wcscspn): Likewise.
60083         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
60084         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
60085         * wcsmbs/wcsspn.c (wcsspn): Likewise.
60086         * wcsmbs/wcsstr.c (wcsstr): Likewise.
60087         * wcsmbs/wmemchr.c (wmemchr): Likewise.
60088         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60089         * wcsmbs/wmemset.c (wmemset): Likewise.
60091 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
60093         * scripts/config.guess: Update to version 2013-05-16.
60094         * scripts/config.sub: Update to version 2013-04-24.
60095         * scripts/install-sh: Update to version 2011-11-20.07.
60096         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
60097         * scripts/move-if-change: Update to version 2012-01-06 07:23.
60099 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
60101         * debug/fgetws_u_chk.c: Fix leading whitespaces.
60102         * elf/sln.c: Likewise.
60103         * hurd/hurd/ioctl.h: Likewise.
60104         * hurd/hurdmalloc.c: Likewise.
60105         * hurd/xattr.c: Likewise.
60106         * include/shlib-compat.h: Likewise.
60107         * inet/ruserpass.c: Likewise.
60108         * libio/iofgets_u.c: Likewise.
60109         * libio/iofgetws_u.c: Likewise.
60110         * locale/programs/ld-identification.c: Likewise.
60111         * locale/programs/ld-time.c: Likewise.
60112         * mach/msg-destroy.c: Likewise.
60113         * nss/nss_files/files-netgrp.c: Likewise.
60114         * resolv/res_data.c: Likewise.
60115         * soft-fp/op-1.h: Likewise.
60116         * soft-fp/op-2.h: Likewise.
60117         * soft-fp/op-4.h: Likewise.
60118         * soft-fp/op-common.h: Likewise.
60119         * stdio-common/printf_fphex.c: Likewise.
60120         * stdlib/strtod_l.c: Likewise.
60121         * sunrpc/rpc/clnt.h: Likewise.
60122         * sysdeps/generic/framestate.c: Likewise.
60123         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60124         * sysdeps/i386/bsd-setjmp.S: Likewise.
60125         * sysdeps/i386/__longjmp.S: Likewise.
60126         * sysdeps/i386/setjmp.S: Likewise.
60127         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60128         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60129         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60130         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60131         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60132         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60133         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60134         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60135         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60136         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60137         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60138         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60139         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60140         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60141         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60142         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60143         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60144         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
60145         * sysdeps/ieee754/support.c: Likewise.
60146         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60147         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
60148         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
60149         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
60150         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
60151         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
60152         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
60153         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
60154         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
60155         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
60156         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
60157         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
60158         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
60159         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
60160         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
60161         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
60162         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
60165 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
60167         * posix/transbug.c: Remove executable mode.
60169 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
60171         * crypt/speeds.c: Remove trailing whitespace.
60172         * dlfcn/default.c: Likewise.
60173         * elf/ifuncdep2.c: Likewise.
60174         * elf/ifuncmain1.c: Likewise.
60175         * elf/ifuncmain1vis.c: Likewise.
60176         * elf/testobj.h: Likewise.
60177         * elf/tst-stackguard1.c: Likewise.
60178         * gmon/sys/gmon.h: Likewise.
60179         * hurd/hurdmsg.c: Likewise.
60180         * hurd/new-fd.c: Likewise.
60181         * hurd/ports-get.c: Likewise.
60182         * iconvdata/ibm1008_420.c: Likewise.
60183         * inet/tst-getni1.c: Likewise.
60184         * inet/tst-getni2.c: Likewise.
60185         * libio/ioungetc.c: Likewise.
60186         * libio/wfiledoalloc.c: Likewise.
60187         * manual/libm-err-tab.pl: Likewise.
60188         * math/w_dremf.c: Likewise.
60189         * misc/ftruncate.c: Likewise.
60190         * posix/bug-glob2.c: Likewise.
60191         * posix/tst-pcre.c: Likewise.
60192         * posix/wait4.c: Likewise.
60193         * resolv/README: Likewise.
60194         * resolv/res_debug.h: Likewise.
60195         * resolv/tst-inet_ntop.c: Likewise.
60196         * setjmp/bug269-setjmp.c: Likewise.
60197         * soft-fp/extended.h: Likewise.
60198         * soft-fp/op-1.h: Likewise.
60199         * soft-fp/op-2.h: Likewise.
60200         * soft-fp/op-4.h: Likewise.
60201         * soft-fp/op-8.h: Likewise.
60202         * soft-fp/testit.c: Likewise.
60203         * stdio-common/bug16.c: Likewise.
60204         * stdlib/random.c: Likewise.
60205         * sunrpc/rpcsvc/rquota.x: Likewise.
60206         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
60207         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60208         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60209         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60210         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60211         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60212         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60213         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60214         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60215         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60216         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60217         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60218         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60219         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60220         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60221         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60222         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60223         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60224         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60225         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60226         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60227         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60228         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
60229         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60230         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60231         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60233         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60234         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60235         * sysdeps/ieee754/s_lib_version.c: Likewise.
60236         * sysdeps/mach/hurd/check_fds.c: Likewise.
60237         * sysdeps/mach/hurd/getsockname.c: Likewise.
60238         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
60239         * sysdeps/mach/hurd/recvfrom.c: Likewise.
60240         * sysdeps/powerpc/bits/link.h: Likewise.
60241         * sysdeps/powerpc/dl-procinfo.c: Likewise.
60242         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
60243         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
60244         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
60245         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60246         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60247         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
60248         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60249         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
60250         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60251         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
60252         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60253         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
60254         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60255         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60256         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60257         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60258         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60259         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60260         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60261         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60262         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
60263         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60264         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60265         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
60266         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60267         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60268         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60269         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60270         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60271         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60272         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60273         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60274         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60275         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
60276         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60277         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
60278         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60279         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
60280         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
60281         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
60282         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
60283         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
60284         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
60285         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60286         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
60287         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
60288         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60289         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
60290         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
60291         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60292         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60293         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60294         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60295         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
60296         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
60297         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
60298         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60299         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
60300         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
60301         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
60302         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
60303         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
60304         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60305         * sysdeps/powerpc/sysdep.h: Likewise.
60306         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60307         * sysdeps/s390/s390-64/sub_n.S: Likewise.
60308         * sysdeps/sh/dl-trampoline.S: Likewise.
60309         * sysdeps/sh/memset.S: Likewise.
60310         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
60311         * sysdeps/sh/strlen.S: Likewise.
60312         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
60313         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
60314         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
60315         * sysdeps/sparc/sparc32/rem.S: Likewise.
60316         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
60317         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
60318         * sysdeps/sparc/sparc32/strchr.S: Likewise.
60319         * sysdeps/sparc/sparc32/udiv.S: Likewise.
60320         * sysdeps/sparc/sparc32/urem.S: Likewise.
60321         * sysdeps/sparc/sparc64/add_n.S: Likewise.
60322         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60323         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
60324         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
60325         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
60326         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
60327         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
60328         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
60329         * sysdeps/unix/bsd/times.c: Likewise.
60330         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
60331         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
60332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
60333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
60334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
60335         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
60336         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60337         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
60338         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
60339         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
60340         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
60341         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60342         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
60343         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60344         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60345         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
60346         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60347         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
60348         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
60349         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
60350         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
60351         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
60352         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60353         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
60354         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
60355         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
60356         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
60357         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60358         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
60359         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
60360         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
60361         * sysdeps/x86_64/strcspn.S: Likewise.
60363 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60365         * locale/C-translit.h: Revert #include <stdint.h> because this is a
60366         generated file.  Regenerate properly from gen-translit.pl.
60367         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
60368         locale/C-translit.h.
60370 2013-06-05  Andreas Schwab  <schwab@suse.de>
60372         [BZ #15100]
60373         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
60374         week as 6 instead of -1.
60375         * time/tst-strptime.c (day_tests): Add test case.
60377 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60379         * sysdeps/generic/math_private.h
60380         (libc_feholdexcept_setround_53bit): Replace with
60381         libc_feholdsetround_53bit.
60382         (libc_feupdateenv_53bit): Replace with
60383         libc_feresetround_53bit.
60384         (SET_RESTORE_ROUND_53BIT): Adjust.
60386 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60388         * string/test-strchrnul.c: Add copyright header.
60390         * posix/tst-getaddrinfo4.c: Increase test timeout.
60392 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
60394         [BZ #15536]
60395         * math/libm-test.inc (MAX_EXP): Remove
60396         (MIN_EXP): Define.
60397         (ulp): Use MIN_EXP - MANT_DIG.
60398         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
60400 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
60402         * po/be.po: Revert last change.
60403         * po/zh_CN.po: Likewise.
60404         * po/header.pot: Likewise.
60406 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
60408         * Makefile ($(common-objpfx)linkobj/libc.so): Define
60409         link-libc-deps to empty as target-specific variable.
60410         * Makerules (link-libc-args): New variable.
60411         (libc-for-link): Likewise.
60412         (link-libc-deps): Likewise.
60413         (lib%.so): Depend on $(link-libc-deps).  Link with
60414         $(link-libc-args).
60415         (build-module): Link with $(link-libc-args).
60416         (build-module-asneeded): Likewise.
60417         (build-module-helper-objlist): Filter out $(link-libc-deps) from
60418         list of objects.
60419         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
60420         target-specific variable.
60421         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
60422         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
60423         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
60424         libc.
60425         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
60426         libc and ld.so.
60427         ($(objpfx)libpcprofile.so): Likewise.
60428         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
60429         libc_nonshared.a.
60430         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
60431         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
60432         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
60433         $(link-libc-deps).
60434         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
60435         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
60436         * login/Makefile ($(objpfx)libutil.so): Likewise.
60437         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
60438         * math/Makefile ($(objpfx)libm.so): Likewise.
60439         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
60440         $(objpfx)libnsl.so): Define libc-for-link as target-specific
60441         variable instead of depending directly on libc.
60442         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
60443         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
60444         $(link-libc-deps).
60445         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
60446         libc.
60447         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
60448         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
60449         ($(objpfx)libanl.so): Likewise.
60450         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
60451         ld.so.
60452         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
60453         $(link-libc-deps).
60454         * sysdeps/i386/fpu/Makefile: Remove file.
60455         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
60456         ($(objpfx)libm.so): Remove dependency on ld.so.
60458 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
60460         [BZ # 15553]
60461         * nis/yp_xdr.c (XDRMAXNAME): Define.
60462         (XDRMAXRECORD): Define.
60463         (xdr_domainname): Use XDRMAXNAME.
60464         (xdr_mapname): Likewise.
60465         (xdr_peername): Likewise.
60466         (xdr_keydat): Use XDRMAXRECORD.
60467         (xdr_valdat): Likewise.
60469 2013-05-30  Jeff Law  <law@redhat.com>
60471         [BZ #14256]
60472         * manual/errno.texi (ESTALE): Update to account for more than
60473         just NFS file systems.
60474         * sysdeps/gnu/errlist.c: Regenerated.
60476 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60478         [BZ #15465]
60479         * elf/Makefile (tests): Add tst-null-argv.
60480         (modules-names):  Add tst-null-argv-lib.
60481         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
60482         (tst-null-argv-ENV): Set environment for tst-null-argv.
60483         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
60484         (RTLD_PROGNAME): New macro.
60485         * elf/tst-null-argv.c: New test case.
60486         * elf/tst-null-argv-lib.c: Library for test case.
60487         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
60488         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
60489         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
60490         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
60491         * elf/dl-init.c (call_init): Likewise.
60492         (_dl_init): Likewise.
60493         * elf/dl-load.c (print_search_path): Likewise.
60494         (_dl_map_object): Likewise.
60495         * elf/dl-lookup.c (do_lookup_x): Likewise.
60496         (add_dependency): Likewise.
60497         (_dl_lookup_symbol_x): Likewise.
60498         (_dl_debug_bindings): Likewise.
60499         * elf/dl-open.c (_dl_show_scope): Likewise.
60500         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
60501         * elf/dl-version.c (match_symbol): Likewise.
60502         (_dl_check_map_versions): Likewise.
60503         * elf/rtld.c (dl_main): Likewise.
60504         (print_unresolved): Use RTLD_PROGNAME.
60505         (print_missing_version): Likewise.
60506         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
60507         (elf_machine_rela): Likewise.
60508         * sysdeps/powerpc/powerpc32/dl-machine.c
60509         (__process_machine_rela): Likewise.
60510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60511         Likewise.
60512         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60513         Likewise.
60514         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
60515         Likewise.
60516         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60517         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
60518         Likewise.
60519         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
60520         Likewise.
60521         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60523 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
60525         * po/be.po: Add descriptive title.
60526         * po/zh_CN.po: Likewise.
60527         * po/header.pot: Likewise.
60529 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
60531         * locale/programs/locarchive.c (create_archive): Inlucde fname in
60532         error message.
60533         (enlarge_archive): Likewise.
60535 2013-05-28  Ben North  <ben@redfrontdoor.org>
60537         * manual/arith.texi (frexp): It is the magnitude of the return
60538         value which lies in [0.5, 1), not the return value itself.
60540 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60544 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
60546         * stdio-common/bug26.c (main): Correct fscanf template.
60548         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
60549         declare _dl_skip_args.
60551         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
60552         Don't declare.
60554         * manual/platform.texi: Add missing @end deftypefun.
60556 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60558         [BZ #15529]
60559         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
60560         bit of mantissa of 2^16382.
60561         * math/libm-test.inc (hypot_test_data): Add more tests.
60563         * math/libm-test.inc: Add drem and pow10 to list of tested
60564         functions.
60565         (pow10_test): New function.
60566         (drem_test): Likewise.
60567         (drem_test_tonearest): Likewise.
60568         (drem_test_towardzero): Likewise.
60569         (drem_test_downward): Likewise.
60570         (drem_test_upward): Likewise.
60571         (main): Call the new functions.
60573         * math/libm-test.inc (finite_test_data): Remove.
60574         (finite_test): Run tests from isfinite_test_data.
60575         (gamma_test_data): Remove.
60576         (gamma_test): Run tests from lgamma_test_data.
60577         * sysdeps/i386/fpu/libm-test-ulps: Update.
60578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60580 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60582         * manual/platform.texi: Add PowerPC PPR function set documentation.
60583         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
60584         implementation.
60586 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
60588         * math/libm-test.inc (MAX_EXP): Define.
60589         (ULPDIFF): Define.
60590         (ulp): New function.
60591         (check_float_internal): Use ULPDIFF.
60592         (cpow_test): Disable failing test.
60593         (check_ulp): Test ulp() implementation.
60594         (main): Call check_ulp before starting tests.
60596 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60598         * math/gen-libm-test.pl (generate_testfile): Do not handle
60599         START_DATA and END_DATA.
60600         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
60601         END_DATA.
60602         (acos_tonearest_test_data): Likewise.
60603         (acos_towardzero_test_data): Likewise.
60604         (acos_downward_test_data): Likewise.
60605         (acos_upward_test_data): Likewise.
60606         (acosh_test_data): Likewise.
60607         (asin_test_data): Likewise.
60608         (asin_tonearest_test_data): Likewise.
60609         (asin_towardzero_test_data): Likewise.
60610         (asin_downward_test_data): Likewise.
60611         (asin_upward_test_data): Likewise.
60612         (asinh_test_data): Likewise.
60613         (atan_test_data): Likewise.
60614         (atanh_test_data): Likewise.
60615         (atan2_test_data): Likewise.
60616         (cabs_test_data): Likewise.
60617         (cacos_test_data): Likewise.
60618         (cacosh_test_data): Likewise.
60619         (carg_test_data): Likewise.
60620         (casin_test_data): Likewise.
60621         (casinh_test_data): Likewise.
60622         (catan_test_data): Likewise.
60623         (catanh_test_data): Likewise.
60624         (cbrt_test_data): Likewise.
60625         (ccos_test_data): Likewise.
60626         (ccosh_test_data): Likewise.
60627         (ceil_test_data): Likewise.
60628         (cexp_test_data): Likewise.
60629         (cimag_test_data): Likewise.
60630         (clog_test_data): Likewise.
60631         (clog10_test_data): Likewise.
60632         (conj_test_data): Likewise.
60633         (copysign_test_data): Likewise.
60634         (cos_test_data): Likewise.
60635         (cos_tonearest_test_data): Likewise.
60636         (cos_towardzero_test_data): Likewise.
60637         (cos_downward_test_data): Likewise.
60638         (cos_upward_test_data): Likewise.
60639         (cosh_test_data): Likewise.
60640         (cosh_tonearest_test_data): Likewise.
60641         (cosh_towardzero_test_data): Likewise.
60642         (cosh_downward_test_data): Likewise.
60643         (cosh_upward_test_data): Likewise.
60644         (cpow_test_data): Likewise.
60645         (cproj_test_data): Likewise.
60646         (creal_test_data): Likewise.
60647         (csin_test_data): Likewise.
60648         (csinh_test_data): Likewise.
60649         (csqrt_test_data): Likewise.
60650         (ctan_test_data): Likewise.
60651         (ctan_tonearest_test_data): Likewise.
60652         (ctan_towardzero_test_data): Likewise.
60653         (ctan_downward_test_data): Likewise.
60654         (ctan_upward_test_data): Likewise.
60655         (ctanh_test_data): Likewise.
60656         (ctanh_tonearest_test_data): Likewise.
60657         (ctanh_towardzero_test_data): Likewise.
60658         (ctanh_downward_test_data): Likewise.
60659         (ctanh_upward_test_data): Likewise.
60660         (erf_test_data): Likewise.
60661         (erfc_test_data): Likewise.
60662         (exp_test_data): Likewise.
60663         (exp_tonearest_test_data): Likewise.
60664         (exp_towardzero_test_data): Likewise.
60665         (exp_downward_test_data): Likewise.
60666         (exp_upward_test_data): Likewise.
60667         (exp10_test_data): Likewise.
60668         (exp2_test_data): Likewise.
60669         (expm1_test_data): Likewise.
60670         (fabs_test_data): Likewise.
60671         (fdim_test_data): Likewise.
60672         (finite_test_data): Likewise.
60673         (floor_test_data): Likewise.
60674         (fma_test_data): Likewise.
60675         (fma_towardzero_test_data): Likewise.
60676         (fma_downward_test_data): Likewise.
60677         (fma_upward_test_data): Likewise.
60678         (fmax_test_data): Likewise.
60679         (fmin_test_data): Likewise.
60680         (fmod_test_data): Likewise.
60681         (fpclassify_test_data): Likewise.
60682         (frexp_test_data): Likewise.
60683         (gamma_test_data): Likewise.
60684         (hypot_test_data): Likewise.
60685         (ilogb_test_data): Likewise.
60686         (isfinite_test_data): Likewise.
60687         (isgreater_test_data): Likewise.
60688         (isgreaterequal_test_data): Likewise.
60689         (isinf_test_data): Likewise.
60690         (isless_test_data): Likewise.
60691         (islessequal_test_data): Likewise.
60692         (islessgreater_test_data): Likewise.
60693         (isnan_test_data): Likewise.
60694         (isnormal_test_data): Likewise.
60695         (issignaling_test_data): Likewise.
60696         (isunordered_test_data): Likewise.
60697         (j0_test_data): Likewise.
60698         (j1_test_data): Likewise.
60699         (jn_test_data): Likewise.
60700         (ldexp_test_data): Likewise.
60701         (lgamma_test_data): Likewise.
60702         (lrint_test_data): Likewise.
60703         (lrint_tonearest_test_data): Likewise.
60704         (lrint_towardzero_test_data): Likewise.
60705         (lrint_downward_test_data): Likewise.
60706         (lrint_upward_test_data): Likewise.
60707         (llrint_test_data): Likewise.
60708         (llrint_tonearest_test_data): Likewise.
60709         (llrint_towardzero_test_data): Likewise.
60710         (llrint_downward_test_data): Likewise.
60711         (llrint_upward_test_data): Likewise.
60712         (log_test_data): Likewise.
60713         (log10_test_data): Likewise.
60714         (log1p_test_data): Likewise.
60715         (log2_test_data): Likewise.
60716         (logb_test_data): Likewise.
60717         (logb_downward_test_data): Likewise.
60718         (lround_test_data): Likewise.
60719         (llround_test_data): Likewise.
60720         (modf_test_data): Likewise.
60721         (nearbyint_test_data): Likewise.
60722         (nextafter_test_data): Likewise.
60723         (nexttoward_test_data): Likewise.
60724         (pow_test_data): Likewise.
60725         (pow_tonearest_test_data): Likewise.
60726         (pow_towardzero_test_data): Likewise.
60727         (pow_downward_test_data): Likewise.
60728         (pow_upward_test_data): Likewise.
60729         (remainder_test_data): Likewise.
60730         (remainder_tonearest_test_data): Likewise.
60731         (remainder_towardzero_test_data): Likewise.
60732         (remainder_downward_test_data): Likewise.
60733         (remainder_upward_test_data): Likewise.
60734         (remquo_test_data): Likewise.
60735         (rint_test_data): Likewise.
60736         (rint_tonearest_test_data): Likewise.
60737         (rint_towardzero_test_data): Likewise.
60738         (rint_downward_test_data): Likewise.
60739         (rint_upward_test_data): Likewise.
60740         (round_test_data): Likewise.
60741         (scalb_test_data): Likewise.
60742         (scalbn_test_data): Likewise.
60743         (scalbln_test_data): Likewise.
60744         (signbit_test_data): Likewise.
60745         (sin_test_data): Likewise.
60746         (sin_tonearest_test_data): Likewise.
60747         (sin_towardzero_test_data): Likewise.
60748         (sin_downward_test_data): Likewise.
60749         (sin_upward_test_data): Likewise.
60750         (sincos_test_data): Likewise.
60751         (sinh_test_data): Likewise.
60752         (sinh_tonearest_test_data): Likewise.
60753         (sinh_towardzero_test_data): Likewise.
60754         (sinh_downward_test_data): Likewise.
60755         (sinh_upward_test_data): Likewise.
60756         (sqrt_test_data): Likewise.
60757         (tan_test_data): Likewise.
60758         (tan_tonearest_test_data): Likewise.
60759         (tan_towardzero_test_data): Likewise.
60760         (tan_downward_test_data): Likewise.
60761         (tan_upward_test_data): Likewise.
60762         (tanh_test_data): Likewise.
60763         (tgamma_test_data): Likewise.
60764         (trunc_test_data): Likewise.
60765         (y0_test_data): Likewise.
60766         (y1_test_data): Likewise.
60767         (yn_test_data): Likewise.
60768         (significand_test_data): Likewise.
60770         * math/gen-libm-test.pl (@functions): Remove variable.
60771         (generate_testfile): Don't handle START and END lines.
60772         * math/libm-test.inc (START): New macro.
60773         (END): Likewise.
60774         (END_COMPLEX): Likewise.
60775         (acos_test): Use END macro without arguments.
60776         (acos_test_tonearest): Likewise.
60777         (acos_test_towardzero): Likewise.
60778         (acos_test_downward): Likewise.
60779         (acos_test_upward): Likewise.
60780         (acosh_test): Likewise.
60781         (asin_test): Likewise.
60782         (asin_test_tonearest): Likewise.
60783         (asin_test_towardzero): Likewise.
60784         (asin_test_downward): Likewise.
60785         (asin_test_upward): Likewise.
60786         (asinh_test): Likewise.
60787         (atan_test): Likewise.
60788         (atanh_test): Likewise.
60789         (atan2_test): Likewise.
60790         (cabs_test): Likewise.
60791         (cacos_test): Use END_COMPLEX macro without arguments.
60792         (cacosh_test): Likewise.
60793         (carg_test): Use END macro without arguments.
60794         (casin_test): Use END_COMPLEX macro without arguments.
60795         (casinh_test): Likewise.
60796         (catan_test): Likewise.
60797         (catanh_test): Likewise.
60798         (cbrt_test): Use END macro without arguments.
60799         (ccos_test): Use END_COMPLEX macro without arguments.
60800         (ccosh_test): Likewise.
60801         (ceil_test): Use END macro without arguments.
60802         (cexp_test): Use END_COMPLEX macro without arguments.
60803         (cimag_test): Use END macro without arguments.
60804         (clog_test): Use END_COMPLEX macro without arguments.
60805         (clog10_test): Likewise.
60806         (conj_test): Likewise.
60807         (copysign_test): Use END macro without arguments.
60808         (cos_test): Likewise.
60809         (cos_test_tonearest): Likewise.
60810         (cos_test_towardzero): Likewise.
60811         (cos_test_downward): Likewise.
60812         (cos_test_upward): Likewise.
60813         (cosh_test): Likewise.
60814         (cosh_test_tonearest): Likewise.
60815         (cosh_test_towardzero): Likewise.
60816         (cosh_test_downward): Likewise.
60817         (cosh_test_upward): Likewise.
60818         (cpow_test): Use END_COMPLEX macro without arguments.
60819         (cproj_test): Likewise.
60820         (creal_test): Use END macro without arguments.
60821         (csin_test): Use END_COMPLEX macro without arguments.
60822         (csinh_test): Likewise.
60823         (csqrt_test): Likewise.
60824         (ctan_test): Likewise.
60825         (ctan_test_tonearest): Likewise.
60826         (ctan_test_towardzero): Likewise.
60827         (ctan_test_downward): Likewise.
60828         (ctan_test_upward): Likewise.
60829         (ctanh_test): Likewise.
60830         (ctanh_test_tonearest): Likewise.
60831         (ctanh_test_towardzero): Likewise.
60832         (ctanh_test_downward): Likewise.
60833         (ctanh_test_upward): Likewise.
60834         (erf_test): Use END macro without arguments.
60835         (erfc_test): Likewise.
60836         (exp_test): Likewise.
60837         (exp_test_tonearest): Likewise.
60838         (exp_test_towardzero): Likewise.
60839         (exp_test_downward): Likewise.
60840         (exp_test_upward): Likewise.
60841         (exp10_test): Likewise.
60842         (exp2_test): Likewise.
60843         (expm1_test): Likewise.
60844         (fabs_test): Likewise.
60845         (fdim_test): Likewise.
60846         (finite_test): Likewise.
60847         (floor_test): Likewise.
60848         (fma_test): Likewise.
60849         (fma_test_towardzero): Likewise.
60850         (fma_test_downward): Likewise.
60851         (fma_test_upward): Likewise.
60852         (fmax_test): Likewise.
60853         (fmin_test): Likewise.
60854         (fmod_test): Likewise.
60855         (fpclassify_test): Likewise.
60856         (frexp_test): Likewise.
60857         (gamma_test): Likewise.
60858         (hypot_test): Likewise.
60859         (ilogb_test): Likewise.
60860         (isfinite_test): Likewise.
60861         (isgreater_test): Likewise.
60862         (isgreaterequal_test): Likewise.
60863         (isinf_test): Likewise.
60864         (isless_test): Likewise.
60865         (islessequal_test): Likewise.
60866         (islessgreater_test): Likewise.
60867         (isnan_test): Likewise.
60868         (isnormal_test): Likewise.
60869         (issignaling_test): Likewise.
60870         (isunordered_test): Likewise.
60871         (j0_test): Likewise.
60872         (j1_test): Likewise.
60873         (jn_test): Likewise.
60874         (ldexp_test): Likewise.
60875         (lgamma_test): Likewise.
60876         (lrint_test): Likewise.
60877         (lrint_test_tonearest): Likewise.
60878         (lrint_test_towardzero): Likewise.
60879         (lrint_test_downward): Likewise.
60880         (lrint_test_upward): Likewise.
60881         (llrint_test): Likewise.
60882         (llrint_test_tonearest): Likewise.
60883         (llrint_test_towardzero): Likewise.
60884         (llrint_test_downward): Likewise.
60885         (llrint_test_upward): Likewise.
60886         (log_test): Likewise.
60887         (log10_test): Likewise.
60888         (log1p_test): Likewise.
60889         (log2_test): Likewise.
60890         (logb_test): Likewise.
60891         (logb_test_downward): Likewise.
60892         (lround_test): Likewise.
60893         (llround_test): Likewise.
60894         (modf_test): Likewise.
60895         (nearbyint_test): Likewise.
60896         (nextafter_test): Likewise.
60897         (nexttoward_test): Likewise.
60898         (pow_test): Likewise.
60899         (pow_test_tonearest): Likewise.
60900         (pow_test_towardzero): Likewise.
60901         (pow_test_downward): Likewise.
60902         (pow_test_upward): Likewise.
60903         (remainder_test): Likewise.
60904         (remainder_test_tonearest): Likewise.
60905         (remainder_test_towardzero): Likewise.
60906         (remainder_test_downward): Likewise.
60907         (remainder_test_upward): Likewise.
60908         (remquo_test): Likewise.
60909         (rint_test): Likewise.
60910         (rint_test_tonearest): Likewise.
60911         (rint_test_towardzero): Likewise.
60912         (rint_test_downward): Likewise.
60913         (rint_test_upward): Likewise.
60914         (round_test): Likewise.
60915         (scalb_test): Likewise.
60916         (scalbn_test): Likewise.
60917         (scalbln_test): Likewise.
60918         (signbit_test): Likewise.
60919         (sin_test): Likewise.
60920         (sin_test_tonearest): Likewise.
60921         (sin_test_towardzero): Likewise.
60922         (sin_test_downward): Likewise.
60923         (sin_test_upward): Likewise.
60924         (sincos_test): Likewise.
60925         (sinh_test): Likewise.
60926         (sinh_test_tonearest): Likewise.
60927         (sinh_test_towardzero): Likewise.
60928         (sinh_test_downward): Likewise.
60929         (sinh_test_upward): Likewise.
60930         (sqrt_test): Likewise.
60931         (tan_test): Likewise.
60932         (tan_test_tonearest): Likewise.
60933         (tan_test_towardzero): Likewise.
60934         (tan_test_downward): Likewise.
60935         (tan_test_upward): Likewise.
60936         (tanh_test): Likewise.
60937         (tgamma_test): Likewise.
60938         (trunc_test): Likewise.
60939         (y0_test): Likewise.
60940         (y1_test): Likewise.
60941         (yn_test): Likewise.
60942         (significand_test): Likewise.
60944 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60946         [BZ #15381]
60947         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60949 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60951         [BZ #14894]
60952         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60953         __ppc_mdoio and __ppc_mdoom.
60954         * manual/platform.texi: Document new functions __ppc_yield,
60955         __ppc_mdoio and __ppc_mdoom.
60957 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60959         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60960         (main): Mention "tls" pseudo-hwcap is legacy.
60961         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60963 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60965         * math/gen-libm-test.pl (parse_args): Output only string of
60966         arguments as text for test name, not full call or descriptions of
60967         tests for extra outputs.
60968         (generate_testfile): Do not pass function name to parse_args.
60969         Generate this_func variable from START.
60970         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60971         field to arg_str.
60972         (struct test_ff_f_data): Likewise.
60973         (test_ff_f_data_nexttoward): Likewise.
60974         (struct test_fi_f_data): Likewise.
60975         (struct test_fl_f_data): Likewise.
60976         (struct test_if_f_data): Likewise.
60977         (struct test_fff_f_data): Likewise.
60978         (struct test_c_f_data): Likewise.
60979         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60980         (struct test_fF_f1_data): Likewise.
60981         (struct test_ffI_f1_data): Likewise.
60982         (struct test_c_c_data): Rename test_name field to arg_str.
60983         (struct test_cc_c_data): Likewise.
60984         (struct test_f_i_data): Likewise.
60985         (struct test_ff_i_data): Likewise.
60986         (struct test_f_l_data): Likewise.
60987         (struct test_f_L_data): Likewise.
60988         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60989         and extra2_name.
60990         (COMMON_TEST_SETUP): New macro.
60991         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60992         (COMMON_TEST_CLEANUP): Likewise.
60993         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60994         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60995         macros.
60996         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60997         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60998         macros.
60999         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
61000         (RUN_TEST_fff_f): Take argument string.  Call new setup and
61001         cleanup macros.
61002         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
61003         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
61004         macros.
61005         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
61006         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
61007         macros.
61008         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61009         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
61010         cleanup macros.
61011         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61012         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
61013         cleanup macros.
61014         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61015         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
61016         cleanup macros.
61017         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61018         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
61019         macros.
61020         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
61021         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
61022         macros.
61023         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
61024         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
61025         macros.
61026         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
61027         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
61028         cleanup macros.
61029         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
61030         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
61031         cleanup macros.
61032         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
61033         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
61034         macros.
61035         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
61036         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
61037         cleanup macros.
61038         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
61039         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
61040         macros.
61041         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
61042         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
61043         macros.
61044         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
61045         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
61046         cleanup macros.
61047         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
61049 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
61051         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
61052         to _sifields.sigfault.
61053         (si_addr_lsb): Define new macro.
61054         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61055         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61056         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
61058 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
61060         [BZ #15441]
61061         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
61062         returns -1.
61063         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
61064         null return -1.
61065         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
61066         loading the domain.
61068 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61070         * math/gen-libm-test.pl (parse_args): Do not include expected
61071         result in test name.
61072         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
61073         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61074         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61075         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61076         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61079 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61081         * benchtests/Makefile: Sort function entries.
61083         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
61084         tanh, asinh, acosh, atanh.
61085         * benchtests/acos-inputs: New file.
61086         * benchtests/acosh-inputs: New file.
61087         * benchtests/asin-inputs: New file.
61088         * benchtests/asinh-inputs: New file.
61089         * benchtests/atanh-inputs: New file.
61090         * benchtests/cosh-inputs: New file.
61091         * benchtests/log-inputs: New file.
61092         * benchtests/sinh-inputs: New file.
61093         * benchtests/tanh-inputs: New file.
61095 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
61097         [BZ #15339]
61098         * posix/tst-getaddrinfo4.c: New test.
61099         * posix/Makefile (tests): Add it.
61101 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61103         [BZ #15339]
61104         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
61105         when no services were used.
61106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
61107         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
61109 2013-05-21  Andreas Schwab  <schwab@suse.de>
61111         [BZ #15014]
61112         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
61113         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
61114         successful.
61115         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
61116         redundant variable declarations and reallocation of buffer when
61117         parsing as IPv6 address.  Always set NSS status when called from
61118         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
61119         buffer too small.  Correct computation of needed size.
61120         * nss/Makefile (tests): Add test-digits-dots.
61121         * nss/test-digits-dots.c: New test.
61123 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61125         * benchtests/Makefile: Remove instructions for adding
61126         benchmark tests.
61127         * benchtests/README: New file to explain how to execute and
61128         enhance the benchmark tests.
61130 2013-05-21  Andreas Schwab  <schwab@suse.de>
61132         [BZ #15493]
61133         * setjmp/Makefile (tests): Add tst-sigsetjmp.
61134         * setjmp/tst-sigsetjmp.c: New test.
61136 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61138         * sysdeps/x86_64/memset.S (memset): New implementation.
61139         (__bzero): Likewise.
61140         (__memset_tail): New function.
61142 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61144         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
61145         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
61146         __memcpy_sse2_unaligned ifunc selection.
61147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61148         Add memcpy-sse2-unaligned.S.
61149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61150         Add: __memcpy_sse2_unaligned.
61152 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
61154         [BZ #15490]
61155         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61156         math_force_eval before restoring floating-point envrionment.
61157         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
61158         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
61159         Likewise.
61160         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
61161         <math_private.h>.
61162         (__nearbyintl): Use math_force_eval before restoring
61163         floating-point environment.
61164         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
61166         * math/gen-libm-test.pl (special_functions): Remove.
61167         (parse_args): Don't handle TEST_extra.  Handle functions with no
61168         return value.
61169         * math/libm-test.inc (struct test_sincos_data): Replace with
61170         struct test_fFF_11_data.
61171         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
61172         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
61173         (sincos_test_data): Change element type to struct
61174         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
61175         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
61176         RUN_TEST_LOOP_sincos.
61177         * math/README.libm-test: Don't mention special handling of
61178         individual functions.
61179         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
61180         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61181         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61182         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61183         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61186         * math/gen-libm-test.pl (get_variable): Remove function.
61187         (parse_args): Don't show pointer parameters to call in test
61188         names.  Use "extra output N" in test names for extra outputs
61189         rather than naming variables.
61191 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
61193         [BZ #15488]
61194         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
61195         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
61196         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
61197         double tests.
61198         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
61199         disable.
61200         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
61201         check_long_double.
61203         * math/gen-libm-test.pl (@tests): Remove variable.
61204         ($count): Likewise.
61205         (new_test): Remove function.
61206         (show_exceptions): New function.
61207         (special_functions): Use show_exceptions instead of new_test.
61208         (parse_args): Likewise.
61209         (generate_testfile): Pass only function name in generated call to
61210         print_max_error or print_complex_max_error.
61211         (get_ulps): Do not handle complex tests specially.
61212         (output_test): Rename to ...
61213         (get_all_ulps_for_test): ... this.  Return a string rather than
61214         printing to a file.  Require ulps to be present.
61215         (output_ulps): Generate arrays rather than #defines.
61216         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
61217         (struct ulp_data): New type.
61218         (BUILD_COMPLEX_ULP): Remove macro.
61219         (compare_ulp_data): New function.
61220         (find_ulps): Likewise.
61221         (find_test_ulps): Likewise.
61222         (find_function_ulps): Likewise.
61223         (find_complex_function_ulps): Likewise.
61224         (print_max_error): Determine allowed ulps using
61225         find_function_ulps.
61226         (print_complex_max_error): Determine allowed ulps using
61227         find_complex_function_ulps.
61228         (check_float_internal): Determine max ulps using find_test_ulps.
61229         (check_float): Do not take max_ulp parameter.  Update call to
61230         check_float_internal.
61231         (check_complex): Likewise.
61232         (check_int): Do not take max_ulp parameter.
61233         (check_long): Likewise.
61234         (check_bool): Likewise.
61235         (check_longlong): Likewise.
61236         (struct test_f_f_data): Remove max_ulp field.
61237         (struct test_ff_f_data): Likewise.
61238         (struct test_ff_f_data_nexttoward): Likewise.
61239         (struct test_fi_f_data): Likewise.
61240         (struct test_fl_f_data): Likewise.
61241         (struct test_if_f_data): Likewise.
61242         (struct test_fff_f_data): Likewise.
61243         (struct test_c_f_data): Likewise.
61244         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
61245         (struct test_fF_f1_data): Likewise.
61246         (struct test_ffI_f1_data): Likewise.
61247         (struct test_c_c_data): Remove max_ulp field.
61248         (struct test_cc_c_data): Likewise.
61249         (struct test_f_i_data): Likewise.
61250         (struct test_ff_i_data): Likewise.
61251         (struct test_f_l_data): Likewise.
61252         (struct test_f_L_data): Likewise.
61253         (struct test_sincos_data): Likewise.
61254         (RUN_TEST_f_f): Do not handle ulps.
61255         (RUN_TEST_LOOP_f_f): Likewise.
61256         (RUN_TEST_2_f): Likewise.
61257         (RUN_TEST_LOOP_2_f): Likewise.
61258         (RUN_TEST_fff_f): Likewise.
61259         (RUN_TEST_LOOP_fff_f): Likewise.
61260         (RUN_TEST_c_f): Likewise.
61261         (RUN_TEST_LOOP_c_f): Likewise.
61262         (RUN_TEST_f_f1): Likewise.
61263         (RUN_TEST_LOOP_f_f1): Likewise.
61264         (RUN_TEST_fF_f1): Likewise.
61265         (RUN_TEST_LOOP_fF_f1): Likewise.
61266         (RUN_TEST_fI_f1): Likewise.
61267         (RUN_TEST_LOOP_fI_f1): Likewise.
61268         (RUN_TEST_ffI_f1): Likewise.
61269         (RUN_TEST_LOOP_ffI_f1): Likewise.
61270         (RUN_TEST_c_c): Likewise.
61271         (RUN_TEST_LOOP_c_c): Likewise.
61272         (RUN_TEST_cc_c): Likewise.
61273         (RUN_TEST_LOOP_cc_c): Likewise.
61274         (RUN_TEST_f_i): Likewise.
61275         (RUN_TEST_LOOP_f_i): Likewise.
61276         (RUN_TEST_f_i_tg): Likewise.
61277         (RUN_TEST_LOOP_f_i_tg): Likewise.
61278         (RUN_TEST_ff_i_tg): Likewise.
61279         (RUN_TEST_LOOP_ff_i_tg): Likewise.
61280         (RUN_TEST_f_b): Likewise.
61281         (RUN_TEST_LOOP_f_b): Likewise.
61282         (RUN_TEST_f_b_tg): Likewise.
61283         (RUN_TEST_LOOP_f_b_tg): Likewise.
61284         (RUN_TEST_f_l): Likewise.
61285         (RUN_TEST_LOOP_f_l): Likewise.
61286         (RUN_TEST_f_L): Likewise.
61287         (RUN_TEST_LOOP_f_L): Likewise.
61288         (RUN_TEST_sincos): Likewise.
61289         (RUN_TEST_LOOP_sincos): Likewise.
61291 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
61293         [BZ #15480]
61294         [BZ #15485]
61295         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
61296         main case of finite arguments, set rounding mode to FE_TONEAREST
61297         and discard exceptions.
61298         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
61299         exceptions.
61300         (remainder_tonearest_test_data): New variable.
61301         (remainder_test_tonearest): New function.
61302         (remainder_towardzero_test_data): New variable.
61303         (remainder_test_towardzero): New function.
61304         (remainder_downward_test_data): New variable.
61305         (remainder_test_downward): New function.
61306         (remainder_upward_test_data): New variable.
61307         (remainder_test_upward): New function.
61308         (main): Call the new test functions.
61310         * math/libm-test.inc (struct test_f_f1_data): Remove field
61311         extra_init.
61312         (struct test_fF_f1_data): Likewise.
61313         (struct test_ffI_f1_data): Likewise.
61314         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
61315         based on value of EXTRA_EXPECTED.
61316         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61317         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
61318         EXTRA_VAR based on value of EXTRA_EXPECTED.
61319         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61320         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
61321         EXTRA_VAR based on value of EXTRA_EXPECTED.
61322         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61323         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
61324         EXTRA_VAR based on value of EXTRA_EXPECTED.
61325         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61326         * math/gen-libm-test.pl (parse_args): Don't output initializers
61327         for extra output values.
61329         * math/libm-test.inc (check_int): Expect result to be exactly
61330         equal to expected value and do not handle ulps.
61331         (check_long): Likewise.
61332         (check_longlong): Likewise.
61334         * math/libm-test.inc (ceil_test_data): Test for "inexact"
61335         exceptions.
61336         (cimag_test_data): Likewise.
61337         (conj_test_data): Likewise.
61338         (copysign_test_data): Likewise.
61339         (cproj_test_data): Likewise.
61340         (creal_test_data): Likewise.
61341         (fabs_test_data): Likewise.
61342         (fdim_test_data): Likewise.
61343         (finite_test_data): Likewise.
61344         (floor_test_data): Likewise.
61345         (fmax_test_data): Likewise.
61346         (fmin_test_data): Likewise.
61347         (fmod_test_data): Likewise.
61348         (fpclassify_test_data): Likewise.
61349         (frexp_test_data): Likewise.
61350         (ilogb_test_data): Likewise.
61351         (isfinite_test_data): Likewise.
61352         (isgreater_test_data): Likewise.
61353         (isgreaterequal_test_data): Likewise.
61354         (isinf_test_data): Likewise.
61355         (isless_test_data): Likewise.
61356         (islessequal_test_data): Likewise.
61357         (islessgreater_test_data): Likewise.
61358         (isnan_test_data): Likewise.
61359         (isnormal_test_data): Likewise.
61360         (issignaling_test_data): Likewise.
61361         (isunordered_test_data): Likewise.
61362         (ldexp_test_data): Likewise.
61363         (lrint_test_data): Likewise.
61364         (lrint_test_data) [TEST_FLOAT]: Disable one test.
61365         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
61366         (lrint_tonearest_test_data): Test for "inexact" exceptions.
61367         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61368         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
61369         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61370         test input.
61371         (lrint_towardzero_test_data): Test for "inexact" exceptions.
61372         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61373         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
61374         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
61375         that test input.
61376         (lrint_downward_test_data): Test for "inexact" exceptions.
61377         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61378         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
61379         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61380         test input.
61381         (lrint_upward_test_data): Test for "inexact" exceptions.
61382         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
61383         test input.
61384         (llrint_test_data): Test for "inexact" exceptions.
61385         (llrint_test_data) [TEST_FLOAT]: Disable one test.
61386         (llrint_tonearest_test_data): Test for "inexact" exceptions.
61387         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61388         (llrint_towardzero_test_data): Test for "inexact" exceptions.
61389         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61390         (llrint_downward_test_data): Test for "inexact" exceptions.
61391         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61392         (llrint_upward_test_data): Test for "inexact" exceptions.
61393         (logb_test_data): Likewise.
61394         (logb_downward_test_data): Likewise.
61395         (nextafter_test_data): Likewise.
61396         (nexttoward_test_data): Likewise.
61397         (remainder_test_data): Likewise.
61398         (remquo_test_data): Likewise.
61399         (scalbn_test_data): Likewise.
61400         (scalbln_test_data): Likewise.
61401         (signbit_test_data): Likewise.
61402         (sqrt_test_data): Likewise.
61403         (significand_test_data): Likewise.
61405 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61407         [BZ #15424]
61408         * benchtests/bench-modf.c (struct args): Mark arg0 as
61409         volatile.
61410         * scripts/bench.pl: Mark members of struct args as volatile.
61412 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61414         [BZ # 15497]
61415         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
61416         negative infinity on POWER6 or lower.
61417         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
61419 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
61421         [BZ #15442]
61422         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
61423         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
61424         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
61425         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
61426         (_FP_SETQNAN): New macro.
61427         (_FP_SETQNAN_SEMIRAW): Likewise.
61428         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
61429         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
61430         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
61431         (FP_EXTEND): Use _FP_FRAC_SNANP.
61432         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
61433         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
61434         into account.
61435         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61436         New macro.
61437         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61438         Likewise.
61440 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61442         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
61443         with DIVIDE_BY_ZERO_EXCEPTION.
61444         (gamma_test_data): Likewise.
61445         (lgamma_test_data): Likewise.
61446         (log_test_data): Likewise.
61447         (log10_test_data): Likewise.
61448         (log2_test_data): Likewise.
61449         (tgamma_test_data): Likewise.
61451         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
61452         (acos_test_tonearest): Likewise.
61453         (acos_test_towardzero): Likewise.
61454         (acos_test_downward): Likewise.
61455         (acos_test_upward): Likewise.
61456         (acosh_test): Likewise.
61457         (asin_test): Likewise.
61458         (asin_test_tonearest): Likewise.
61459         (asin_test_towardzero): Likewise.
61460         (asin_test_downward): Likewise.
61461         (asin_test_upward): Likewise.
61462         (asinh_test): Likewise.
61463         (atan_test): Likewise.
61464         (atanh_test): Likewise.
61465         (atan2_test): Likewise.
61466         (cabs_test): Likewise.
61467         (cacos_test): Likewise.
61468         (cacosh_test): Likewise.
61469         (casin_test): Likewise.
61470         (casinh_test): Likewise.
61471         (catan_test): Likewise.
61472         (catanh_test): Likewise.
61473         (cbrt_test): Likewise.
61474         (ccos_test): Likewise.
61475         (ccosh_test): Likewise.
61476         (cexp_test): Likewise.
61477         (clog_test): Likewise.
61478         (clog10_test): Likewise.
61479         (cos_test): Likewise.
61480         (cos_test_tonearest): Likewise.
61481         (cos_test_towardzero): Likewise.
61482         (cos_test_downward): Likewise.
61483         (cos_test_upward): Likewise.
61484         (cosh_test): Likewise.
61485         (cosh_test_tonearest): Likewise.
61486         (cosh_test_towardzero): Likewise.
61487         (cosh_test_downward): Likewise.
61488         (cosh_test_upward): Likewise.
61489         (cpow_test): Likewise.
61490         (csin_test): Likewise.
61491         (csinh_test): Likewise.
61492         (csqrt_test): Likewise.
61493         (ctan_test): Likewise.
61494         (ctan_test_tonearest): Likewise.
61495         (ctan_test_towardzero): Likewise.
61496         (ctan_test_downward): Likewise.
61497         (ctan_test_upward): Likewise.
61498         (ctanh_test): Likewise.
61499         (ctanh_test_tonearest): Likewise.
61500         (ctanh_test_towardzero): Likewise.
61501         (ctanh_test_downward): Likewise.
61502         (ctanh_test_upward): Likewise.
61503         (erf_test): Likewise.
61504         (erfc_test): Likewise.
61505         (exp_test): Likewise.
61506         (exp_test_tonearest): Likewise.
61507         (exp_test_towardzero): Likewise.
61508         (exp_test_downward): Likewise.
61509         (exp_test_upward): Likewise.
61510         (exp10_test): Likewise.
61511         (exp2_test): Likewise.
61512         (expm1_test): Likewise.
61513         (fmod_test): Likewise.
61514         (gamma_test): Likewise.
61515         (hypot_test): Likewise.
61516         (j0_test): Likewise.
61517         (j1_test): Likewise.
61518         (jn_test): Likewise.
61519         (lgamma_test): Likewise.
61520         (log_test): Likewise.
61521         (log10_test): Likewise.
61522         (log1p_test): Likewise.
61523         (log2_test): Likewise.
61524         (logb_test_downward): Likewise.
61525         (pow_test): Likewise.
61526         (pow_test_tonearest): Likewise.
61527         (pow_test_towardzero): Likewise.
61528         (pow_test_downward): Likewise.
61529         (pow_test_upward): Likewise.
61530         (remainder_test): Likewise.
61531         (remquo_test): Likewise.
61532         (sin_test): Likewise.
61533         (sin_test_tonearest): Likewise.
61534         (sin_test_towardzero): Likewise.
61535         (sin_test_downward): Likewise.
61536         (sin_test_upward): Likewise.
61537         (sincos_test): Likewise.
61538         (sinh_test): Likewise.
61539         (sinh_test_tonearest): Likewise.
61540         (sinh_test_towardzero): Likewise.
61541         (sinh_test_downward): Likewise.
61542         (sinh_test_upward): Likewise.
61543         (sqrt_test): Likewise.
61544         (tan_test): Likewise.
61545         (tan_test_tonearest): Likewise.
61546         (tan_test_towardzero): Likewise.
61547         (tan_test_downward): Likewise.
61548         (tan_test_upward): Likewise.
61549         (tanh_test): Likewise.
61550         (tgamma_test): Likewise.
61551         (y0_test): Likewise.
61552         (y1_test): Likewise.
61553         (yn_test): Likewise.
61555         * math/gen-libm-test.pl (adjust_arg): Remove function.
61556         (special_function): Remove argument $in_func.  Only handle
61557         generating output for tables of tests, not inside functions.
61558         (parse_args): Likewise.
61559         (generate_testfile): Remove variable $in_func.  Update call to
61560         parse_args.
61561         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
61562         (MINUS_ZERO_INIT): Rename macro to minus_zero.
61563         (PLUS_INFTY_INIT): Rename macro to plus_infty.
61564         (MINUS_INFTY_INIT): Rename macro to minus_infty.
61565         (QNAN_VALUE_INIT): Rename macro to qnan_value.
61566         (MAX_VALUE_INIT): Rename macro to max_value.
61567         (MIN_VALUE_INIT): Rename macro to min_value.
61568         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
61569         (plus_zero): Remove variable.
61570         (minus_zero): Likewise.
61571         (plus_infty): Likewise.
61572         (minus_infty): Likewise.
61573         (qnan_value): Likewise.
61574         (max_value): Likewise.
61575         (min_value): Likewise.
61576         (min_subnorm_value): Likewise.
61578 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61580         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
61581         uint64_t or uint32_t usage.
61582         * crypt/sha256-block.c: Likewise.
61583         * crypt/sha256-crypt.c: Likewise.
61584         * crypt/sha256.c: Likewise.
61585         * crypt/sha512-block.c: Likewise.
61586         * crypt/sha512-crypt.c: Likewise.
61587         * crypt/sha512.c: Likewise.
61588         * debug/backtrace-tst.c: Likewise.
61589         * debug/pcprofiledump.c: Likewise.
61590         * elf/cache.c: Likewise.
61591         * elf/dl-cache.c: Likewise.
61592         * elf/dl-misc.c: Likewise.
61593         * elf/dl-profile.c: Likewise.
61594         * elf/dl-support.c: Likewise.
61595         * elf/ldconfig.c: Likewise.
61596         * elf/sprof.c: Likewise.
61597         * iconv/dummy-repertoire.c: Likewise.
61598         * iconv/iconv_charmap.c: Likewise.
61599         * iconv/skeleton.c: Likewise.
61600         * iconvdata/8bit-generic.c: Likewise.
61601         * iconvdata/cp737.h: Likewise.
61602         * iconvdata/cp775.h: Likewise.
61603         * iconvdata/ibm1008.h: Likewise.
61604         * iconvdata/ibm1025.h: Likewise.
61605         * iconvdata/ibm1046.h: Likewise.
61606         * iconvdata/ibm1097.h: Likewise.
61607         * iconvdata/ibm1112.h: Likewise.
61608         * iconvdata/ibm1122.h: Likewise.
61609         * iconvdata/ibm1123.h: Likewise.
61610         * iconvdata/ibm1124.h: Likewise.
61611         * iconvdata/ibm1129.h: Likewise.
61612         * iconvdata/ibm1130.h: Likewise.
61613         * iconvdata/ibm1132.h: Likewise.
61614         * iconvdata/ibm1133.h: Likewise.
61615         * iconvdata/ibm1137.h: Likewise.
61616         * iconvdata/ibm1140.h: Likewise.
61617         * iconvdata/ibm1141.h: Likewise.
61618         * iconvdata/ibm1142.h: Likewise.
61619         * iconvdata/ibm1143.h: Likewise.
61620         * iconvdata/ibm1144.h: Likewise.
61621         * iconvdata/ibm1145.h: Likewise.
61622         * iconvdata/ibm1146.h: Likewise.
61623         * iconvdata/ibm1147.h: Likewise.
61624         * iconvdata/ibm1148.h: Likewise.
61625         * iconvdata/ibm1149.h: Likewise.
61626         * iconvdata/ibm1153.h: Likewise.
61627         * iconvdata/ibm1154.h: Likewise.
61628         * iconvdata/ibm1155.h: Likewise.
61629         * iconvdata/ibm1156.h: Likewise.
61630         * iconvdata/ibm1157.h: Likewise.
61631         * iconvdata/ibm1158.h: Likewise.
61632         * iconvdata/ibm1160.h: Likewise.
61633         * iconvdata/ibm1161.h: Likewise.
61634         * iconvdata/ibm1162.h: Likewise.
61635         * iconvdata/ibm1163.h: Likewise.
61636         * iconvdata/ibm1164.h: Likewise.
61637         * iconvdata/ibm1166.h: Likewise.
61638         * iconvdata/ibm1167.h: Likewise.
61639         * iconvdata/ibm12712.h: Likewise.
61640         * iconvdata/ibm1390.h: Likewise.
61641         * iconvdata/ibm1399.h: Likewise.
61642         * iconvdata/ibm16804.h: Likewise.
61643         * iconvdata/ibm4517.h: Likewise.
61644         * iconvdata/ibm4899.h: Likewise.
61645         * iconvdata/ibm4909.h: Likewise.
61646         * iconvdata/ibm4971.h: Likewise.
61647         * iconvdata/ibm5347.h: Likewise.
61648         * iconvdata/ibm803.h: Likewise.
61649         * iconvdata/ibm856.h: Likewise.
61650         * iconvdata/ibm901.h: Likewise.
61651         * iconvdata/ibm902.h: Likewise.
61652         * iconvdata/ibm9030.h: Likewise.
61653         * iconvdata/ibm9066.h: Likewise.
61654         * iconvdata/ibm921.h: Likewise.
61655         * iconvdata/ibm922.h: Likewise.
61656         * iconvdata/ibm9448.h: Likewise.
61657         * iconvdata/isiri-3342.h: Likewise.
61658         * iconvdata/jis0201.h: Likewise.
61659         * include/link.h: Likewise.
61660         * include/netdb.h: Likewise.
61661         * inet/check_native.c: Likewise.
61662         * inet/check_pf.c: Likewise.
61663         * inet/getipv4sourcefilter.c: Likewise.
61664         * inet/getnameinfo.c: Likewise.
61665         * inet/getsourcefilter.c: Likewise.
61666         * inet/htonl.c: Likewise.
61667         * inet/setipv4sourcefilter.c: Likewise.
61668         * inet/setsourcefilter.c: Likewise.
61669         * inet/test-inet6_opt.c: Likewise.
61670         * inet/tst-network.c: Likewise.
61671         * locale/C-collate.c: Likewise.
61672         * locale/C-ctype.c: Likewise.
61673         * locale/C-time.c: Likewise.
61674         * locale/C-translit.h: Likewise.
61675         * locale/loadarchive.c: Likewise.
61676         * locale/programs/3level.h: Likewise.
61677         * locale/programs/charmap.c: Likewise.
61678         * locale/programs/charmap.h: Likewise.
61679         * locale/programs/ld-address.c: Likewise.
61680         * locale/programs/ld-collate.c: Likewise.
61681         * locale/programs/ld-ctype.c: Likewise.
61682         * locale/programs/ld-identification.c: Likewise.
61683         * locale/programs/ld-measurement.c: Likewise.
61684         * locale/programs/ld-messages.c: Likewise.
61685         * locale/programs/ld-monetary.c: Likewise.
61686         * locale/programs/ld-name.c: Likewise.
61687         * locale/programs/ld-numeric.c: Likewise.
61688         * locale/programs/ld-paper.c: Likewise.
61689         * locale/programs/ld-telephone.c: Likewise.
61690         * locale/programs/ld-time.c: Likewise.
61691         * locale/programs/linereader.c: Likewise.
61692         * locale/programs/locale.c: Likewise.
61693         * locale/programs/locarchive.c: Likewise.
61694         * locale/programs/locfile.h: Likewise.
61695         * locale/programs/repertoire.c: Likewise.
61696         * locale/programs/simple-hash.c: Likewise.
61697         * locale/programs/simple-hash.h: Likewise.
61698         * malloc/memusage.c: Likewise.
61699         * malloc/memusagestat.c: Likewise.
61700         * nis/nis_defaults.c: Likewise.
61701         * nis/nis_hash.c: Likewise.
61702         * nis/nis_print.c: Likewise.
61703         * nis/nis_xdr.c: Likewise.
61704         * nscd/connections.c: Likewise.
61705         * nscd/hstcache.c: Likewise.
61706         * nscd/nscd_gethst_r.c: Likewise.
61707         * nscd/nscd_getserv_r.c: Likewise.
61708         * nscd/nscd_helper.c: Likewise.
61709         * nscd/servicescache.c: Likewise.
61710         * nss/makedb.c: Likewise.
61711         * nss/nss_db/db-XXX.c: Likewise.
61712         * nss/nss_db/db-initgroups.c: Likewise.
61713         * nss/nss_db/db-netgrp.c: Likewise.
61714         * nss/nss_files/files-network.c: Likewise.
61715         * nss/nss_files/files-parse.c: Likewise.
61716         * posix/bug-regex5.c: Likewise.
61717         * posix/fnmatch_loop.c: Likewise.
61718         * posix/regcomp.c: Likewise.
61719         * posix/regexec.c: Likewise.
61720         * posix/tst-rfc3484-2.c: Likewise.
61721         * posix/tst-rfc3484-3.c: Likewise.
61722         * posix/tst-rfc3484.c: Likewise.
61723         * resolv/nss_dns/dns-canon.c: Likewise.
61724         * resolv/nss_dns/dns-network.c: Likewise.
61725         * resolv/res_init.c: Likewise.
61726         * resolv/res_mkquery.c: Likewise.
61727         * resolv/tst-aton.c: Likewise.
61728         * stdlib/cxa_atexit.c: Likewise.
61729         * stdlib/cxa_finalize.c: Likewise.
61730         * stdlib/gen-fpioconst.c: Likewise.
61731         * stdlib/strtol_l.c: Likewise.
61732         * string/tst-endian.c: Likewise.
61733         * sunrpc/auth_des.c: Likewise.
61734         * sunrpc/clnt_udp.c: Likewise.
61735         * sunrpc/rtime.c: Likewise.
61736         * sunrpc/svcauth_des.c: Likewise.
61737         * sunrpc/xdr.c: Likewise.
61738         * sunrpc/xdr_intXX_t.c: Likewise.
61739         * sunrpc/xdr_rec.c: Likewise.
61740         * sysdeps/generic/ldconfig.h: Likewise.
61741         * sysdeps/generic/ldsodefs.h: Likewise.
61742         * sysdeps/generic/memusage.h: Likewise.
61743         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61744         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61745         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61746         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61747         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61748         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61749         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61750         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61751         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61752         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61753         * sysdeps/posix/getaddrinfo.c: Likewise.
61754         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61755         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61756         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61757         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61758         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61759         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61760         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61761         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61762         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61763         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61764         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61765         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61766         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61767         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61768         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61769         * sysdeps/x86_64/dl-tls.h: Likewise.
61770         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61771         * time/alt_digit.c: Likewise.
61772         * time/era.c: Likewise.
61773         * wcsmbs/tst-c16c32-1.c: Likewise.
61775 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61777         * math/libm-test.inc (struct test_sincos_data): New type.
61778         (RUN_TEST_LOOP_sincos): New macro.
61779         (sincos_test_data): New variable.
61780         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61782 2013-05-16  Richard Henderson  <rth@redhat.com>
61784         * math/atest-exp2.c (LIMB64): New macro.
61785         (CONSTSZ): New macro.
61786         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61787         (hexdig): Move ...
61788         (print_mpn_fp): ... to function scope.
61789         (read_mpn_hex): Remove.
61790         (get_log2): Remove.
61791         (exp2_mpn): Use mp_log2.
61792         (main): Use mp_exp1.
61794 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61796         * math/libm-test.inc: Remove comment about not testing "inexact"
61797         exceptions.
61798         (INEXACT_EXCEPTION): New macro.
61799         (NO_INEXACT_EXCEPTION): Likewise.
61800         (INVALID_EXCEPTION_OK): Update value.
61801         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61802         (OVERFLOW_EXCEPTION_OK): Likewise.
61803         (UNDERFLOW_EXCEPTION_OK): Likewise.
61804         (IGNORE_ZERO_INF_SIGN): Likewise.
61805         (ERRNO_UNCHANGED): Likewise.
61806         (ERRNO_EDOM): Likewise.
61807         (ERRNO_ERANGE): Likewise.
61808         (test_exceptions): Handle testing "inexact" exceptions.
61809         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61810         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61811         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61812         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61813         INEXACT_EXCEPTION.
61814         (rint_towardzero_test_data): Likewise.
61815         (rint_downward_test_data): Likewise.
61816         (rint_upward_test_data): Likewise.
61818         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61819         with OVERFLOW_EXCEPTION.
61820         (exp10_test_data): Likewise.
61821         (exp2_test_data): Likewise.
61822         (expm1_test_data): Likewise.
61823         (lgamma_test_data): Likewise.
61824         (pow_test_data): Likewise.
61825         (tgamma_test_data): Likewise.
61826         (yn_test_data): Remove duplicate test of overflow.
61828         * math/libm-test.inc (struct test_cc_c_data): New type.
61829         (RUN_TEST_LOOP_cc_c): New macro.
61830         (cpow_test_data): New variable.
61831         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61833         * math/libm-test.inc (struct test_f_L_data): New type.
61834         (RUN_TEST_LOOP_f_L): New macro.
61835         (llrint_test_data): New variable.
61836         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61837         (llrint_tonearest_test_data): New variable.
61838         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61839         (llrint_towardzero_test_data): New variable.
61840         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61841         (llrint_downward_test_data): New variable.
61842         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61843         (llrint_upward_test_data): New variable.
61844         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61845         (llround_test_data): New variable.
61846         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61848 2013-05-13  Peter Collingbourne  <pcc@google.com>
61850         * math/atest-exp2.c (get_log2): Remove const attribute.
61852 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61854         * math/libm-test.inc (struct test_f_l_data): New type.
61855         (RUN_TEST_LOOP_f_l): New macro.
61856         (lrint_test_data): New variable.
61857         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61858         (lrint_tonearest_test_data): New variable.
61859         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61860         (lrint_towardzero_test_data): New variable.
61861         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61862         (lrint_downward_test_data): New variable.
61863         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61864         (lrint_upward_test_data): New variable.
61865         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61866         (lround_test_data): New variable.
61867         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61869 2013-05-15  Peter Collingbourne  <pcc@google.com>
61871         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61872         (EXTRACT_WORDS64) Use where appropriate.
61873         (INSERT_WORDS64) Likewise.
61875         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61876         constraints with x constraints.
61877         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61879         * malloc/obstack.c (_obstack_compat): Add initializer.
61881 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61883         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61884         si_trapno and add si_addr_lsb to _sifields.sigfault.
61885         (si_trapno): Remove macro.
61886         (si_addr_lsb): Define new macro.
61887         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61889 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61891         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61892         instead of TEST_f_l.
61893         (llrint_test_tonearest): Likewise.
61894         (llrint_test_towardzero): Likewise.
61895         (llrint_test_downward): Likewise.
61896         (llrint_test_upward): Likewise.
61897         (llround_test): Likewise.
61899         * math/libm-test.inc (struct test_f_i_data): Add comment.
61900         (RUN_TEST_LOOP_f_b): New macro.
61901         (RUN_TEST_LOOP_f_b_tg): Likewise.
61902         (finite_test_data): New variable.
61903         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61904         (isfinite_test_data): New variable.
61905         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61906         (isinf_test_data): New variable.
61907         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61908         (isnan_test_data): New variable.
61909         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61910         (isnormal_test_data): New variable.
61911         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61912         (issignaling_test_data): New variable.
61913         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61914         (signbit_test_data): New variable.
61915         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61917         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61918         with INVALID_EXCEPTION.
61919         (acosh_test_data): Likewise.
61920         (asin_test_data): Likewise.
61921         (atanh_test_data): Likewise.
61922         (fmod_test_data): Likewise.
61923         (log_test_data): Likewise.
61924         (log10_test_data): Likewise.
61925         (log2_test_data): Likewise.
61926         (pow_test_data): Likewise.
61927         (sqrt_test_data): Likewise.
61928         (y0_test_data): Likewise.
61929         (y1_test_data): Likewise.
61930         (yn_test_data): Likewise.
61932         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61933         function contents.
61935         * math/libm-test.inc (struct test_ff_i_data): New type.
61936         (RUN_TEST_LOOP_ff_i_tg): New macro.
61937         (isgreater_test_data): New variable.
61938         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61939         (isgreaterequal_test_data): New variable.
61940         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61941         (isless_test_data): New variable.
61942         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61943         (islessequal_test_data): New variable.
61944         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61945         (islessgreater_test_data): New variable.
61946         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61947         (isunordered_test_data): New variable.
61948         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61950 2013-05-14  David S. Miller  <davem@davemloft.net>
61952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61954 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61956         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61958         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61959         extra_test to int.
61960         (struct test_f_i_data): Change type of max_ulp to int.
61962         * math/libm-test.inc (test_ffI_f1_data): New type.
61963         (RUN_TEST_LOOP_ffI_f1): New macro.
61964         (remquo_test_data): New variable.
61965         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61967         * setjmp/tst-setjmp-fp.c: New file.
61968         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61969         (link-libm): New variable.
61970         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61972         * math/libm-test.inc (struct test_f_i_data): New type.
61973         (RUN_TEST_LOOP_f_i): New macro.
61974         (RUN_TEST_LOOP_f_i_tg): Likewise.
61975         (fpclassify_test_data): New variable.
61976         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61977         (ilogb_test_data): New variable.
61978         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61980         * math/libm-test.inc (scalbln_test): Correct function name in END
61981         call.
61983         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61984         (RUN_TEST_LOOP_fI_f1): New macro.
61985         (frexp_test_data): New variable.
61986         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61988         * math/libm-test.inc (struct test_fF_f1_data): New type.
61989         (RUN_TEST_LOOP_fF_f1): New macro.
61990         (modf_test_data): New variable.
61991         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61993         * math/libm-test.inc (struct test_f_f1_data): New type.
61994         (RUN_TEST_LOOP_f_f1): New macro.
61995         (gamma_test_data): New variable.
61996         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61997         (lgamma_test_data): New variable.
61998         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62000 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
62002         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
62003         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
62004         (main): Comment "tls" pseudo-hwcap.
62006 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
62008         * math/libm-test.inc (struct test_fl_f_data): New type.
62009         (RUN_TEST_LOOP_fl_f): New variable.
62010         (scalbln_test_data): New variable.
62011         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
62013         * math/libm-test.inc (struct test_fi_f_data): New type.
62014         (RUN_TEST_LOOP_fi_f): New macro.
62015         (ldexp_test_data): New variable.
62016         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
62017         (scalbn_test_data): New variable.
62018         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
62020         * math/libm-test.inc (struct test_c_f_data): New type.
62021         (RUN_TEST_LOOP_c_f): New macro.
62022         (cabs_test_data): New variable.
62023         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
62024         (carg_test_data): New variable.
62025         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
62026         (cimag_test_data): New variable.
62027         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
62028         (creal_test_data): New variable.
62029         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
62031         * math/libm-test.inc (struct test_if_f_data): New type.
62032         (RUN_TEST_LOOP_if_f): New macro.
62033         (jn_test_data): New variable.
62034         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
62035         (yn_test_data): New variable.
62036         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
62038         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
62040 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62042         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
62043         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
62045 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62047         * benchtests/Makefile (CPPFLAGS-nonlib): Add
62048         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
62049         (bench-deps): Add bench-timing.h.
62050         * benchtests-bench-skeleton.c: Include bench-timing.h.
62051         (main): Use TIMING_* macros instead of clock_gettime.
62052         * benchtests/bench-timing.h: New file.
62054         [BZ #14582]
62055         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
62056         Renamed from _LIB_VERSION.
62057         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
62059 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
62061         * math/libm-test.inc (struct test_fff_f_data): New type.
62062         (RUN_TEST_LOOP_fff_f): New macro.
62063         (fma_test_data): New variable.
62064         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
62065         (fma_towardzero_test_data): New variable.
62066         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
62067         (fma_downward_test_data): New variable.
62068         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
62069         (fma_upward_test_data): New variable.
62070         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
62072         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
62073         (struct test_c_c_data): New type.
62074         (RUN_TEST_LOOP_c_c): New macro.
62075         (cacos_test_data): New variable.
62076         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
62077         (cacosh_test_data): New variable.
62078         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
62079         (casin_test_data): New variable.
62080         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
62081         (casinh_test_data): New variable.
62082         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
62083         (catan_test_data): New variable.
62084         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
62085         (catanh_test_data): New variable.
62086         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
62087         (ccos_test_data): New variable.
62088         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
62089         (ccosh_test_data): New variable.
62090         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
62091         (cexp_test_data): New variable.
62092         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
62093         (clog_test_data): New variable.
62094         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
62095         (clog10_test_data): New variable.
62096         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
62097         (conj_test_data): New variable.
62098         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
62099         (cproj_test_data): New variable.
62100         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
62101         (csin_test_data): New variable.
62102         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
62103         (csinh_test_data): New variable.
62104         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
62105         (csqrt_test_data): New variable.
62106         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
62107         (ctan_test_data): New variable.
62108         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
62109         (ctan_tonearest_test_data): New variable.
62110         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62111         (ctan_towardzero_test_data): New variable.
62112         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62113         (ctan_downward_test_data): New variable.
62114         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62115         (ctan_upward_test_data): New variable.
62116         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62117         (ctanh_test_data): New variable.
62118         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
62119         (ctanh_tonearest_test_data): New variable.
62120         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62121         (ctanh_towardzero_test_data): New variable.
62122         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62123         (ctanh_downward_test_data): New variable.
62124         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62125         (ctanh_upward_test_data): New variable.
62126         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62127         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
62128         of BUILD_COMPLEX.
62130         * math/libm-test.inc (struct test_ff_f_data): New type.
62131         (struct test_ff_f_data_nexttoward): Likewise.
62132         (RUN_TEST_LOOP_2_f): New macro.
62133         (RUN_TEST_LOOP_ff_f): Likewise.
62134         (atan2_test_data): New variable.
62135         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
62136         (copysign_test_data): New variable.
62137         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
62138         (fdim_test_data): New variable.
62139         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
62140         (fmax_test_data): New variable.
62141         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
62142         (fmin_test_data): New variable.
62143         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
62144         (fmod_test_data): New variable.
62145         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
62146         (hypot_test_data): New variable.
62147         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
62148         (nextafter_test_data): New variable.
62149         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
62150         (nexttoward_test_data): New variable.
62151         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
62152         (pow_test_data): New variable.
62153         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
62154         (pow_tonearest_test_data): New variable.
62155         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
62156         (pow_towardzero_test_data): New variable.
62157         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
62158         (pow_downward_test_data): New variable.
62159         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
62160         (pow_upward_test_data): New variable.
62161         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
62162         (remainder_test_data): New variable.
62163         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
62164         (scalb_test_data): New variable.
62165         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
62166         * sysdeps/i386/fpu/libm-test-ulps: Update.
62168 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
62170         * math/libm-test.inc (fma_test): Use max_value instead of local
62171         variable fltmax.
62172         (nextafter_test): Likewise.
62174         * math/libm-test.inc (acos_towardzero_test_data): New variable.
62175         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62176         (acos_downward_test_data): New variable.
62177         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62178         (acos_upward_test_data): New variable.
62179         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62180         (acosh_test_data): New variable.
62181         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
62182         (asin_test_data): New variable.
62183         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
62184         (asin_tonearest_test_data): New variable.
62185         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62186         (asin_towardzero_test_data): New variable.
62187         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62188         (asin_downward_test_data): New variable.
62189         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62190         (asin_upward_test_data): New variable.
62191         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62192         (asinh_test_data): New variable.
62193         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
62194         (atan_test_data): New variable.
62195         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
62196         (atanh_test_data): New variable.
62197         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
62198         (cbrt_test_data): New variable.
62199         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
62200         (ceil_test_data): New variable.
62201         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
62202         (cos_test_data): New variable.
62203         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
62204         (cos_tonearest_test_data): New variable.
62205         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62206         (cos_towardzero_test_data): New variable.
62207         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62208         (cos_downward_test_data): New variable.
62209         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62210         (cos_upward_test_data): New variable.
62211         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62212         (cosh_test_data): New variable.
62213         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
62214         (cosh_tonearest_test_data): New variable.
62215         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62216         (cosh_towardzero_test_data): New variable.
62217         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62218         (cosh_downward_test_data): New variable.
62219         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62220         (cosh_upward_test_data): New variable.
62221         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62222         (erf_test_data): New variable.
62223         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
62224         (erfc_test_data): New variable.
62225         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
62226         (exp_test_data): New variable.
62227         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
62228         (exp_tonearest_test_data): New variable.
62229         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62230         (exp_towardzero_test_data): New variable.
62231         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62232         (exp_downward_test_data): New variable.
62233         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62234         (exp_upward_test_data): New variable.
62235         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62236         (exp10_test_data): New variable.
62237         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
62238         (exp2_test_data): New variable.
62239         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
62240         (expm1_test_data): New variable.
62241         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
62242         (fabs_test_data): New variable.
62243         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
62244         (floor_test_data): New variable.
62245         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
62246         (j0_test_data): New variable.
62247         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
62248         (j1_test_data): New variable.
62249         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
62250         (log_test_data): New variable.
62251         (log_test): Run tests with RUN_TEST_LOOP_f_f.
62252         (log10_test_data): New variable.
62253         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
62254         (log1p_test_data): New variable.
62255         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
62256         (log2_test_data): New variable.
62257         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
62258         (logb_test_data): New variable.
62259         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
62260         (logb_downward_test_data): New variable.
62261         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62262         (nearbyint_test_data): New variable.
62263         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
62264         (rint_test_data): New variable.
62265         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
62266         (rint_tonearest_test_data): New variable.
62267         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62268         (rint_towardzero_test_data): New variable.
62269         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62270         (rint_downward_test_data): New variable.
62271         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62272         (rint_upward_test_data): New variable.
62273         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62274         (round_test_data): New variable.
62275         (round_test): Run tests with RUN_TEST_LOOP_f_f.
62276         (sin_test_data): New variable.
62277         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
62278         (sin_tonearest_test_data): New variable.
62279         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62280         (sin_towardzero_test_data): New variable.
62281         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62282         (sin_downward_test_data): New variable.
62283         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62284         (sin_upward_test_data): New variable.
62285         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62286         (sinh_test_data): New variable.
62287         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
62288         (sinh_tonearest_test_data): New variable.
62289         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62290         (sinh_towardzero_test_data): New variable.
62291         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62292         (sinh_downward_test_data): New variable.
62293         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62294         (sinh_upward_test_data): New variable.
62295         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62296         (sqrt_test_data): New variable.
62297         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
62298         (tan_test_data): New variable.
62299         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
62300         (tan_tonearest_test_data): New variable.
62301         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62302         (tan_towardzero_test_data): New variable.
62303         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62304         (tan_downward_test_data): New variable.
62305         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62306         (tan_upward_test_data): New variable.
62307         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62308         (tanh_test_data): New variable.
62309         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
62310         (tgamma_test_data): New variable.
62311         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
62312         (trunc_test_data): New variable.
62313         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
62314         (y0_test_data): New variable.
62315         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
62316         (y1_test_data): New variable.
62317         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
62318         (significand_test_data): New variable.
62319         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
62321 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
62323         [BZ #12387]
62324         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
62326 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62328         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
62330 2013-05-10  Andreas Jaeger  <aj@suse.de>
62332         [BZ #15448]
62333         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
62334         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
62336 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62338         * math/gen-libm-test.pl (adjust_arg): New function.
62339         (special_functions): Handle generating output in both functions
62340         and arrays.
62341         (parse_args): Likewise.
62342         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
62343         $in_func argument to parse_args.
62344         * math/libm-test.inc (struct test_f_f_data): New type.
62345         (IF_ROUND_INIT_): New macro.
62346         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
62347         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62348         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62349         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62350         (ROUND_RESTORE_): Likewise.
62351         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
62352         (ROUND_RESTORE_FE_TONEAREST): Likewise.
62353         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
62354         (ROUND_RESTORE_FE_UPWARD): Likewise.
62355         (RUN_TEST_LOOP_f_f): New macro.
62356         (acos_test_data): New variable.
62357         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
62358         (acos_tonearest_test_data): New variable.
62359         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62361 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62363         * benchtests/bench-skeleton.c (startup): Fix coding style.
62365 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62367         [BZ #6809]
62368         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
62369         negative infinity argument.
62370         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
62371         negative infinity argument.
62372         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
62373         negative infinity argument.
62374         * math/libm-test.inc (tgamma_test): Expect errno to be set for
62375         domain errors.
62377 2013-05-10  Florian Weimer  <fweimer@redhat.com>
62379         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
62380         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
62381         * iconv/iconv_prog.c (main): Likewise.
62382         * locale/programs/charmap-dir.c (charmap_readdir)
62383         (fopen_uncompressed): Likewise.
62384         * locale/programs/locfile.c (siblings_uncached)
62385         (write_locale_data): Use lstat64 instead of lstat.
62386         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
62387         stat.
62389 2013-05-10  Andreas Jaeger  <aj@suse.de>
62391         [BZ #15395]
62392         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
62393         localization.
62394         Include <locale.h>.
62396 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
62398         * elf/dl-close.c (_dl_close_worker): Add comments.
62400 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
62402         [BZ #15359]
62403         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
62404         high part of pi/2.
62405         (__ieee754_rem_pio2l): Update comments.
62407         [BZ #15429]
62408         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
62409         high part of pi/2.
62410         (__ieee754_rem_pio2l): Update comments.
62412         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
62413         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
62415         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
62416         M_PI_4l.
62418         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
62419         (M_PI_34_LOG10El): Likewise.
62420         (M_PI2_LOG10El): Likewise.
62421         (M_PI4_LOG10El): Likewise.
62422         (M_PI_LOG10El): Likewise.
62424 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62428 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
62430         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
62431         (MINUS_ZERO_INIT): Likewise.
62432         (PLUS_INFTY_INIT): Likewise.
62433         (MINUS_INFTY_INIT): Likewise.
62434         (QNAN_VALUE_INIT): Likewise.
62435         (MAX_VALUE_INIT): Likewise.
62436         (MIN_VALUE_INIT): Likewise.
62437         (MIN_SUBNORM_VALUE_INIT): Likewise.
62438         (plus_zero): Initialize with PLUS_ZERO_INIT.
62439         (minus_zero): Initialize with MINUS_ZERO_INIT.
62440         (plus_infty): Initialize with PLUS_INFTY_INIT.
62441         (minus_infty): Initialize with MINUS_INFTY_INIT.
62442         (qnan_value): Initialize with QNAN_VALUE_INIT.
62443         (max_value): Initialize with MAX_VALUE_INIT.
62444         (min_value): Initialize with MIN_VALUE_INIT.
62445         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
62447         * math/libm-test.inc (RUN_TEST_if_f): New macro.
62448         (jn_test): Use TEST_if_f instead of TEST_ff_f.
62449         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
62450         (yn_test): Use TEST_if_f instead of TEST_ff_f.
62452         * math/libm-test.inc (RUN_TEST_f_f): New macro.
62453         (RUN_TEST_2_f): Likewise.
62454         (RUN_TEST_ff_f): Likewise.
62455         (RUN_TEST_fi_f): Likewise.
62456         (RUN_TEST_fl_f): Likewise.
62457         (RUN_TEST_fff_f): Likewise.
62458         (RUN_TEST_c_f): Likewise.
62459         (RUN_TEST_f_f1): Likewise.
62460         (RUN_TEST_fF_f1): Likewise.
62461         (RUN_TEST_fI_f1): Likewise.
62462         (RUN_TEST_ffI_f1): Likewise.
62463         (RUN_TEST_c_c): Likewise.
62464         (RUN_TEST_cc_c): Likewise.
62465         (RUN_TEST_f_i): Likewise.
62466         (RUN_TEST_f_i_tg): Likewise.
62467         (RUN_TEST_ff_i_tg): Likewise.
62468         (RUN_TEST_f_b): Likewise.
62469         (RUN_TEST_f_b_tg): Likewise.
62470         (RUN_TEST_f_l): Likewise.
62471         (RUN_TEST_f_L): Likewise.
62472         (RUN_TEST_sincos): Likewise.
62473         * math/gen-libm-test.pl (new_test): Take new argument to indicate
62474         whether to show exceptions.  Do not include ");\n" in return
62475         value.
62476         (special_functions): Output call to RUN_TEST_sincos instead of
62477         check_float calls.  Update calls to new_test.
62478         (parse_args): Output call to single RUN_TEST_* macro instead of
62479         check_* calls and other assignments.  Update calls to new_test.
62481         [BZ #2546]
62482         [BZ #2560]
62483         [BZ #5159]
62484         [BZ #15426]
62485         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
62486         input to result for tgamma overflow.
62487         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
62488         (gamma_coeff): New variable.
62489         (NCOEFF): New macro.
62490         (gamma_positive): New function.
62491         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
62492         underflow here.  Use gamma_positive instead of exp (lgamma) for
62493         other arguments.
62494         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
62495         (gamma_coeff): New variable.
62496         (NCOEFF): New macro.
62497         (gammaf_positive): New function.
62498         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
62499         underflow here.  Use gamma_positive instead of exp (lgamma) for
62500         other arguments.
62501         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
62502         (gamma_coeff): New variable.
62503         (NCOEFF): New macro.
62504         (gammal_positive): New function.
62505         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
62506         underflow here.  Use gamma_positive instead of exp (lgamma) for
62507         other arguments.
62508         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
62509         (gamma_coeff): New variable.
62510         (NCOEFF): New macro.
62511         (gammal_positive): New function.
62512         (__ieee754_gammal_r): Handle positive infinity, overflow and
62513         underflow here.  Handle NaN the same as positive infinity.  Remove
62514         check x < 0xffffffff for negative integers.  Use gamma_positive
62515         instead of exp (lgamma) for other arguments.
62516         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
62517         (gamma_coeff): New variable.
62518         (NCOEFF): New macro.
62519         (gammal_positive): New function.
62520         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
62521         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
62522         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
62523         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
62524         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
62525         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
62526         * sysdeps/generic/math_private.h (__gamma_productf): New
62527         prototype.
62528         (__gamma_product): Likewise.
62529         (__gamma_productl): Likewise.
62530         * math/Makefile (libm-calls): Add gamma_product.
62531         * math/libm-test.inc (tgamma_test): Add more tests.
62532         * sysdeps/i386/fpu/libm-test-ulps: Update.
62533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62535 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
62537         * benchtests/bench-skeleton.c (main): Preheat CPU.
62539 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
62541         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
62543 2013-05-07  Roland McGrath  <roland@hack.frob.com>
62545         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
62546         and _dl_skip_args_internal.
62548 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
62550         * manual/message.texi (Message Translation): Talk about users.
62551         Message to key mapping impacts design.
62553 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62555         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
62557         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
62559         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
62560         * sysdeps/wordsize-64/glob64.c: ... here.
62562         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
62563         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
62564         New macros.
62566         * debug/getlogin_r_chk.c: Moved to ...
62567         * login/getlogin_r_chk.c: ... here.
62568         * debug/Makefile (routines): Move getlogin_r_chk to ...
62569         * login/Makefile (routines): ... here.
62570         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
62571         * login/Versions (libc: GLIBC_2.4): ... here.
62573         * io/poll.c (__poll): Renamed from poll.
62574         Add libc_hidden_def.
62575         (poll): Define as weak alias.
62577         * debug/ptsname_r_chk.c: Moved to ...
62578         * login/ptsname_r_chk.c: ... here.
62579         * debug/Makefile (routines): Move ptsname_r_chk to ...
62580         * login/Makefile (routines): ... here.
62581         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
62582         * login/Versions (libc: GLIBC_2.4): ... here.
62584         * posix/getlogin.c: Moved to ...
62585         * login/getlogin.c: ... here.
62586         * posix/getlogin_r.c: Moved to ...
62587         * login/getlogin_r.c: ... here.
62588         * posix/getlogin_r.c: Moved to ...
62589         * login/getlogin_r.c: ... here.
62590         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
62591         * login/Makefile (routines): ... here.
62592         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
62593         * login/Versions (libc: GLIBC_2.0): ... here.
62595         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
62596         (setrlimit): Define as weak alias.
62598         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
62599         Call __ names for open, ftruncate, and close.
62600         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
62601         (truncate): Define as weak alias.
62603 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62605         * math/gen-libm-test.pl (parse_args): Initialize x before each
62606         test of frexp, modf and remquo.
62608         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62609         test signgam value.
62611 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62613         [BZ #15418]
62614         [BZ #15419]
62615         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62616         internal tests.
62617         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62619 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62621         * elf/dl-writev.h: New file.
62622         * elf/dl-misc.c: Include it.
62623         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62624         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62626 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62628         * math/libm-test.inc (noXFails): Remove variable.
62629         (noXPasses): Likewise.
62630         (BUILD_COMPLEX_INT): Remove macro.
62631         (print_screen): Remove xfail argument.
62632         (print_screen_max_error): Likewise.
62633         (update_stats): Likewise.
62634         (print_max_error): Likewise.  Update calls to other affected
62635         functions.
62636         (print_complex_max_error): Likewise.
62637         (test_single_exception): Update calls to print_screen.
62638         (test_single_errno): Likewise.
62639         (check_float_internal): Remove xfail argument.  Update calls to
62640         other affected functions.
62641         (check_float): Likewise.
62642         (check_complex): Likewise.
62643         (check_int): Likewise.
62644         (check_long): Likewise.
62645         (check_bool): Likewise.
62646         (check_longlong): Likewise.
62647         (main): Don't print noXFails and noXPasses.
62648         * math/gen-libm-test.pl (top level): Don't mention expected
62649         failure handling in comment.
62650         (new_test): Don't handle expected failures.
62651         (parse_args): Don't mention expected failure handling in comment.
62652         (generate_testfile): Don't handle expected failures.
62653         (parse_ulps): Likewise.
62654         (print_ulps_file): Likewise.
62655         (get_failure): Remove function.
62656         (output_test): Don't handle expected failures.
62657         * make/README.libm-test: Don't mention expected failure handling.
62659         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62660         (minus_zero): Likewise.
62661         (plus_infty): Likewise.
62662         (minus_infty): Likewise.
62663         (qnan_value): Likewise.
62664         (max_value): Likewise.
62665         (min_value): Likewise.
62666         (min_subnorm_value): Likewise.
62667         (initialize): Do not initialize those variables dynamically.
62669 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62671         * io/open.c (__open_2): Moved to ...
62672         * io/open_2.c: ... this new file.
62673         * io/open64.c (__open64_2): Moved to ...
62674         * io/open64_2.c: ... this new file.
62675         * io/openat.c (__openat_2): Moved to ...
62676         * io/openat_2.c: ... this new file.
62677         * io/openat64.c (__openat64_2): Moved to ...
62678         * io/openat64_2.c: ... this new file.
62679         * io/Makefile (routines): Add them.
62680         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62681         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62682         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62683         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62684         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62685         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62686         (__openat64): Add hidden_ver.
62687         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62688         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62690         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62691         Separately conditionalize setting of GLRO(dl_sysinfo) so
62692         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62693         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62695 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62697         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62698         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62699         definition.
62700         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62701         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62702         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62703         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62704         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62706 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62708         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62709         test signgam value.
62711         * math/libm-test.inc (hypot_test): Do not use
62712         IGNORE_ZERO_INF_SIGN.
62714 2013-05-03  Andreas Jaeger  <aj@suse.de>
62716         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62717         Linux 3.9.
62718         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62719         (PF_MAX): Adjust for VSOCK change.
62721 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62725 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62727         [BZ #15264]
62728         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62729         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62730         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62732 2013-05-02  David S. Miller  <davem@davemloft.net>
62734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62736 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62738         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62740 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62742         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62744 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62746         [BZ #14952]
62747         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62748         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62749         Use __attribute__ ((__gnu_inline__)).
62750         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62751         Don't use __attribute__ ((__gnu_inline__)).
62753 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62755         [BZ #15423]
62756         * math/s_catan.c (__catan): Handle small real or imaginary part of
62757         input specially to avoid spurious underflow.
62758         * math/s_catanf.c (__catanf): Likewise.
62759         * math/s_catanh.c (__catanh): Likewise.
62760         * math/s_catanhf.c (__catanhf): Likewise.
62761         * math/s_catanhl.c (__catanhl): Likewise.
62762         * math/s_catanl.c (__catanl): Likewise.
62763         * math/libm-test.inc (catan_test): Add more tests.
62764         (catanh_test): Likewise.
62765         * sysdeps/i386/fpu/libm-test-ulps: Update.
62766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62768 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62772 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62774         [BZ #15416]
62775         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62776         accurately for denominator in atan2.
62777         * math/s_catanf.c (__catanf): Likewise.
62778         * math/s_catanh.c (__catanh): Likewise.
62779         * math/s_catanhf.c (__catanhf): Likewise.
62780         * math/s_catanhl.c (__catanhl): Likewise.
62781         * math/s_catanl.c (__catanl): Likewise.
62782         * math/libm-test.inc (catan_test): Add more tests.
62783         (catanh_test): Likewise.
62784         * sysdeps/i386/fpu/libm-test-ulps: Update.
62785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62787 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62789         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62791         * benchtests/Makefile (bench): Remove slow benchmarks.
62792         * benchtests/atan-inputs: Add slow benchmark inputs.
62793         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62794         (BENCH_FUNC): Accept variant offset.
62795         (VARIANT): Define.
62796         * benchtests/bench-skeleton.c (main): Run benchmark for each
62797         variant.
62798         * benchtests/cos-inputs: Add slow benchmark inputs.
62799         * benchtests/exp-inputs: Likewise.
62800         * benchtests/pow-inputs: Likewise.
62801         * benchtests/sin-inputs: Likewise.
62802         * benchtests/slowatan-inputs: Remove.
62803         * benchtests/slowatan.c: Remove.
62804         * benchtests/slowcos-inputs: Remove.
62805         * benchtests/slowcos.c: Remove.
62806         * benchtests/slowexp-inputs: Remove.
62807         * benchtests/slowexp.c: Remove.
62808         * benchtests/slowpow-inputs: Remove.
62809         * benchtests/slowpow.c: Remove.
62810         * benchtests/slowsin-inputs: Remove.
62811         * benchtests/slowsin.c: Remove.
62812         * benchtests/slowtan-inputs: Remove.
62813         * benchtests/slowtan.c: Remove.
62814         * benchtests/tan-inputs: Add slow benchmark inputs.
62815         * scripts/bench.pl: Parse comments and directives.
62817         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62818         in CPPFLAGS.
62819         ($(objpfx)bench-%.c): Remove *-ITER.
62820         * benchtests/bench-modf.c: Remove definition of ITER.
62821         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62822         (main): Loop for DURATION seconds instead of fixed number of
62823         iterations.
62824         * scripts/bench.pl: Don't expect iterations in parameters.
62826 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62828         * io/fchdir.c (__fchdir): Renamed from fchdir.
62829         (fchdir): Define as weak alias.
62831 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62833         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62834         (ERRNO_EDOM): Likewise.
62835         (ERRNO_ERANGE): Likewise.
62836         (noErrnoTests): New variable.
62837         (init_max_error): Set errno to 0.
62838         (test_single_errno): New function.
62839         (test_errno): Likewise.
62840         (check_float_internal): Call test_errno.  Set errno to 0.
62841         (check_complex): Refer to errno tests in comment.
62842         (check_int): Call test_errno.  Set errno to 0.
62843         (check_long): Likewise.
62844         (check_bool): Likewise.
62845         (check_longlong): Likewise.
62846         (cos_test): Use ERRNO_* flags for errno tests instead of
62847         check_int.
62848         (expm1_test): Likewise.
62849         (fmod_test): Likewise.
62850         (ilogb_test): Likewise.
62851         (lgamma_test): Likewise.
62852         (pow_test): Likewise.
62853         (remainder_test): Likewise.
62854         (sin_test): Likewise.
62855         (tan_test): Likewise.
62856         (yn_test): Likewise.
62857         (initialize): Set errno to 0.
62858         (main): Print number of errno tests.
62859         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62861 2013-04-29  Andreas Jaeger  <aj@suse.de>
62863         [BZ #15084]
62864         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62865         and RES_USEVC.
62867         [BZ #15085]
62868         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62869         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62870         unimplemented.
62872         [BZ #15380]
62873         * stdlib/random.c (__initstate): Return NULL if
62874         __initstate fails.
62876         [BZ #15086]
62877         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62878         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62879         RES_SNGLKUPREOP.
62881 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62885 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62887         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62888         of individual tests.
62889         (casin_test): Likewise.
62890         (casinh_test): Likewise.
62892 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62894         [BZ #15409]
62895         * math/s_catan.c (__catan): Handle arguments with large real or
62896         imaginary part separately without squaring.
62897         * math/s_catanf.c (__catanf): Likewise.
62898         * math/s_catanh.c (__catanh): Likewise.
62899         * math/s_catanhf.c (__catanhf): Likewise.
62900         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62901         and redefine.
62902         (__catanhl): Handle arguments with large real or imaginary part
62903         separately without squaring.
62904         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62905         and redefine.
62906         (__catanl): Handle arguments with large real or imaginary part
62907         separately without squaring.
62908         * math/libm-test.inc (catan_test): Add more tests.
62909         (catanh_test): Likewise.
62910         * sysdeps/i386/fpu/libm-test-ulps: Update.
62911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62913 2013-04-27  Andreas Jaeger  <aj@suse.de>
62915         [BZ #15007]
62916         * stdlib/stdlib.h: Update guards for qecvt.
62917         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62918         <stdlib.h>.
62920 2013-04-27  Allan McRae  <allan@archlinux.org>
62922         * sysdeps/i386/fpu/libm-test-ulps: Update.
62924 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62926         [BZ #15406]
62927         * math/s_catan.c: Include <float.h>.
62928         (__catan): Ensure underflow exception occurs for underflowed
62929         result.
62930         * math/s_catanf.c: Include <float.h>.
62931         (__catanf): Ensure underflow exception occurs for underflowed
62932         result.
62933         * math/s_catanh.c: Include <float.h>.
62934         (__catanh): Ensure underflow exception occurs for underflowed
62935         result.
62936         * math/s_catanhf.c: Include <float.h>.
62937         (__catanhf): Ensure underflow exception occurs for underflowed
62938         result.
62939         * math/s_catanhl.c: Include <float.h>.
62940         (__catanhl): Ensure underflow exception occurs for underflowed
62941         result.
62942         * math/s_catanl.c: Include <float.h>.
62943         (__catanl): Ensure underflow exception occurs for underflowed
62944         result.
62945         * math/libm-test.inc (catan_test): Add more tests.
62946         (catanh_test): Likewise.
62948         [BZ #15405]
62949         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62950         underflowed result.
62951         * math/s_ccoshf.c (__ccoshf): Likewise.
62952         * math/s_ccoshl.c (__ccoshl): Likewise.
62953         * math/s_csin.c (__csin): Likewise.
62954         * math/s_csinf.c (__csinf): Likewise.
62955         * math/s_csinh.c (__csinh): Likewise.
62956         * math/s_csinhf.c (__csinhf): Likewise.
62957         * math/s_csinhl.c (__csinhl): Likewise.
62958         * math/s_csinl.c (__csinl): Likewise.
62959         * math/libm-test.inc (ccos_test): Add more tests.
62960         (ccosh_test): Likewise.
62961         (csin_test): Likewise.
62962         (csinh_test): Likewise.
62964 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62966         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62967         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62968         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62969         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62970         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62971         powerpc/power5+/fpu folders.
62972         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62975 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62979 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62981         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62982         additions to variable.
62983         [$(config-machine) = x86_64] (modules-names): Likewise.
62984         ($(objpfx)tst-audit3): Remove dependency.
62985         ($(objpfx)tst-audit3.out): Likewise.
62986         ($(objpfx)tst-audit4): Likewise.
62987         ($(objpfx)tst-audit4.out): Likewise.
62988         ($(objpfx)tst-audit5): Likewise.
62989         ($(objpfx)tst-audit5.out): Likewise.
62990         ($(objpfx)tst-audit6): Likewise.
62991         ($(objpfx)tst-audit6.out): Likewise.
62992         ($(objpfx)tst-audit7): Likewise.
62993         ($(objpfx)tst-audit7.out): Likewise.
62994         (tst-audit3-ENV): Remove variable.
62995         (tst-audit4-ENV): Likewise.
62996         (tst-audit5-ENV): Likewise.
62997         (tst-audit6-ENV): Likewise.
62998         (tst-audit7-ENV): Likewise.
62999         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
63000         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
63001         addition to variable.
63002         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
63003         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
63004         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
63005         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
63006         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
63007         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
63008         tst-audit3, tst-audit4 and tst-audit5.
63009         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
63010         tst-audit6 and tst-audit7.
63011         [$(subdir) = elf] (modules-names): Add audit modules for those
63012         tests.
63013         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
63014         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
63015         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
63016         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
63017         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
63018         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
63019         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
63020         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
63021         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
63022         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
63023         [$(subdir) = elf] (tst-audit3-ENV): New variable.
63024         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
63025         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
63026         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
63027         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
63028         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
63029         Likewise.
63030         [$(subdir) = elf && $(config-cflags-avx) = yes]
63031         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
63032         [$(subdir) = elf && $(config-cflags-avx) = yes]
63033         (CFLAGS-tst-auditmod4a.c): Likewise.
63034         [$(subdir) = elf && $(config-cflags-avx) = yes]
63035         (CFLAGS-tst-auditmod4b.c): Likewise.
63036         [$(subdir) = elf && $(config-cflags-avx) = yes]
63037         (CFLAGS-tst-auditmod6b.c): Likewise.
63038         [$(subdir) = elf && $(config-cflags-avx) = yes]
63039         (CFLAGS-tst-auditmod6c.c): Likewise.
63040         [$(subdir) = elf && $(config-cflags-avx) = yes]
63041         (CFLAGS-tst-auditmod7b.c): Likewise.
63042         * elf/tst-audit3.c: Move to ...
63043         * sysdeps/x86_64/tst-audit3.c: ... here.
63044         * elf/tst-audit4.c: Move to ...
63045         * sysdeps/x86_64/tst-audit4.c: ... here.
63046         * elf/tst-audit5.c: Move to ...
63047         * sysdeps/x86_64/tst-audit5.c: ... here.
63048         * elf/tst-audit6.c: Move to ...
63049         * sysdeps/x86_64/tst-audit6.c: ... here.
63050         * elf/tst-audit7.c: Move to ...
63051         * sysdeps/x86_64/tst-audit7.c: ... here.
63052         * elf/tst-auditmod3a.c: Move to ...
63053         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
63054         * elf/tst-auditmod3b.c: Move to ...
63055         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
63056         * elf/tst-auditmod4a.c: Move to ...
63057         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
63058         * elf/tst-auditmod4b.c: Move to ...
63059         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
63060         * elf/tst-auditmod5a.c: Move to ...
63061         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
63062         * elf/tst-auditmod5b.c: Move to ...
63063         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
63064         * elf/tst-auditmod6a.c: Move to ...
63065         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
63066         * elf/tst-auditmod6b.c: Move to ...
63067         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
63068         * elf/tst-auditmod6c.c: Move to ...
63069         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
63070         * elf/tst-auditmod7a.c: Move to ...
63071         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
63072         * elf/tst-auditmod7b.c: Move to ...
63073         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
63075 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
63077         [BZ #15366]
63078         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
63079         define unconditionally.
63080         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
63081         define unconditionally.
63082         (INT8_C, INT16_C, etc.): Likewise.
63084 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
63086         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
63087         __ehdr_start with hidden visibility.
63089         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
63091 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
63093         * math/libm-test.inc (cos_test): Use accurate hex constants.
63094         (sincost_test): Likewise.
63096 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
63098         * math/libm-test.inc (catan_test): Add more tests.
63099         (catanh_test): Likewise.
63101         * math/s_catanf.c (__catanf): Use suffixed floating-point
63102         constants.
63103         * math/s_catanhf.c (__catanhf): Likewise.
63104         * math/s_catanhl.c (__catanhl): Likewise.
63105         * math/s_catanl.c (__catanl): Likewise.
63107         [BZ #15394]
63108         * math/s_catan.c (__catan): Calculate imaginary part of result
63109         with log1p not log unless computing log of number close to 0.
63110         * math/s_catanf.c (__catanf): Likewise.
63111         * math/s_catanl.c (__catanl): Likewise.
63112         * math/s_catanh.c (__catanh): Calculate real part of result with
63113         log1p not log unless computing log of number close to 0.
63114         * math/s_catanhf.c (__catanhf): Likewise.
63115         * math/s_catanhl.c (__catanhl): Likewise.
63116         * math/libm-test.inc (catan_test): Add more tests.
63117         (catanh_test): Likewise.
63118         * sysdeps/i386/fpu/libm-test-ulps: Update.
63119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63121 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63123         * benchtests/Makefile: Mention files in which fast and slow
63124         paths of math functions are implemented.
63126 2013-04-23  Roland McGrath  <roland@hack.frob.com>
63128         * sysdeps/posix/timespec_get.c: New file.
63130 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63132         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
63133         POWER.
63134         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
63135         for POWER.
63136         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
63137         powerpc/power5/fpu folders.
63138         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
63139         * benchtests/Makefile: Add modf testcase.
63140         * benchtests/bench-modf.c: New file: Benchmark test for mo
63142 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63144         [BZ #14888]
63145         * time/Makefile (tests): Add tst-strptime-whitespace.
63146         * time/strptime_l.c (get_number): Use ISSPACE.
63147         (__strptime_internal): Likewise.
63148         * time/tst-strptime-whitespace.c: New test case.
63150 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
63152         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
63153         member.
63154         (_nss_files_init): Set it here.
63156 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
63158         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
63159         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
63160         unsigned.
63162 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
63164         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
63166 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63168         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
63169         size just once.
63171 2013-04-21  David S. Miller  <davem@davemloft.net>
63173         * po/ru.po: Update Russion translation from translation project.
63175 2013-04-17  Adam Conrad  <adconrad@0c3.net>
63177         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
63178         and setfsgid.
63180 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
63182         * configure.in: Remove i386 configure warning. Remove i386 case.
63183         * configure: Regenerate.
63184         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
63185         Add example to error message.
63186         * sysdeps/i386/configure: Regenerate.
63188 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63190         * benchtests/Makefile (bench): Add cos, tan, slowcos and
63191         slowtan.
63192         * benchtests/cos-inputs: New file.
63193         * benchtests/slowcos-inputs: New file.
63194         * benchtests/slowcos.c: New file.
63195         * benchtests/slowtan-inputs: New file.
63196         * benchtests/slowtan.c: New file.
63197         * benchtests/tan-inputs: New file.
63199 2013-04-16  Roland McGrath  <roland@hack.frob.com>
63201         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
63202         considered kosher.
63204 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63206         * benchtests/Makefile: Include cppflags-iterator.mk to add
63207         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
63209         * Makefile.in (bench-clean): New target.
63210         * benchtests/Makefile (bench-clean): Likewise.
63212 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
63214         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
63216 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
63218         * stdio-common/tstdiomisc.c: Fix coding-style violation.
63220 2013-04-15  Andreas Schwab  <schwab@suse.de>
63222         * nscd/grpcache.c (cache_addgr): Properly check for short write.
63223         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63224         * nscd/pwdcache.c (cache_addpw): Likewise.
63225         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
63226         more than recsize.
63228 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63230         * benchtests/Makefile (bench): Write all output to
63231         bench-out.tmp together.
63233 2013-04-15  Andreas Schwab  <schwab@suse.de>
63235         * nscd/nscd.c (main): Don't fork again after closing files.
63237 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63239         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
63241         * benchtests/Rules (bench-deps): Collect dependencies into a
63242         single variable.  Add Makefile to dependencies.
63243         ($(objpfx)bench-%.c): Depend on bench-deps.
63245 2013-04-12  Roland McGrath  <roland@hack.frob.com>
63246             Xavier Roche  <roche+kml2@exalead.com>
63248         [BZ #15361]
63249         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
63250         just that it's a file descriptor.
63251         * manual/llio.texi (Synchronizing AIO Operations): Update description
63252         for EBADF error from aio_fsync.
63254 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63256         * Rules (bench): Move target definition...
63257         * benchtests/Makefile: ... here.
63259 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
63261         * math/libm-test.inc (cos_test): Fix PI/2 test.
63262         (sincos_test): Likewise.
63263         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
63264         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
63266 2013-04-11  Andreas Schwab  <schwab@suse.de>
63268         [BZ #13988]
63269         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
63270         accept exponent character only when digits were seen.
63271         * stdio-common/Makefile (tests): Add bug26.
63272         * stdio-common/bug26.c: New file.
63274         [BZ #14293]
63275         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
63276         non-freeable.
63278 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63280         * Makeconfig (rtld-prefix): Define built linker prefix.
63281         * Rules (run-bench): Use it.
63282         * math/Makefile (run-regen-ulps): Likewise.
63284         * Rules (bench): Remove eval.
63286 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63287             Roland McGrath  <roland@hack.frob.com>
63288             Ondrej Bilka  <neleai@seznam.cz>
63290         [BZ #15346]
63291         * time/getdate.c: Include ctype.h and alloca.h.
63292         (__getdate_r): Trim leading and trailing spaces of input.
63293         * time/tst-getdate.c (tests): Add tests with leading and
63294         trailing spaces.
63296 2013-04-08  Roland McGrath  <roland@hack.frob.com>
63298         [BZ #14280]
63299         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
63300         when computing value.
63302 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63304         * math/README.libm-test (How can I generate "libm-test-ulps"?):
63305         Use testrun.sh to run libm tests.
63307         [BZ #15309]
63308         * elf/dl-open.c (dl_open_worker): memset all of seen array.
63310 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
63312         [BZ #15264]
63313         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
63315 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63317         * Makefile.in (regen-ulps): New target.
63318         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
63319         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
63320         [ifneq (no,$(PERL)] (regen-ulps): New target.
63321         [ifeq (no,$(PERL)] (regen-ulps): New target.
63322         * math/libm-test.inc (ulps_file_name): Define.
63323         (output_dir): New variable.
63324         (options): Add "output-dir" option.
63325         (parse_opt): Handle 'o' case.
63326         (main): If output_dir is non-NULL use it as a prefix
63327         otherwise use "".
63328         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
63330 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63332         [BZ #10060, #10062]
63333         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63334         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
63335         fail configure if __sync_val_compare_and_swap is not inlined.
63336         * sysdeps/i386/configure: Regenerate.
63337         * configure.in: Build for i686 when configured for i386.
63338         * configure: Regenerate.
63339         * README: Remove i386 reference.
63341 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63343         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
63344         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63346 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63348         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
63349         (lmsnanval): New variables.
63350         (F): Add conversion tests.
63351         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
63352         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
63354         * stdio-common/tstdiomisc.c (F): Properly collect individual
63355         tests' results.
63357         [BZ #14686, #15336]
63358         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
63359         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
63360         Instead, use input NaN values or generate a qNaN by arithmetic
63361         operation.  Also fix bugs to comply with the standard.
63362         * math/libm-test.inc (remainder_test): Add more tests.
63364         [BZ #15335, #15342]
63365         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
63366         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
63367         input NaN values or generate a qNaN by arithmetic operation.
63369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
63370         unreachable code.
63372         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
63373         definitions.
63375 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
63377         [BZ #14478]
63378         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
63379         underflowed result.
63380         * math/s_cexpf.c (__cexpf): Likewise.
63381         * math/s_cexpl.c (__cexpl): Likewise.
63382         * math/libm-test.inc (cexp_test): Add more tests.
63384 2013-04-03  Andreas Schwab  <schwab@suse.de>
63386         [BZ #15330]
63387         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
63388         order arrays from heap if bigger than alloca cutoff.
63390 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
63392         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
63393         (SNAN_TESTS_double): Refer to GCC PR56831.
63394         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
63395         GCC PR56828.
63397 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63399         * Rules (bench): Move bench.out after the run is complete.
63401         * Rules (bench): Echo currently running benchmark.
63403         * benchtests/Makefile (bench): Add atan and slowatan.
63404         * benchtests/atan-inputs: New file.
63405         * benchtests/slowatan-inputs: New file.
63406         * benchtests/slowatan.c: New file.
63408         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
63409         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
63410         its value.
63412         [BZ #15305]
63413         * sysdeps/unix/sysv/linux/kernel-features.h
63414         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
63415         __ASSUME_XFS_RESTRICTED_CHOWN.
63416         * sysdeps/unix/sysv/linux/pathconf.c
63417         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
63418         Save and restore errno.
63420 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
63422         [BZ #15327]
63423         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
63424         arguments using __kernel_casinh.
63425         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
63426         arguments using __kernel_casinhf.
63427         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
63428         arguments using __kernel_casinhl.
63429         * math/libm-test.inc (cacosh_test): Add more tests.
63430         * sysdeps/i386/fpu/libm-test-ulps: Update.
63431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63433 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63435         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
63436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
63438         * bench/Makefile (bench): Add sin and slowsin.
63439         * benchtests/sin-inputs: New file.
63440         * benchtests/slowsin-inputs: New file.
63441         * benchtests/slowsin.c: New file.
63443         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
63444         (bench): Add slowexp and slowpow.
63445         (exp-ITER): Increase iterations.
63446         (pow-ITER): Likewise.
63447         * benchtests/exp-inputs: Change input.
63448         * benchtests/pow-inputs: Likewise.
63449         * benchtests/slowexp-inputs: New file.
63450         * benchtests/slowexp.c: New file.
63451         * benchtests/slowpow-inputs: New file.
63452         * benchtests/slowpow.c: New file.
63454 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63456         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
63457         instructions.
63458         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63459         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
63460         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63461         * benchtests/Makefile: Add rint benchtest.
63462         * benchtests/rint-inputs: Input for rint benchtest.
63464 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63466         * Versions.def (libm): Add GLIBC_2.18.
63467         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
63468         hidden libm prototypes.
63469         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
63470         * math/Makefile (libm-calls): Add s_issignaling.
63471         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
63472         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
63473         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
63474         declaration.
63475         * math/math.h [__USE_GNU] (issignaling): New macro.
63476         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
63477         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
63478         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
63479         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
63480         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
63481         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
63482         * manual/arith.texi (issignaling): New section.
63483         * manual/libm-err-tab.pl (@all_functions): Update comment.
63484         * math/gen-libm-test.pl (parse_args): Apply special handling for
63485         issignaling.
63486         * math/libm-test.inc (print_float, issignaling_test): New
63487         functions.
63488         (check_float_internal): Add issignaling checks.
63489         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
63490         default definition.
63491         * sysdeps/powerpc/math-tests.h: New file.
63492         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
63493         tests.
63494         * math/test-snan.c (TEST_FUNC): Likewise.
63496 2013-03-30  David S. Miller  <davem@davemloft.net>
63498         * po/de.po: Update from translation team.
63500 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
63502         [BZ #10357]
63503         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63504         imaginary part less than 1.0 and real part less than 0.5
63505         specially.
63506         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63507         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63508         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
63509         (cacos_test): Add more tests.
63510         (casin_test): Likewise.
63511         (casinh_test): Likewise.
63512         * sysdeps/i386/fpu/libm-test-ulps: Update.
63513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63515 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63517         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
63518         ONE with its value.
63520         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
63521         (__pow_mp): Replace ONE and MONE with their values.
63522         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63523         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
63524         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63525         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
63526         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63527         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63529         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
63531         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
63532         (__pow_mp): Replace ZERO and MZERO with their values.
63533         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63534         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63535         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63536         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63537         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63538         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
63539         (__sqr): Likewise.
63541         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
63543         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
63545 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63547         * include/stdlib.h [!SHARED] (__call_tls_dtors):
63548         Declare with __attribute__ ((weak)).
63549         * stdlib/exit.c (__libc_atexit) [!SHARED]:
63550         Call __call_tls_dtors only if it's not NULL.
63552 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63554         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
63555         didn't do it already, then set _dl_phdr and _dl_phnum based on the
63556         magic __ehdr_start linker symbol if it's defined.
63557         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
63558         them up here if it was already done.
63560         * elf/dl-support.c (_dl_phdr): Make pointer to const.
63561         (_dl_aux_init): Use const in cast when setting it.
63562         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
63563         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
63564         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
63566         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
63567         Declare them here.
63568         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
63569         * csu/libc-tls.c: Nor here.
63570         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
63572         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
63573         (__libc_message): Never call vsyslog.
63575 2013-03-28  Alan Modra  <amodra@gmail.com>
63577         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
63578         Define as empty.
63579         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
63580         Likewise.
63582 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63584         [BZ #15214]
63585         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
63586         underflow.
63587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63589 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63591         [BZ #15304]
63592         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
63593         Don't add gid passed as argument.
63595         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
63597 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
63599         [BZ #15307]
63600         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63601         imaginary part between 1.0 and 1.5 and real part less than 0.5
63602         specially.
63603         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63604         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63605         * math/libm-test.inc (cacos_test): Add more tests.
63606         (casin_test): Likewise.
63607         (casinh_test): Likewise.
63608         * sysdeps/i386/fpu/libm-test-ulps: Update.
63609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63611 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63613         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63614         constants.
63615         (norm): Likewise.
63616         (denorm): Likewise.
63617         (__dbl_mp): Likewise.
63618         (add_magnitudes): Likewise.
63619         (sub_magnitudes): Likewise.
63620         (__add): Likewise.
63621         (__sub): Likewise.
63622         (__mul): Likewise.
63623         (__sqr): Likewise.
63624         (__inv): Likewise.
63625         (__dvd): Likewise.
63627         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63628         commented code.
63629         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63630         (__dubcos): Likewise.
63631         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63632         (__ieee754_acos): Likewise.
63633         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63634         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63635         (__exp1): Likewise.
63636         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63637         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63638         (log1): Likewise.
63639         (my_log2): Likewise.
63640         (checkint): Likewise.
63641         * sysdeps/ieee754/dbl-64/e_remainder.c
63642         (__ieee754_remainder): Likewise.
63643         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63644         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63645         (bsloww): Likewise.
63646         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63648         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63649         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63650         MANTISSA_STORE_T to store computations on mantissa.  Use
63651         macros for rounding and division.
63652         (denorm): Likewise.
63653         (__dbl_mp): Likewise.
63654         (add_magnitudes): Likewise.
63655         (sub_magnitudes): Likewise.
63656         (__mul): Likewise.
63657         (__sqr): Likewise.
63658         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63659         powers of two in terms of TWOPOW macro.
63660         (mp_no): Make type of mantissa as MANTISSA_T.
63661         [!RADIXI]: Define RADIXI.
63662         [!TWO52]: Define TWO52.
63663         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63665 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63667         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63668         llroundl symbol when building for PPC32.
63670 2013-03-24  Mark H Weaver  <mhw@netris.org>
63672         * manual/arith.texi (Normalization Functions): Fix prototypes for
63673         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63675 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63677         [BZ #13889]
63678         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63679         high value to check if expl overflow.
63680         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63681         to check for underflow and overflow.
63682         * math/libm-test.inc: Add exp test.
63684 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63686         [BZ #11120]
63687         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63688         with NOT_IN_libc.
63690 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63692         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63693         symbol.
63695 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63697         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63698         wrap blocks consisting of several statements.
63700         * sysdeps/generic/math-tests.h: New file.
63701         * sysdeps/i386/fpu/math-tests.h: Likewise.
63702         * math/test-snan.c: Include it.
63703         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63705 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63707         [BZ #15285]
63708         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63709         (__ieee754_j0l): Do not improve calculations using cos of twice
63710         input for inputs above LDBL_MAX / 2.0L.
63711         (__ieee754_y0l): Likewise.
63712         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63713         (__ieee754_j1l): Do not improve calculations using cos of twice
63714         input for inputs above LDBL_MAX / 2.0L.
63715         (__ieee754_y1l): Likewise.
63716         * math/libm-test.inc (j0_test): Add another test.
63717         (j1_test): Likewise.
63718         (y0_test): Likewise.
63719         (y1_test): Likewise.
63720         * sysdeps/i386/fpu/libm-test-ulps: Update.
63722 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63724         * Rules ($(objpfx)bench-%.c): Include code from a C source
63725         file.
63727 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63729         [BZ #15287]
63730         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63731         imaginary part 1.0 and real part less than 0.5 specially.
63732         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63733         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63734         * math/libm-test.inc (cacos_test): Add more tests.
63735         (casin_test): Likewise.
63736         (casinh_test): Likewise.
63737         * sysdeps/i386/fpu/libm-test-ulps: Update.
63738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63740 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63742         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63743         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63745 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63747         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63748         * config.make.in (config-cflags-sse4): Remove variable.
63749         (config-cflags-avx): Likewise.
63750         (config-cflags-sse2avx): Likewise.
63751         (config-cflags-novzeroupper): Likewise.
63752         (config-asflags-i686): Likewise.
63753         (have-mfma4): Likewise.
63754         (have-as-vis3): Likewise.
63755         (MIG): Likewise.
63756         * configure.in (MIG): Do not AC_SUBST.
63757         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63758         (libc_cv_cc_sse4): Do not AC_SUBST.
63759         (libc_cv_cc_avx): Likewise.
63760         (libc_cv_cc_sse2avx): Likewise.
63761         (libc_cv_cc_novzeroupper): Likewise.
63762         (libc_cv_cc_fma4): Likewise.
63763         (libc_cv_as_i686): Likewise.
63764         (libc_cv_sparc_as_vis3): Likewise.
63765         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63766         LIBC_CONFIG_VAR.
63767         (config-asflags-i686): Likewise.
63768         (config-cflags-avx): Likewise.
63769         (config-cflags-sse2avx): Likewise.
63770         (have-mfma4): Likewise.
63771         (config-cflags-novzeroupper): Likewise.
63772         * sysdeps/mach/configure.in (MIG): Likewise.
63773         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63774         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63775         LIBC_CONFIG_VAR.
63776         (config-cflags-avx): Likewise.
63777         (config-cflags-sse2avx): Likewise.
63778         (have-mfma4): Likewise.
63779         (config-cflags-novzeroupper): Likewise.
63780         * configure: Regenerated.
63781         * sysdeps/i386/configure: Likewise.
63782         * sysdeps/mach/configure: Likewise.
63783         * sysdeps/sparc/configure: Likewise.
63784         * sysdeps/x86_64/configure: Likewise.
63786 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63788         [BZ #14812]
63789         * locale/programs/localedef.c (options): Put N_ translation marker
63790         on argument names, not just descriptions.
63792 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63794         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63796 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63798         [BZ #14176]
63799         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63801 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63803         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63804         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63805         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63806         [!BEFORE_ABORT] (before_abort): New function.
63807         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63808         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63809         (writev_for_fatal): New function.
63810         (WRITEV_FOR_FATAL): New macro; call that.
63811         (backtrace_and_maps): New function.
63812         (BEFORE_ABORT): New macro; call that.
63813         (struct str_list): Type removed.
63814         (__libc_message, __libc_fatal): Functions removed.
63815         Include <sysdeps/posix/libc_fatal.c> instead.
63817 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63819         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63820         constants.
63821         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63822         double constants.
63824 2013-03-19  Andreas Schwab  <schwab@suse.de>
63826         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63827         * sysdeps/gnu/configure: Regenerate.
63829         * configure.in: Substitute libc_cv_rtlddir.
63830         * configure: Regenerate.
63831         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63832         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63833         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63834         * elf/Makefile (install-others, CFLAGS-interp.c)
63835         (ldso_install, common-ldd-rewrite): Likewise.
63836         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63837         $(inst_slibdir)/$(rtld-installed-name).
63838         * scripts/rellns-sh: Add -p option.
63839         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63840         for source.
63842 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63844         * manual/nptl.texi: Renamed to ...
63845         * manual/threads.texi: ... this.
63846         * manual/Makefile (chapters): Update.
63848 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63850         [BZ #14812]
63851         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63852         on argument names, not just descriptions.
63853         * malloc/memusagestat.c (options): Likewise.
63854         * nss/getent.c (options): Likewise.
63856 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63858         [BZ #14812]
63859         * iconv/iconv_prog.c (options): Put N_ translation marker
63860         on argument names, not just descriptions.
63861         * iconv/iconvconfig.c (options): Likewise.
63863 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63865         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63866         implementation which is faster on all x86_64 architectures.
63867         Tested on AMD, Intel Nehalem, SNB, IVB.
63868         * sysdeps/x86_64/strnlen.S: Likewise.
63870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63871         Remove all multiarch strlen and strnlen versions.
63872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63873         Remove strlen and strnlen related parts.
63875         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63876         Inline strlen part.
63877         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63879         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63880         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63881         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63882         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63883         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63884         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63886 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63888         * manual/memory.texi (Malloc Tunable Parameters):
63889         Sort parameters alphabetically. Add comments for missing entries.
63891 2013-03-17  David S. Miller  <davem@davemloft.net>
63893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63895 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63897         [BZ #15283]
63898         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63899         for arguments at most half maximum finite value.
63900         * math/libm-test.inc (j0_test): Add more tests.
63901         (j1_test): Likewise.
63902         (y0_test): Likewise.
63903         (y1_test): Likewise.
63904         * sysdeps/i386/fpu/libm-test-ulps: Update.
63905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63907         [BZ #14155]
63908         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63909         1 / x and functions P and Q for arguments above 0x1p256L.
63910         (__ieee754_y0l): Likewise.
63911         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63912         (__ieee754_y1l): Likewise.
63913         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63914         (j1_test): Likewise.
63915         (y0_test): Likewise.
63916         (y1_test): Likewise.
63918 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63920         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63921         variable.
63923 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63925         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63926         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63927         zero since it's initialized to EXEC_PAGESIZE.
63929         * sysdeps/unix/sysv/linux/ldsodefs.h
63930         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63931         * sysdeps/generic/ldsodefs.h: ... here.
63933 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63935         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63937         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63938         math/test-snan.c.
63939         * math/test-snan.c: Renamed from
63940         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63941         * math/Makefile (tests): Add test-snan.
63942         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63943         test-powerpc-snan.
63945         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63946         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63947         functions.
63948         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63949         __builtin_nan family of functions.
63950         * math/libm-test.inc (initialize): Initialize qnan_value with
63951         __builtin_nan family of functions.
63952         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63953         Remove variables.
63954         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63955         Remove functions.
63956         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63957         storage class.  Initialize qNaN_var and sNaN_var with
63958         __builtin_nan and __builtin_nans families of functions,
63959         respectively.
63961         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63962         (sqrt_test): Remove duplicate test with qNaN input.
63963         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63964         (round_test, signbit_test, significand_test): Note missing +/-Inf
63965         as well as qNaN tests.
63967         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63968         qNaN_var.  Fix a few strings, too.
63969         * math/libm-test.inc (nan_value): Rename to qnan_value.
63970         * math/gen-libm-test.pl (%beautify): Adjust to that.
63971         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63972         * math/test-misc.c (main): Likewise.
63973         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63974         to __qnan_bytes, and __qnan_union, respectively.
63975         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63976         Likewise.
63977         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63978         and lqnanval, respectively.
63979         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63980         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63981         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63982         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63984         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63985         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63986         doubles.
63988         * math/test-misc.c (main): Fix copy'n'pastos.
63989         * misc/tst-efgcvt.c (special): Likewise.
63991         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63992         Remove declarations.
63994 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63996         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63997         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63998         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63999         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
64001 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64003         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
64004         macro to return vdso values correctly in IFUNC implementations.
64005         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
64006         Optimization by using IFUNC.
64008 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64009             Richard Henderson  <rth@redhat.com>
64010             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64012         * Makefile.in (bench): New target.
64013         * NEWS: Mention the benchmark framework.
64014         * Rules (bench): Likewise.
64015         (binaries-bench): Generate binaries for functions to
64016         benchmark.
64017         * benchtests/Makefile: New makefile for benchmark tests.
64018         * benchtests/bench-skeleton.c: New skeleton file for benchmark
64019         programs.
64020         * benchtests/exp-inputs: New input file for EXP function.
64021         * benchtests/pow-inputs: New input file for POW function.
64022         * scripts/bench.pl: New script to generate source files for
64023         benchmark programs.
64025 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64027         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64028         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
64029         computations on mantissa.  Use macros for rounding and
64030         division.
64031         (denorm): Likewise.
64032         (__dbl_mp): Likewise.
64033         (add_magnitudes): Likewise.
64034         (sub_magnitudes): Likewise.
64035         (__mul): Likewise.
64036         (__sqr): Likewise.
64037         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64038         powers of two in terms of TWOPOW macro.
64039         (mp_no): Make type of mantissa as MANTISSA_T.
64040         [!RADIXI]: Define RADIXI.
64041         [!TWO52]: Define TWO52.
64042         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64044         * manual/nptl.texi (cindex): Modify threads to pthreads.
64046 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
64048         * sysdeps/x86_64/preconfigure: Regenerated.
64050 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
64052         [BZ #14155]
64053         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
64054         0x1p28 and above.
64055         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
64056         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
64057         0x1p28 and above.
64058         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
64059         * math/libm-test.inc (j0_test): Do not allow one spurious
64060         underflow exception.
64061         (y1_test): Likewise.
64063 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64065         * manual/Makefile (chapters): Add nptl.
64066         * manual/debug.texi (Debugging Support): Add link to Threads
64067         chapter.
64068         * manual/nptl.texi: New file.
64070         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
64072 2013-03-14  Petr Baudis  <pasky@ucw.cz>
64074         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
64075         for non-NULL pointer before the memory validity test. Pointed
64076         out by Holger Brunck <holger.brunck@keymile.com>.
64078 2013-03-13  Andreas Schwab  <schwab@suse.de>
64080         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
64081         instead of .os.
64083 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
64085         * timezone/zic.c: Update from tzcode 2013b.
64087 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
64089         * manual/install.texi (Configuring and compiling):
64090         Mention i686 and i586.
64091         * INSTALL: Regenerate.
64093 2013-03-12  Roland McGrath  <roland@hack.frob.com>
64095         * sysdeps/init_array/elf-init.c: New file.
64096         * csu/elf-init.c
64097         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
64098         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
64100         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
64101         __gmon_start__ as global, but as static with a .preinit_array pointer.
64102         * sysdeps/init_array/gmon-start.c: New file.  Use that.
64103         * sysdeps/init_array/crti.S: New file, empty except for comments.
64104         * sysdeps/init_array/crtn.S: Likewise.
64106 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
64108         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
64109         definining bcopy.
64110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64111         Remove Prefer_SSE_for_memop.
64112         * sysdeps/x86_64/multiarch/init-arch.h: Remove
64113         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
64114         HAS_PREFER_SSE_FOR_MEMOP.
64115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
64116         memset-x86-64.
64117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64118         Remove bzero, memset ifunc support.
64119         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
64120         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
64121         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64122         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64124 2013-03-11  Andreas Schwab  <schwab@suse.de>
64126         [BZ #15234]
64127         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
64128         by SHLIB_COMPAT.
64129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
64130         (GLIBC_2.16): Remove pthread_atfork.
64132 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
64134         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
64135         (ptestcases.h): Likewise.
64137 2013-03-08  Roland McGrath  <roland@hack.frob.com>
64139         * Makeconfig ($(common-objpfx)config.status): Depend on
64140         sysdeps/*/preconfigure{,.in} too.
64142 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
64144         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
64145         (__free_hook): Use void * instead of __malloc_ptr_t.
64146         (__malloc_hook): Likewise.
64147         (__realloc_hook): Likewise.
64148         (__memalign_hook): Likewise.
64149         (__after_morecore_hook): Likewise.
64150         * malloc/arena.c (save_malloc_hook): Likewise.
64151         (save_free_hook): Likewise.
64152         * malloc/hooks.c (malloc_hook_ini): Likewise.
64153         (realloc_hook_ini): Likewise.
64154         (memalign_hook_ini): Likewise.
64155         * malloc/malloc.c (malloc_hook_ini): Likewise.
64156         (realloc_hook_ini): Likewise.
64157         (memalign_hook_ini): Likewise.
64158         (__free_hook): Likewise.
64159         (__malloc_hook): Likewise.
64160         (__realloc_hook): Likewise.
64161         (__memalign_hook): Likewise.
64162         (__libc_malloc): Likewise.
64163         (__libc_free): Likewise.
64164         (__libc_realloc): Likewise.
64165         (__libc_memalign): Likewise.
64166         (__libc_valloc): Likewise.
64167         (__libc_pvalloc): Likewise.
64168         (__libc_calloc): Likewise.
64169         (__posix_memalign): Likewise.
64170         * malloc/morecore.c (__sbrk): Likewise.
64171         (__default_morecore): Likewise.
64173         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
64175         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
64176         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
64177         __malloc_ptrdiff_t.
64179         * malloc/malloc.h (__malloc_size_t): Remove macro.
64180         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
64181         __malloc_size_t.
64182         (old_memalign_hook): Likewise.
64183         (old_realloc_hook): Likewise.
64184         (struct hdr): Likewise.
64185         (flood): Likewise.
64186         (mallochook): Likewise.
64187         (memalignhook): Likewise.
64188         (reallochook): Likewise.
64189         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
64190         (tr_old_realloc_hook): Likewise.
64191         (tr_old_memalign_hook): Likewise.
64192         (tr_mallochook): Likewise.
64193         (tr_reallochook): Likewise.
64194         (tr_memalignhook): Likewise.
64196 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64198         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
64199         default_ldbl_pack and using as default implementation.
64200         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
64201         implementation.
64202         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
64203         redundant definition.
64204         (ldbl_insert_mantissa): Likewise.
64205         (ldbl_canonicalize): Likewise.
64206         (ldbl_nearbyint): Likewise.
64207         (ldbl_pack): Rename to ldbl_pack_ppc.
64208         (ldbl_unpack): Rename to ldbl_unpack_ppc.
64209         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
64210         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
64212 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
64215         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
64216         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
64217         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
64218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
64219         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
64220         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
64221         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
64223 2013-03-07  Andreas Jaeger  <aj@suse.de>
64225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64226         bits/mman-linux.h.
64228 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64230         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
64231         Include mpa.h and declare __MPEXP.
64232         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
64233         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64234         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64235         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
64236         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64237         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64238         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
64240         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
64241         (__slowpow): Use long double EXPL and LOGL functions to
64242         compute POW.
64243         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64244         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64245         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
64246         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64247         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64248         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
64250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
64251         intermediate variable to calculate exponent.
64252         (__sqr): Likewise.
64253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64254         Likewise.
64255         (__sqr): Likewise.
64257         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
64258         [!NO__SQR]: Define __sqr.
64259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
64260         and NO__SQR.  Remove all code except __mul and __sqr.  Include
64261         sysdeps/ieee754/dbl-64/mpa.c.
64262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64264         [BZ #12723]
64265         * posix/Makefile (tests): Add tst-pathconf.
64266         * posix/tst-pathconf.c: New test case.
64267         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
64268         _PC_PIPE_BUF.
64269         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
64271 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
64273         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
64275 2013-03-06  Andreas Jaeger  <aj@suse.de>
64277         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
64278         definition via __MAP_ANONYMOUS.
64280         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
64281         it's not part of Linux headers.
64283         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
64284         (MAP_HUGE_MASK): Define.
64286         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64287         Define.
64288         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64289         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64290         Define.
64291         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64292         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64293         Define.
64294         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64295         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
64296         Define.
64297         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64299         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
64300         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
64301         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
64302         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
64303         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
64304         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
64306         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64307         Handle f2fs.
64309         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64310         Handle f2fs and efivarfs.
64312         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
64313         f2fs.
64315         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
64316         (EFIVARFS_MAGIC): Add.
64317         (F2FS_LINK_MAX): Add.
64319 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64321         * stdio-common/vfprintf.c: Replace __builtin_expect with
64322         __glibc_unlikely.
64324 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
64326         [BZ #13550]
64327         * sysdeps/generic/bp-sym.h: Remove file.
64328         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
64329         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
64330         <bp-sym.h> and <bp-asm.h>.
64331         (__longjmp): Don't use BP_SYM.
64332         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
64333         and <bp-asm.h>.
64334         (memcpy): Don't use BP_SYM.
64335         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
64336         <bp-sym.h> and <bp-asm.h>.
64337         (memcpy): Don't use BP_SYM.
64338         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
64339         <bp-asm.h>.
64340         (memcpy): Don't use BP_SYM.
64341         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
64342         <bp-asm.h>.
64343         (memset): Don't use BP_SYM.
64344         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64345         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64346         (__bzero): Don't use BP_SYM.
64347         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64348         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64349         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
64350         <bp-sym.h> and <bp-asm.h>.
64351         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64352         pointers.
64353         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
64354         <bp-sym.h> and <bp-asm.h>.
64355         (memcpy): Don't use BP_SYM.
64356         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
64357         <bp-sym.h> and <bp-asm.h>.
64358         (memset): Don't use BP_SYM.
64359         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64360         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64361         (__bzero): Don't use BP_SYM.
64362         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64363         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64364         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
64365         <bp-sym.h> and <bp-asm.h>.
64366         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64367         pointers.
64368         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
64369         <bp-sym.h> and <bp-asm.h>.
64370         (memcpy): Don't use BP_SYM.
64371         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
64372         <bp-sym.h> and <bp-asm.h>.
64373         (memset): Don't use BP_SYM.
64374         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64375         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64376         (__bzero): Don't use BP_SYM.
64377         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64378         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64379         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
64380         <bp-sym.h> and <bp-asm.h>.
64381         (__memchr): Don't use BP_SYM.
64382         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
64383         <bp-sym.h> and <bp-asm.h>.
64384         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64385         pointers.
64386         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
64387         <bp-sym.h> and <bp-asm.h>.
64388         (memcpy): Don't use BP_SYM.
64389         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
64390         <bp-sym.h> and <bp-asm.h>.
64391         (__mempcpy): Don't use BP_SYM.
64392         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
64393         <bp-sym.h> and <bp-asm.h>.
64394         (__memrchr): Don't use BP_SYM.
64395         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
64396         <bp-sym.h> and <bp-asm.h>.
64397         (memset): Don't use BP_SYM.
64398         (__bzero): Likewise.
64399         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
64400         <bp-sym.h> and <bp-asm.h>.
64401         (__rawmemchr): Don't use BP_SYM.
64402         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
64403         <bp-sym.h> and <bp-asm.h>.
64404         (__STRCMP): Don't use BP_SYM.
64405         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
64406         <bp-sym.h> and <bp-asm.h>.
64407         (strchr): Don't use BP_SYM.
64408         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
64409         <bp-sym.h> and <bp-asm.h>.
64410         (__strchrnul): Don't use BP_SYM.
64411         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
64412         <bp-sym.h> and <bp-asm.h>.
64413         (strlen): Don't use BP_SYM.
64414         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
64415         <bp-sym.h> and <bp-asm.h>.
64416         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64417         pointers.
64418         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
64419         <bp-sym.h> and <bp-asm.h>.
64420         (__strnlen): Don't use BP_SYM.
64421         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
64422         <bp-sym.h> and <bp-asm.h>.
64423         (__GI__setjmp): Don't use BP_SYM.
64424         (_setjmp): Likewise.
64425         (__sigsetjmp): Likewise.
64426         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
64427         (L(start_addresses)): Don't use BP_SYM.
64428         (_start): Likewise.
64429         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
64430         <bp-asm.h>.
64431         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
64432         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
64433         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64434         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64435         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
64436         <bp-asm.h>.
64437         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
64438         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
64439         about bounded pointers.
64440         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64441         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64442         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
64443         <bp-asm.h>.
64444         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64445         about bounded pointers.  Remove GKM FIXME comments.
64446         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64447         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
64448         <bp-asm.h>.
64449         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
64450         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
64451         Remove GKM FIXME comments.
64452         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64453         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64454         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
64455         <bp-asm.h>.
64456         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64457         about bounded pointers.  Remove GKM FIXME comment.
64458         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
64459         and <bp-asm.h>.
64460         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64461         pointers.
64462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
64463         <bp-sym.h> and <bp-asm.h>.
64464         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
64466         <bp-sym.h> and <bp-asm.h>.
64467         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64468         comment.
64470 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64472         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
64473         call free(NULL).
64475 2013-03-05  David S. Miller  <davem@davemloft.net>
64477         * po/es.po: Update from translation team.
64479 2013-03-05  Andreas Jaeger  <aj@suse.de>
64481         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
64482         <bits/mman-linux.h>.
64483         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64484         is fine.
64485         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
64486         <bits/mman-linux.h> to end of file.
64487         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64488         is fine.
64489         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
64490         <bits/mman-linux.h> to end of file.
64491         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64492         is fine.
64493         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
64494         <bits/mman-linux.h> to end of file.
64496         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
64497         (MCL_CURRENT, MCL_FUTURE): Define here.
64499 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64501         [BZ #15232]
64502         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
64503         attribute_hidden.
64504         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64506 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64508         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
64509         fourth parameter needed for rt_sigprocmask syscall.
64510         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
64511         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64512         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
64513         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64514         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64515         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
64517 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
64519         [BZ #13550]
64520         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
64521         comment about bounded pointers.
64522         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
64523         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
64525 2013-03-04  Andreas Jaeger  <aj@suse.de>
64527         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
64528         common definitions.
64530         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
64531         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
64532         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
64533         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64534         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64535         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64537 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64539         [BZ #15055]
64540         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
64541         __ieee754_sqrl instead of __sqrl.
64543 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
64545         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
64546         * sysdeps/powerpc/fpu_control.h: ... here.
64547         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
64548         * sysdeps/powerpc/bits/fenvinline.h: ... here.
64549         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
64550         * sysdeps/powerpc/bits/mathinline.h: ... here.
64552 2013-03-01  Roland McGrath  <roland@hack.frob.com>
64554         * elf/dl-hwcaps.c (_dl_important_hwcaps):
64555         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
64556         to just [NEED_DL_SYSINFO_DSO].
64557         * elf/dl-support.c: Likewise.
64558         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
64559         * elf/rtld.c (dl_main): Likewise.
64560         * elf/setup-vdso.h (setup_vdso): Likewise.
64561         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
64562         * sysdeps/unix/sysv/linux/dl-sysdep.c
64563         (_dl_discover_osversion): Likewise.
64565 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
64567         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
64568         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64570 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
64572         * NEWS: Mention libm performance improvements and non-x86 PI
64573         futex support.
64575         * csu/libc-start.c (__pthread_initialize_minimal): Change
64576         function arguments.
64577         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64579 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
64581         [BZ #13550]
64582         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
64583         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
64584         <bp-sym.h> and <bp-asm.h>.
64585         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64586         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
64587         and <bp-asm.h>.
64588         (memcpy): Don't use BP_SYM.
64589         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
64590         <bp-asm.h>.
64591         (__mpn_add_n): Don't use BP_SYM.
64592         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
64593         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
64594         and <bp-asm.h>.
64595         (__mpn_addmul_1): Don't use BP_SYM.
64596         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64597         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
64598         <bp-sym.h>.
64599         (_setjmp): Don't use BP_SYM.
64600         (__novmx_setjmp): Likewise.
64601         (__GI__setjmp): Likewise.
64602         (__vmx_setjmp): Likewise.
64603         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64604         <bp-sym.h>.
64605         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64606         (__bzero): Don't use BP_SYM.
64607         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64608         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64609         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64610         <bp-sym.h> and <bp-asm.h>.
64611         (memcpy): Don't use BP_SYM.
64612         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64613         <bp-sym.h> and <bp-asm.h>.
64614         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64615         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64616         <bp-sym.h> and <bp-asm.h>.
64617         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64618         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64619         <bp-asm.h>.
64620         (__mpn_lshift): Don't use BP_SYM.
64621         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64622         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64623         <bp-asm.h>.
64624         (memset): Don't use BP_SYM.
64625         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64626         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64627         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64628         <bp-asm.h>.
64629         (__mpn_mul_1): Don't use BP_SYM.
64630         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64631         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64632         <bp-sym.h> and <bp-asm.h>.
64633         (memcmp): Don't use BP_SYM.
64634         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64635         <bp-sym.h> and <bp-asm.h>.
64636         (memcpy): Don't use BP_SYM.
64637         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64638         <bp-sym.h> and <bp-asm.h>.
64639         (memset): Don't use BP_SYM.
64640         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64641         <bp-sym.h> and <bp-asm.h>.
64642         (strncmp): Don't use BP_SYM.
64643         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64644         <bp-sym.h> and <bp-asm.h>.
64645         (memcpy): Don't use BP_SYM.
64646         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64647         <bp-sym.h> and <bp-asm.h>.
64648         (memset): Don't use BP_SYM.
64649         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64650         <bp-sym.h> and <bp-asm.h>.
64651         (__memchr): Don't use BP_SYM.
64652         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64653         <bp-sym.h> and <bp-asm.h>.
64654         (memcmp): Don't use BP_SYM.
64655         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64656         <bp-sym.h> and <bp-asm.h>.
64657         (memcpy): Don't use BP_SYM.
64658         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64659         <bp-sym.h> and <bp-asm.h>.
64660         (__mempcpy): Don't use BP_SYM.
64661         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64662         <bp-sym.h> and <bp-asm.h>.
64663         (__memrchr): Don't use BP_SYM.
64664         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64665         <bp-sym.h> and <bp-asm.h>.
64666         (memset): Don't use BP_SYM.
64667         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64668         <bp-sym.h> and <bp-asm.h>.
64669         (__rawmemchr): Don't use BP_SYM.
64670         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64671         <bp-sym.h> and <bp-asm.h>.
64672         (__STRCMP): Don't use BP_SYM.
64673         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64674         <bp-sym.h> and <bp-asm.h>.
64675         (strchr): Don't use BP_SYM.
64676         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64677         <bp-sym.h> and <bp-asm.h>.
64678         (__strchrnul): Don't use BP_SYM.
64679         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64680         <bp-sym.h> and <bp-asm.h>.
64681         (strlen): Don't use BP_SYM.
64682         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64683         <bp-sym.h> and <bp-asm.h>.
64684         (strncmp): Don't use BP_SYM.
64685         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64686         <bp-sym.h> and <bp-asm.h>.
64687         (__strnlen): Don't use BP_SYM.
64688         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64689         <bp-asm.h>.
64690         (__mpn_rshift): Don't use BP_SYM.
64691         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64692         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64693         <bp-sym.h> and <bp-asm.h>.
64694         (__sigsetjmp): Don't use BP_SYM.
64695         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64696         (L(start_addresses)): Don't use BP_SYM.
64697         (_start): Likewise.
64698         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64699         <bp-asm.h>.
64700         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64701         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64702         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64703         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64704         <bp-asm.h>.
64705         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64706         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64707         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64708         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64709         <bp-asm.h>.
64710         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64711         comments.
64712         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64713         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64714         <bp-asm.h>.
64715         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64716         FIXME comments.
64717         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64718         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64719         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64720         <bp-asm.h>.
64721         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64722         comment.
64723         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64724         and <bp-asm.h>.
64725         (strncmp): Don't use BP_SYM,
64726         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64727         <bp-asm.h>.
64728         (__mpn_sub_n): Don't use BP_SYM.
64729         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64730         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64731         and <bp-asm.h>.
64732         (__mpn_submul_1): Don't use BP_SYM.
64733         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64735         <bp-sym.h> and <bp-asm.h>.
64736         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64738         <bp-sym.h> and <bp-asm.h>.
64739         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64740         comment.
64742 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64745         Use ZK to minimize writes to Z.
64746         (sub_magnitudes): Simplify code a bit.
64747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64748         Use ZK to minimize writes to Z.
64749         (sub_magnitudes): Simplify code a bit.
64751 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64753         * csu/gmon-start.c: Add special exception to license text.
64755 2013-02-27  Richard Henderson  <rth@redhat.com>
64757         * scripts/config.guess: Update from config.git.
64758         * scripts/config.sub: Likewise.
64760 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64762         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64764         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64766         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64768         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64770         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64772 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64774         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64775         [$(build-shared = yes].
64777 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64779         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64780         (__mul): Reduce iterations for calculating mantissa.
64782         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64783         MPTWO.
64784         (__mpranred): Likewise.
64786         [BZ #15160]
64787         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64788         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64790 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64792         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64793         Define __attribute__.
64795 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64797         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64798         unused.
64799         * posix/regex_internal.h (__attribute): Remove.
64800         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64801         (re_string_context_at): Likewise.
64802         (bitset_not): Use __attribute__ and mark function as possibly
64803         unused.
64804         (bitset_merge): Likewise.
64805         (bitset_mask): Likewise.
64806         (re_string_char_size_at): Likewise.
64807         (re_string_wchar_at): Likewise.
64808         (re_string_elem_size_at): Likewise.
64810 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64812         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64813         code.
64814         (cc32): Likewise.
64816         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64817         (__acr): Likewise.
64818         (__cpy): Likewise.
64819         (norm): Likewise.
64820         (denorm): Likewise.
64821         (__dbl_mp): Likewise.
64822         (add_magnitudes): Likewise.
64823         (sub_magnitudes): Likewise.
64824         (__mul): Likewise.
64825         (__inv): Likewise.
64827         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64828         style.
64830         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64831         style.
64833         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64834         code.
64836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64837         up changes with default code.
64838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64839         Likewise.
64841 2013-02-24  Allan McRae  <allan@archlinux.org>
64843         * manual/socket.texi (The Internet Namespace): Order menu items
64844         to match that in the file.
64846         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64847         node listing of the info page menu.
64849 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64851         [BZ #13550]
64852         * sysdeps/i386/bp-asm.h: Remove file.
64853         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64854         (PARMS): Do not use macros from bp-asm.h.
64855         (S1): Likewise.
64856         (S2): Likewise.
64857         (SIZE): Likewise.
64858         (__mpn_add_n): Do not use BP_SYM
64859         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64860         "bp-asm.h".
64861         (PARMS): Do not use macros from bp-asm.h.
64862         (S1): Likewise.
64863         (SIZE): Likewise.
64864         (__mpn_addmul_1): Do not use BP_SYM
64865         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64866         "bp-asm.h".
64867         (PARMS): Do not use macros from bp-asm.h.
64868         (SIGMSK): Likewise.
64869         (_setjmp): Likewise.  Do not use BP_SYM.
64870         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64871         "bp-asm.h".
64872         (PARMS): Do not use macros from bp-asm.h.
64873         (SIGMSK): Likewise.
64874         (setjmp): Likewise.  Do not use BP_SYM.
64875         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64876         "bp-asm.h".
64877         (PARMS): Do not use macros from bp-asm.h.
64878         (__frexp): Do not use BP_SYM.
64879         (frexp): Likewise.
64880         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64881         "bp-asm.h".
64882         (PARMS): Do not use macros from bp-asm.h.
64883         (__frexpf): Do not use BP_SYM.
64884         (frexpf): Likewise.
64885         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64886         "bp-asm.h".
64887         (PARMS): Do not use macros from bp-asm.h.
64888         (__frexpl): Do not use BP_SYM.
64889         (frexpl): Likewise.
64890         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64891         "bp-asm.h".
64892         (PARMS): Do not use macros from bp-asm.h.
64893         (__remquo): Do not use BP_SYM.
64894         (remquo): Likewise.
64895         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64896         "bp-asm.h".
64897         (PARMS): Do not use macros from bp-asm.h.
64898         (__remquof): Do not use BP_SYM.
64899         (remquof): Likewise.
64900         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64901         "bp-asm.h".
64902         (PARMS): Do not use macros from bp-asm.h.
64903         (__remquol): Do not use BP_SYM.
64904         (remquol): Likewise.
64905         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64906         "bp-asm.h".
64907         (PARMS): Do not use macros from bp-asm.h.
64908         (DEST): Likewise.
64909         (SRC): Likewise.
64910         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64911         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64912         "bp-asm.h".
64913         (PARMS): Do not use macros from bp-asm.h.
64914         (strlen): Do not use BP_SYM.
64915         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64916         "bp-asm.h".
64917         (PARMS): Do not use macros from bp-asm.h.
64918         (S1): Likewise.
64919         (S2): Likewise.
64920         (SIZE): Likewise.
64921         (__mpn_add_n): Do not use BP_SYM.
64922         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64923         "bp-asm.h".
64924         (PARMS): Do not use macros from bp-asm.h.
64925         (S1): Likewise.
64926         (SIZE): Likewise.
64927         (__mpn_addmul_1): Do not use BP_SYM.
64928         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64929         weak_alias.
64930         (bzero): Likewise.
64931         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64932         "bp-asm.h".
64933         (PARMS): Do not use macros from bp-asm.h.
64934         (S): Likewise.
64935         (SIZE): Likewise.
64936         (__mpn_lshift): Do not use BP_SYM.
64937         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64938         "bp-asm.h".
64939         (PARMS): Do not use macros from bp-asm.h.
64940         (DEST): Likewise.
64941         (SRC): Likewise.
64942         (LEN): Likewise.
64943         (memcpy): Likewise.  Do not use BP_SYM.
64944         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64945         libc_hidden_def and weak_alias.
64946         (mempcpy): Do not use BP_SYM in weak_alias.
64947         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64948         "bp-asm.h".
64949         (PARMS): Do not use macros from bp-asm.h.
64950         (DEST): Likewise.
64951         (LEN): Likewise.
64952         [!BZERO_P] (CHR): Likewise.
64953         (memset): Likewise.  Do not use BP_SYM.
64954         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64955         "bp-asm.h".
64956         (PARMS): Do not use macros from bp-asm.h.
64957         (S1): Likewise.
64958         (SIZE): Likewise.
64959         (__mpn_mul_1): Do not use BP_SYM.
64960         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64961         "bp-asm.h".
64962         (PARMS): Do not use macros from bp-asm.h.
64963         (S): Likewise.
64964         (SIZE): Likewise.
64965         (__mpn_rshift): Do not use BP_SYM.
64966         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64967         "bp-asm.h".
64968         (PARMS): Do not use macros from bp-asm.h.
64969         (STR): Likewise.
64970         (CHR): Likewise.
64971         (strchr): Likewise.  Do not use BP_SYM.
64972         (index): Do not use BP_SYM in weak_alias.
64973         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64974         "bp-asm.h".
64975         (PARMS): Do not use macros from bp-asm.h.
64976         (DEST): Likewise.
64977         (SRC): Likewise.
64978         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64979         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64980         "bp-asm.h".
64981         (PARMS): Do not use macros from bp-asm.h.
64982         (strlen): Do not use BP_SYM.
64983         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64984         "bp-asm.h".
64985         (PARMS): Do not use macros from bp-asm.h.
64986         (S1): Likewise.
64987         (S2): Likewise.
64988         (SIZE): Likewise.
64989         (__mpn_sub_n): Do not use BP_SYM.
64990         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64991         "bp-asm.h".
64992         (PARMS): Do not use macros from bp-asm.h.
64993         (S1): Likewise.
64994         (SIZE): Likewise.
64995         (__mpn_submul_1): Do not use BP_SYM.
64996         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64997         "bp-asm.h".
64998         (PARMS): Do not use macros from bp-asm.h.
64999         (S1): Likewise.
65000         (S2): Likewise.
65001         (SIZE): Likewise.
65002         (__mpn_add_n): Do not use BP_SYM.
65003         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
65004         weak_alias.
65005         (bzero): Likewise.
65006         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
65007         "bp-asm.h".
65008         (PARMS): Do not use macros from bp-asm.h.
65009         (BLK2): Likewise.
65010         (LEN): Likewise.
65011         (memcmp): Do not use BP_SYM.
65012         (bcmp): Do not use BP_SYM in weak_alias.
65013         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
65014         "bp-asm.h".
65015         (PARMS): Do not use macros from bp-asm.h.
65016         (DEST): Likewise.
65017         (SRC): Likewise.
65018         (LEN): Likewise.
65019         (memcpy): Likewise.  Do not use BP_SYM.
65020         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
65021         "bp-asm.h".
65022         (PARMS): Do not use macros from bp-asm.h.
65023         (DEST): Likewise.
65024         (SRC): Likewise.
65025         (LEN): Likewise.
65026         (memmove): Likewise.  Do not use BP_SYM.
65027         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
65028         "bp-asm.h".
65029         (PARMS): Do not use macros from bp-asm.h.
65030         (DEST): Likewise.
65031         (SRC): Likewise.
65032         (LEN): Likewise.
65033         (__mempcpy): Likewise.  Do not use BP_SYM.
65034         (mempcpy): Do not use BP_SYM in weak_alias.
65035         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
65036         "bp-asm.h".
65037         (PARMS): Do not use macros from bp-asm.h.
65038         (DEST): Likewise.
65039         (LEN): Likewise.
65040         [!BZERO_P] (CHR): Likewise.
65041         (memset): Likewise.  Do not use BP_SYM.
65042         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
65043         "bp-asm.h".
65044         (PARMS): Do not use macros from bp-asm.h.
65045         (STR2): Likewise.
65046         (strcmp): Do not use BP_SYM.
65047         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
65048         "bp-asm.h".
65049         (PARMS): Do not use macros from bp-asm.h.
65050         (STR): Likewise.
65051         (DELIM): Likewise.
65052         [USE_AS_STRTOK_R] (SAVE): Likewise.
65053         (FUNCTION): Likewise.  Do not use BP_SYM.
65054         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
65055         aliases.
65056         (strtok_r): Likewise.
65057         (__GI___strtok_r): Likewise.
65058         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65059         (PARMS): Do not use macros from bp-asm.h.
65060         (S): Likewise.
65061         (SIZE): Likewise.
65062         (__mpn_lshift): Do not use BP_SYM.
65063         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65064         (PARMS): Do not use macros from bp-asm.h.
65065         (STR): Likewise.
65066         (CHR): Likewise.
65067         (__memchr): Do not use BP_SYM.
65068         (memchr): Do not use BP_SYM in weak_alias.
65069         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65070         (PARMS): Do not use macros from bp-asm.h.
65071         (BLK2): Likewise.
65072         (LEN): Likewise.
65073         (memcmp): Do not use BP_SYM.
65074         (bcmp): Do not use BP_SYM in weak_alias.
65075         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
65076         (PARMS): Do not use macros from bp-asm.h.
65077         (S1): Likewise.
65078         (SIZE): Likewise.
65079         (__mpn_mul_1): Do not use BP_SYM.
65080         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
65081         "bp-asm.h".
65082         (PARMS): Do not use macros from bp-asm.h.
65083         (STR): Likewise.
65084         (CHR): Likewise.
65085         (__rawmemchr): Do not use BP_SYM.
65086         (rawmemchr): Do not use BP_SYM in weak_alias.
65087         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65088         (PARMS): Do not use macros from bp-asm.h.
65089         (S): Likewise.
65090         (SIZE): Likewise.
65091         (__mpn_rshift): Do not use BP_SYM.
65092         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65093         (PARMS): Do not use macros from bp-asm.h.
65094         (SIGMSK): Likewise.
65095         (__sigsetjmp): Likewise.  Do not use BP_SYM.
65096         * sysdeps/i386/start.S: Do not include "bp-sym.h".
65097         (_start): Do not use BP_SYM.
65098         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
65099         (PARMS): Do not use macros from bp-asm.h.
65100         (DEST): Likewise.
65101         (SRC): Likewise.
65102         (__stpcpy): Likewise.  Do not use BP_SYM.
65103         (stpcpy): Do not use BP_SYM in weak_alias.
65104         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
65105         "bp-asm.h".
65106         (PARMS): Do not use macros from bp-asm.h.
65107         (DEST): Likewise.
65108         (SRC): Likewise.
65109         (LEN): Likewise.
65110         (__stpncpy): Likewise.  Do not use BP_SYM.
65111         (stpncpy): Do not use BP_SYM in weak_alias.
65112         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65113         (PARMS): Do not use macros from bp-asm.h.
65114         (STR): Likewise.
65115         (CHR): Likewise.
65116         (strchr): Likewise.  Do not use BP_SYM.
65117         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
65118         "bp-asm.h".
65119         (PARMS): Do not use macros from bp-asm.h.
65120         (STR): Likewise.
65121         (CHR): Likewise.
65122         (__strchrnul): Likewise.  Do not use BP_SYM.
65123         (strchrnul): Do not use BP_SYM in weak_alias.
65124         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
65125         "bp-asm.h".
65126         (PARMS): Do not use macros from bp-asm.h.
65127         (STOP): Likewise.
65128         (strcspn): Do not use BP_SYM.
65129         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
65130         "bp-asm.h".
65131         (PARMS): Do not use macros from bp-asm.h.
65132         (STR): Likewise.
65133         (STOP): Likewise.
65134         (strpbrk): Likewise.  Do not use BP_SYM.
65135         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
65136         "bp-asm.h".
65137         (PARMS): Do not use macros from bp-asm.h.
65138         (STR): Likewise.
65139         (CHR): Likewise.
65140         (strrchr): Likewise.  Do not use BP_SYM.
65141         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
65142         (PARMS): Do not use macros from bp-asm.h.
65143         (SKIP): Likewise.
65144         (strspn): Do not use BP_SYM.
65145         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
65146         (PARMS): Do not use macros from bp-asm.h.
65147         (STR): Likewise.
65148         (DELIM): Likewise.
65149         (SAVE): Likewise.
65150         (FUNCTION): Likewise.  Do not use BP_SYM.
65151         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
65152         aliases.
65153         (strtok_r): Likewise.
65154         (__GI___strtok_r): Likewise.
65155         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65156         (PARMS): Do not use macros from bp-asm.h.
65157         (S1): Likewise.
65158         (S2): Likewise.
65159         (SIZE): Likewise.
65160         (__mpn_sub_n): Do not use BP_SYM.
65161         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
65162         "bp-asm.h".
65163         (PARMS): Do not use macros from bp-asm.h.
65164         (S1): Likewise.
65165         (SIZE): Likewise.
65166         (__mpn_submul_1): Do not use BP_SYM.
65167         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
65168         <bp-sym.h>.
65169         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
65170         and <bp-asm.h>.
65171         (PARMS): Do not use macros from bp-asm.h.
65172         (FLAGS): Likewise.
65173         (PTID): Likewise.
65174         (TLS): Likewise.
65175         (CTID): Likewise.
65176         (__clone): Do not use BP_SYM.
65177         (clone): Do not use BP_SYM in weak_alias.
65178         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
65179         and <bp-asm.h>.
65180         (PARMS): Do not use macros from bp-asm.h.
65181         (LEN): Likewise.
65182         (__mmap64): Do not use BP_SYM.
65183         (mmap64): Do not use BP_SYM in weak_alias.
65184         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65185         <bp-sym.h> and <bp-asm.h>.
65186         (PARMS): Do not use macros from bp-asm.h.
65187         (__posix_fadvise64_l64): Do not use BP_SYM.
65188         * sysdeps/unix/sysv/linux/i386/semtimedop.S
65189         (PARMS): Do not use macros from bp-asm.h.
65190         (NSOPS): Likewise.
65191         (semtimedop): Do not use BP_SYM.
65192         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
65193         and <bp-asm.h>.
65195 2013-02-21  Allan McRae  <allan@archlinux.org>
65197         * manual/message.texi (Charset conversion in gettext):
65198         Move @end statement to beginning of line.
65200 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
65203         static.
65204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65205         Likewise.
65207         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
65208         (denorm): Likewise.
65209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
65210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
65212 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65214         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
65215         tail-call to the resolved function if pltexit isn't needed.
65217 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65219         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
65220         or Y being zero as being unlikely.
65221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65222         Likewise.
65224 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
65226         * manual/nss.texi (System Databases and Name Service Switch):
65227         Remove frobnicate @pxref.
65229 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65231         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65232         __attribute__ ((unused)) to __attribute__ ((__unused__)).
65234 2013-02-20  Petr Machata  <pmachata@redhat.com>
65236         * elf/elf.h (R_ARM_TARGET1): New macro.
65237         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
65238         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
65239         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
65240         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
65241         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
65242         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
65243         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
65244         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
65245         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
65246         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
65247         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
65248         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
65249         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
65250         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
65251         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
65252         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
65253         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
65254         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
65255         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
65256         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
65257         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
65258         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65259         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
65260         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
65261         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
65262         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
65263         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
65264         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
65265         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
65266         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
65267         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
65268         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65269         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
65270         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
65271         (R_ARM_THM_GOT_BREL12): Likewise.
65272         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
65273         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
65274         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
65275         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
65276         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
65277         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
65278         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
65279         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
65280         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
65282 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65284         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65285         __attribute_used__ to __attribute__ ((unused)).
65287 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65289         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
65290         powerpc mpa.c.
65291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
65292         comment formatting.
65293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
65295 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
65297         [BZ #13550]
65298         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
65299         Remove macro.
65300         (ENTER): Remove both macro definitions.
65301         (LEAVE): Likewise.
65302         (CHECK_BOUNDS_LOW): Likewise.
65303         (CHECK_BOUNDS_HIGH): Likewise.
65304         (CHECK_BOUNDS_BOTH): Likewise.
65305         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
65306         (RETURN_BOUNDED_POINTER): Likewise.
65307         (RETURN_NULL_BOUNDED_POINTER): Likewise.
65308         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
65309         (POP_ERRNO_LOCATION_RETURN): Likewise.
65310         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
65311         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65312         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
65313         macros.
65314         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65315         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
65316         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
65317         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
65318         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
65319         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
65320         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
65321         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
65322         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
65323         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
65324         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
65325         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
65326         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65327         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
65328         removed macros.
65329         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65330         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
65331         macros.
65332         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65333         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
65334         * sysdeps/i386/i586/memset.S (memset): Likewise.
65335         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
65336         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65337         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
65338         macros.
65339         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65340         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
65341         Change uses of L(2) to L(out).
65342         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
65343         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
65344         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
65345         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65346         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
65347         removed macros.
65348         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65349         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65350         macros.
65351         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65352         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
65353         (RETURN): Do not use macro LEAVE.
65354         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
65355         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
65356         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
65357         * sysdeps/i386/i686/memset.S (memset): Likewise.
65358         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
65359         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
65360         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65361         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
65362         Likewise.
65363         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65364         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
65365         L(1_2) and L(1_3) into L(1).
65366         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65367         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
65368         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65369         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
65370         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65371         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
65372         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
65373         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65374         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
65375         macros.
65376         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
65377         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65378         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
65379         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
65380         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
65381         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65382         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
65383         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
65384         * sysdeps/i386/strcspn.S (strcspn): Likewise.
65385         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
65386         * sysdeps/i386/strrchr.S (strrchr): Likewise.
65387         * sysdeps/i386/strspn.S (strspn): Likewise.
65388         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
65389         conditional code.
65390         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65391         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
65392         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65393         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
65394         L(1_3) into L(1_1).
65395         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
65396         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65397         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
65398         macros.
65399         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65401 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
65403         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
65404         macro.
65406 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65408         * math/atest-exp.c (exp_mpn): Remove ROUND.
65409         * math/atest-exp2.c (exp_mpn): Likewise.
65410         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
65412         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
65413         * stdlib/tst-tls-atexit-lib.c: Likewise.
65414         * stdlib/tst-tls-atexit.c: Likewise.
65416 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65418         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
65419         and __attribute_alloc_size__.
65421 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65423         * include/programs/xmalloc.h: Change __attribute_alloc_size to
65424         __attribute_alloc_size__.
65425         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
65426         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
65428 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65430         * include/programs/xmalloc.h: New file.
65431         * catgets/gencat.c: Include it.
65432         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
65433         * elf/pldd.c: Likewise.
65434         * iconv/iconv_charmap.c: Likewise.
65435         * iconv/iconvconfig.c: Likewise.
65436         * iconv/strtab.c: Likewise.
65437         * locale/programs/locale.c: Likewise.
65438         * locale/programs/localedef.h: Likewise.
65439         * locale/programs/simple-hash.c: Likewise.
65440         * nscd/nscd.h: Likewise.
65441         * nss/makedb.c: Likewise.
65442         * sysdeps/generic/ldconfig.h: Likewise.
65444 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65446         * Versions.def: Add GLIBC_2.18.
65447         * include/link.h (struct link_map): New member l_tls_dtor_count.
65448         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
65449         (__call_tls_dtors): Likewise.
65450         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
65451         __cxa_thread_atexit_impl.
65452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65453         Likewise.
65454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65455         Likewise.
65456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
65457         Likewise.
65458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
65459         Likewise.
65460         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
65462         Likewise.
65463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
65464         Likewise.
65465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65467         Likewise.
65468         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
65469         (tests): Add test case tst-tls-atexit.
65470         (modules-names): Add shared library for tst-tls-atexit.
65471         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
65472         (GLIBC_PRIVATE): Add __call_tls_dtors.
65473         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
65474         for libstdc++.
65475         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
65476         * stdlib/tst-tls-atexit.c: New test case.
65477         * stdlib/tst-tls-atexit-lib.c: New test case.
65479         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
65481         * elf/Versions (ld): Add _dl_find_dso_for_object.
65482         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
65483         * elf/dl-open.c (_dl_find_dso_for_object): New function.
65484         (dl_open_worker): Use _dl_find_dso_for_object.
65485         * elf/dl-sym.c (do_sym): Likewise.
65486         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
65488 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65490         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
65491         Syntactic changes only.
65492         (_dl_runtime_profile): Do a tail-call to the resolved function.
65494 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
65496         [BZ #13550]
65497         * sysdeps/x86_64/bp-asm.h: Remove file.
65498         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
65499         <bp-sym.h> and <bp-asm.h>.
65500         (__clone): Do not use BP_SYM.
65501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
65502         <bp-sym.h> and <bp-asm.h>.
65503         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65504         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
65505         "bp-asm.h".
65506         (_setjmp): Do not use BP_SYM.
65507         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
65508         "bp-asm.h".
65509         (setjmp): Do not use BP_SYM.
65510         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
65511         libc_hidden_def.
65512         (mempcpy): Do not use BP_SYM in weak_alias.
65513         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
65514         "bp-asm.h".
65515         (strchr): Do not use BP_SYM.
65516         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
65517         "bp-asm.h".
65518         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
65519         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
65520         (_start): Do not use BP_SYM.
65521         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
65522         "bp-asm.h".
65523         (strcat): Do not use BP_SYM.
65524         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
65525         "bp-asm.h".
65526         (STRCMP): Do not use BP_SYM.
65527         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
65528         "bp-asm.h".
65529         (STRCPY): Do not use BP_SYM.
65530         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
65531         "bp-asm.h".
65532         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
65533         "bp-asm.h".
65534         (FUNCTION): Do not use BP_SYM.
65535         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
65536         weak_alias.
65537         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
65539 2013-02-17  Andreas Jaeger  <aj@suse.de>
65541         * time/Versions: Sort entries.
65542         * string/Versions: Likewise.
65543         * resolv/Versions: Likewise.
65544         * posix/Versions: Likewise.
65545         * iconv/Versions: Likewise.
65546         * elf/Versions: Likewise.
65547         * wcsmbs/Versions: Likewise.
65549 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65551         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
65552         loop termination condition.
65554         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
65555         variable to calculate EZ.
65556         (__sqr): Likewise.
65558         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
65559         the lower precision input.
65561 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
65563         [BZ #13550]
65564         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
65565         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
65566         (run-via-rtld-prefix): Do not handle %-bp tests.
65567         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
65568         (all-object-suffixes): Remove .ob.
65569         (bppfx): Remove variable.
65570         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
65571         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
65572         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
65573         [$(build-bounded) = yes] (libtype.ob): Likewise.
65574         * Makerules (elide-routines.ob): Remove variable.
65575         (do-tests-clean): Do not handle *-bp.out.
65576         (common-mostlyclean): Do not handle *-bp and *-bp.out.
65577         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
65578         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
65579         (tests): Do not include $(tests-bp.out).
65580         (xtests): Do not include $(xtests-bp.out).
65581         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
65582         [$(build-bounded) = yes] ($(addprefix
65583         $(objpfx),$(binaries-bounded))): Remove rule.
65584         ($(objpfx)%-bp.out): Remove rule.
65585         * config.make.in (build-bounded): Remove variable.
65586         * crypt/Makefile [$(build-bounded) = yes]
65587         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
65588         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
65589         append to variable.
65590         [$(build-bounded) = yes] (install-lib): Likewise.
65591         [$(build-bounded) = yes] (generated): Likewise.
65592         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
65593         Remove rule.
65594         * intl/Makefile [$(build-bounded) = yes]
65595         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
65596         * math/Makefile [$(build-bounded) = yes]
65597         ($(tests:%=$(objpfx)%-bp): Likewise.
65598         * misc/Makefile [$(build-bounded) = yes]
65599         ($(objpfx)tst-tsearch-bp): Likewise.
65600         * nptl/Makeconfig (bounded-thread-library): Remove variable.
65601         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65602         Remove dependency.
65603         * string/Makefile (o-objects.ob): Remove variable.
65604         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65605         (CFLAGS-.ob): Remove variable.
65606         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65607         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65608         both definitions of variable.
65609         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65610         (ASFLAGS-.ob): Remove variable.
65612 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65614         [BZ #13550]
65615         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65616         Remove __BOUNDED_POINTERS__ from condition.
65617         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65618         * string/bits/string2.h [!__NO_STRING_INLINES &&
65619         !__BOUNDED_POINTERS__]: Likewise.
65620         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65621         Likewise.
65622         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65623         Remove conditional code.
65624         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65625         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65626         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65627         condition.
65629         [BZ #13550]
65630         * csu/libc-start.c: Do not include <bp-sym.h>.
65631         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65632         * elf/dl-open.c: Do not include <bp-sym.h>.
65633         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65634         * math/fegetenv.c: Do not include <bp-sym.h>.
65635         (fegetenv): Do not use BP_SYM in versioned symbols.
65636         * nptl/sysdeps/pthread/bits/libc-lockP.h
65637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65638         <bp-sym.h>.
65639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65640         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65642         (__pthread_mutex_destroy): Likewise.
65643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65644         (__pthread_mutex_lock): Likewise.
65645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65646         (__pthread_mutex_trylock): Likewise.
65647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65648         (__pthread_mutex_unlock): Likewise.
65649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65650         (__pthread_mutexattr_init): Likewise.
65651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65652         (__pthread_mutexattr_destroy): Likewise.
65653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65654         (__pthread_mutexattr_settype): Likewise.
65655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65656         (__pthread_rwlock_init): Likewise.
65657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65658         (__pthread_rwlock_destroy): Likewise.
65659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65660         (__pthread_rwlock_rdlock): Likewise.
65661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65662         (__pthread_rwlock_tryrdlock): Likewise.
65663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65664         (__pthread_rwlock_wrlock): Likewise.
65665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65666         (__pthread_rwlock_trywrlock): Likewise.
65667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65668         (__pthread_rwlock_unlock): Likewise.
65669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65670         (__pthread_key_create): Likewise.
65671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65672         (__pthread_setspecific): Likewise.
65673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65674         (__pthread_getspecific): Likewise.
65675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65676         Likewise.
65677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65678         (_pthread_cleanup_push_defer): Likewise.
65679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65680         (_pthread_cleanup_pop_restore): Likewise.
65681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65682         (pthread_setcancelstate): Likewise.
65683         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65684         <bp-sym.h>.
65685         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65686         (memchr): Do not use BP_SYM in weak_alias.
65687         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65688         (fegetenv): Do not use BP_SYM in versioned symbols.
65689         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65690         (fesetenv): Do not use BP_SYM in versioned symbols.
65691         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65692         (feupdateenv): Do not use BP_SYM in versioned symbols.
65693         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65694         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65695         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65696         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65697         (open64): Do not use BP_SYM in weak_alias.
65698         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65699         (fegetenv): Do not use BP_SYM in versioned symbols.
65700         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65701         (fesetenv): Do not use BP_SYM in versioned symbols.
65702         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65703         (feupdateenv): Do not use BP_SYM in versioned symbols.
65704         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65705         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65706         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65707         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65708         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65709         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65710         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65711         <bp-sym.h>.
65712         (__libc_start_main): Do not use BP_SYM.
65714 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65717         redundant return line.
65718         (norm): Likewise.
65719         (denorm): Likewise.
65720         (dbl_mp): Likewise.
65721         (sub_magnitudes): Likewise.
65722         (__add): Likewise.
65723         (__sub): Likewise.
65724         (__mul): Likewise.
65725         (__inv): Likewise.
65726         (__dvd): Likewise.
65727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65728         (norm): Likewise.
65729         (denorm): Likewise.
65730         (dbl_mp): Likewise.
65731         (sub_magnitudes): Likewise.
65732         (__add): Likewise.
65733         (__sub): Likewise.
65734         (__mul): Likewise.
65735         (__inv): Likewise.
65736         (__dvd): Likewise.
65738         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65739         instead of __mul.
65740         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65741         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65742         (cc32): Likewise.
65744         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65745         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65746         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65747         of __mul for squares.
65748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65749         function
65750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65751         Likewise.
65752         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65753         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65755 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65757         [BZ #13550]
65758         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65759         code.
65760         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65761         prototype or function definition.  Rename ubp_* variables and
65762         parameters.  Remove argv definitions conditional on
65763         [__BOUNDED_POINTERS__].
65764         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65765         * elf/dl-runtime.c (_dl_fixup): Likewise.
65766         * include/set-hooks.h (RUN_HOOK): Likewise.
65767         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65768         definition.
65769         * string/strcpy.c (strcpy): Do not use __unbounded.
65770         * sysdeps/generic/frame.h (struct layout): Likewise.
65771         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65772         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65773         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65774         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65775         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65776         (__backtrace): Likewise.
65777         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65778         use __ptrvalue.
65779         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65780         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65781         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65782         Likewise.
65783         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65784         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65785         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65786         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65787         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65788         Do not use __unbounded.
65789         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65790         Rename __unboundedrlimits parameter to rlimits in prototype.
65791         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65792         Do not use __unbounded.
65793         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65794         not use __ptrvalue.
65795         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65796         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65797         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65798         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65799         __ptrvalue or __unbounded.
65800         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65801         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65802         use __unbounded.
65803         (__new_msgctl): Do not use __ptrvalue.
65804         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65805         __unbounded.
65806         (__libc_msgrcv): Do not use __ptrvalue.
65807         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65808         startup_info): Do not use __unbounded.
65809         (__libc_start_main): Likewise.  Rename ubp_* variables and
65810         parameters.  Remove argv definitions conditional on
65811         [__BOUNDED_POINTERS__].
65812         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65813         __ptrvalue.
65814         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65815         use __unbounded.
65816         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65817         or __ptrvalue.
65818         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65819         use __unbounded.
65820         (__new_shmctl): Do not use __ptrvalue.
65821         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65822         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65823         Likewise.
65824         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65825         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65826         (__libc_sigaction): Likewise.
65827         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65828         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65829         Likewise.
65830         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65832 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65834         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65836         * string/mempcpy.c: Implement by calling memcpy.
65838 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65840         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65843         evaluation.
65845         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65846         values in the mantissa.
65848         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65849         minimize writes to Z.
65850         (sub_magnitudes): Simplify code a bit.
65852 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65854         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65855         from the message.  The linker prefixes all warnings with that already.
65857 2013-02-12  Andreas Schwab  <schwab@suse.de>
65859         [BZ #15078]
65860         * posix/regexec.c (extend_buffers): Add parameter min_len.
65861         (check_matching): Pass minimum needed length.
65862         (clean_state_log_if_needed): Likewise.
65863         (get_subexp): Likewise.
65864         * posix/Makefile (tests): Add bug-regex34.
65865         (bug-regex34-ENV): Define.
65866         * posix/bug-regex34.c: New file.
65868         [BZ #11561]
65869         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65870         elements compare against the byte sequence of it, not its name.
65871         * posix/Makefile (tests): Add bug-regex35.
65872         (bug-regex35-ENV): Define.
65873         * posix/bug-regex35.c: New file.
65875 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65877         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65878         comment.
65879         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65880         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65881         (CHECK_EOL): Add undef.
65883 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65885         * bits/stdlib-bsearch.h: New file.
65886         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65887         * stdlib/stdlib.h: Likewise.
65889 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65891         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65892         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65893         declaration.
65894         * manual/search.texi (Array Search Function): Add missing const in
65895         lfind prototype.
65896         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65897         declaration to use rlim_t.
65898         (Basic Scheduling Functions): Remove erroneous const from
65899         sched_getparam prototype.  Remove erroneous * from
65900         sched_get_priority_max and sched_get_priority_min prototypes.
65901         (Resource Usage): Fix summary @comment on vtimes to refer to
65902         sys/vtimes.h rather than vtimes.h.
65903         Add missing *s in vtimes prototype.
65904         (Limits on Resources): Fix ulimit prototype to return long int.
65905         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65906         prototypes to use long int rather than double.
65907         (BSD Random): Fix initstate and setstate to use char *, not void *.
65908         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65909         prototype to make second argument 'struct aiocb64 *const[]'.
65910         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65911         (Status of AIO Operations): Remove erroneous const in aio_return and
65912         aio_return64 prototypes.
65913         (Synchronizing I/O): Fix sync prototype to return void.
65914         * manual/startup.texi (Suboptions): Remove an erroneous const in
65915         getsubopt prototype.
65916         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65917         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65918         use size_t rather than int.
65919         (Scanning All Users): Likewise for getpwent_r.
65920         (Setting Groups): Add missing const to setgroups prototype.
65921         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65922         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65923         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65924         'const void *' rather than 'const char *'.
65925         (Host Address Functions): Likewise for inet_ntop.
65926         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65927         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65928         ssize_t for return value.
65929         (Sending Data): Likewise for send, sendto, sendmsg.
65930         (Socket Option Functions): Add a missing const in setsockopt prototype.
65931         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65932         use wchar_t for the argument.
65933         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65934         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65935         take no arguments.
65936         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65937         double/float/long double for second argument.
65938         Fix return types of significand, significandf, significandl.
65939         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65940         argument in fchmod prototype.
65941         (File Owner): Use uid_t and gid_t in fchown prototype.
65942         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65943         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65944         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65945         use 'const struct dirent **' as argument types to CMP function pointer
65946         argument.
65947         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65948         (File Times): Fix summary magic @comment for struct utimbuf and utime
65949         to refer to utime.h, not time.h.
65950         * manual/string.texi (Argz Functions): Add missing const in
65951         argz_extract and argz_next prototypes.
65952         (Finding Tokens in a String): Likewise for basename.
65953         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65954         (Copying and Concatenation): Fix typo in wmemmove prototype.
65955         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65956         (Signal Stack): Remove erroneous const in sigstack prototype.
65957         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65958         prototype.
65959         (Simple Calendar Time): Likewise for stime.
65960         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65961         prototype.
65962         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65963         say sys/sysctl.h instead.
65964         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65965         and vsyslog prototypes.
65967 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65969         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65970         Remove.
65972 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65974         * misc/sys/mman.h: Fix typo in mremap comment.
65976 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65978         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65979         the '\0' terminator.
65981 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65983         [BZ #13550]
65984         * debug/segfault.c: Don't include <bp-checks.h>.
65985         * sysdeps/generic/bp-checks.h: Remove file.
65986         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65987         (__GETDENTS): Don't use CHECK_N.
65988         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65989         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65990         (__getgroups): Don't use CHECK_N.
65991         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65992         (setgroups): Don't use CHECK_N.
65993         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65994         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65995         (__libc_msgrcv): Don't use CHECK_N.
65996         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65997         (__libc_msgsnd): Don't use CHECK_N.
65998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65999         <bp-checks.h>.
66000         (__libc_pread): Don't use CHECK_N.
66001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
66002         include <bp-checks.h>.
66003         (__libc_pread64): Don't use CHECK_N.
66004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
66005         include <bp-checks.h>.
66006         (__libc_pwrite): Don't use CHECK_N.
66007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
66008         include <bp-checks.h>.
66009         (__libc_pwrite64): Don't use CHECK_N.
66010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
66011         <bp-checks.h>.
66012         (__libc_pread): Don't use CHECK_N.
66013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
66014         include <bp-checks.h>.
66015         (__libc_pread64): Don't use CHECK_N.
66016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
66017         include <bp-checks.h>.
66018         (__libc_pwrite): Don't use CHECK_N.
66019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
66020         include <bp-checks.h>.
66021         (__libc_pwrite64): Don't use CHECK_N.
66022         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
66023         (do_pread): Don't use CHECK_N.
66024         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
66025         (do_pread64): Don't use CHECK_N.
66026         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
66027         (do_pwrite): Don't use CHECK_N.
66028         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
66029         (do_pwrite64): Don't use CHECK_N.
66030         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
66031         (__libc_readv): Don't use CHECK_N.
66032         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
66033         (semop): Don't use CHECK_N.
66034         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
66035         <bp-checks.h>.
66036         (semtimedop): Don't use CHECK_N.
66037         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
66038         (__libc_pread): Don't use CHECK_N.
66039         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
66040         <bp-checks.h>.
66041         (__libc_pread64): Don't use CHECK_N.
66042         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
66043         <bp-checks.h>.
66044         (__libc_pwrite): Don't use CHECK_N.
66045         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
66046         <bp-checks.h>.
66047         (__libc_pwrite64): Don't use CHECK_N.
66048         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
66049         <bp-checks.h>.
66050         (__libc_msgrcv): Don't use CHECK_N.
66051         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
66052         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
66053         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
66054         (__libc_writev): Don't use CHECK_N.
66056 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66058         * string/strcpy.c: Removed unused variable.
66060         * Makeconfig (+sysdep-includes): Define with := rather than =.
66061         Use an existing include/ subdir of each sysdeps dir before it.
66063 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66065         * nscd/connection.c (register_traced_file): Comment function.
66066         [HAVE_INOTIFY] (union __inev): Define.
66067         [HAVE_INOTIFY] (inotify_check_files): New function.
66068         [HAVE_INOTIFY] (clear_db_cache): Likewise.
66069         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
66070         clear_db_cache.
66071         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
66073 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66075         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
66076         loaded if not already and that a failure is permanent.
66078 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66080         [BZ #15006]
66081         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
66082         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
66084 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66086         [BZ #13550]
66087         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
66088         (CHECK_1_NULL_OK): Likewise.
66089         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
66090         (__fxstat): Do not use CHECK_1.
66091         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
66092         <bp-checks.h>.
66093         (___fxstat64): Do not use CHECK_1.
66094         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
66095         <bp-checks.h>.
66096         (__fxstatat): Do not use CHECK_1.
66097         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
66098         <bp-checks.h>.
66099         (__fxstatat64): Do not use CHECK_1.
66100         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
66101         <bp-checks.h>.
66102         (__fxstat): Do not use CHECK_1.
66103         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
66104         <bp-checks.h>.
66105         (__fxstatat): Do not use CHECK_1.
66106         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66107         <bp-checks.h>.
66108         (__getresgid): Do not use CHECK_1.
66109         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66110         <bp-checks.h>.
66111         (__getresuid): Do not use CHECK_1.
66112         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
66113         <bp-checks.h>.
66114         (__lxstat): Do not use CHECK_1.
66115         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66116         <bp-checks.h>.
66117         (__old_msgctl): Do not use CHECK_1.
66118         (__new_msgctl): Likewise.
66119         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
66120         <bp-checks.h>.
66121         (__new_setrlimit): Do not use CHECK_1.
66122         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66123         <bp-checks.h>.
66124         (__old_shmctl): Do not use CHECK_1.
66125         (__new_shmctl): Likewise.
66126         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
66127         <bp-checks.h>.
66128         (__xstat): Do not use CHECK_1.
66129         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
66130         (__lxstat): Do not use CHECK_1.
66131         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
66132         <bp-checks.h>.
66133         (___lxstat64): Do not use CHECK_1.
66134         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
66135         (__old_msgctl): Do not use CHECK_1.
66136         (__new_msgctl): Likewise.
66137         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
66138         <bp-checks.h>.
66139         (__gettimeofday): Do not use CHECK_1.
66140         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
66141         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
66142         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
66143         <bp-checks.h>.
66144         (__gettimeofday): Do not use CHECK_1.
66145         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
66146         (__old_shmctl): Do not use CHECK_1_NULL_OK.
66147         (__new_shmctl): Do not use CHECK_1.
66148         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
66149         <bp-checks.h>.
66150         (do_sigtimedwait): Do not use CHECK_1.
66151         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
66152         <bp-checks.h>.
66153         (do_sigwaitinfo): Do not use CHECK_1.
66154         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
66155         <bp-checks.h>.
66156         (msgctl): Do not use CHECK_1.
66157         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
66158         <bp-checks.h>.
66159         (shmctl): Do not use CHECK_1.
66160         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
66161         (ustat): Do not use CHECK_1.
66162         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
66163         <bp-checks.h>.
66164         (__fxstat): Do not use CHECK_1.
66165         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
66166         <bp-checks.h>.
66167         (__fxstatat): Do not use CHECK_1.
66168         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
66169         <bp-checks.h>.
66170         (__lxstat): Do not use CHECK_1.
66171         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
66172         <bp-checks.h>.
66173         (__xstat): Do not use CHECK_1.
66174         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
66175         (__xstat): Do not use CHECK_1.
66176         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
66177         (___xstat64): Do not use CHECK_1.
66179         [BZ #13550]
66180         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
66181         definitions.
66182         (CHECK_BOUNDS_HIGH): Likewise.
66183         * string/strcpy.c: Do not include <bp-checks.h>.
66184         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
66186 2013-02-07  Roland McGrath  <roland@hack.frob.com>
66188         * nscd/nscd-client.h (__nscd_drop_map_ref):
66189         Add __attribute__ ((unused)).
66190         * nis/nss-nisplus.h (niserr2nss): Likewise.
66192         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
66193         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
66195         * csu/libc-tls.c (init_static_tls, init_slotinfo):
66196         Remove inline keyword.
66197         * include/rounding-mode.h (round_away): Likewise.
66198         * libio/wfileops.c (adjust_wide_data): Likewise.
66199         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
66200         (__m128i_strloadu_tolower): Likewise.
66201         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
66202         (__m128i_strloadu_tolower): Likewise.
66203         * time/mktime.c (ydhms_diff): Likewise.
66204         * locale/elem-hash.h (elem_hash): Likewise.
66205         * locale/setlocale.c (setdata): Likewise.
66206         * posix/regex_internal.h (re_string_char_size_at): Likewise.
66207         (re_string_wchar_at): Likewise.
66208         (bitset_not, bitset_merge, bitset_mask): Likewise.
66209         [!(__GNUC__ > 3)] (inline): Remove macro.
66210         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
66211         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
66212         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
66213         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
66214         * string/memcmp.c (memcmp_bytes): Likewise.
66215         * locale/programs/locarchive.c (compute_hashval): Likewise.
66216         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
66217         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
66218         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
66219         * nss/getent.c (print_rpc, print_protocols): Likewise.
66220         (print_passwd, print_group, print_aliases): Likewise.
66221         * nis/nss-nisplus.h (niserr2nss): Likewise.
66222         * nscd/connections.c (restart_p): Likewise.
66223         Change return type to bool.
66225 2013-02-05  Roland McGrath  <roland@hack.frob.com>
66227         * Makeconfig (all-Depend-files): Add existing
66228         $(sorted-subdirs:=/Depend) files.
66229         (all-subdirs): Remove nss.
66230         * sysdeps/unix/inet/Subdirs: Add it here instead.
66231         * hesiod/Depend: New file.
66233         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
66234         instead of calling alloca.
66236         * io/lseek.c (__lseek): Rename to __libc_lseek.
66237         Define __lseek as an alias.
66239         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
66241 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
66243         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
66244         else clause and remove check for non-standard endianness.
66246 2013-02-04  David S. Miller  <davem@davemloft.net>
66248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66250 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
66252         [BZ #13550]
66253         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
66254         (__ubp_memchr): Remove prototype.
66255         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
66256         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66257         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
66258         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66259         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
66260         Remove alias.
66261         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
66262         (__ubp_memchr): Likewise.
66263         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
66264         (__ubp_memchr): Likewise.
66265         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
66266         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
66267         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
66268         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
66269         CHECK_STRING.
66270         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
66271         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
66272         (__getcwd): Do not use CHECK_STRING.
66273         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66274         <bp-checks.h>.
66275         (__real_chown): Do not use CHECK_STRING.
66276         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
66277         <bp-checks.h>.
66278         (fchownat): Do not use CHECK_STRING.
66279         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
66280         CHECK_STRING.
66281         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66282         <bp-checks.h>.
66283         (__lchown): Do not use CHECK_STRING.
66284         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66285         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66286         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66287         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
66288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66289         include <bp-checks.h>.
66290         (truncate64): Do not use CHECK_STRING.
66291         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66292         <bp-checks.h>.
66293         (__real_chown): Do not use CHECK_STRING.
66294         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66295         <bp-checks.h>.
66296         (__lchown): Do not use CHECK_STRING.
66297         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66298         <bp-checks.h>.
66299         (__chown): Do not use CHECK_STRING.
66300         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
66301         <bp-checks.h>.
66302         (truncate64): Do not use CHECK_STRING.
66303         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
66304         Likewise.
66305         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
66306         (__xmknod): Do not use CHECK_STRING.
66307         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
66308         <bp-checks.h>.
66309         (__xmknodat): Do not use CHECK_STRING.
66310         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66311         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
66313 2013-02-04  Andreas Schwab  <schwab@suse.de>
66315         [BZ #14142]
66316         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
66317         * include/netdb.h: Likewise for h_errno.
66318         * elf/tst-stackguard1.c: Include <tls.h>.
66320 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
66322         * elf/link.h (struct link_map): Extend the l_addr comment.
66323         * include/link.h (struct link_map): Likewise.
66325 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
66327         [BZ #13550]
66328         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
66329         (BOUNDED_1): Remove macro.
66330         * debug/backtrace.c: Don't include <bp-checks.h>.
66331         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
66332         (__backtrace): Likewise.
66333         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
66334         <bp-checks.h>.
66335         (__backtrace): Don't use BOUNDED_1.
66336         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
66337         <bp-checks.h>.
66338         (__backtrace): Don't use BOUNDED_1.
66339         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
66340         (__backtrace): Don't use BOUNDED_1.
66341         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
66342         (shmat): Don't use BOUNDED_N.
66344 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
66346         [BZ #13550]
66347         * sysdeps/generic/bp-start.h: Remove file.
66348         * csu/libc-start.c: Don't include <bp-start.h>.
66349         (LIBC_START_MAIN): Set up __environ directly instead of using
66350         INIT_ARGV_and_ENVIRON.
66351         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
66352         <bp-start.h>.
66354         [BZ #13550]
66355         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
66356         definitions.
66357         (CHECK_FCNTL): Likewise.
66358         (CHECK_N_PAGES): Likewise.
66360         [BZ #13550]
66361         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
66362         definitions.
66363         (CHECK_SIGSET_NULL_OK): Likewise.
66364         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
66365         <bp-checks.h>.
66366         (sigpending): Don't use CHECK_SIGSET.
66367         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
66368         <bp-checks.h>.
66369         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66370         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
66371         <bp-checks.h>.
66372         (do_sigsuspend): Don't use CHECK_SIGSET.
66373         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
66374         use CHECK_SIGSET.
66375         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
66376         (do_sigwait): Don't use CHECK_SIGSET.
66377         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
66378         use CHECK_SIGSET.
66379         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
66380         include <bp-checks.h>.
66381         (sigpending): Don't use CHECK_SIGSET.
66382         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
66383         include <bp-checks.h>.
66384         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66385         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
66386         <bp-checks.h>.
66387         (sigpending): Don't use CHECK_SIGSET.
66388         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
66389         <bp-checks.h>.
66390         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66392         [BZ #13550]
66393         * sysdeps/generic/bp-semctl.h: Remove file.
66394         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
66395         <bp-checks.h> and <bp-semctl.h>.
66396         (__old_semctl): Don't use CHECK_SEMCTL.
66397         (__new_semctl): Likewise.
66398         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
66399         and <bp-semctl.h>.
66400         (__old_semctl): Don't use CHECK_SEMCTL.
66401         (__new_semctl): Likewise.
66402         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
66403         <bp-checks.h> and <bp-semctl.h>.
66404         (__old_semctl): Don't use CHECK_SEMCTL.
66405         (__new_semctl): Likewise.
66406         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
66407         <bp-checks.h> and <bp-semctl.h>.
66408         (semctl): Don't use CHECK_SEMCTL.
66410         [BZ #13550]
66411         * Makerules (elide-bp-thunks): Remove variable.
66412         (elide-routines.oS): Don't use $(elide-bp-thunks).
66413         (elide-routines.os): Likewise.
66414         (elide-routines.o): Likewise.
66415         (elide-routines.op): Likewise.
66416         (elide-routines.og): Likewise.
66417         (objects): Don't use $(bp-thunks).
66418         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
66419         include.
66420         (common-generated): Do not add s-proto-bp.d.
66421         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
66422         (int): Likewise.
66423         (typ): Likewise.
66424         Do not generate makefile rules for bounded-pointer thunks.
66425         * sysdeps/generic/bp-thunks.h: Remove file.
66426         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
66427         * sysdeps/unix/s-proto-bp.S: Likewise.
66429         [BZ #15062]
66430         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
66431         parts of result separately when argument is not close to line from
66432         -i to i and one part of argument is small.
66433         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66434         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66435         * math/libm-test.inc (cacos_test): Add more tests.
66436         (casin_test): Likewise.
66437         (casinh_test): Likewise.
66438         * sysdeps/i386/fpu/libm-test-ulps: Update.
66439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66441 2013-01-31  David S. Miller  <davem@davemloft.net>
66443         * po/de.po: Update from translation team.
66445 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
66447         * time/tzfile.c: Include stdint.h for SIZE_MAX.
66449 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
66451         * configure.in (_AC_PROG_CC_C89): New definition.
66452         * configure: Regenerate.
66454         * configure.in (AC_PROG_CPP): New definition.
66455         * configure: Regenerate.
66457 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66459         * debug/tst-backtrace.h: New file.
66460         * debug/tst-backtrace2.c: Include tst-backtrace.h.
66461         (ret): Remove variable.
66462         (x): Likewise.
66463         (FAIL): Remove macro.
66464         (NO_INLINE): Likewise.
66465         (fn1): Use match function instead of strstr.
66466         * debug/tst-backtrace3.c: Include tst-backtrace.h.
66467         (ret): Remove variable.
66468         (x): Likewise.
66469         (FAIL): Remove macro.
66470         (NO_INLINE): Likewise.
66471         (fn): Use match function instead of strstr.
66472         * debug/tst-backtrace4.c: Include tst-backtrace.h.
66473         (ret): Remove variable.
66474         (x): Likewise.
66475         (FAIL): Remove macro.
66476         (NO_INLINE): Likewise.
66477         (handle_signal): Use match function instead of strstr.
66478         * debug/tst-backtrace5.c: Include tst-backtrace.h.
66479         (ret): Remove variable.
66480         (x): Likewise.
66481         (FAIL): Remove macro.
66482         (NO_INLINE): Likewise.
66483         (handle_signal): Use match function instead of strstr.
66485 2013-01-23  Roland McGrath  <roland@hack.frob.com>
66487         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
66489 2013-01-23  David S. Miller  <davem@davemloft.net>
66491         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
66492         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
66493         argument of CAS if possible.
66494         * sysdeps/sparc/sparc64/bits/atomic.h
66495         (__arch_compare_and_exchange_val_32_acq): Likewise.
66496         (__arch_compare_and_exchange_val_64_acq): Likewise.
66498 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
66500         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
66501         * sysdeps/posix/ulimit.c: ... this.
66502         Include <limits.h>.
66503         * sysdeps/unix/bsd/ulimit.c: Remove file.
66505 2013-01-23  Adam Conrad  <adconrad@0c3.net>
66507         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
66508         (LDFLAGS-tst-array5): Likewise.
66510 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66512         [BZ #15036]
66513         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
66514         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
66515         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
66516         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
66518 2013-01-21  David S. Miller  <davem@davemloft.net>
66520         * sysdeps/sparc/backtrace.c: New file.
66521         * sysdeps/sparc/sparc32/backtrace.h: New file.
66522         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
66523         * sysdeps/sparc/sparc64/backtrace.h: New file.
66524         * sysdeps/sparc/sparc64/backtrace.c: Delete.
66525         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
66526         -funwind-tables.
66528 2013-01-21  Andreas Schwab  <schwab@suse.de>
66530         [BZ #15020]
66531         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
66532         closed its stdout.
66534 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
66536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
66537         "mpa2.h".
66538         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66540 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
66541             Mark Mitchell  <mark@codesourcery.com>
66542             Tom de Vries  <tom@codesourcery.com>
66543             Paul Pluzhnikov  <ppluzhnikov@google.com>
66545         * debug/tst-backtrace2.c: New file.
66546         * debug/tst-backtrace3.c: Likewise.
66547         * debug/tst-backtrace4.c: Likewise.
66548         * debug/tst-backtrace5.c: Likewise.
66549         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
66550         (CFLAGS-tst-backtrace3.c): Likewise.
66551         (CFLAGS-tst-backtrace4.c): Likewise.
66552         (CFLAGS-tst-backtrace5.c): Likewise.
66553         (LDFLAGS-tst-backtrace2): Likewise.
66554         (LDFLAGS-tst-backtrace3): Likewise.
66555         (LDFLAGS-tst-backtrace4): Likewise.
66556         (LDFLAGS-tst-backtrace5): Likewise.
66557         (tests): Add new tests tst-backtrace2, tst-backtrace3,
66558         tst-backtrace4 and tst-backtrace5.
66560 2013-01-18  Anton Blanchard  <anton@samba.org>
66561             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66563         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
66564         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
66565         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
66566         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
66567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66568         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
66569         "+r" and remove output regs list as redundant.  Add explicit inline
66570         asm to specify register of return val to work around compiler codegen
66571         bug.  Remove (int) cast on return value.  Add return type parameter to
66572         use in macro so that this macro does not truncate return value for
66573         64-bit values.
66574         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
66575         pass to INTERNAL_VSYSCALL_NCS.
66576         (INLINE_VSYSCALL): Add 'long int' as return type to
66577         INTERNAL_VSYSCALL_NCS macro invocation.
66578         (INTERNAL_VSYSCALL): Add 'long int' as return type to
66579         INTERNAL_VSYSCALL_NCS macro invocation.
66580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66582 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66584         [BZ #14496]
66585         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
66586         Fix application of SIMD FP exception mask.
66588         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
66589         mp_no from a power of two.
66590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
66591         __mpexp_twomm1.  Use __pow_mp.
66593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
66594         multiplication.
66596 2013-01-17  David S. Miller  <davem@davemloft.net>
66598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66600 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66602         [BZ #15023]
66603         * include/complex.h: Condition contents on [!_COMPLEX_H].
66604         (__kernel_casinhf): New prototype.
66605         (__kernel_casinh): Likewise.
66606         (__kernel_casinhl): Likewise.
66607         * math/Makefile (libm_calls): Add k_casinh.
66608         * math/k_casinh.c: New file.
66609         * math/k_casinhf.c: Likewise.
66610         * math/k_casinhl.c: Likewise.
66611         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66612         finite nonzero arguments.
66613         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66614         finite nonzero arguments.
66615         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66616         finite nonzero arguments.
66617         * math/s_casinh.c: Do not include <float.h>.
66618         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66619         * math/s_casinhf.c: Do not include <float.h>.
66620         (__casinhf): Move code for finite nonzero arguments to
66621         k_casinhf.c.
66622         * math/s_casinhl.c: Do not include <float.h>.
66623         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66624         redefine.
66625         (__casinhl): Move code for finite nonzero arguments to
66626         k_casinhl.c.
66627         * math/libm-test.inc (cacos_test): Add more tests.
66628         * sysdeps/i386/fpu/libm-test-ulps: Update.
66629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66631 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66633         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66634         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66635         [!HAVE_MREMAP]: Remove [defined linux] case.
66636         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66638 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66640         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66642 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66644         * elf/elf.h (R_386_SIZE32): New relocation.
66645         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66646         R_386_SIZE32.
66647         (elf_machine_rela): Likewise.
66648         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66649         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66651 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66653         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66654         (FP_FAST_FMA): Do not define.
66655         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66656         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66657         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66658         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66659         !_SOFT_FLOAT]: Likewise.
66660         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66661         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66662         value.
66663         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66664         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66665         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66666         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66667         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66668         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66669         file.
66671 2013-01-16  Andreas Schwab  <schwab@suse.de>
66673         [BZ #14327]
66674         * include/stdlib.h (__mktemp): Add declaration.
66675         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66676         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66678 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66680         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66681         definitions.
66682         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66683         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66684         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66685         definitions here.
66686         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66687         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66688         definitions.
66689         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66690         and ONE.
66691         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66692         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66693         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66694         definitions.
66695         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66696         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66697         definitions.
66698         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66700         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66702 2013-01-15  David S. Miller  <davem@davemloft.net>
66704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66705         trunc{,f} to libm-sysdep_routes.
66706         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66708         file.
66709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66711         file.
66712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66713         file.
66714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66716         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66717         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66718         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66719         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66720         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66721         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66724         nearbyint{,f} to libm-sysdep_routes.
66725         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66727         New file.
66728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66729         file.
66730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66731         New file.
66732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66733         file.
66734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66736         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66737         file.
66738         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66739         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66740         file.
66741         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66742         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66743         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66745         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66746         libc_feholdexcept and libc_fesetenv.
66748 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66750         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66752 2013-01-14  David S. Miller  <davem@davemloft.net>
66754         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66755         (SPARC_ASM_VIS2_IFUNC): Likewise.
66756         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66758         use of 'siam' instruction.
66759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66760         Likewise.
66761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66762         Likewise.
66763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66764         Likewise.
66765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66770         file.
66771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66772         file.
66773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66774         file.
66775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66776         file.
66777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66782         new VIS2 routines.
66783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66786         Likewise.
66787         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66788         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66790         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66792         routines to libm-sysdep_routines.
66793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66796         fdim/fdimf to libm-sysdep_routines.
66797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66798         file.
66799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66801         file.
66802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66805         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66806         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66807         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66808         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66810 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66813         to optimize copies.
66815         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66820         local variable MPTWO.
66821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66822         Likewise.
66824 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66826         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66827         GLOB_NOESCAPE.
66829 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66831         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66833 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66835         * manual/pattern.texi (glob_t): Document gl_flags.
66836         (glob64_t): Likewise.
66838 2013-01-11  David S. Miller  <davem@davemloft.net>
66840         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66841         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66842         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66843         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66844         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66845         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66846         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66847         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66848         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66849         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66850         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66851         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66852         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66854         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66855         sparc V9 rather than using V8 code.
66856         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66857         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66859         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66860         Move to...
66861         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66862         Here.
66864 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66866         [BZ #14941]
66867         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66868         not in the main loop.
66869         * configure: Regenerated.
66871 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66873         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66874         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66875         to just #else.
66876         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66877         [!__GLIBC_HAVE_LONG_LONG] case.
66878         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66879         condition to just #else.
66880         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66881         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66882         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66883         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66884         unconditional.
66885         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66886         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66887         #elif condition to just #else.
66888         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66889         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66890         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66891         #elif condition to just #else.
66893 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66895         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66896         (EF_MIPS_ARCH_64): Fix value.
66897         (EF_MIPS_ARCH_32R2): New.
66898         (EF_MIPS_ARCH_64R2): New.
66900 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66902         * Makeconfig (+link-pie-before-libc): New.
66903         (+link-pie-after-libc): Likewise.
66904         (+link-pie-tests): Likewise.
66905         (+link-pie): Rewritten.
66906         (link-before-libc): Remove $(config-LDFLAGS).
66907         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66908         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66909         (config-LDFLAGS): Renamed to ...
66910         (rtld-LDFLAGS): This.
66911         (rtld-tests-LDFLAGS): New macro.
66912         (link-libc-rpath-link): Likewise.
66913         (link-libc-tests-rpath-link): Likewise.
66914         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66915         (link-libc): Prepand $(link-libc-rpath-link).
66916         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66917         (test-program-prefix): New macro.
66918         (test-via-rtld-prefix): Likewise.
66919         (test-program-cmd): Likewise.
66920         (host-test-program-cmd): Likewise.
66921         * Makefile ($(common-objpfx)testrun.sh): Replace
66922         $(run-program-prefix) with $(test-program-prefix).
66923         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66924         $(rtld-LDFLAGS).
66925         ($(common-objpfx)shlib.lds): Likewise.
66926         (build-module-helper): Likewise.
66927         ($(common-objpfx)format.lds): Likewise.
66928         * Rules (binaries-pie-tests): New.
66929         (binaries-pie-notests): Likewise.
66930         (binaries-pie): Rewritten.
66931         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66932         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66933         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66934         (make-test-out): Replace $(host-built-program-cmd) with
66935         $(host-test-program-cmd).
66936         * config.make.in (build-hardcoded-path-in-tests): New variable.
66937         * configure.in (--enable-hardcoded-path-in-tests): New configure
66938         option.
66939         (hardcoded_path_in_tests): New AC_SUBST.
66940         * configure: Regenerated.
66941         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66942         $(built-program-cmd) with $(test-program-cmd).
66943         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66944         (test_program_cmd): This.
66945         * elf/Makefile ($(objpfx)order.out): Run test with
66946         $(test-program-prefix).
66947         ($(objpfx)order2.out): Likewise.
66948         ($(objpfx)tst-initorder.out): Likewise.
66949         ($(objpfx)tst-initorder2.out): Likewise.
66950         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66951         $(test-program-cmd).
66952         ($(objpfx)tst-array1-static.out): Likewise.
66953         ($(objpfx)tst-array2.out): Likewise.
66954         ($(objpfx)tst-array3.out): Likewise.
66955         ($(objpfx)tst-array4.out): Likewise.
66956         ($(objpfx)tst-array5.out): Likewise.
66957         ($(objpfx)tst-array5-static.out): Likewise.
66958         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66959         $(test-program-cmd).
66960         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66961         $(run-program-prefix) with $(test-program-prefix).
66962         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66963         (test_program_prefix): This.
66964         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66965         $(run-program-prefix) with $(test-program-prefix).
66966         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66967         (test_program_prefix): This.
66968         * iconvdata/tst-tables.sh: Likewise.
66969         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66970         $(run-program-prefix) with $(test-program-prefix).
66971         ($(objpfx)tst-translit.out): Likewise.
66972         ($(objpfx)tst-gettext2.out): Likewise.
66973         ($(objpfx)tst-gettext4.out): Likewise.
66974         ($(objpfx)tst-gettext6.out): Likewise.
66975         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66976         (test_program_prefix): This.
66977         * intl/tst-gettext2.sh: Likewise.
66978         * intl/tst-gettext4.sh  Likewise.
66979         * intl/tst-gettext6.sh: Likewise.
66980         * intl/tst-translit.sh: Likewise.
66981         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66982         with $(test-program-cmd).
66983         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66984         $(run-program-prefix) with $(test-program-prefix).
66985         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66986         (test_program_prefix): This.
66987         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66988         $(run-program-prefix) with $(test-program-prefix).
66989         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66990         (test_program_prefix): This.
66991         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66992         * posix/Makefile ($(objpfx)globtest.out): Replace
66993         $(run-via-rtld-prefix) and $(test-wrapper) with
66994         $(test-program-prefix) and $(test-via-rtld-prefix).
66995         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66996         $(test-program-prefix).
66997         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66998         $(host-test-program-cmd).
66999         (tst-spawn-ARGS): Likewise.
67000         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
67001         $(test-program-prefix).
67002         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
67003         (test_via_rtld_prefix): This.
67004         (test_wrapper): Renamed to ...
67005         (test_program_prefix): This.
67006         (run_program_prefix): Replaced by test_program_prefix.
67007         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
67008         (test_program_prefix): This.
67009         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
67010         with $(host-test-program-cmd).
67011         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
67012         $(run-program-prefix) with $(test-program-prefix).
67013         ($(objpfx)tst-printf.out): Likewise.
67014         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
67015         $(test-program-cmd).
67016         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
67017         (test_program_prefix): This.
67018         * stdio-common/tst-unbputc.sh: Likewise.
67019         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
67020         $(run-program-prefix) with $(test-program-prefix).
67021         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
67022         (test_program_prefix): This.
67023         * string/Makefile ($(objpfx)tst-svc.out):  Replace
67024         $(built-program-cmd) with $(test-program-cmd).
67026 2013-01-11  Andreas Jaeger  <aj@suse.de>
67028         [BZ #15003]
67029         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
67030         value. Sync with Linux 3.7.
67032 2013-01-10  David S. Miller  <davem@davemloft.net>
67034         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
67035         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67036         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67038 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67040         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
67041         never set.
67042         * configure: Regenerated.
67044 2013-01-10  David S. Miller  <davem@davemloft.net>
67046         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
67047         sparc V9 rather than using V8 code.
67048         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67049         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67051 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67053         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
67054         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
67055         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
67056         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
67057         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
67058         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
67059         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
67060         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
67061         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
67062         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
67063         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
67064         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
67065         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
67066         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
67067         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
67068         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
67069         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
67070         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
67071         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
67072         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
67073         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
67074         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
67075         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
67076         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
67077         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
67078         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
67079         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
67081 2013-01-10  David S. Miller  <davem@davemloft.net>
67083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67085 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67087         * posix/Makefile (tests-static): New variable.
67088         (tests): Add $(tests-static).
67089         (tst-exec-static-ARGS): New variable.
67090         (tst-spawn-static-ARGS): Likewise.
67091         * posix/tst-exec-static.c: New file.
67092         * posix/tst-spawn-static.c: Likewise.
67093         * posix/tst-exec.c: Support run directly.
67094         * posix/tst-spawn.c: Likewise.
67096 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
67098         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
67099         long.
67100         * math/bits/mathcalls.h (llrint): Likewise.
67101         (llround): Likewise.
67102         * stdlib/stdlib.h (struct drand48_data): Likewise.
67103         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
67104         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
67105         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
67106         Likewise.
67107         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
67108         Likewise.
67109         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
67110         (elf_greg_t): Likewise.
67111         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
67112         (__jmp_buf): Likewise.
67113         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
67114         definitions.
67115         (llrint): Likewise, for all definitions.
67116         (llrintl): Likewise.
67118         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
67119         Remove [__GNUC__] condition.
67120         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
67121         condition to just [__USE_ISOC99].
67122         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
67124 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67126         [BZ #14200]
67127         * sysdeps/unix/sysv/linux/x86/bits/environments.h
67128         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
67129         defined.
67130         (_POSIX_V6_ILP32_OFF32): Likewise.
67131         (_XBS5_ILP32_OFF32): Likewise.
67132         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
67133         (__ILP32_OFFBIG_LDFLAGS): Likewise.
67135 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67137         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
67139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
67140         doubles __mpexp_twomm1.  Adjust usage.
67141         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
67142         Remove.
67144 2013-01-10  Andreas Schwab  <schwab@suse.de>
67146         [BZ #14964]
67147         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
67148         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
67150 2013-01-09  David S. Miller  <davem@davemloft.net>
67152         [BZ #15003]
67153         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
67154         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
67155         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
67156         (TCP_FASTOPEN): Define.
67157         (tcp_repair_opt): New structure.
67158         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
67159         enum values.
67160         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
67161         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
67162         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
67163         (tcp_cookie_transactions): New structure.
67165 2013-01-09  Anton Blanchard  <anton@samba.org>
67167         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
67168         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
67169         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
67170         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
67172 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
67174         * include/features.h (__USE_ANSI): Remove.
67176 2013-01-09  Roland McGrath  <roland@hack.frob.com>
67178         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
67180         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
67182 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
67184         * sysdeps/s390/fpu/libm-test-ulps: Update.
67186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67188         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
67189         (__acr): Likewise.
67190         (__cpy): Likewise.
67191         (norm): Likewise.
67192         (denorm): Likewise.
67193         (__mp_dbl): Likewise.
67194         (__dbl_mp): Likewise.
67195         (add_magnitudes): Likewise.
67196         (sub_magnitudes): Likewise.
67197         (__add): Likewise.
67198         (__sub): Likewise.
67199         (__mul): Likewise.
67200         (__inv): Likewise.
67201         (__dvd): Likewise.
67202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
67203         (__acr): Likewise.
67204         (__cpy): Likewise.
67205         (norm): Likewise.
67206         (denorm): Likewise.
67207         (__mp_dbl): Likewise.
67208         (__dbl_mp): Likewise.
67209         (add_magnitudes): Likewise.
67210         (sub_magnitudes): Likewise.
67211         (__add): Likewise.
67212         (__sub): Likewise.
67213         (__mul): Likewise.
67214         (__inv): Likewise.
67215         (__dvd): Likewise.
67216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
67217         (__acr): Likewise.
67218         (__cpy): Likewise.
67219         (norm): Likewise.
67220         (denorm): Likewise.
67221         (__mp_dbl): Likewise.
67222         (__dbl_mp): Likewise.
67223         (add_magnitudes): Likewise.
67224         (sub_magnitudes): Likewise.
67225         (__add): Likewise.
67226         (__sub): Likewise.
67227         (__mul): Likewise.
67228         (__inv): Likewise.
67229         (__dvd): Likewise.
67231 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
67233         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
67234         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
67235         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
67236         2 && __USE_EXTERN_INLINES]: Likewise.
67238 2013-01-08  Andreas Jaeger  <aj@suse.de>
67240         [BZ #14985]
67241         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
67242         Remove.
67243         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67244         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67246 2013-01-07  Anton Blanchard  <anton@samba.org>
67248         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
67249         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
67250         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
67251         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
67252         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
67253         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67254         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
67255         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67257         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67258         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67259         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67260         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67261         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67262         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
67263         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67264         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67265         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
67266         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
67267         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
67268         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
67269         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
67270         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67271         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
67272         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
67273         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
67274         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67275         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
67276         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
67277         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67278         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
67279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67280         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67281         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
67282         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
67283         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67284         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
67285         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67286         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
67287         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
67288         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
67289         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67290         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
67292 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
67294         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
67295         (__MALLOC_PMT): Likewise.
67296         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67297         [__GNUC__], only on [_LIBC].
67298         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67299         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
67300         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67301         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
67302         forward declaration.
67303         (realloc_hook_ini): Likewise.
67304         (memalign_hook_ini): Likewise.
67305         (__libc_memalign): Do not use __MALLOC_PMT in variable
67306         declaration.
67307         (__libc_valloc): Likewise.
67308         (__libc_pvalloc): Likewise.
67309         (__libc_calloc): Likewise.
67310         (__posix_memalign): Likewise.
67312         [BZ #14996]
67313         * math/s_casinh.c: Include <float.h>.
67314         (__casinh): Do not do computation with squaring and square root
67315         for large arguments.
67316         * math/s_casinhf.c: Include <float.h>.
67317         (__casinhf): Do not do computation with squaring and square root
67318         for large arguments.
67319         * math/s_casinhl.c: Include <float.h>.
67320         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
67321         (__casinhl): Do not do computation with squaring and square root
67322         for large arguments.
67323         * math/libm-test.inc (casin_test): Add more tests.
67324         (casinh_test): Likewise.
67325         * sysdeps/i386/fpu/libm-test-ulps: Update.
67326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67328 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
67330         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
67331         (__x86_64_raw_data_cache_size): Likewise.
67332         (__x86_64_data_cache_size_half): Likewise.
67333         (__x86_64_raw_data_cache_size_half): Likewise.
67334         (__x86_64_shared_cache_size): Likewise.
67335         (__x86_64_raw_shared_cache_size): Likewise.
67336         (__x86_64_shared_cache_size_half): Likewise.
67337         (__x86_64_raw_shared_cache_size_half): Likewise.
67338         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
67339         to ...
67340         (__x86_data_cache_size): This.
67341         (__x86_64_raw_data_cache_size): Renamed to ...
67342         (__x86_raw_data_cache_size): This.
67343         (__x86_64_data_cache_size_half): Renamed to ...
67344         (__x86_data_cache_size_half): This.
67345         (__x86_64_raw_data_cache_size_half): Renamed to ...
67346         (__x86_raw_data_cache_size_half): This.
67347         (__x86_64_shared_cache_size): Renamed to ...
67348         (__x86_shared_cache_size): This.
67349         (__x86_64_raw_shared_cache_size): Renamed to ...
67350         (__x86_raw_shared_cache_size): This.
67351         (__x86_64_shared_cache_size_half): Renamed to ...
67352         (__x86_shared_cache_size_half): This.
67353         (__x86_64_raw_shared_cache_size_half): Renamed to ...
67354         (__x86_raw_shared_cache_size_half): This.
67355         * sysdeps/x86_64/memcpy.S: Updated.
67356         * sysdeps/x86_64/memset.S: Likewise.
67357         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67358         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67359         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67361 2013-01-04  David S. Miller  <davem@davemloft.net>
67363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67365 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
67367         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
67368         1 to avoid redefinition warning.
67369         (__USE_GNU): Don't define.
67370         (init_signaling_nan): Protoize.
67372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67374 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67376         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
67377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
67378         (__cpymn): Likewise.
67379         (norm): Remove commented code.
67380         (denorm): Likewise.
67381         (__mp_dbl): Likewise.
67382         (__inv): Likewise.
67383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
67384         (__cpymn): Likewise.
67385         (norm): Remove commented code.
67386         (denorm): Likewise.
67387         (__mp_dbl): Likewise.
67388         (__inv): Likewise.
67390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
67391         mp_no value for 1.0 and 2.0.
67392         (norm): Use RADIXI instead of radixi.d.
67393         (denorm): Likewise.
67394         (__mul): Use 0.0 instead of zero.d.
67395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
67396         mp_no value for 1.0 and 2.0.
67397         (norm): Use RADIXI instead of radixi.d.
67398         (denorm): Likewise.
67399         (__mul): Use 0.0 instead of zero.d.
67401 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
67403         [BZ #14994]
67404         * math/s_casinh.c (__casinh): Reduce finite argument to first
67405         quadrant then set signs of results at the end.
67406         * math/s_casinhf.c (__casinhf): Likewise.
67407         * math/s_casinhl.c (__casinhl): Likewise.
67408         * math/libm-test.inc (casin_test): Add more tests.
67409         (casinh_test): Likewise.
67410         * sysdeps/i386/fpu/libm-test-ulps: Update.
67411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67413 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67415         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
67417         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
67419         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
67420         declarations.
67421         (denorm): Likewise.
67422         (__mp_dbl): Likewise.
67423         (__inv): Likewise.
67425         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
67426         and adjust the header comment.
67428         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
67429         variable name from declaration.
67431 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
67433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67434         Initialize COMMON_CPUID_INDEX_7 element.
67435         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
67436         (CPUID_RTM): Likewise.
67437         (HAS_RTM): Likewise.
67438         (COMMON_CPUID_INDEX_7): New enum.
67440 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
67442         [BZ #14981]
67443         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
67444         size is zero, record memory as freed.
67446 2013-01-03  Andreas Jaeger  <aj@suse.de>
67448         * po/ia.po: Add new Interlingua translation.
67450 2012-01-03  Allan McRae  <allan@archlinux.org>
67452         * locale/programs/localedef.c: Fix description of '--posix' flag.
67454 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
67456         * NEWS: Update dates in second copyright notice.
67457         * README: Update copyright dates in example.
67458         * manual/libc.texinfo: Update copyright dates.
67459         * scripts/test-installation.pl: Update copyright date in --version
67460         output.
67462         * hurd/ctty-input.c: Fix copyright notice formatting.
67463         * hurd/ctty-output.c: Likewise.
67464         * hurd/dtable.c: Likewise.
67465         * hurd/hurd-raise.c: Likewise.
67466         * hurd/hurdprio.c: Likewise.
67467         * hurd/msgportdemux.c: Likewise.
67468         * misc/sys/file.h: Likewise.
67469         * misc/sys/ioctl.h: Likewise.
67470         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
67471         * sysdeps/mach/hurd/chdir.c: Likewise.
67472         * sysdeps/mach/hurd/fchdir.c: Likewise.
67473         * sysdeps/mach/hurd/rename.c: Likewise.
67474         * sysdeps/mach/hurd/rmdir.c: Likewise.
67475         * sysdeps/mach/hurd/seekdir.c: Likewise.
67476         * sysdeps/mach/hurd/setsid.c: Likewise.
67477         * sysdeps/posix/wait3.c: Likewise.
67479         * All files with FSF copyright notices: Update copyright dates
67480         using scripts/update-copyrights.
67481         * intl/plural.c: Regenerated.
67482         * locale/programs/charmap-kw.h: Likewise.
67483         * locale/programs/locfile-kw.h: Likewise.
67485 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67487         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
67488         four values.
67490         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
67491         calculation loop and add branch prediction.
67493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
67494         check access beyond bounds of m1np.
67496         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67497         MPTWO.
67498         (__inv): Remove local variable MPTWO to use the global
67499         constant.
67500         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
67501         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67502         variable MPTWO.
67503         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
67504         MP3HALFS static const.
67506 2013-01-01  David S. Miller  <davem@davemloft.net>
67508         * po/ca.po: Update from translation team.
67510 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
67512         * scripts/update-copyrights: New file.
67513         * Makeconfig: Reformat copyright notice.
67514         * ctype/ctype.h: Likewise.
67515         * debug/swprintf_chk.c: Likewise.
67516         * elf/dl-cache.c: Likewise.
67517         * elf/dl-debug.c: Likewise.
67518         * elf/dl-object.c: Likewise.
67519         * grp/initgroups.c: Likewise.
67520         * hurd/Makefile: Likewise.
67521         * hurd/hurd/signal.h: Likewise.
67522         * hurd/hurdfault.c: Likewise.
67523         * hurd/hurdioctl.c: Likewise.
67524         * hurd/hurdlookup.c: Likewise.
67525         * hurd/intr-msg.c: Likewise.
67526         * iconv/gconv_open.c: Likewise.
67527         * libio/swprintf.c: Likewise.
67528         * locale/lc-ctype.c: Likewise.
67529         * locale/nl_langinfo.c: Likewise.
67530         * mach/Machrules: Likewise.
67531         * mach/Makefile: Likewise.
67532         * malloc/obstack.h: Likewise.
67533         * manual/Makefile: Likewise.
67534         * manual/tsort.awk: Likewise.
67535         * misc/bits/stab.def: Likewise.
67536         * nis/nis_print_group_entry.c: Likewise.
67537         * nis/nis_table.c: Likewise.
67538         * nis/nss_compat/compat-pwd.c: Likewise.
67539         * nis/nss_compat/compat-spwd.c: Likewise.
67540         * po/Makefile: Likewise.
67541         * posix/fnmatch.c: Likewise.
67542         * posix/regex.h: Likewise.
67543         * resolv/Makefile: Likewise.
67544         * resolv/nss_dns/dns-network.c: Likewise.
67545         * resolv/res_hconf.c: Likewise.
67546         * scripts/gen-sorted.awk: Likewise.
67547         * soft-fp/soft-fp.h: Likewise.
67548         * stdio-common/printf.h: Likewise.
67549         * stdlib/monetary.h: Likewise.
67550         * stdlib/random.c: Likewise.
67551         * stdlib/random_r.c: Likewise.
67552         * sysdeps/generic/Makefile: Likewise.
67553         * sysdeps/gnu/Makefile: Likewise.
67554         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67555         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67556         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67558         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67561         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67562         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67564         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67565         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67566         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67567         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67568         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
67569         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67570         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67571         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67572         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67573         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67574         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67575         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67576         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67577         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
67578         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
67579         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67580         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
67581         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
67582         * sysdeps/mach/hurd/errnos.awk: Likewise.
67583         * sysdeps/mach/hurd/fork.c: Likewise.
67584         * sysdeps/mach/hurd/getcwd.c: Likewise.
67585         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
67586         * sysdeps/mach/hurd/mmap.c: Likewise.
67587         * sysdeps/mach/hurd/utimes.c: Likewise.
67588         * sysdeps/mach/hurd/xmknod.c: Likewise.
67589         * sysdeps/posix/profil.c: Likewise.
67590         * sysdeps/posix/readdir_r.c: Likewise.
67591         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67592         * sysdeps/powerpc/bits/setjmp.h: Likewise.
67593         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
67594         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67596         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67597         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67598         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67600         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67601         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67602         * sysdeps/pthread/lio_listio.c: Likewise.
67603         * sysdeps/sparc/dl-procinfo.h: Likewise.
67604         * sysdeps/unix/i386/sysdep.S: Likewise.
67605         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67606         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67607         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67608         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67610         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67611         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67612         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67613         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67614         * sysdeps/wordsize-32/divdi3.c: Likewise.
67615         * time/sys/time.h: Likewise.
67616         * wcsmbs/Makefile: Likewise.
67618 2013-01-01  David S. Miller  <davem@davemloft.net>
67620         * po/fr.po: Update from translation team.
67622         * catgets/gencat.c: Update copyright year.
67623         * csu/version.c: Likewise.
67624         * debug/catchsegv.sh: Likewise.
67625         * debug/pcprofiledump.c: Likewise.
67626         * debug/xtrace.sh: Likewise.
67627         * elf/ldconfig.c: Likewise.
67628         * elf/ldd.bash.in: Likewise.
67629         * elf/pldd.c: Likewise.
67630         * elf/sotruss.ksh: Likewise.
67631         * elf/sprof.c: Likewise.
67632         * iconv/iconv_prog.c: Likewise.
67633         * iconv/iconvconfig.c: Likewise.
67634         * locale/programs/locale.c: Likewise.
67635         * locale/programs/localedef.c: Likewise.
67636         * login/programs/pt_chown.c: Likewise.
67637         * malloc/memusage.sh: Likewise.
67638         * malloc/memusagestat.c: Likewise.
67639         * malloc/mtrace.pl: Likewise.
67640         * nscd/nscd.c: Likewise.
67641         * nss/getent.c: Likewise.
67642         * nss/makedb.c: Likewise.
67643         * posix/getconf.c: Likewise.
67645 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67647         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67648         numbers.
67650 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67652         * math/bits/mathcalls.h (modf): Use __nonnull.
67654 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67656         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67657         (split): Use macro CN instead of the bare value.
67658         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67659         could be used.
67660         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67661         instead of the bare value.
67662         (power1): Likewise.
67664 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67666         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67667         __ATAN_TWOM.
67668         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67670         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67671         their values.
67672         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67673         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67674         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67675         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67677 2012-12-28  Andreas Jaeger  <aj@suse.de>
67679         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67680         values are from Linux 3.7.
67682         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67683         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67685 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67687         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67688         TRUE case.
67690         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67691         (norm): Likewise.
67692         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67693         variables with preprocessor constants.
67694         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67695         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67696         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67698 2012-12-27  Bruno Haible  <bruno@clisp.org>
67700         [BZ #14317]
67701         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67702         only if needed.
67704 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67707         and use variable directly.
67708         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67710         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67711         MPONE.
67712         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67713         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67714         variable MPONE.
67715         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67717         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67718         include directive.  Remove local variable MPONE.
67719         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67720         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67721         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67723 2012-12-25  David S. Miller  <davem@davemloft.net>
67725         * version.h (RELEASE): Set to "development".
67726         (VERSION): Set to "2.17.90".
67727         * NEWS: Add 2.18 section.
67729 2012-12-21  David S. Miller  <davem@davemloft.net>
67731         * po/hr.po: Update from translation team.
67733 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67735         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67737 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67739         * NEWS:  Mention new memcpy for MIPS.
67741 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67743         * manual/contrib.texi (Contributors): Spelling correction.
67745 2012-12-15  David S. Miller  <davem@davemloft.net>
67747         * po/ru.po: Update from translation team.
67749 2012-12-13  David S. Miller  <davem@davemloft.net>
67751         * NEWS: Mention IFUNC testsuite enhancements.
67753         * po/pl.po: Update from translation team.
67754         * po/bg.po: Likewise.
67756         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67757         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67759 2012-12-11  David S. Miller  <davem@davemloft.net>
67761         * po/sv.po: Update from translation team.
67763         * po/vi.po: Update from translation team.
67765         * po/cs.po: Update from translation team.
67767         * po/de.po: Update from translation team.
67768         * po/eo.po: Likewise.
67769         * po/nl.po: Likewise.
67771 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67773         [BZ #14246]
67774         * manual/argp.texi (Argp Helper Functions): Move node to follow
67775         Argp Parsing State.
67777         [BZ #14872]
67778         * manual/conf.texi (Limits on File System Capacity): Mention if
67779         terminating null is included in the max size.
67781 2012-12-10  Andreas Jaeger  <aj@suse.de>
67783         * po/cs.po: Update from translation team.
67785 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67787         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67788         void pointer and cast to uintptr_t.
67789         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67790         path.
67791         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67792         * sysdeps/s390/s390-64/memset.S: Likewise.
67794 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67796         [BZ #14833]
67797         * menual/message.texi (Message Translation): Fix typos.
67798         (Helper programs for gettext): Likewise.
67800 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67802         [BZ #14898]
67803         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67804         Change to -1.
67806 2012-12-07  David S. Miller  <davem@davemloft.net>
67808         * po/libc.pot: Update.
67810 2012-12-07  Richard Henderson  <rth@redhat.com>
67812         [BZ #10114]
67813         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67814         normal/normal case to before the switch.
67815         (_FP_DIV): Likewise.
67817 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67818             Mike Frysinger  <vapier@gentoo.org>
67820         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67821         check for __NR_fadvise64_64.
67823 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67825         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67826         0, not just to plain "0" as a statement.
67827         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67828         with cw.
67830 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67832         * NEWS: Use sourceware.org in Bugzilla URL.
67834 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67837         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67839         * stdio-common/tst-put-error.c (do_test): Add newline to the
67840         padded test to ensure flush.
67842 2012-12-05  Jeff Law  <law@redhat.com>
67844         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67846 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67848         * README: Don't refer to ports add-on as distributed separately.
67849         Mention AArch64 in list of systems supported in the ports add-on.
67851         * LICENSES: Add more non-FSF copyright and license notices.
67853         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67854         ((unused)).
67856         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67858         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67859         10000 as width of padded output.
67861 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67863         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67865         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67866         variable LX with __attribute__ ((unused)).
67867         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67868         Likewise.
67869         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67870         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67871         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67872         with __attribute__ ((unused)).
67874 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67876         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67878 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67880         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67881         (CFLAGS-nldbl-acos.c): New variable.
67882         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67883         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67884         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67885         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67886         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67887         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67888         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67889         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67890         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67891         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67892         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67893         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67894         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67895         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67896         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67897         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67898         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67899         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67900         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67901         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67902         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67903         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67904         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67905         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67906         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67907         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67908         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67909         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67910         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67911         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67912         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67913         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67914         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67915         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67916         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67917         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67918         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67919         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67920         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67921         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67922         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67923         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67924         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67925         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67926         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67927         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67928         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67929         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67930         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67931         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67932         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67933         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67934         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67935         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67936         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67937         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67938         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67939         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67940         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67941         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67942         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67943         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67944         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67945         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67946         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67947         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67948         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67949         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67950         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67951         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67952         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67953         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67954         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67955         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67956         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67957         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67958         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67959         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67960         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67961         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67962         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67963         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67964         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67965         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67966         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67967         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67968         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67969         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67970         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67971         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67972         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67973         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67974         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67975         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67976         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67977         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67978         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67981         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67983         [BZ #14914]
67984         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67985         whole low double instead of just low 47 bits when splitting values
67986         into two parts.
67988 2012-12-03  Allan McRae  <allan@archlinux.org>
67990         * manual/stdio.texi (Predefined Printf Handlers): Remove
67991         @hsep and @vsep usage.
67993 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67995         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67996         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67998 2012-12-03  Jeff Law  <law@redhat.com>
68000         * time/sys/time.h (settimeofday): Do not mark TV argument
68001         as __nonnull.
68003 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
68005         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
68006         when currently writing and seek to current position when not.
68007         * libio/Makefile (tests): Remove bug-fclose1.
68008         * libio/bug-fclose1.c: Delete.
68010 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
68012         * manual/arith.texi (feenableexcept): Fix typo.
68013         (fedisableexcept): Likewise.
68015 2012-11-30  Roland McGrath  <roland@hack.frob.com>
68017         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
68018         second, differently-typed declaration, rather than a cast.
68020 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68022         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
68023         * include/rpc/svc.h: ... here.
68025 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
68027         [BZ #13013]
68028         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
68029         depending n and resplen2 to catch cases where answer
68030         equals answerp2.
68032 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
68034         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
68035         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
68037 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
68039         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
68041 2012-11-29  Roland McGrath  <roland@hack.frob.com>
68043         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
68045 2012-11-28  Jeff Law  <law@redhat.com>
68047         [BZ #13761]
68048         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
68049         dataset_temporary.  Track alloca usage into alloca_used.
68050         If dataset is large allocate and release it via malloc/free.
68052 2012-06-04  Florian Weimer  <fweimer@redhat.com>
68054         [BZ #14197]
68055         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
68057 2012-11-28  David S. Miller  <davem@davemloft.net>
68059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68061 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68063         [BZ #14803]
68064         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
68065         of pi/2 rounded to nearest to 64 bits.
68066         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
68067         nearest to 64 bits.
68068         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
68069         bits.
68071 2012-11-28  Jeff Law <law@redhat.com>
68072             Martin Osvald <mosvald@redhat.com>
68074         [BZ #14889]
68075         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
68076         * sunrpc/svc.c: Include time.h.
68077         (__svc_accept_failed): New function.
68078         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
68079         any reason other than EINTR, call __svc_accept_failed.
68080         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
68081         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
68083 2012-11-28  Andreas Schwab  <schwab@suse.de>
68085         * scripts/abilist.awk: Also handle indirect functions in .opd
68086         section.
68088 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68090         [BZ #13881]
68091         * sysdeps/x86/fpu/powl_helper.c: New file.
68092         * sysdeps/x86/fpu/Makefile: Likewise.
68093         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
68094         (p3): New object.
68095         (__ieee754_powl): Use __powl_helper for finite arguments except
68096         integer exponents below 8.
68097         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
68098         (p3): New object.
68099         (__ieee754_powl): Use __powl_helper for finite arguments except
68100         integer exponents below 8.
68101         * math/libm-test.inc (pow_test): Add more tests and enable some
68102         previously disabled tests.
68103         * sysdeps/i386/fpu/libm-test-ulps: Update.
68104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68106 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68107             Carlos O'Donell  <carlos_odonell@mentor.com>
68109         * nss/makedb.c (is_prime): Assert that input is odd and greater
68110         than 4.  Note that fact in a comment too.
68111         (next_prime): Add 4 to input.
68113 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68115         [BZ #11741]
68116         * libio/Makefile (tests): Add test case tst-fwrite-error.
68117         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
68118         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
68119         * libio/tst-fwrite-error.c: New test case.
68121 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
68123         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
68124         before casting to void *.
68125         * include/libc-internal.h (__pointer_type): New macro.
68126         (__integer_if_pointer_type_sub): Likewise.
68127         (__integer_if_pointer_type): Likewise.
68128         (cast_to_integer): Likewise.
68129         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
68130         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
68131         before casting to atomic64_t.
68132         (atomic_exchange_acq): Likewise.
68133         (__arch_exchange_and_add_body): Likewise.
68134         (__arch_add_body): Likewise.
68135         (atomic_add_negative): Likewise.
68136         (atomic_add_zero): Likewise.
68138 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
68140         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
68141         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
68142         (add_fdes): Likewise.
68143         (linear_search_fdes): Likewise.
68144         (binary_search_unencoded_fdes): Likewise.
68146 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
68148         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
68150 2012-11-24  Adam Conrad  <adconrad@0c3.net>
68152         * configure.in: Autodetect C++ header directories.
68153         * configure: Regenerated.
68155 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
68157         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
68159 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
68161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68163 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
68165         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
68166         LDBL_MANT_DIG == 106]: Disable some tests.
68167         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68168         Likewise.
68169         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68170         Likewise.
68172         [BZ #14871]
68173         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
68174         input for small inputs.  Return +/- pi/2 for large inputs.
68175         * math/libm-test.inc (atan_test): Add more tests.
68177         * sysdeps/generic/unwind-dw2-fde-glibc.c
68178         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
68179         __attribute__ ((unused)).
68181         [BZ #14645]
68182         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
68183         x * y if x and y are nonzero and z is zero.
68185         [BZ #14811]
68186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
68187         nonzero exponents with absolute value below 0x1p-117 to +/-
68188         0x1p-117.
68190         [BZ #14869]
68191         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
68192         up arguments below 2**-450, not just those below 2**-500.
68193         * math/libm-test.inc (hypot_test): Add another test.
68195         [BZ #14868]
68196         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
68197         Return a+b for ratio over 2**120, not 2**60.
68198         * math/libm-test.inc (hypot_test): Add another test.
68200         * math/libm-test.inc (clog_test): Use
68201         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
68202         (clog10_test): Likewise.
68204         [BZ #6778]
68205         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
68207 2012-11-22  Andreas Schwab  <schwab@suse.de>
68209         * sysdeps/i386/fpu/libm-test-ulps: Update.
68211 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
68213         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
68214         printf output with newline.
68216 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
68218         [BZ #14865]
68219         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
68220         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
68221         -z nodlopen, -z initfirst and -z execstack support.
68222         * configure: Regenerated.
68224         * elf/elf.h (DF_1_NODIRECT): New macro.
68225         (DF_1_IGNMULDEF): Likewise.
68226         (DF_1_NOKSYMS): Likewise.
68227         (DF_1_NOHDR): Likewise.
68228         (DF_1_EDITED): Likewise.
68229         (DF_1_NORELOC): Likewise.
68230         (DF_1_SYMINTPOSE): Likewise.
68231         (DF_1_GLOBAUDIT): Likewise.
68232         (DF_1_SINGLETON): Likewise.
68233         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
68234         DT_1_SUPPORTED_MASK bits.
68235         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
68237 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
68239         * sysdeps/unix/make-syscalls.sh: Document prefixes.
68241 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
68243         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68244         macro.
68246         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
68247         (sendmmsg): Move declarations...
68248         * socket/sys/socket.h: ... here.
68249         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
68250         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
68251         include it from...
68252         * socket/recvmmsg.c: ... this new file.
68253         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
68254         (sendmmsg): Rename to __sendmmsg, create weak alias and make
68255         definition of __sendmmsg hidden.
68256         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
68257         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
68258         Move ENOSYS stub into and include it from...
68259         * socket/sendmmsg.c: ... this new file.
68260         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
68261         (sysdep_routines): Move recvmmsg and sendmmsg...
68262         * socket/Makefile (routines): ... here.
68263         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
68264         (GLIBC_PRIVATE): Add __sendmmsg.
68265         * include/sys/socket.h (__sendmmsg): Add declarations.
68266         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
68267         sendmmsg.
68269 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
68271         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
68272         variable I1 with __attribute__ ((unused)).
68273         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68275 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68277         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
68278         DUMMY variables with __attribute__ ((unused)).
68280         * bits/byteswap.h: Include <bits/types.h>.
68281         (__bswap_64): Use __uint64_t instead of unsigned long long int.
68283 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68285         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
68286         string_t.  Do not manually set errno.
68287         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
68288         length with __strnlen.  Make sure to both set errno and return it on
68289         failure.
68291 2012-11-19  David S. Miller  <davem@davemloft.net>
68293         With help from Joseph Myers.
68294         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
68295         very large arguments properly.
68296         * math/libm-test.inc (atan_test): New tests.
68297         (atan2_test): New tests.
68298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68301 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68303         [BZ #14856]
68304         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
68305         Define to 3.
68307         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
68308         [POSIX] (EADDRNOTAVAIL): Likewise.
68309         [POSIX] (EAFNOSUPPORT): Likewise.
68310         [POSIX] (EALREADY): Likewise.
68311         [POSIX] (ECONNABORTED): Likewise.
68312         [POSIX] (ECONNREFUSED): Likewise.
68313         [POSIX] (ECONNRESET): Likewise.
68314         [POSIX] (EDESTADDRREQ): Likewise.
68315         [POSIX] (EDQUOT): Likewise.
68316         [POSIX] (EHOSTUNREACH): Likewise.
68317         [POSIX] (EIDRM): Likewise.
68318         [POSIX] (EISCONN): Likewise.
68319         [POSIX] (ELOOP): Likewise.
68320         [POSIX] (EMULTIHOP): Likewise.
68321         [POSIX] (ENETDOWN): Likewise.
68322         [POSIX] (ENETUNREACH): Likewise.
68323         [POSIX] (ENOBUFS): Likewise.
68324         [POSIX] (ENODATA): Likewise.
68325         [POSIX] (ENOLINK): Likewise.
68326         [POSIX] (ENOMSG): Likewise.
68327         [POSIX] (ENOPROTOOPT): Likewise.
68328         [POSIX] (ENOSR): Likewise.
68329         [POSIX] (ENOSTR): Likewise.
68330         [POSIX] (ENOTCONN): Likewise.
68331         [POSIX] (ENOTSOCK): Likewise.
68332         [POSIX] (EOPNOTSUPP): Likewise.
68333         [POSIX] (EOVERFLOW): Likewise.
68334         [POSIX] (EPROTO): Likewise.
68335         [POSIX] (EPROTONOSUPPORT): Likewise.
68336         [POSIX] (EPROTOTYPE): Likewise.
68337         [POSIX] (ESTALE): Likewise.
68338         [POSIX] (ETIME): Likewise.
68339         [POSIX] (ETXTBSY): Likewise.
68340         [POSIX] (EWOULDBLOCK): Likewise.
68341         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
68342         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
68343         [POSIX] (SEEK_CUR): Likewise.
68344         [POSIX] (SEEK_END): Likewise.
68345         [POSIX || UNIX98] (mode_t): Do not require.
68346         [POSIX] (off_t): Likewise.
68347         [POSIX] (pid_t): Likewise.
68348         [POSIX] (sys/stat.h): Do not allow header.
68349         [POSIX] (unistd.h): Likewise.
68350         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
68351         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
68352         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
68353         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
68354         require.
68355         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
68356         sigevent): Specify elements.
68357         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68358         entry.
68359         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
68360         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
68362         * conform/data/cpio.h-data [POSIX]: Disable whole file.
68363         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
68364         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
68365         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
68366         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
68367         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
68368         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
68369         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
68370         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
68371         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68372         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
68373         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
68374         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
68375         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
68376         Likewise.
68377         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
68378         Likewise.
68379         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
68380         Likewise.
68381         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
68382         Likewise.
68383         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
68384         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
68385         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
68386         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
68387         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
68388         Specify lower bound on value.
68389         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
68390         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
68391         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
68392         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
68393         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
68394         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
68395         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
68396         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
68397         value.
68398         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
68399         as optional.
68400         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
68401         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
68402         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
68403         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
68404         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
68405         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
68406         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
68407         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
68408         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
68409         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
68410         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
68411         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
68412         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
68413         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
68414         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
68415         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
68416         entry.
68417         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
68418         optional.
68419         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
68420         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
68421         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
68422         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
68423         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
68424         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
68425         Likewise.
68426         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
68427         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
68428         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
68429         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
68430         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
68431         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
68432         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
68433         as optional.
68434         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
68435         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
68436         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
68437         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
68438         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
68439         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
68440         specify as optional.
68441         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
68442         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
68443         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
68444         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
68445         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
68446         [XPG3] (NL_LANGMAX): Likewise.
68447         [POSIX || XPG3] (NL_MSGMAX): Likewise.
68448         [POSIX || XPG3] (NL_NMAX): Likewise.
68449         [POSIX || XPG3] (NL_SETMAX): Likewise.
68450         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
68451         [XPG3] (NZERO): Likewise.
68452         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
68453         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
68454         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
68455         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
68456         (REG_ERANGE): Expect.
68457         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
68458         optional-constant.
68459         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
68460         Use (void) in prototype.
68461         [POSIX] (*_t): Allow.
68462         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
68463         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
68464         (WRDE_BADVAL): Expect.
68466         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
68467         expect.
68468         [XPG3 || XPG4] (O_RSYNC): Likewise.
68469         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
68470         Likewise.
68471         [XPG3 || XPG4] (pthread_sigmask): Likewise.
68472         [XPG3 || XPG4] (sigqueue): Likewise.
68473         [XPG3 || XPG4] (sigtimedwait): Likewise.
68474         [XPG3 || XPG4] (sigwaitinfo): Likewise.
68475         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
68476         [XPG3 || XPG4] (vsnprintf): Likewise.
68477         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
68478         Likewise.
68479         [XPG3 || XPG4] (blksize_t): Likewise.
68480         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
68481         Likewise.
68482         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
68483         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
68484         [XPG3 || XPG4] (struct itimerspec): Likewise.
68485         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
68486         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
68487         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
68488         [XPG3 || XPG4] (clockid_t): Likewise.
68489         [XPG3 || XPG4] (timer_t): Likewise.
68490         [XPG3 || XPG4] (clock_getres): Likewise.
68491         [XPG3 || XPG4] (clock_gettime): Likewise.
68492         [XPG3 || XPG4] (clock_settime): Likewise.
68493         [XPG3 || XPG4] (nanosleep): Likewise.
68494         [XPG3 || XPG4] (timer_create): Likewise.
68495         [XPG3 || XPG4] (timer_delete): Likewise.
68496         [XPG3 || XPG4] (timer_gettime): Likewise.
68497         [XPG3 || XPG4] (timer_getoverrun): Likewise.
68498         [XPG3 || XPG4] (timer_settime): Likewise.
68499         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
68500         [XPG3 || XPG4] (getlogin_r): Likewise.
68501         [XPG3 || XPG4] (pread): Likewise.
68502         [XPG3 || XPG4] (pthread_atfork): Likewise.
68503         [XPG3 || XPG4] (pwrite): Likewise.
68505         [BZ #14835]
68506         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
68507         <bits/siginfo.h>.
68509 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68511         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
68512         finalizing MALLSTREAM.
68514         * sysdeps/mach/hurd/syncfs.c: New file.
68516 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68518         [BZ #14719]
68519         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
68520         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
68521         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
68522         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
68523         (_nss_dns_gethostbyname4_r): Likewise.
68524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
68525         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
68527 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
68529         [BZ #13763]
68530         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
68532 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
68534         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
68535         * elf/cache.c (print_entry): Print ",AArch64" for
68536         FLAG_AARCH64_LIB64
68538         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
68539         * elf/cache.c (print_entry): Print ",hard-float" for
68540         FLAG_ARM_LIBHF.
68542 2012-11-18  David S. Miller  <davem@davemloft.net>
68544         With help from Joseph Myers.
68545         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
68546         cutoff to 2**-13.
68547         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
68548         cutoff to 2**-25.
68549         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
68550         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
68551         small.
68552         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
68553         * math/libm-test.inc (y0_test): New tests.
68554         (y1_test): New tests.
68555         * sysdeps/i386/fpu/libm-test-ulps: Update.
68556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68559 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
68561         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
68562         64-bit targets.
68563         * configure: Regenerated.
68565 2012-11-17  David S. Miller  <davem@davemloft.net>
68567         [BZ #14811]
68568         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
68569         nonzero exponents with absolute value below 0x1p-128 to +/-
68570         0x1p-128.
68572 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
68574         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
68576         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
68578         * posix/getconf-speclist.c: New file.
68579         * posix/posix-envs.def: Likewise.
68580         * posix/confstr.c (START_ENV_GROUP): New macro.
68581         (END_ENV_GROUP): Likewise.
68582         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68583         (KNOWN_PRESENT_ENV_STRING): Likewise.
68584         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68585         (UNKNOWN_ENVIRONMENT): Likewise.
68586         (confstr): Include posix-envs.def instead of handling
68587         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
68588         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
68589         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
68590         (END_ENV_GROUP): Likewise.
68591         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68592         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68593         (UNKNOWN_ENVIRONMENT): Likewise.
68594         (__sysconf): Include posix-envs.def instead of handling associated
68595         cases directly here.
68596         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
68597         preprocessing getconf-speclist.c rather than running getconf or
68598         generating empty file.
68600 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
68602         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68604 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68606         [BZ #14672]
68607         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68609 2012-11-16  David S. Miller  <davem@davemloft.net>
68611         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68612         smaller than LDBL_EPSILON/2.0L, just return xm1.
68614 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68616         * elf/tst-array1.c (init): Set constructor priority to 1000.
68617         (fini): Set destructor priority to 1000.
68618         * elf/tst-array2dep.c: Likewise.
68620 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68622         [BZ #11741]
68623         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68624         (_IO_new_file_xsputn): Also return EOF if none of the input
68625         data was written when overflow failed.
68626         * libio/iopadn.c (_IO_padn): Likewise.
68627         * libio/iowpadn.c (_IO_wpadn): Likewise.
68628         * stdio-common/tst-put-error.c: Add copyright notice.
68629         (do_test): Add case for printing padded string.
68630         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68631         _IO_padn returned error.
68632         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68633         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68634         return EOF.
68636 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68638         * libio/libioP.h: Add comment note that the references to C++
68639         bits are now obsolete.
68641 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68643         * math/libm-test.inc (check_complex): Use asprintf.
68645 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68647         * debug/pcprofiledump.c (print_version): Update copyright year.
68648         * malloc/memusagestat.c (print_version): Likewise.
68650 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68652         [BZ #14831]
68653         * elf/Makefile (tests): Add tst-audit8.
68654         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68655         ($(objpfx)tst-audit8.out): New target.
68656         (tst-audit8-ENV): New variable.
68657         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68658         audit if l_reloc_result is NULL.
68659         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68660         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68661         * elf/tst-audit8.c: New file.
68663 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68665         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68666         * misc/Makefile (CFLAGS-select.c): Define.
68667         * posix/Makefile (CFLAGS-pause.c): Define.
68669 2012-11-13  David S. Miller  <davem@davemloft.net>
68671         * crypt/Makefile: Move test targets after toplevel Rules
68672         inclusion.  Grab any necessary sysdep routines when linking.
68673         * crypt/md5.c (md5_process_block): Remove define, we will always
68674         name it __md5_process_block.
68675         (md5_finish_ctx): Update md5_process_block call.
68676         (md5_stream): Likewise.
68677         (md5_process_bytes): Likewise.
68678         (md5_process_block): Rename to __md5_process_block and move to ...
68679         * crypt/md5-block.c: ... here.
68680         * crypt/sha256.c (sha256_process_block): Move to ...
68681         * crypt/sha256-block.c: ... here.
68682         * crypt/sha512.c (sha512_process_block): Move to ...
68683         * crypt/sha512-block.c: ... here.
68684         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68685         path.
68686         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68687         * sysdeps/sparc/sparc64/multiarch/Makefile
68688         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68689         crypt subdir.
68690         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68691         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68692         multiarch changes.
68693         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68694         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68695         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68696         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68697         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68698         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68699         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68700         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68701         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68702         file.
68703         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68704         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68705         file.
68706         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68708 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68710         * timezone/tzselect.ksh: Update from tzcode git revision
68711         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68712         * timezone/zdump.c: Likewise.
68713         * timezone/zic.c: Likewise.
68714         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68715         in TZVERSION setting, not $(PKGVERSION).
68716         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68717         REPORT_BUGS_TO settings.
68719         [BZ #14838]
68720         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68721         macro.
68723 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68725         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68726         detection to immediately after _FP_ROUND().
68727         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68728         bits are 0.
68730 2012-11-11  David S. Miller  <davem@davemloft.net>
68732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68733         inttypes.h
68734         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68735         __close rather than their public counterparts.
68737 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68739         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68740         file.
68741         [UNIX98] (sem_timedwait): Do not expect.
68742         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68743         [XPG4 || UNIX98] (sockatmark): Do not expect.
68744         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68745         (clock_getcpuclockid): Do not expect.
68746         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68747         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68748         Do not expect.
68749         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68750         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68751         [UNIX98] (vwscanf): Likewise.
68752         [UNIX98] (vswscanf): Likewise.
68754 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68756         * timezone/version.h: Remove file.
68757         * timezone/README: Do not refer to version.h.
68758         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68759         $(objpfx)version.h.
68760         ($(objpfx)zdump.o): Likewise.
68761         ($(objpfx)version.h): New target.
68763         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68764         2012i.
68765         * timezone/README: Don't mention modification to tzselect.ksh.
68766         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68767         work on unmodified tzselect.ksh.  Substitute version numbers in
68768         tzselect.ksh.
68770         * Makefile (format-me): Remove.
68771         (INSTALL): Adjust indentation.  Use commands directly instead of
68772         using $(format-me).
68774         * aclocal.m4 (ACX_PKGVERSION): New macro.
68775         (ACX_BUGURL): Likewise.
68776         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68777         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68778         (REPORT_BUGS_TO): Likewise.
68779         * configure: Regenerated.
68780         * config.h.in (PKGVERSION): New macro.
68781         (REPORT_BUGS_TO): Likewise.
68782         * config.make.in (PKGVERSION): New variable.
68783         (PKGVERSION_TEXI): Likewise.
68784         (REPORT_BUGS_TO): Likewise.
68785         (REPORT_BUGS_TEXI): Likewise.
68786         * Makefile (format-me): Use -I$(common-objpfx)manual.
68787         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68788         ($(common-objpfx)manual/%): New target.
68789         (manual/%): Remove target.
68790         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68791         (print_version): Use PKGVERSION.
68792         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68793         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68794         and REPORT_BUGS_TO.
68795         ($(objpfx)xtrace): Likewise.
68796         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68797         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68798         (print_version): Use PKGVERSION.
68799         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68800         (do_version): Use PKGVERSION.
68801         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68802         REPORT_BUGS_TO.
68803         (common-ldd-rewrite): Likewise.
68804         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68805         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68806         (print_version): Use PKGVERSION.
68807         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68808         * elf/pldd.c (argp_program_bug_address): Remove variable.
68809         (more_help): New function.
68810         (argp): Use more_help.
68811         (print_version): Use PKGVERSION.
68812         * elf/sln.c (main): Use PKGVERSION.
68813         (usage): Use REPORT_BUGS_TO.
68814         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68815         (top level): Use PKGVERSION.
68816         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68817         (print_version): Use PKGVERSION.
68818         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68819         (print_version): Use PKGVERSION.
68820         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68821         (print_version): Use PKGVERSION.
68822         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68823         (print_version): Use PKGVERSION.
68824         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68825         (print_version): Use PKGVERSION.
68826         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68827         (print_version): Use PKGVERSION.
68828         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68829         and BUGURL.
68830         ($(objpfx)memusage): Likewise.
68831         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68832         (do_version): Use PKGVERSION.
68833         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68834         (print_version): Use PKGVERSION.
68835         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68836         ($PKGVERSION): New variable.
68837         ($REPORT_BUGS_TO): Likewise.
68838         (usage): Use $REPORT_BUGS_TO.
68839         (top level): Use $PKGVERSION.
68840         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68841         ($(objpfx)pkgvers.texi): New rule.
68842         ($(objpfx)stamp-pkgvers): Likewise.
68843         * manual/install.texi: Include pkgvers.texi.
68844         (--with-pkgversion): Document new configure option.
68845         (--with-bugurl): Likewise.
68846         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68847         than necessarily for this particular distribution.  Use
68848         REPORT_BUGS_TO for where to report bugs.
68849         * INSTALL: Regenerated.
68850         * manual/libc.texinfo: Include pkgvers.texi.
68851         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68852         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68853         (print_version): Use PKGVERSION.
68854         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68855         (print_version): Use PKGVERSION.
68856         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68857         (print_version): Use PKGVERSION.
68858         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68859         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68860         macro.
68861         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68862         (print_version): Use PKGVERSION.
68863         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68864         (print_version): Use PKGVERSION.
68865         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68866         and PKGVERSION.
68868         * timezone/checktab.awk: Update from tzcode 2012i.
68869         * timezone/ialloc.c: Likewise.
68870         * timezone/private.h: Likewise.
68871         * timezone/scheck.c: Likewise.
68872         * timezone/tzfile.h: Likewise.
68873         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68874         (TZVERSION): Hardcode tzcode version number.
68875         * timezone/zdump.c: Update from tzcode 2012i.
68876         * timezone/zic.c: Likewise.
68877         * timezone/version.h: New file.
68878         * timezone/README: Describe version.h.  Update upstream location.
68880         [BZ #14824]
68881         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68882         (mktemp): Enable declaration.
68883         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68884         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68885         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68887         Likewise.
68888         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68889         Likewise.
68890         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68891         Likewise.
68892         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68893         Likewise.
68894         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68895         Likewise.
68896         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68897         Likewise.
68899         [BZ #14821]
68900         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68901         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68902         for copies of such integer values.
68903         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68904         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68906 2012-11-09  Andreas Jaeger  <aj@suse.de>
68908         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68909         definitions and declarations that are provided by
68910         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68912 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68914         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68915         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68916         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68917         definition.
68919 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68921         * elf/elf.h: Update comment before AArch64 relocations.
68923 2012-11-07  David S. Miller  <davem@davemloft.net>
68925         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68926         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68927         (__start_context): Declare.
68928         (__makecontext_ret): Delete.
68929         (__makecontext): Hook up __start_context instead of
68930         __makecontext_ret.
68931         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68932         (sysdep_routines): Add __start_context when in stdlib.
68934 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68936         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68937         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68938         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68939         hardcoded "nm".
68940         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68941         (READELF): New variable.  Use it instead of hardcoded "readelf".
68943 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68945         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68946         * sysdeps/x86/Makefile: Here.
68947         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68948         * sysdeps/x86/tst-xmmymm.sh: This.
68950 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68952         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68953         expectations.
68954         [UNIX98] (pthread_barrier_t): Do not expect.
68955         [UNIX98] (pthread_barrierattr_t): Likewise.
68956         [UNIX98] (pthread_spinlock_t): Likewise.
68957         [UNIX98] (pthread_barrier_destroy): Likewise.
68958         [UNIX98] (pthread_barrier_init): Likewise.
68959         [UNIX98] (pthread_barrier_wait): Likewise.
68960         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68961         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68962         [UNIX98] (pthread_barrierattr_init): Likewise.
68963         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68964         [UNIX98] (pthread_getcpuclockid): Likewise.
68965         [UNIX98] (pthread_mutex_timedlock): Likewise.
68966         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68967         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68968         [UNIX98] (pthread_sigmask): Likewise.
68969         [UNIX98] (pthread_spin_destroy): Likewise.
68970         [UNIX98] (pthread_spin_init): Likewise.
68971         [UNIX98] (pthread_spin_lock): Likewise.
68972         [UNIX98] (pthread_spin_trylock): Likewise.
68973         [UNIX98] (pthread_spin_unlock): Likewise.
68974         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68975         Do not expect.
68976         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68977         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68978         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68979         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68980         [XPG3 || XPG4] (pthread_key_t): Likewise.
68981         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68982         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68983         [XPG3 || XPG4] (pthread_once_t): Likewise.
68984         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68985         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68986         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68987         [XPG3 || XPG4] (pthread_t): Likewise.
68989         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68990         not expect.
68991         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68993         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68994         Change function return type to int.
68996         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68997         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68998         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68999         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
69000         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
69001         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
69002         [!POSIX] (posix_madvise): Likewise.
69003         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
69004         && !UNIX98].
69005         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
69006         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
69007         (mode_t): Likewise.
69008         (posix_mem_offset): Likewise.
69009         (posix_typed_mem_get_info): Likewise.
69010         (posix_typed_mem_open): Likewise.
69012         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
69013         Change condition to [XOPEN2K8].
69015         * conform/conformtest.pl: Preprocess allow-header data with -x c
69016         instead of from stdin.
69017         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
69018         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
69019         [C99-based standards] (cerfc): Likewise.
69020         [C99-based standards] (cexp2): Likewise.
69021         [C99-based standards] (cexpm1): Likewise.
69022         [C99-based standards] (clog10): Likewise.
69023         [C99-based standards] (clog1p): Likewise.
69024         [C99-based standards] (clog2): Likewise.
69025         [C99-based standards] (clgamma): Likewise.
69026         [C99-based standards] (ctgamma): Likewise.
69027         [C99-based standards] (cerff): Likewise.
69028         [C99-based standards] (cerfcf): Likewise.
69029         [C99-based standards] (cexp2f): Likewise.
69030         [C99-based standards] (cexpm1f): Likewise.
69031         [C99-based standards] (clog10f): Likewise.
69032         [C99-based standards] (clog1pf): Likewise.
69033         [C99-based standards] (clog2f): Likewise.
69034         [C99-based standards] (clgammaf): Likewise.
69035         [C99-based standards] (ctgammaf): Likewise.
69036         [C99-based standards] (cerfl): Likewise.
69037         [C99-based standards] (cerfcl): Likewise.
69038         [C99-based standards] (cexp2l): Likewise.
69039         [C99-based standards] (cexpm1l): Likewise.
69040         [C99-based standards] (clog10l): Likewise.
69041         [C99-based standards] (clog1pl): Likewise.
69042         [C99-based standards] (clog2l): Likewise.
69043         [C99-based standards] (clgammal): Likewise.
69044         [C99-based standards] (ctgammal): Likewise.
69045         * conform/data/inttypes.h-data [C99-based standards]: Include
69046         stdint.h-data.  Remove all expectations for stdint.h contents.
69047         [C99-based standards] (PRI*): Do not allow.
69048         [C99-based standards] (SCN*): Likewise.
69049         [C99-based standards] (*_t): Likewise.
69050         [C99-based-standards] (PRId8): Expect macro.
69051         [C99-based-standards] (PRIi8): Likewise.
69052         [C99-based-standards] (PRIo8): Likewise.
69053         [C99-based-standards] (PRIu8): Likewise.
69054         [C99-based-standards] (PRIx8): Likewise.
69055         [C99-based-standards] (PRIX8): Likewise.
69056         [C99-based-standards] (SCNd8): Likewise.
69057         [C99-based-standards] (SCNi8): Likewise.
69058         [C99-based-standards] (SCNo8): Likewise.
69059         [C99-based-standards] (SCNu8): Likewise.
69060         [C99-based-standards] (SCNx8): Likewise.
69061         [C99-based-standards] (PRIdLEAST8): Likewise.
69062         [C99-based-standards] (PRIiLEAST8): Likewise.
69063         [C99-based-standards] (PRIoLEAST8): Likewise.
69064         [C99-based-standards] (PRIuLEAST8): Likewise.
69065         [C99-based-standards] (PRIxLEAST8): Likewise.
69066         [C99-based-standards] (PRIXLEAST8): Likewise.
69067         [C99-based-standards] (SCNdLEAST8): Likewise.
69068         [C99-based-standards] (SCNiLEAST8): Likewise.
69069         [C99-based-standards] (SCNoLEAST8): Likewise.
69070         [C99-based-standards] (SCNuLEAST8): Likewise.
69071         [C99-based-standards] (SCNxLEAST8): Likewise.
69072         [C99-based-standards] (PRIdFAST8): Likewise.
69073         [C99-based-standards] (PRIiFAST8): Likewise.
69074         [C99-based-standards] (PRIoFAST8): Likewise.
69075         [C99-based-standards] (PRIuFAST8): Likewise.
69076         [C99-based-standards] (PRIxFAST8): Likewise.
69077         [C99-based-standards] (PRIXFAST8): Likewise.
69078         [C99-based-standards] (SCNdFAST8): Likewise.
69079         [C99-based-standards] (SCNiFAST8): Likewise.
69080         [C99-based-standards] (SCNoFAST8): Likewise.
69081         [C99-based-standards] (SCNuFAST8): Likewise.
69082         [C99-based-standards] (SCNxFAST8): Likewise.
69083         [C99-based-standards] (PRId16): Likewise.
69084         [C99-based-standards] (PRIi16): Likewise.
69085         [C99-based-standards] (PRIo16): Likewise.
69086         [C99-based-standards] (PRIu16): Likewise.
69087         [C99-based-standards] (PRIx16): Likewise.
69088         [C99-based-standards] (PRIX16): Likewise.
69089         [C99-based-standards] (SCNd16): Likewise.
69090         [C99-based-standards] (SCNi16): Likewise.
69091         [C99-based-standards] (SCNo16): Likewise.
69092         [C99-based-standards] (SCNu16): Likewise.
69093         [C99-based-standards] (SCNx16): Likewise.
69094         [C99-based-standards] (PRIdLEAST16): Likewise.
69095         [C99-based-standards] (PRIiLEAST16): Likewise.
69096         [C99-based-standards] (PRIoLEAST16): Likewise.
69097         [C99-based-standards] (PRIuLEAST16): Likewise.
69098         [C99-based-standards] (PRIxLEAST16): Likewise.
69099         [C99-based-standards] (PRIXLEAST16): Likewise.
69100         [C99-based-standards] (SCNdLEAST16): Likewise.
69101         [C99-based-standards] (SCNiLEAST16): Likewise.
69102         [C99-based-standards] (SCNoLEAST16): Likewise.
69103         [C99-based-standards] (SCNuLEAST16): Likewise.
69104         [C99-based-standards] (SCNxLEAST16): Likewise.
69105         [C99-based-standards] (PRIdFAST16): Likewise.
69106         [C99-based-standards] (PRIiFAST16): Likewise.
69107         [C99-based-standards] (PRIoFAST16): Likewise.
69108         [C99-based-standards] (PRIuFAST16): Likewise.
69109         [C99-based-standards] (PRIxFAST16): Likewise.
69110         [C99-based-standards] (PRIXFAST16): Likewise.
69111         [C99-based-standards] (SCNdFAST16): Likewise.
69112         [C99-based-standards] (SCNiFAST16): Likewise.
69113         [C99-based-standards] (SCNoFAST16): Likewise.
69114         [C99-based-standards] (SCNuFAST16): Likewise.
69115         [C99-based-standards] (SCNxFAST16): Likewise.
69116         [C99-based-standards] (PRId32): Likewise.
69117         [C99-based-standards] (PRIi32): Likewise.
69118         [C99-based-standards] (PRIo32): Likewise.
69119         [C99-based-standards] (PRIu32): Likewise.
69120         [C99-based-standards] (PRIx32): Likewise.
69121         [C99-based-standards] (PRIX32): Likewise.
69122         [C99-based-standards] (SCNd32): Likewise.
69123         [C99-based-standards] (SCNi32): Likewise.
69124         [C99-based-standards] (SCNo32): Likewise.
69125         [C99-based-standards] (SCNu32): Likewise.
69126         [C99-based-standards] (SCNx32): Likewise.
69127         [C99-based-standards] (PRIdLEAST32): Likewise.
69128         [C99-based-standards] (PRIiLEAST32): Likewise.
69129         [C99-based-standards] (PRIoLEAST32): Likewise.
69130         [C99-based-standards] (PRIuLEAST32): Likewise.
69131         [C99-based-standards] (PRIxLEAST32): Likewise.
69132         [C99-based-standards] (PRIXLEAST32): Likewise.
69133         [C99-based-standards] (SCNdLEAST32): Likewise.
69134         [C99-based-standards] (SCNiLEAST32): Likewise.
69135         [C99-based-standards] (SCNoLEAST32): Likewise.
69136         [C99-based-standards] (SCNuLEAST32): Likewise.
69137         [C99-based-standards] (SCNxLEAST32): Likewise.
69138         [C99-based-standards] (PRIdFAST32): Likewise.
69139         [C99-based-standards] (PRIiFAST32): Likewise.
69140         [C99-based-standards] (PRIoFAST32): Likewise.
69141         [C99-based-standards] (PRIuFAST32): Likewise.
69142         [C99-based-standards] (PRIxFAST32): Likewise.
69143         [C99-based-standards] (PRIXFAST32): Likewise.
69144         [C99-based-standards] (SCNdFAST32): Likewise.
69145         [C99-based-standards] (SCNiFAST32): Likewise.
69146         [C99-based-standards] (SCNoFAST32): Likewise.
69147         [C99-based-standards] (SCNuFAST32): Likewise.
69148         [C99-based-standards] (SCNxFAST32): Likewise.
69149         [C99-based-standards] (PRId64): Likewise.
69150         [C99-based-standards] (PRIi64): Likewise.
69151         [C99-based-standards] (PRIo64): Likewise.
69152         [C99-based-standards] (PRIu64): Likewise.
69153         [C99-based-standards] (PRIx64): Likewise.
69154         [C99-based-standards] (PRIX64): Likewise.
69155         [C99-based-standards] (SCNd64): Likewise.
69156         [C99-based-standards] (SCNi64): Likewise.
69157         [C99-based-standards] (SCNo64): Likewise.
69158         [C99-based-standards] (SCNu64): Likewise.
69159         [C99-based-standards] (SCNx64): Likewise.
69160         [C99-based-standards] (PRIdLEAST64): Likewise.
69161         [C99-based-standards] (PRIiLEAST64): Likewise.
69162         [C99-based-standards] (PRIoLEAST64): Likewise.
69163         [C99-based-standards] (PRIuLEAST64): Likewise.
69164         [C99-based-standards] (PRIxLEAST64): Likewise.
69165         [C99-based-standards] (PRIXLEAST64): Likewise.
69166         [C99-based-standards] (SCNdLEAST64): Likewise.
69167         [C99-based-standards] (SCNiLEAST64): Likewise.
69168         [C99-based-standards] (SCNoLEAST64): Likewise.
69169         [C99-based-standards] (SCNuLEAST64): Likewise.
69170         [C99-based-standards] (SCNxLEAST64): Likewise.
69171         [C99-based-standards] (PRIdFAST64): Likewise.
69172         [C99-based-standards] (PRIiFAST64): Likewise.
69173         [C99-based-standards] (PRIoFAST64): Likewise.
69174         [C99-based-standards] (PRIuFAST64): Likewise.
69175         [C99-based-standards] (PRIxFAST64): Likewise.
69176         [C99-based-standards] (PRIXFAST64): Likewise.
69177         [C99-based-standards] (SCNdFAST64): Likewise.
69178         [C99-based-standards] (SCNiFAST64): Likewise.
69179         [C99-based-standards] (SCNoFAST64): Likewise.
69180         [C99-based-standards] (SCNuFAST64): Likewise.
69181         [C99-based-standards] (SCNxFAST64): Likewise.
69182         [C99-based-standards] (PRIdMAX): Likewise.
69183         [C99-based-standards] (PRIiMAX): Likewise.
69184         [C99-based-standards] (PRIoMAX): Likewise.
69185         [C99-based-standards] (PRIuMAX): Likewise.
69186         [C99-based-standards] (PRIxMAX): Likewise.
69187         [C99-based-standards] (PRIXMAX): Likewise.
69188         [C99-based-standards] (SCNdMAX): Likewise.
69189         [C99-based-standards] (SCNiMAX): Likewise.
69190         [C99-based-standards] (SCNoMAX): Likewise.
69191         [C99-based-standards] (SCNuMAX): Likewise.
69192         [C99-based-standards] (SCNxMAX): Likewise.
69193         [C99-based-standards] (PRIdPTR): Likewise.
69194         [C99-based-standards] (PRIiPTR): Likewise.
69195         [C99-based-standards] (PRIoPTR): Likewise.
69196         [C99-based-standards] (PRIuPTR): Likewise.
69197         [C99-based-standards] (PRIxPTR): Likewise.
69198         [C99-based-standards] (PRIXPTR): Likewise.
69199         [C99-based-standards] (SCNdPTR): Likewise.
69200         [C99-based-standards] (SCNiPTR): Likewise.
69201         [C99-based-standards] (SCNoPTR): Likewise.
69202         [C99-based-standards] (SCNuPTR): Likewise.
69203         [C99-based-standards] (SCNxPTR): Likewise.
69204         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
69205         allow.
69206         * conform/data/stdint.h-data: Update comments to clarify
69207         requirements.
69208         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
69209         type.
69210         [C99-based standards] (INT8_MAX): Likewise.
69211         [C99-based standards] (INT16_MIN): Likewise.
69212         [C99-based standards] (INT16_MAX): Likewise.
69213         [C99-based standards] (INT32_MIN): Likewise.
69214         [C99-based standards] (INT32_MAX): Likewise.
69215         [C99-based standards] (INT64_MIN): Likewise.
69216         [C99-based standards] (INT64_MAX): Likewise.
69217         [C99-based standards] (UINT8_MAX): Likewise.
69218         [C99-based standards] (UINT16_MAX): Likewise.
69219         [C99-based standards] (UINT32_MAX): Likewise.
69220         [C99-based standards] (UINT64_MAX): Likewise.
69221         [C99-based standards] (INT_LEAST8_MIN): Likewise.
69222         [C99-based standards] (INT_LEAST8_MAX): Likewise.
69223         [C99-based standards] (INT_LEAST16_MIN): Likewise.
69224         [C99-based standards] (INT_LEAST16_MAX): Likewise.
69225         [C99-based standards] (INT_LEAST32_MIN): Likewise.
69226         [C99-based standards] (INT_LEAST32_MAX): Likewise.
69227         [C99-based standards] (INT_LEAST64_MIN): Likewise.
69228         [C99-based standards] (INT_LEAST64_MAX): Likewise.
69229         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
69230         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
69231         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
69232         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
69233         [C99-based standards] (INT_FAST8_MIN): Likewise.
69234         [C99-based standards] (INT_FAST8_MAX): Likewise.
69235         [C99-based standards] (INT_FAST16_MIN): Likewise.
69236         [C99-based standards] (INT_FAST16_MAX): Likewise.
69237         [C99-based standards] (INT_FAST32_MIN): Likewise.
69238         [C99-based standards] (INT_FAST32_MAX): Likewise.
69239         [C99-based standards] (INT_FAST64_MIN): Likewise.
69240         [C99-based standards] (INT_FAST64_MAX): Likewise.
69241         [C99-based standards] (UINT_FAST8_MAX): Likewise.
69242         [C99-based standards] (UINT_FAST16_MAX): Likewise.
69243         [C99-based standards] (UINT_FAST32_MAX): Likewise.
69244         [C99-based standards] (UINT_FAST64_MAX): Likewise.
69245         [C99-based standards] (INTPTR_MIN): Likewise.
69246         [C99-based standards] (INTPTR_MAX): Likewise.
69247         [C99-based standards] (UINTPTR_MAX): Likewise.
69248         [C99-based standards] (INTMAX_MIN): Likewise.
69249         [C99-based standards] (INTMAX_MAX): Likewise.
69250         [C99-based standards] (UINTMAX_MAX): Likewise.
69251         [C99-based standards] (PTRDIFF_MIN): Likewise.
69252         [C99-based standards] (PTRDIFF_MAX): Likewise.
69253         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
69254         [C99-based standards] (SIZE_MAX): Likewise.
69255         [C99-based standards] (WCHAR_MAX): Likewise.
69256         [C99-based standards] (WINT_MAX): Likewise.
69257         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
69258         constraint on value.
69259         [C99-based standards] (WCHAR_MIN): Likewise.
69260         [C99-based standards] (WINT_MIN): Likewise.
69261         [C99-based standards] (*_t): Allow.
69262         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
69263         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
69264         Include math.h-data and complex.h-data.  Remove all expectations
69265         of math.h and complex.h contents.
69266         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
69267         at end of line.
69268         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
69269         (struct tm): Expect tag.
69270         [C99-based-standards] (wcstof): Expect function.
69271         [C99-based-standards] (wcstold): Likewise.
69272         [C99-based-standards] (wcstoll): Likewise.
69273         [C99-based-standards] (wcstoull): Likewise.
69274         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
69275         macro-int-constant.  Specify type.
69276         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
69277         constraint on value.
69278         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69279         Specify type.
69280         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
69281         Specify value.
69282         [ISO C standards]: Do not allow headers.
69283         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
69284         wcs[abcdefghijklmnopqrstuvwxyz]*.
69285         [ISO C standards] (*_t): Do not allow.
69286         * conform/data/wctype.h-data [C99-based standards] (iswblank):
69287         Expect function.
69288         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
69289         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69290         Specify type.
69291         [ISO C standards]: Do not allow headers.
69292         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
69293         is[abcdefghijklmnopqrstuvwxyz]*.
69294         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
69295         to[abcdefghijklmnopqrstuvwxyz]*.
69296         [ISO C standards] (*_t): Do not allow.
69297         * conform/data/stdalign.h-data: New file.
69298         * conform/data/stdbool.h-data: Likewise.
69299         * conform/data/stdnoreturn.h-data: Likewise.
69301 2012-11-07  Roland McGrath  <roland@hack.frob.com>
69303         [BZ #14815]
69304         * manual/filesys.texi (Directory Entries): Typo fix.
69305         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
69307 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69309         * elf/elf.h (EM_AARCH64): New macro.
69310         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
69311         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
69312         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
69313         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
69314         (R_AARCH64_TLSDESC): Likewise.
69315         (NT_ARM_TLS): Likewise.
69316         (NT_ARM_HW_BREAK): Likewise.
69317         (NT_ARM_HW_WATCH): Likewise.
69319 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69321         [BZ #14811]
69322         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
69323         (__ieee754_powl): Saturate nonzero exponents with absolute value
69324         below 0x1p-79 to +/- 0x1p-79.
69325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
69326         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
69327         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
69328         nonzero exponents with absolute value below 0x1p-32 to +/-
69329         0x1p-32.
69330         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
69331         (__ieee754_powl): Saturate nonzero exponents with absolute value
69332         below 0x1p-79 to +/- 0x1p-79.
69333         * math/libm-test.inc (pow_test): Add more tests.
69335 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69337         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
69338         _dl_s390_cap_flags with kernel. Increase string length.
69339         (_dl_s390_platforms): Add z196 and zEC12.
69341 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69343         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
69344         Change XOPEN21K to XOPEN2K.
69346 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
69348         * string/memmove.c: Use memcpy when possible.
69350 2012-11-06  Andreas Jaeger  <aj@suse.de>
69352         * po/eo.po: Update from translation team.
69354 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
69356         [BZ #14793]
69357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
69358         exponent and small x and y exponents, scale x or y up.  Increase
69359         by 2 the exponent used in scaling up.
69360         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69362         * math/libm-test.inc (fma_test): Add more tests.
69363         (fma_test_towardzero): Likewise.
69364         (fma_test_downward): Likewise.
69365         (fma_test_upward): Likewise.
69367 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
69369         [BZ #14805]
69370         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
69371         fenv_t *.
69373         [BZ #14801]
69374         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
69375         namespace for names of struct fields.
69376         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
69377         fenv_t fields.
69378         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
69379         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
69381 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69383         [BZ #3665]
69384         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
69386 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69388         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
69389         PTR_DEMANGLE.
69391         [BZ #5246]
69392         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
69393         PTR_DEMANGLE.
69395 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
69397         [BZ #14797]
69398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
69399         definitely overflow as x * y not x * y + z.
69400         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69401         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69402         * math/libm-test.inc (fma_test): Add more tests.
69403         (fma_test_towardzero): Likewise.
69404         (fma_test_downward): Likewise.
69405         (fma_test_upward): Likewise.
69407 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69409         [BZ #157]
69411         * include/stub-tag.h: Remove file.
69412         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
69413         '#include' of it.
69414         * manual/maint.texi (Porting): Don't reference it.
69415         * Makerules ($(objpfx)stubs): Likewise.
69416         * dirent/closedir.c: Don't include <stub-tag.h>.
69417         * dirent/dirfd.c: Likewise.
69418         * dirent/fdopendir.c: Likewise.
69419         * dirent/getdents.c: Likewise.
69420         * dirent/getdents64.c: Likewise.
69421         * dirent/opendir.c: Likewise.
69422         * dirent/readdir.c: Likewise.
69423         * dirent/readdir64.c: Likewise.
69424         * dirent/readdir64_r.c: Likewise.
69425         * dirent/readdir_r.c: Likewise.
69426         * dirent/rewinddir.c: Likewise.
69427         * dirent/seekdir.c: Likewise.
69428         * dirent/telldir.c: Likewise.
69429         * gmon/profil.c: Likewise.
69430         * grp/setgroups.c: Likewise.
69431         * inet/if_index.c: Likewise.
69432         * io/access.c: Likewise.
69433         * io/chdir.c: Likewise.
69434         * io/chmod.c: Likewise.
69435         * io/chown.c: Likewise.
69436         * io/close.c: Likewise.
69437         * io/dup.c: Likewise.
69438         * io/dup2.c: Likewise.
69439         * io/dup3.c: Likewise.
69440         * io/euidaccess.c: Likewise.
69441         * io/faccessat.c: Likewise.
69442         * io/fchdir.c: Likewise.
69443         * io/fchmod.c: Likewise.
69444         * io/fchmodat.c: Likewise.
69445         * io/fchown.c: Likewise.
69446         * io/fchownat.c: Likewise.
69447         * io/fcntl.c: Likewise.
69448         * io/flock.c: Likewise.
69449         * io/fstatfs.c: Likewise.
69450         * io/fstatfs64.c: Likewise.
69451         * io/fstatvfs.c: Likewise.
69452         * io/fstatvfs64.c: Likewise.
69453         * io/futimens.c: Likewise.
69454         * io/fxstat.c: Likewise.
69455         * io/fxstat64.c: Likewise.
69456         * io/fxstatat.c: Likewise.
69457         * io/fxstatat64.c: Likewise.
69458         * io/getcwd.c: Likewise.
69459         * io/isatty.c: Likewise.
69460         * io/lchmod.c: Likewise.
69461         * io/lchown.c: Likewise.
69462         * io/link.c: Likewise.
69463         * io/linkat.c: Likewise.
69464         * io/lseek.c: Likewise.
69465         * io/lseek64.c: Likewise.
69466         * io/lxstat64.c: Likewise.
69467         * io/mkdir.c: Likewise.
69468         * io/mkdirat.c: Likewise.
69469         * io/mkfifo.c: Likewise.
69470         * io/mkfifoat.c: Likewise.
69471         * io/open.c: Likewise.
69472         * io/open64.c: Likewise.
69473         * io/openat.c: Likewise.
69474         * io/openat64.c: Likewise.
69475         * io/pipe.c: Likewise.
69476         * io/pipe2.c: Likewise.
69477         * io/poll.c: Likewise.
69478         * io/posix_fadvise.c: Likewise.
69479         * io/posix_fadvise64.c: Likewise.
69480         * io/posix_fallocate.c: Likewise.
69481         * io/posix_fallocate64.c: Likewise.
69482         * io/read.c: Likewise.
69483         * io/readlink.c: Likewise.
69484         * io/readlinkat.c: Likewise.
69485         * io/rmdir.c: Likewise.
69486         * io/sendfile.c: Likewise.
69487         * io/sendfile64.c: Likewise.
69488         * io/statfs.c: Likewise.
69489         * io/statfs64.c: Likewise.
69490         * io/statvfs.c: Likewise.
69491         * io/statvfs64.c: Likewise.
69492         * io/symlink.c: Likewise.
69493         * io/symlinkat.c: Likewise.
69494         * io/ttyname.c: Likewise.
69495         * io/ttyname_r.c: Likewise.
69496         * io/umask.c: Likewise.
69497         * io/unlink.c: Likewise.
69498         * io/unlinkat.c: Likewise.
69499         * io/utime.c: Likewise.
69500         * io/utimensat.c: Likewise.
69501         * io/write.c: Likewise.
69502         * io/xmknod.c: Likewise.
69503         * io/xmknodat.c: Likewise.
69504         * io/xstat.c: Likewise.
69505         * io/xstat64.c: Likewise.
69506         * login/getpt.c: Likewise.
69507         * login/grantpt.c: Likewise.
69508         * login/unlockpt.c: Likewise.
69509         * math/e_acoshl.c: Likewise.
69510         * math/e_acosl.c: Likewise.
69511         * math/e_asinl.c: Likewise.
69512         * math/e_atan2l.c: Likewise.
69513         * math/e_atanhl.c: Likewise.
69514         * math/e_coshl.c: Likewise.
69515         * math/e_expl.c: Likewise.
69516         * math/e_fmodl.c: Likewise.
69517         * math/e_gammal_r.c: Likewise.
69518         * math/e_hypotl.c: Likewise.
69519         * math/e_j0l.c: Likewise.
69520         * math/e_j1l.c: Likewise.
69521         * math/e_jnl.c: Likewise.
69522         * math/e_lgammal_r.c: Likewise.
69523         * math/e_log10l.c: Likewise.
69524         * math/e_log2l.c: Likewise.
69525         * math/e_logl.c: Likewise.
69526         * math/e_powl.c: Likewise.
69527         * math/e_rem_pio2l.c: Likewise.
69528         * math/e_sinhl.c: Likewise.
69529         * math/e_sqrtl.c: Likewise.
69530         * math/fclrexcpt.c: Likewise.
69531         * math/fedisblxcpt.c: Likewise.
69532         * math/feenablxcpt.c: Likewise.
69533         * math/fegetenv.c: Likewise.
69534         * math/fegetexcept.c: Likewise.
69535         * math/fegetround.c: Likewise.
69536         * math/feholdexcpt.c: Likewise.
69537         * math/fesetenv.c: Likewise.
69538         * math/fesetround.c: Likewise.
69539         * math/feupdateenv.c: Likewise.
69540         * math/fgetexcptflg.c: Likewise.
69541         * math/fraiseexcpt.c: Likewise.
69542         * math/fsetexcptflg.c: Likewise.
69543         * math/ftestexcept.c: Likewise.
69544         * math/k_cosl.c: Likewise.
69545         * math/k_rem_pio2l.c: Likewise.
69546         * math/k_sinl.c: Likewise.
69547         * math/k_tanl.c: Likewise.
69548         * math/s_asinhl.c: Likewise.
69549         * math/s_atanl.c: Likewise.
69550         * math/s_cbrtl.c: Likewise.
69551         * math/s_erfl.c: Likewise.
69552         * math/s_expm1l.c: Likewise.
69553         * math/s_log1pl.c: Likewise.
69554         * math/s_tanhl.c: Likewise.
69555         * misc/acct.c: Likewise.
69556         * misc/brk.c: Likewise.
69557         * misc/chflags.c: Likewise.
69558         * misc/chroot.c: Likewise.
69559         * misc/fchflags.c: Likewise.
69560         * misc/fgetxattr.c: Likewise.
69561         * misc/flistxattr.c: Likewise.
69562         * misc/fremovexattr.c: Likewise.
69563         * misc/fsetxattr.c: Likewise.
69564         * misc/fsync.c: Likewise.
69565         * misc/ftruncate.c: Likewise.
69566         * misc/futimes.c: Likewise.
69567         * misc/futimesat.c: Likewise.
69568         * misc/getdomain.c: Likewise.
69569         * misc/getdtsz.c: Likewise.
69570         * misc/gethostid.c: Likewise.
69571         * misc/gethostname.c: Likewise.
69572         * misc/getloadavg.c: Likewise.
69573         * misc/getpagesize.c: Likewise.
69574         * misc/getsysstats.c: Likewise.
69575         * misc/getxattr.c: Likewise.
69576         * misc/gtty.c: Likewise.
69577         * misc/ioctl.c: Likewise.
69578         * misc/lgetxattr.c: Likewise.
69579         * misc/listxattr.c: Likewise.
69580         * misc/llistxattr.c: Likewise.
69581         * misc/lremovexattr.c: Likewise.
69582         * misc/lsetxattr.c: Likewise.
69583         * misc/lutimes.c: Likewise.
69584         * misc/madvise.c: Likewise.
69585         * misc/mincore.c: Likewise.
69586         * misc/mlock.c: Likewise.
69587         * misc/mlockall.c: Likewise.
69588         * misc/mmap.c: Likewise.
69589         * misc/mprotect.c: Likewise.
69590         * misc/msync.c: Likewise.
69591         * misc/munlock.c: Likewise.
69592         * misc/munlockall.c: Likewise.
69593         * misc/munmap.c: Likewise.
69594         * misc/preadv.c: Likewise.
69595         * misc/preadv64.c: Likewise.
69596         * misc/ptrace.c: Likewise.
69597         * misc/pwritev.c: Likewise.
69598         * misc/pwritev64.c: Likewise.
69599         * misc/readv.c: Likewise.
69600         * misc/reboot.c: Likewise.
69601         * misc/remap_file_pages.c: Likewise.
69602         * misc/removexattr.c: Likewise.
69603         * misc/revoke.c: Likewise.
69604         * misc/select.c: Likewise.
69605         * misc/setdomain.c: Likewise.
69606         * misc/setegid.c: Likewise.
69607         * misc/seteuid.c: Likewise.
69608         * misc/sethostid.c: Likewise.
69609         * misc/sethostname.c: Likewise.
69610         * misc/setregid.c: Likewise.
69611         * misc/setreuid.c: Likewise.
69612         * misc/setxattr.c: Likewise.
69613         * misc/sstk.c: Likewise.
69614         * misc/stty.c: Likewise.
69615         * misc/swapoff.c: Likewise.
69616         * misc/swapon.c: Likewise.
69617         * misc/sync.c: Likewise.
69618         * misc/syncfs.c: Likewise.
69619         * misc/syscall.c: Likewise.
69620         * misc/truncate.c: Likewise.
69621         * misc/ualarm.c: Likewise.
69622         * misc/usleep.c: Likewise.
69623         * misc/ustat.c: Likewise.
69624         * misc/utimes.c: Likewise.
69625         * misc/vhangup.c: Likewise.
69626         * misc/writev.c: Likewise.
69627         * posix/_exit.c: Likewise.
69628         * posix/alarm.c: Likewise.
69629         * posix/execve.c: Likewise.
69630         * posix/fexecve.c: Likewise.
69631         * posix/fork.c: Likewise.
69632         * posix/fpathconf.c: Likewise.
69633         * posix/getaddrinfo.c: Likewise.
69634         * posix/getegid.c: Likewise.
69635         * posix/geteuid.c: Likewise.
69636         * posix/getgid.c: Likewise.
69637         * posix/getgroups.c: Likewise.
69638         * posix/getlogin.c: Likewise.
69639         * posix/getlogin_r.c: Likewise.
69640         * posix/getpgid.c: Likewise.
69641         * posix/getpid.c: Likewise.
69642         * posix/getppid.c: Likewise.
69643         * posix/getresgid.c: Likewise.
69644         * posix/getresuid.c: Likewise.
69645         * posix/getsid.c: Likewise.
69646         * posix/getuid.c: Likewise.
69647         * posix/glob64.c: Likewise.
69648         * posix/nanosleep.c: Likewise.
69649         * posix/pathconf.c: Likewise.
69650         * posix/pause.c: Likewise.
69651         * posix/posix_madvise.c: Likewise.
69652         * posix/pread.c: Likewise.
69653         * posix/pread64.c: Likewise.
69654         * posix/pwrite.c: Likewise.
69655         * posix/pwrite64.c: Likewise.
69656         * posix/sched_getaffinity.c: Likewise.
69657         * posix/sched_getp.c: Likewise.
69658         * posix/sched_gets.c: Likewise.
69659         * posix/sched_primax.c: Likewise.
69660         * posix/sched_primin.c: Likewise.
69661         * posix/sched_rr_gi.c: Likewise.
69662         * posix/sched_setaffinity.c: Likewise.
69663         * posix/sched_setp.c: Likewise.
69664         * posix/sched_sets.c: Likewise.
69665         * posix/sched_yield.c: Likewise.
69666         * posix/setgid.c: Likewise.
69667         * posix/setlogin.c: Likewise.
69668         * posix/setpgid.c: Likewise.
69669         * posix/setresgid.c: Likewise.
69670         * posix/setresuid.c: Likewise.
69671         * posix/setsid.c: Likewise.
69672         * posix/setuid.c: Likewise.
69673         * posix/sleep.c: Likewise.
69674         * posix/spawni.c: Likewise.
69675         * posix/sysconf.c: Likewise.
69676         * posix/times.c: Likewise.
69677         * posix/wait.c: Likewise.
69678         * posix/wait3.c: Likewise.
69679         * posix/wait4.c: Likewise.
69680         * posix/waitpid.c: Likewise.
69681         * resolv/gai_sigqueue.c: Likewise.
69682         * resource/getpriority.c: Likewise.
69683         * resource/getrlimit.c: Likewise.
69684         * resource/getrusage.c: Likewise.
69685         * resource/nice.c: Likewise.
69686         * resource/setpriority.c: Likewise.
69687         * resource/setrlimit.c: Likewise.
69688         * resource/ulimit.c: Likewise.
69689         * rt/aio_cancel.c: Likewise.
69690         * rt/aio_fsync.c: Likewise.
69691         * rt/aio_read.c: Likewise.
69692         * rt/aio_sigqueue.c: Likewise.
69693         * rt/aio_suspend.c: Likewise.
69694         * rt/aio_write.c: Likewise.
69695         * rt/clock_getres.c: Likewise.
69696         * rt/clock_gettime.c: Likewise.
69697         * rt/clock_nanosleep.c: Likewise.
69698         * rt/clock_settime.c: Likewise.
69699         * rt/lio_listio.c: Likewise.
69700         * rt/mq_close.c: Likewise.
69701         * rt/mq_getattr.c: Likewise.
69702         * rt/mq_notify.c: Likewise.
69703         * rt/mq_open.c: Likewise.
69704         * rt/mq_receive.c: Likewise.
69705         * rt/mq_send.c: Likewise.
69706         * rt/mq_setattr.c: Likewise.
69707         * rt/mq_timedreceive.c: Likewise.
69708         * rt/mq_timedsend.c: Likewise.
69709         * rt/mq_unlink.c: Likewise.
69710         * rt/shm_open.c: Likewise.
69711         * rt/shm_unlink.c: Likewise.
69712         * rt/timer_create.c: Likewise.
69713         * rt/timer_delete.c: Likewise.
69714         * rt/timer_getoverr.c: Likewise.
69715         * rt/timer_gettime.c: Likewise.
69716         * rt/timer_settime.c: Likewise.
69717         * setjmp/__longjmp.c: Likewise.
69718         * setjmp/setjmp.c: Likewise.
69719         * signal/kill.c: Likewise.
69720         * signal/killpg.c: Likewise.
69721         * signal/raise.c: Likewise.
69722         * signal/sigaction.c: Likewise.
69723         * signal/sigaltstack.c: Likewise.
69724         * signal/sigblock.c: Likewise.
69725         * signal/sigignore.c: Likewise.
69726         * signal/sigintr.c: Likewise.
69727         * signal/signal.c: Likewise.
69728         * signal/sigpause.c: Likewise.
69729         * signal/sigpending.c: Likewise.
69730         * signal/sigqueue.c: Likewise.
69731         * signal/sigreturn.c: Likewise.
69732         * signal/sigset.c: Likewise.
69733         * signal/sigsetmask.c: Likewise.
69734         * signal/sigstack.c: Likewise.
69735         * signal/sigsuspend.c: Likewise.
69736         * signal/sigtimedwait.c: Likewise.
69737         * signal/sigvec.c: Likewise.
69738         * signal/sigwait.c: Likewise.
69739         * signal/sigwaitinfo.c: Likewise.
69740         * signal/sysv_signal.c: Likewise.
69741         * socket/accept.c: Likewise.
69742         * socket/accept4.c: Likewise.
69743         * socket/bind.c: Likewise.
69744         * socket/connect.c: Likewise.
69745         * socket/getpeername.c: Likewise.
69746         * socket/getsockname.c: Likewise.
69747         * socket/getsockopt.c: Likewise.
69748         * socket/isfdtype.c: Likewise.
69749         * socket/listen.c: Likewise.
69750         * socket/recv.c: Likewise.
69751         * socket/recvfrom.c: Likewise.
69752         * socket/recvmsg.c: Likewise.
69753         * socket/send.c: Likewise.
69754         * socket/sendmsg.c: Likewise.
69755         * socket/sendto.c: Likewise.
69756         * socket/setsockopt.c: Likewise.
69757         * socket/shutdown.c: Likewise.
69758         * socket/sockatmark.c: Likewise.
69759         * socket/socket.c: Likewise.
69760         * socket/socketpair.c: Likewise.
69761         * stdio-common/ctermid.c: Likewise.
69762         * stdio-common/cuserid.c: Likewise.
69763         * stdio-common/remove.c: Likewise.
69764         * stdio-common/rename.c: Likewise.
69765         * stdio-common/renameat.c: Likewise.
69766         * stdio-common/tempname.c: Likewise.
69767         * stdlib/getcontext.c: Likewise.
69768         * stdlib/makecontext.c: Likewise.
69769         * stdlib/setcontext.c: Likewise.
69770         * stdlib/swapcontext.c: Likewise.
69771         * stdlib/system.c: Likewise.
69772         * streams/fattach.c: Likewise.
69773         * streams/fdetach.c: Likewise.
69774         * streams/getmsg.c: Likewise.
69775         * streams/getpmsg.c: Likewise.
69776         * streams/putmsg.c: Likewise.
69777         * streams/putpmsg.c: Likewise.
69778         * sysdeps/unix/bsd/getpt.c: Likewise.
69779         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69780         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69781         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69783         Likewise.
69784         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69785         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69786         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69787         * sysvipc/msgctl.c: Likewise.
69788         * sysvipc/msgget.c: Likewise.
69789         * sysvipc/msgrcv.c: Likewise.
69790         * sysvipc/msgsnd.c: Likewise.
69791         * sysvipc/semctl.c: Likewise.
69792         * sysvipc/semget.c: Likewise.
69793         * sysvipc/semop.c: Likewise.
69794         * sysvipc/semtimedop.c: Likewise.
69795         * sysvipc/shmat.c: Likewise.
69796         * sysvipc/shmctl.c: Likewise.
69797         * sysvipc/shmdt.c: Likewise.
69798         * sysvipc/shmget.c: Likewise.
69799         * termios/tcdrain.c: Likewise.
69800         * termios/tcflow.c: Likewise.
69801         * termios/tcflush.c: Likewise.
69802         * termios/tcgetattr.c: Likewise.
69803         * termios/tcgetpgrp.c: Likewise.
69804         * termios/tcsendbrk.c: Likewise.
69805         * termios/tcsetattr.c: Likewise.
69806         * termios/tcsetpgrp.c: Likewise.
69807         * time/adjtime.c: Likewise.
69808         * time/clock.c: Likewise.
69809         * time/getitimer.c: Likewise.
69810         * time/gettimeofday.c: Likewise.
69811         * time/setitimer.c: Likewise.
69812         * time/settimeofday.c: Likewise.
69813         * time/stime.c: Likewise.
69814         * time/time.c: Likewise.
69816 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69818         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69819         /usr/old/bin.
69821         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69822         instead of spaces.
69823         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69825 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69827         [BZ #14796]
69828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69829         FE_TONEAREST before applying Dekker multiplication and Knuth
69830         addition.  Clear inexact exceptions and check for exact zero
69831         results afterwards.
69832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69833         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69835         * math/libm-test.inc (fma_test): Add more tests.
69836         (fma_test_towardzero): Likewise.
69837         (fma_test_downward): Likewise.
69838         (fma_test_upward): Likewise.
69839         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69840         function.
69841         (libc_fesetround): New macro.
69842         (libc_fesetroundf): Likewise.
69843         (libc_fesetroundl): Likewise.
69844         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69845         function.
69846         (libc_fesetround_387): Likewise.
69847         (libc_fesetroundf): New macro.
69848         (libc_fesetround): Likewise.
69849         (libc_fesetroundl): Likewise.
69850         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69851         function.
69852         (libc_fesetroundf): New macro.
69853         (libc_fesetround): Likewise.
69854         (libc_fesetroundl): Likewise.
69855         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69856         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69857         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69858         libm_hidden_ver.
69859         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69860         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69861         libm_hidden_def.
69862         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69863         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69864         libm_hidden_ver.
69865         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69866         libm_hidden_def.
69868         [BZ #3439]
69869         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69870         integer constant usable in #if and use that to give value to enum
69871         constant.
69872         (FE_DIVBYZERO): Likewise.
69873         (FE_UNDERFLOW): Likewise.
69874         (FE_OVERFLOW): Likewise.
69875         (FE_INVALID): Likewise.
69876         (FE_INVALID_SNAN): Likewise.
69877         (FE_INVALID_ISI): Likewise.
69878         (FE_INVALID_IDI): Likewise.
69879         (FE_INVALID_ZDZ): Likewise.
69880         (FE_INVALID_IMZ): Likewise.
69881         (FE_INVALID_COMPARE): Likewise.
69882         (FE_INVALID_SOFTWARE): Likewise.
69883         (FE_INVALID_SQRT): Likewise.
69884         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69885         (FE_TONEAREST): Likewise.
69886         (FE_TOWARDZERO): Likewise.
69887         (FE_UPWARD): Likewise.
69888         (FE_DOWNWARD): Likewise.
69889         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69890         (FE_DIVBYZERO): Likewise.
69891         (FE_OVERFLOW): Likewise.
69892         (FE_UNDERFLOW): Likewise.
69893         (FE_INEXACT): Likewise.
69894         (FE_TONEAREST): Likewise.
69895         (FE_DOWNWARD): Likewise.
69896         (FE_UPWARD): Likewise.
69897         (FE_TOWARDZERO): Likewise.
69898         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69899         (FE_UNDERFLOW): Likewise.
69900         (FE_OVERFLOW): Likewise.
69901         (FE_DIVBYZERO): Likewise.
69902         (FE_INVALID): Likewise.
69903         (FE_TONEAREST): Likewise.
69904         (FE_TOWARDZERO): Likewise.
69905         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69906         (FE_OVERFLOW): Likewise.
69907         (FE_UNDERFLOW): Likewise.
69908         (FE_DIVBYZERO): Likewise.
69909         (FE_INEXACT): Likewise.
69910         (FE_TONEAREST): Likewise.
69911         (FE_TOWARDZERO): Likewise.
69912         (FE_UPWARD): Likewise.
69913         (FE_DOWNWARD): Likewise.
69914         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69915         (FE_DIVBYZERO): Likewise.
69916         (FE_OVERFLOW): Likewise.
69917         (FE_UNDERFLOW): Likewise.
69918         (FE_INEXACT): Likewise.
69919         (FE_TONEAREST): Likewise.
69920         (FE_DOWNWARD): Likewise.
69921         (FE_UPWARD): Likewise.
69922         (FE_TOWARDZERO): Likewise.
69924 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69926         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69928 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69930         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69931         commands.  Quote $PWD.
69932         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69933         -x" by "export".
69934         (remove_newlines): Remove.
69936 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69938         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69939         * stdlib/stdlib.h (atof): Moved to ...
69940         * include/bits/stdlib-float.h: Here.  New file.
69941         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69942         * stdlib/bits/stdlib-float.h: New file.
69943         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69944         -mno-sse -mno-mmx.
69945         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69946         <xmmintrin.h>.
69948 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69950         * conform/conformtest.pl (@headers): Add fenv.h.
69951         * conform/data/fenv.h-data: New file.
69952         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69953         include of <math/fenv.h>.
69955         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69956         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69957         && !UNIX98].  Enables tests for XOPEN2K8.
69958         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69959         POSIX2008]: Likewise.
69961         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69962         (struct rusage): Do not expect type or its members.
69964         [BZ #3439]
69965         * math/math.h (FP_NAN): Define macro to integer constant usable in
69966         #if and use that to give value to enum constant.
69967         (FP_INFINITE): Likewise.
69968         (FP_ZERO): Likewise.
69969         (FP_SUBNORMAL): Likewise.
69970         (FP_NORMAL): Likewise.
69972 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69974         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69975         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69976         arguments.
69978 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69980         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69981         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69982         autoconf-time if not.
69983         * configure.in: Remove AC_PREREQ.
69985 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69987         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69988         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69989         of the internal implementation.
69991 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69993         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69994         except include of <misc/sys/syslog.h>.
69996 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69999         function returns with a NULL context exit with zero.
70001 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70003         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
70005 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
70007         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
70008         (run_program_cmd): This.
70009         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
70010         (tst_langinfo): New variable.  Use it.
70012 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
70014         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
70015         floating point opcodes.
70017 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70019         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
70020         variable.
70022         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
70024         * sysdeps/mach/hurd/powerpc: Remove directory.
70025         * sysdeps/mach/powerpc: Likewise.
70027 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70029         * scripts/check-local-headers.sh: Ignore c++ headers.
70031 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70033         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
70034         __libc_cleanup_region_start argument.
70036 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
70038         [BZ #14784]
70039         [BZ #14785]
70040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
70041         x * y using scaling, not as x * y + z.
70042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70043         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70044         * math/libm-test.inc (fma_test): Add more tests.
70045         (fma_test_towardzero): Likewise.
70046         (fma_test_downward): Likewise.
70047         (fma_test_upward): Likewise.
70049 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70051         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
70053 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70055         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
70056         New variable.
70058 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
70060         * rt/tst-shm.c (worker): Correct checking for mmap failure.
70062 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70065         Fix sort order.
70066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70067         Likewise.
70069 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70072         Fix the order of the list for glibc 2.17.
70073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70074         Likewise.
70076 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70080 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70082         [BZ #14610]
70083         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
70084         for low part of x being zero before using __atanl (y).
70085         * math/libm-test.inc (atan2_test): Add another test.
70087         * manual/install.texi (Configuring and compiling): Document
70088         general use of test-wrapper and test-wrapper-env.
70089         * INSTALL: Regenerated.
70091         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
70092         (__fma): Do not extract and scale down low bits on after-rounding
70093         systems when result rounded to normal precision would have normal
70094         exponent.
70095         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
70096         (__fmal): Do not extract and scale down low bits on after-rounding
70097         systems when result rounded to normal precision would have normal
70098         exponent.
70099         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
70100         (__fmal): Do not extract and scale down low bits on after-rounding
70101         systems when result rounded to normal precision would have normal
70102         exponent.
70103         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
70104         macro.
70105         (fma_test): Add more tests.
70106         (fma_test_towardzero): Likewise.
70107         (fma_test_downward): Likewise.
70108         (fma_test_upward): Likewise.
70110 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
70112         * sysdeps/i386/tininess.h: Renamed to ...
70113         * sysdeps/x86/tininess.h: This.
70114         * sysdeps/x86_64/tininess.h: Removed.
70116 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70118         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
70119         input.  Use $(build-program-cmd).
70120         ($(objpfx)tst-array1-static.out): Likewise.
70121         ($(objpfx)tst-array2.out): Likewise.
70122         ($(objpfx)tst-array3.out): Likewise.
70123         ($(objpfx)tst-array4.out): Likewise.
70124         ($(objpfx)tst-array5.out): Likewise.
70125         ($(objpfx)tst-array5-static.out): Likewise.
70127 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
70129         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
70130         if defined.
70132         * nss/nsswitch.h (nss_interface_function): Provide new
70133         macro for use with NSS functions.
70134         * grp/initgroups.c: Use new macro.
70135         * nss/getXXbyYY.c: Likewise.
70136         * nss/getXXbyYY_r.c: Likewise.
70137         * nss/getXXent.c: Likewise.
70138         * nss/getXXent_r.c: Likewise.
70139         * sysdeps/posix/getaddrinfo.c: Likewise.
70141 2012-10-30  Andreas Jaeger  <aj@suse.de>
70143         * po/ru.po: Update Russion translation from translation project.
70145 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70147         [BZ #14152]
70148         [BZ #14783]
70149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
70150         result and shift together with sticky bit instead of replicating
70151         round-to-nearest rounding.
70152         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70153         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70154         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
70155         missing underflow exceptions.
70156         (fma_test_towardzero): Add more tests.
70157         (fma_test_downward): Likewise.
70158         (fma_test_upward): Likewise.
70160         [BZ #14047]
70161         * sysdeps/generic/tininess.h: New file.
70162         * sysdeps/i386/tininess.h: Likewise.
70163         * sysdeps/sh/tininess.h: Likewise.
70164         * sysdeps/x86_64/tininess.h: Likewise.
70165         * stdlib/tst-strtod-underflow.c: Likewise.
70166         * stdlib/tst-tininess.c: Likewise.
70167         * stdlib/strtod_l.c: Include <tininess.h>.
70168         (round_and_return): Do not set errno for exact underflow cases.
70169         Force an underflow exception when setting errno for underflow.
70170         Determine underflow based on rounding to normal precision if
70171         TININESS_AFTER_ROUNDING.
70172         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
70173         ERANGE for exact underflow cases.
70174         * stdlib/Makefile (tests): Add tst-tininess and
70175         tst-strtod-underflow.
70176         ($(objpfx)tst-tininess): Use $(link-libm).
70177         ($(objpfx)tst-strtod-underflow): Likewise.
70179 2012-10-30  Andreas Jaeger  <aj@suse.de>
70181         [BZ #14767]
70182         * elf/Makefile (tests): Remove conditional for have-initfini-array
70183         since this is now always required and the variable does not exist
70184         anymore.
70185         (tests-static): Likewise.
70186         (modules-names): Likewise.
70188         * po/eo.po: Add Esperanto translation from translation project.
70190         * elf/tst-array1.c (fini_array): Make writeable so that it can be
70191         merged with constructor/destructor.
70192         (init_array): Likewise.
70193         * elf/tst-array2dep.c (fini_array): Likewise.
70194         (init_array): Likewise.
70196 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
70198         * manual/message.texi: Delete @cartouche tags.
70200 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
70202         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
70203         EOPNOTSUPP.
70204         * sysdeps/mach/hurd/fsync.c: Likewise.
70206         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
70207         [_POSIX_REALTIME_SIGNALS]: Change condition to
70208         [_POSIX_REALTIME_SIGNALS > 0].
70210 2012-10-27  Andreas Jaeger  <aj@suse.de>
70212         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
70213         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
70214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
70215         [__WORDSIZE != 64]: Likewise.
70217 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
70219         *  iconvdata/tst-table.sh: Remove ${SHELL}.
70220         *  iconvdata/tst-tables.sh: Likewise.
70222 2012-10-25  David S. Miller  <davem@davemloft.net>
70224         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70225         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
70226         of strtoull.
70228         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
70229         ifunc-impl-list.c
70230         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70231         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
70232         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
70233         file.
70235 2012-10-25  Roland McGrath  <roland@hack.frob.com>
70237         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70238         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
70239         __getdirentries.
70241 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70242             Jim Blandy  <jimb@codesourcery.com>
70244         * scripts/cross-test-ssh.sh: New file.
70245         * manual/install.texi (Configuring and compiling): Document use of
70246         cross-test-ssh.sh.
70247         * INSTALL: Regenerated.
70249 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
70251         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
70252         EOPNOTSUPP.
70254 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70256         * Makeconfig (run-program-prefix): Fix comment.
70258 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70259             Jim Blandy  <jimb@codesourcery.com>
70261         * Makeconfig (test-wrapper): New variable,
70262         (test-wrapper-env): Likewise.
70263         [$(cross-compiling) = yes && $(test-wrapper) != ""]
70264         (run-built-tests): Define to yes.
70265         (run-program-prefix): Use $(test-wrapper).
70266         (built-program-cmd): Likewise.
70267         * Rules (make-test-out): Use $(test-wrapper-env) and
70268         $(host-built-program-cmd).
70269         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
70270         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
70271         tst-pathopt.sh.
70272         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
70273         $(test-wrapper-env) to tst-rtld-load-self.sh.
70274         ($(objpfx)order2.out): Use $(test-wrapper).
70275         ($(objpfx)tst-initorder.out): Likewise.
70276         ($(objpfx)tst-initorder2.out): Likewise.
70277         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
70278         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
70279         (test_wrapper_env): New variable.  Use it to run ld.so.
70280         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
70281         Use it to run ld.so.
70282         (test_wrapper_env): Likewise.
70283         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
70284         $(test-wrapper) to run-iconv-test.sh.
70285         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70286         (ICONV): Use $test_wrapper.
70287         * posix/Makefile ($(objpfx)globtest.out): Pass
70288         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
70289         globtest.sh, not $(run-program-prefix).
70290         * posix/globtest.sh (run_via_rtld_prefix): New variable.
70291         (test_wrapper): Likewise.
70292         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
70293         set together with run_via_rtld_prefix.
70294         (run_program_prefix): Define in terms of test_wrapper and
70295         run_via_rtld_prefix.
70297 2012-10-24  Roland McGrath  <roland@hack.frob.com>
70299         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
70300         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
70301         Targets removed.
70303         [BZ #14743]
70304         * include/time.h: Remove librt_hidden_proto (clock_gettime).
70305         Declare __clock_getres, __clock_gettime, __clock_settime,
70306         __clock_nanosleep, and __clock_getcpuclockid.
70307         * rt/clock_gettime.c: Define __clock_gettime as an alias.
70308         Remove librt_hidden_def (clock_gettime).
70309         * sysdeps/unix/clock_gettime.c: Likewise.
70310         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
70311         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
70312         * rt/clock_getres.c: Define __clock_getres as an alias.
70313         * sysdeps/posix/clock_getres.c: Likewise.
70314         * rt/clock_settime.c: Define __clock_settime as an alias.
70315         * sysdeps/unix/clock_settime.c: Likewise.
70316         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
70317         * sysdeps/unix/clock_nanosleep.c: Likewise.
70318         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
70319         * rt/clock-compat.c: New file.
70320         * rt/Makefile (librt-routines): Add clock-compat and move
70321         $(clock-routines) to ...
70322         (routines): ... here, new variable.
70323         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
70324         Don't add get_clockfreq here.
70325         * rt/Versions (libc: GLIBC_2.17): New version set.
70326         Add clock_* symbols here.
70327         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
70328         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
70329         (GLIBC_2.17): Add clock_* symbols.
70330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70332         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70334         Likewise.
70335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70336         Likewise.
70337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70341         * NEWS: Mention the move.
70343         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
70344         Use __open, __read, __close rather than their public counterparts.
70345         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70346         (__get_clockfreq_via_cpuinfo): Likewise.
70347         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
70348         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
70350         * config.h.in (HAVE_IFUNC): New #undef.
70351         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
70352         was successful.
70353         * configure: Regenerated.
70355 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70357         * configure.in: Move READELF check to start of file.
70358         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
70359         libc_cv_asm_gnu_indirect_function in the process.
70360         * configure: Regenerated.
70362 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70364         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
70365         send the output to /dev/null.
70366         (libc_cv_cc_with_libunwind): Likewise.
70367         (libc_cv_as_noexecstack): Likewise.
70368         * configure: Regenerate.
70370 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70372         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
70374         * posix/globtest.sh (TMPDIR): Do not set.
70375         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
70376         (testout): Likewise.
70378 2012-10-24  Andreas Jaeger  <aj@suse.de>
70380         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
70381         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
70382         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
70383         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
70384         posix_fadvise64, posix_fallocate64.
70386         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
70387         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
70388         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
70389         Likewise.
70390         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
70391         Likewise.
70392         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
70394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
70395         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
70396         <bits/fcntl-linux.h>.
70397         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
70399         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
70400         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
70401         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
70402         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
70403         [__WORDSIZE != 64]: Likewise.
70405 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70407         * Makeconfig (run-built-tests): New variable.
70408         * Rules [$(cross-compiling) = yes]: Change condition to
70409         [$(run-built-tests) = no].
70410         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
70411         to [$(run-built-tests) = yes].
70412         * elf/Makefile [$(cross-compiling) = no]: Likewise.
70413         * grp/Makefile [$(cross-compiling) = no]: Likewise.
70414         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
70415         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
70416         * intl/Makefile [$(cross-compiling) = no]: Likewise.
70417         * io/Makefile [$(cross-compiling) = no]: Likewise.
70418         * libio/Makefile [$(cross-compiling) = no]: Likewise.
70419         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
70420         * misc/Makefile [$(cross-compiling) = no]: Likewise.
70421         * posix/Makefile [$(cross-compiling) = no]: Likewise.
70422         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
70423         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
70424         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
70425         * string/Makefile [$(cross-compiling) = no]: Likewise.
70427         * posix/Makefile ($(objpfx)globtest.out): Pass
70428         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
70429         $(rtld-installed-name).
70430         * posix/globtest.sh (elf_objpfx): Remove variable.
70431         (rtld_installed_name): Likewise.
70432         (library_path): Likewise.
70433         (run_program_prefix): New variable.  Use for running globtest
70434         binary.
70436 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
70437             Joseph Myers  <joseph@codesourcery.com>
70439         * Makeconfig (host-built-program-cmd): New variable.
70440         * elf/Makefile (tst-stackguard1-ARGS): Use
70441         $(host-built-program-cmd).
70442         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
70443         (tst-spawn-ARGS): Likewise.
70444         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
70446 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70447             Jim Blandy  <jimb@codesourcery.com>
70449         * Makeconfig (run-via-rtld-prefix): New variable.
70450         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
70451         (built-program-cmd): Likewise.
70453 2012-10-22  Andreas Jaeger  <aj@suse.de>
70455         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
70456         __O_RSYNC if it exists, otherwise to O_SYNC.
70458 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
70459             Joseph Myers  <joseph@codesourcery.com>
70461         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
70462         /dev/null.
70463         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
70464         from /dev/null
70465         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
70466         /dev/null.
70468 2012-10-22  Andreas Jaeger  <aj@suse.de>
70470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
70471         Define always.
70472         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
70474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70475         bits/fcntl-linux.h.
70477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
70478         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
70480         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
70481         to __O_LARGEFILE.
70482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
70483         to __O_LARGEFILE.
70485 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
70486             Joseph Myers  <joseph@codesourcery.com>
70488         * config.make.in (NM): New variable.
70490 2012-10-21  Andreas Jaeger  <aj@suse.de>
70492         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
70493         definitions and declarations that are provided by
70494         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70496 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70498         [BZ #14683]
70499         * elf/Makefile (tests-static): Add tst-leaks1-static.
70500         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
70501         ($(objpfx)tst-leaks1-static): New rule.
70502         ($(objpfx)tst-leaks1-static-mem): Likewise.
70503         (tst-leaks1-static-ENV): New macro.
70504         * elf/dl-open.c (dl_open_worker): Check the main application
70505         only if SHARED is defined.
70506         * elf/tst-leaks1-static.c: New file.
70508 2012-10-20  Andreas Jaeger  <aj@suse.de>
70510         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
70511         generic values for Linux.
70512         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
70513         and declarations that are provided by <bits/fcntl-linux.h> and
70514         include <bits/fcntl-linux.h>.
70515         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70518 2012-10-20  Roland McGrath  <roland@hack.frob.com>
70520         * io/fcntl.h: Move include of <bits/types.h> to the top and
70521         include it unconditionally.
70523 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70525         * wcsmbs/Makefile (tests-ifunc): New variable.
70526         (tests): Add $(tests-ifunc).
70527         * wcsmbs/test-wcschr-ifunc.c: New file.
70528         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
70529         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
70530         * wcsmbs/test-wcslen-ifunc.c: Likewise.
70531         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
70532         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
70534         * string/Makefile (tests-ifunc): New variable.
70535         (tests): Add $(tests-ifunc).
70536         * string/test-memccpy.c (TEST_NAME): New macro.
70537         * string/test-memchr.c (TEST_NAME): Likewise.
70538         * string/test-memcmp.c (TEST_NAME): Likewise.
70539         * string/test-memcpy.c (TEST_NAME): Likewise.
70540         * string/test-memmem.c (TEST_NAME): Likewise.
70541         * string/test-memmove.c (TEST_NAME): Likewise.
70542         * string/test-memset.c (TEST_NAME): Likewise.
70543         * string/test-rawmemchr.c (TEST_NAME): Likewise.
70544         * string/test-stpcpy.c (TEST_NAME): Likewise.
70545         * string/test-stpncpy.c (TEST_NAME): Likewise.
70546         * string/test-strcasecmp.c (TEST_NAME): Likewise.
70547         * string/test-strcasestr.c (TEST_NAME): Likewise.
70548         * string/test-strcat.c (TEST_NAME): Likewise.
70549         * string/test-strchr.c (TEST_NAME): Likewise.
70550         * string/test-strcmp.c(TEST_NAME): Likewise.
70551         * string/test-strcpy.c (TEST_NAME): Likewise.
70552         * string/test-strcspn.c (TEST_NAME): Likewise.
70553         * string/test-strlen.c (TEST_NAME): Likewise.
70554         * string/test-strncasecmp.c (TEST_NAME): Likewise.
70555         * string/test-strncmp.c (TEST_NAME): Likewise.
70556         * string/test-strncpy.c (TEST_NAME): Likewise.
70557         * string/test-strnlen.c (TEST_NAME): Likewise.
70558         * string/test-strpbrk.c (TEST_NAME): Likewise.
70559         * string/test-strrchr.c (TEST_NAME): Likewise.
70560         * string/test-strspn.c (TEST_NAME): Likewise.
70561         * string/test-strstr.c (TEST_NAME): Likewise.
70562         * string/test-bcopy-ifunc.c: New file.
70563         * string/test-bzero-ifunc.c: Likewise.
70564         * string/test-memccpy-ifunc.c: Likewise.
70565         * string/test-memchr-ifunc.c: Likewise.
70566         * string/test-memcmp-ifunc.c: Likewise.
70567         * string/test-memcpy-ifunc.c: Likewise.
70568         * string/test-memmem-ifunc.c: Likewise.
70569         * string/test-memmove-ifunc.c: Likewise.
70570         * string/test-mempcpy-ifunc.c: Likewise.
70571         * string/test-memset-ifunc.c: Likewise.
70572         * string/test-rawmemchr-ifunc.c: Likewise.
70573         * string/test-stpcpy-ifunc.c: Likewise.
70574         * string/test-stpncpy-ifunc.c: Likewise.
70575         * string/test-strcasecmp-ifunc.c: Likewise.
70576         * string/test-strcasestr-ifunc.c: Likewise.
70577         * string/test-strcat-ifunc.c: Likewise.
70578         * string/test-strchr-ifunc.c: Likewise.
70579         * string/test-strchrnul-ifunc.c: Likewise.
70580         * string/test-strcmp-ifunc.c: Likewise.
70581         * string/test-strcpy-ifunc.c: Likewise.
70582         * string/test-strcspn-ifunc.c: Likewise.
70583         * string/test-strlen-ifunc.c: Likewise.
70584         * string/test-strncasecmp-ifunc.c: Likewise.
70585         * string/test-strncat-ifunc.c: Likewise.
70586         * string/test-strncmp-ifunc.c: Likewise.
70587         * string/test-strncpy-ifunc.c: Likewise.
70588         * string/test-strnlen-ifunc.c: Likewise.
70589         * string/test-strpbrk-ifunc.c: Likewise.
70590         * string/test-strrchr-ifunc.c: Likewise.
70591         * string/test-strspn-ifunc.c: Likewise.
70592         * string/test-strstr-ifunc.c: Likewise.
70594         * debug/Makefile (tests-ifunc): New variable.
70595         (tests): Add $(tests-ifunc).
70596         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
70597         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
70598         * debug/test-stpcpy_chk-ifunc.c: New file.
70599         * debug/test-strcpy_chk-ifunc.c: Likewise.
70601 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70603         [BZ #13601]
70604         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70605         header is not read in.
70607 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70609         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70610         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70611         directly.  Pass built executable to script as
70612         $(built-program-cmd).
70613         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70614         $testprogram without using LD_LIBRARY_PATH and $ldso.
70616         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70617         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70618         $(rtld-installed-name).
70619         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70620         (rtld_installed_name): Likewise.
70621         (library_path): Likewise.
70622         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70623         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70624         $(run-program-prefix) to tst-tables.sh.
70625         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70626         it to run tst-table-from and tst-table-to.
70627         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70628         Pass it to tst-table.sh.
70629         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70630         $(run-program-prefix) to tst-gettext.sh.
70631         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70632         tst-translit.sh.
70633         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70634         tst-gettext2.sh.
70635         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70636         to run tst-gettext.
70637         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70638         to run tst-gettext2.
70639         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70640         to run tst-translit.
70641         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70642         $(run-program-prefix) to tst-mtrace.sh.
70643         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70644         to run tst-mtrace.
70645         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70646         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70647         $(rtld-installed-name).
70648         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70649         (rtld_installed_name): Likewise.
70650         (run_program_prefix): New variable.  Use it to run wordexp-test.
70652         * Makeconfig (ARCH): Remove all definitions.
70653         (machine): Likewise.
70654         [ARCH]: Remove conditional code.
70655         [!objdir]: Give error.
70656         [!objdir] (objpfx): Remove.
70657         [!objdir] (common-objpfx): Likewise.
70658         [!objdir] (common-objdir): Likewise.
70659         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70660         AC_CONFIG_FILES call.
70661         * configure: Regenerated.
70663         [BZ #13888]
70664         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70665         or TMPDIR.
70666         (testout): Likewise.
70668         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70669         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70670         $(rtld-installed-name).
70671         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70672         (rtld_installed_name): Likewise.
70673         (runit): Remove function.
70674         (run_getconf): New variable,  Use it for running getconf binary.
70676 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70678         [BZ #14716]
70679         * string/test-memmem.c (check_result): New function.
70680         (do_one_test): Use it.
70681         (check1): New function.
70682         (test_main): Use it.
70684 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70686         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70688 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70690         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70691         (_G_LSEEK64): Likewise.
70692         (_G_MMAP64): Likewise.
70693         (_G_FSTAT64): Likewise.
70694         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70695         (_G_LSEEK64): Likewise.
70696         (_G_MMAP64): Likewise.
70697         (_G_FSTAT64): Likewise.
70698         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70699         unconditional.  Call __mmap64 directly.
70700         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70701         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70702         __lseek64 directly.
70703         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70704         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70705         __mmap64 directly.
70706         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70707         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70708         __lseek64 directly.
70709         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70710         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70711         __lseek64 directly.
70712         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70713         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70714         __lseek64 directly.
70715         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70716         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70717         __fxstat64 directly.
70718         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70719         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70720         unconditional.
70721         (freopen64) [!_G_OPEN64]: Remove conditional code.
70722         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70723         unconditional.
70724         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70725         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70726         unconditional.
70727         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70728         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70729         unconditional.
70730         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70731         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70732         unconditional.
70733         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70734         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70735         unconditional.
70736         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70737         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70738         unconditional.
70739         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70740         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70741         unconditional.
70742         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70744 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70746         [BZ #12140]
70747         * manual/memory.texi (Malloc Tunable Parameters): Add note
70748         about free list pointers overwriting some perturb bytes.
70749         Wording suggested by Roland McGrath.
70751 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70753         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70754         (lgamma_test): Likewise.
70755         (tgamma_test): Likewise.
70757 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70759         [BZ #14700]
70760         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70761         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70763 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70765         * NEWS: Mention BZ #14716.
70766         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70767         when removing AVAILABLE1_USES_J macro.
70769 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70771         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70772         (__bswap_64): __uint64_t for unsigned 64-bit int.
70774 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70776         * include/string.h (memmem): Declare libc hidden alias.
70777         * string/memmem.c (memmem): Define libc hidden alias.
70778         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70779         __read, __close instead of open, read, close.
70781 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70784         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70785         global and hidden.
70786         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70787         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70788         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70789         Likewise.
70790         (__rawmemchr_sse2): Likewise.
70791         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70792         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70793         (__strchr_sse2): Likewise.
70794         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70795         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70796         (__strcasecmp_sse2): Likewise.
70797         (__strncasecmp_sse2): Likewise.
70798         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70799         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70800         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70801         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70802         (__strrchr_sse2): Likewise.
70803         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70804         ifunc-impl-list.c.
70805         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70806         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70807         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70808         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70809         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70810         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70811         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70812         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70813         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70814         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70815         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70816         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70817         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70818         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70819         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70820         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70821         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70822         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70823         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70824         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70825         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70826         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70827         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70828         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70829         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70830         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70831         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70832         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70833         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70834         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70836         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70837         global and hidden.
70838         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70839         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70840         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70841         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70842         Likewise.
70843         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70844         Likewise.
70845         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70846         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70847         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70848         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70849         ifunc-impl-list.c.
70850         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70851         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70852         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70853         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70854         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70855         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70856         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70857         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70858         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70859         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70860         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70861         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70862         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70863         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70864         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70865         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70866         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70867         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70868         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70869         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70870         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70871         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70872         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70873         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70874         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70875         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70876         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70877         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70878         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70879         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70880         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70881         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70882         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70883         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70884         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70885         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70886         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70887         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70888         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70889         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70890         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70892         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70893         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70894         * include/ifunc-impl-list.h: New file.
70895         * misc/ifunc-impl-list.c: Likewise.
70896         * misc/Makefile (routines): Add ifunc-impl-list.
70897         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70898         * string/test-string.h: Include <ifunc-impl-list.h>.
70899         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70900         TEST_NAME]: New variables.
70901         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70902         are defined.
70903         (test_init): Call __libc_ifunc_impl_list to initialize
70904         func_list if TEST_IFUNC and TEST_NAME are defined.
70906         * string/Makefile (strop-tests): Add bcopy and bzero.
70907         * string/test-bcopy.c: New file.
70908         * string/test-bzero.c: Likewise.
70909         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70910         defined.
70911         * string/test-memset.c: Support bzero test if TEST_BZERO is
70912         defined.
70913         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70914         __libc_memmove.
70915         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70916         __libc_memset.
70917         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70918         of memset.
70920 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70922         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70923         * configure: Regenerated.
70925         * Makeconfig (+link-static-before-libc): Don't include
70926         $(link-static-libc).
70928         * libio/libio.h (_IO_pos_t): Remove.
70930 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70932         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70933         McGrath.
70935 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70937         * crypt/crypt-entry.c: Include fips-private.h.
70938         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70939         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70940         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70941         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70943 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70945         * crypt/crypt-private.h: Include stdbool.h.
70946         (_ufc_setup_salt_r): Return bool.
70947         * crypt/crypt-entry.c: Include errno.h.
70948         (__crypt_r): Return NULL with EINVAL for bad salt.
70949         * crypt/crypt_util.c (bad_for_salt): New.
70950         (_ufc_setup_salt_r): Check that salt is long enough and within
70951         the specified alphabet.
70952         * crypt/badsalttest.c: New file.
70953         * crypt/Makefile (tests): Add it.
70954         ($(objpfx)badsalttest): New.
70956 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70958         * NEWS: Add entry for BZ #14602.
70960 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70962         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70963         type-generic.
70964         * math/libm-test.inc: Update comment listing what functions and
70965         macros are tested.
70966         (isgreater_test): New function.
70967         (isgreaterequal_test): Likewise.
70968         (isless_test): Likewise.
70969         (islessequal_test): Likewise.
70970         (islessgreater_test): Likewise.
70971         (isunordered_test): Likewise.
70972         (main): Call the new functions.
70974 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70976         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70977         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70978         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70979         * sysdeps/i386/configure: Regenerated.
70980         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70981         * sysdeps/mach/configure: Regenerated.
70982         * sysdeps/mach/hurd/configure: Regenerated.
70983         * sysdeps/powerpc/configure: Regenerated.
70984         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70985         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70986         * sysdeps/s390/s390-32/configure: Regenerated.
70987         * sysdeps/s390/s390-64/configure: Regenerated.
70988         * sysdeps/sh/configure: Regenerated.
70989         * sysdeps/sparc/configure: Regenerated.
70990         * sysdeps/unix/sysv/linux/configure: Regenerated.
70991         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70992         * sysdeps/x86_64/configure: Regenerated.
70994         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70995         defined.  Don't check if MAP is NULL.
70997 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70999         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
71000         (_G_stat64): Likewise.
71001         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
71002         (_G_stat64): Likewise.
71003         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
71004         instead of struct _G_stat64.
71005         * libio/fileops.c (mmap_remap_check): Likewise.
71006         (decide_maybe_mmap): Likewise.
71007         (_IO_new_file_seekoff): Likewise.
71008         (_IO_file_stat): Likewise.
71009         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
71010         _G_off64_t.
71011         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
71012         instead of struct _G_stat64.
71013         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71015 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
71017         [BZ #14602]
71018         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71019         Replace with ...
71020         (CHECK_EOL): New macro.
71021         (two_way_short_needle): Check beginning of haystack for EOL.  Use
71022         CHECK_EOL.
71023         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71024         Replace with CHECK_EOL.
71025         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71026         Replace with CHECK_EOL.
71028 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
71030         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
71031         type-generic.
71032         * math/libm-test.inc: Update comment listing what functions and
71033         macros are tested.
71034         (finite_test): New function.
71035         (isinf_test): Likewise.
71036         (isnan_test): Likewise.
71037         (fpclassify_test): Test subnormal input.
71038         (isfinite_test): Likewise.
71039         (isnormal_test): Likewise.
71040         (main): Call the new functions.
71042 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
71044         [BZ #14660]
71045         * Makerules (%.dynsym): Force C locale when running
71046         $(OBJDUMP) --dynamic-syms.
71048 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
71050         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
71051         <stdint.h>.
71053 2012-10-06  David S. Miller  <davem@davemloft.net>
71055         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
71056         upper 32-bits of the length value in %o2 since we use branch-on-register
71057         tests which consider the entire 64-bit register.
71059 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
71061         * string/test-strstr.c (check2): Add a test for page boundary.
71063 2012-10-05  David S. Miller  <davem@davemloft.net>
71065         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
71066         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
71067         file.
71068         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71069         sysdep_routines.
71070         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71071         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
71072         and bzero when HWCAP_SPARC_CRYPTO is present.
71074 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
71076         [BZ #14602]
71077         * string/test-strstr.c (check2): New function.
71078         (test_main): Call check2.
71080         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
71081         and bug-strchr1.
71082         * string/bug-strcasestr1.c (do_test): Moved to ...
71083         * string/test-strcasestr.c (check1): Here.  New function.
71084         (do_one_test): Break out result checking code into ...
71085         (check_result): This.  New function.
71086         (do_one_test): Call check_result.
71087         (test_main): Call check1.
71088         * string/bug-strchr1.c (do_test): Moved to ...
71089         * string/test-strchr.c (check1): Here.  New function.
71090         (do_one_test): Break out result checking code into ...
71091         (check_result): This.  New function.
71092         (do_one_test): Call check_result.
71093         (test_main): Call check1.
71094         * string/bug-strstr1.c (main): Moved to ...
71095         * string/test-strstr.c (check1): Here.  New function.
71096         (do_one_test): Break out result checking code into ...
71097         (check_result): This.  New function.
71098         (do_one_test): Call check_result.
71099         (test_main): Call check1.
71100         * string/bug-strcasestr1.c: Removed.
71101         * string/bug-strchr1.c: Likewise.
71102         * string/bug-strstr1.c: Likewise.
71104         * elf/Makefile (dl-routines): Add hwcaps.
71105         * elf/dl-support.c (_dl_important_hwcaps): Removed.
71106         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
71107         (_dl_important_hwcaps): Moved to ...
71108         * elf/dl-hwcaps.c: Here.  New file.
71109         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
71111         [BZ #14557]
71112         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
71113         if IS_IN_rtld isn't defined.
71115         * elf/dl-support.c (_dl_sysinfo_map): New.
71116         Include "get-dynamic-info.h" and "setup-vdso.h".
71117         (_dl_non_dynamic_init): Call setup_vdso.
71118         * elf/dynamic-link.h: Don't include <assert.h>.
71119         (elf_get_dynamic_info): Moved to ...
71120         * elf/get-dynamic-info.h: Here.  New file.
71121         * elf/dynamic-link.h: Include "get-dynamic-info.h".
71122         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
71123         * elf/setup-vdso.h: Here.  New file.
71124         * elf/rtld.c: Include "setup-vdso.h".
71125         (dl_main): Call setup_vdso.
71127 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
71129         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
71130         creal in comment listing functions tested.  List finite, isinf,
71131         isnan, isless, islessequal, isgreater, isgreaterequal,
71132         islessgreater, isunordered, lgamma_r and pow10 as functions and
71133         macros not tested.  Mention which functions not tested are aliases
71134         for other functions.  Fix typo.  Note that signs of NaNs are not
71135         tested.
71137         * scripts/config.guess: Update from config.git.
71138         * scripts/config.sub: Likewise.
71140 2012-10-04  Roland McGrath  <roland@hack.frob.com>
71142         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
71143         * misc/madvise.c (madvise): Renamed to __madvise.
71144         Make madvise a weak alias.
71145         * include/sys/mman.h: Declare __madvise.
71146         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
71147         * sysdeps/unix/syscalls.list
71148         (madvise): Make __madvise the strong name, and madvise a weak alias.
71149         * sysdeps/unix/sysv/linux/syscalls.list
71150         (madvise, mmap): Remove redundant entries.
71151         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
71152         * malloc/malloc.c (mtrim): Likewise.
71153         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
71155 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71157         * sysdeps/mach/hurd/dl-cache.c: File removed.
71158         * config.h.in (USE_LDCONFIG): New #undef.
71159         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
71160         * configure: Regenerated.
71161         * elf/Makefile (dl-routines): Add dl-cache only under
71162         [$(use-ldconfig) = yes].
71163         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
71164         cache on [USE_LDCONFIG].
71165         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
71166         [USE_LDCONFIG].
71167         * elf/rtld.c (dl_main): Likewise.
71169 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
71171         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
71172         _SC_LEVEL4_CACHE_LINESIZE.
71174 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71176         * sysdeps/unix/bsd/confstr.h: File removed.
71178 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
71180         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
71181         sys/sdt-config.h.
71183 2012-10-02  Roland McGrath  <roland@hack.frob.com>
71185         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
71186         Make 'mapoff' field ElfW(Off) rather than off_t.
71188 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
71190         * nscd/Makefile: Remove nscd-cflags and all its users.
71191         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
71192         (CFLAGS-nonlib): Add compiler flags for nscd modules.
71194         [BZ #10631]
71195         * malloc.c (malloc_printerr): Clarify error message.
71197 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
71199         [BZ #14648]
71200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71201         Set bit_FMA_Usable if FMA is supported.
71202         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
71203         macro.
71204         (bit_FMA4_Usable): Updated.
71205         (index_FMA_Usable): New macro.
71206         (CPUID_FMA): Likewise.
71207         (HAS_FMA): Defined with bit_FMA_Usable.
71209 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71211         * bits/types.h (__swblk_t): Type removed.
71212         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
71213         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
71214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71215         (__SWBLK_T_TYPE): Likewise.
71216         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71217         (__SWBLK_T_TYPE): Likewise.
71218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71219         (__SWBLK_T_TYPE): Likewise.
71220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71221         (__SWBLK_T_TYPE): Likewise.
71223 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
71224             Honza Horak <hhorak@redhat.com>
71226         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
71227         (xdr_mapname): Use YPMAXMAP as maxsize.
71228         (xdr_peername): Use YPMAXPEER as maxsize.
71229         (xdr_keydat): Use YPAXRECORD as maxsize.
71230         (xdr_valdat): Use YPMAXRECORD as maxsize.
71232 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71234         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
71236         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
71237         * csu/init-first.c: ... here.
71238         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
71239         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
71240         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
71241         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
71242         * sysdeps/i386/init-first.c: File removed.
71243         * sysdeps/sh/init-first.c: File removed.
71245 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
71247         [BZ #14645]
71248         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
71249         if x * y might underflow to zero and z is zero.
71250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71251         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71252         * math/libm-test.inc (min_subnorm_value): New variable.
71253         (fma_test): Add more tests.
71254         (fma_test_towardzero): Likewise.
71255         (fma_test_downward): Likewise.
71256         (fma_test_upward): Likewise.
71257         (initialize): Set min_subnorm_value.
71259 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
71261         [BZ #14638]
71262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
71263         0 + 0.
71264         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
71265         mode for addition resulting in exact zero.
71266         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
71267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
71268         exact 0 + 0.
71269         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71271         * math/libm-test.inc (fma_test): Add more tests.
71272         (fma_test_towardzero): New function.
71273         (fma_test_downward): Likewise.
71274         (fma_test_upward): Likewise.
71275         (main): Call the new functions.
71277 2012-09-28  David S. Miller  <davem@davemloft.net>
71279         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
71281 2012-09-28  Roland McGrath  <roland@hack.frob.com>
71283         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
71284         instead of SIGALRM.
71286         * sysdeps/gnu/_G_config.h: Moved to ...
71287         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
71288         * sysdeps/mach/hurd/_G_config.h: Moved to ...
71289         * sysdeps/generic/_G_config.h: ... here.
71291         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
71293         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
71295         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
71296         Conditionalize target on [libnss_test1.so-version].
71298         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
71300         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
71301         (elfobjdir): Move out of conditionals.
71303         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71304         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
71305         (__nss_lookup_function): Conditionalize label remove_from_tree on
71306         [!DO_STATIC_NSS || SHARED], matching its only use.
71308 2012-09-28  David S. Miller  <davem@davemloft.net>
71310         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
71311         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
71312         file.
71313         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71314         sysdep_routines.
71315         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71316         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
71317         when HWCAP_SPARC_CRYPTO is present.
71319 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71321         * io/tst-mknodat.c: Create a FIFO instead of a socket.
71323 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
71325         [BZ #6530]
71326         * stdio-common/vfprintf.c (process_string_arg): Revert
71327         2000-07-22 change.
71329 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
71331         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
71332         for testcase.
71333         * stdio-common/tst-sprintf.c: Include <locale.h>
71334         (main): Test sprintf's handling of incomplete multibyte
71335         characters.
71337 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
71339         * elf/dl-runtime.c (VERSYMIDX): Removed.
71340         * elf/dl-version.c (VERSYMIDX): Likewise.
71341         * elf/do-rel.h (VERSYMIDX): Likewise.
71342         (VALIDX): Likewise.
71343         * elf/dynamic-link.h (VERSYMIDX): Likewise.
71344         * elf/rtld.c (VALIDX): Likewise.
71345         (ADDRIDX): Likewise.
71346         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71347         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
71348         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
71349         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
71350         (VALIDX): Likewise.
71351         (ADDRIDX): Likewise.
71353 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71355         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
71357 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
71359         [BZ #11438]
71360         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
71361         to global scope.
71362         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
71363         addresses are in the same scope as 192.0.2/24.
71364         * posix/gai.conf: Document new scope table defaults.
71366 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71368         [BZ #5298]
71369         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
71370         for ftell.  Compute offsets from write pointers instead.
71371         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71373 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71375         [BZ #14543]
71376         * libio/Makefile (tests): New test case tst-fseek.
71377         * libio/tst-fseek.c: New test case to verify that fseek/ftell
71378         combination works in wide mode.
71379         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
71380         state when the external buffer state changes.
71382 2012-09-27  David S. Miller  <davem@davemloft.net>
71384         [BZ #14376]
71385         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
71386         pass reloc->r_addend in as the 'high' argument to
71387         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
71389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71391 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71393         * rt/tst-aio2.c: Include <pthread.h>.
71394         * rt/tst-aio3.c: Likewise.
71396 2012-09-27  Steve Ellcey  <sellcey@mips.com>
71398         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
71400 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
71402         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
71403         contents on [SHARED].
71405 2012-09-26  Marek Polacek  <polacek@redhat.com>
71407         [BZ #14530]
71408         [BZ #13741]
71409         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
71410         for C++ and GCC <4.3 as well as for non GCC compilers.
71412 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
71414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71416 2012-09-25  Roland McGrath  <roland@hack.frob.com>
71418         * Makefile.in (all, install): Declare with .PHONY.
71419         Reported by Michael Hope <michael.hope@linaro.org>.
71421 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71423         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
71424         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
71425         system header.
71426         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
71427         Likewise.
71428         (sydep_routines): Add the new and the internal functions.
71429         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
71430         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
71431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
71432         (GLIBC_2.17): Add the new function.
71433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71434         (GLIBC_2.17): Likewise.
71435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
71436         (GLIBC_2.17): Likewise.
71437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
71438         (GLIBC_2.17): Likewise.
71439         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
71441 2012-09-25  Alan Modra  <amodra@gmail.com>
71443         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
71444         Add release barrier before setting once_control to say
71445         initialisation is done.  Add hints on lwarx.  Use macro in
71446         place of isync.
71447         (clear_once_control): Add release barrier.
71449 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71451         [BZ #13629]
71452         * math/s_clog.c (__clog): Handle more values close to |z| = 1
71453         specially.
71454         * math/s_clog10.c (__clog10): Likewise.
71455         * math/s_clog10f.c (__clog10f): Likewise.
71456         * math/s_clog10l.c (__clog10l): Likewise.
71457         * math/s_clogf.c (__clogf): Likewise.
71458         * math/s_clogl.c (__clogl): Likewise.
71459         * math/Makefile (libm-calls): Add x2y2m1.
71460         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
71461         (__x2y2m1): Likewise.
71462         (__x2y2m1l): Likewise.
71463         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
71464         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
71465         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
71466         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
71467         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
71468         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
71469         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
71470         * sysdeps/i386/fpu/libm-test-ulps: Update.
71471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71473         [BZ #14621]
71474         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
71475         int as type of variable DEPTH.
71476         (glob): Use size_t instead of int as type of variables NEWCOUNT
71477         and OLD_PATHC.
71479 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71481         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71482         Add s_sincosf-sse2.
71483         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
71484         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
71485         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
71486         macros for using routine as __sincosf_ia32.
71487         Use macro for function declaration and weak_alias.
71488         * sysdeps/i386/fpu/libm-test-ulps: Update.
71490         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
71491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71493         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
71494         subnormal argument.
71495         * math/s_cexpf.c (__cexpf): Likewise.
71496         * math/s_csinf.c (__csinf): Likewise.
71497         * math/s_csinhf.c (__csinhf): Likewise.
71498         * math/s_ctanf.c (__ctanf): Likewise.
71499         * math/s_ctanhf.c (__ctanhf): Likewise.
71500         * math/s_ccosh.c (__ccoshf): Likewise.
71501         * math/s_cexp.c (__cexpl): Likewise.
71502         * math/s_csin.c (__csin): Likewise.
71503         * math/s_csinh.c (__csinh): Likewise.
71504         * math/s_ctan.c (__ctan): Likewise.
71505         * math/s_ctanh.c (ctanh): Likewise.
71506         * math/s_ccoshl.c (__ccoshl): Likewise.
71507         * math/s_cexpl.c (__cexpl): Likewise.
71508         * math/s_csinl.c (__csinl): Likewise.
71509         * math/s_csinhl.c (__csinhl): Likewise.
71510         * math/s_ctanl.c (__ctanl): Likewise.
71511         * math/s_ctanhl.c (__ctanhl): Likewise.
71513 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71515         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
71516         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
71517         (_IO_off_t): Define to __off_t, not _G_off_t.
71518         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
71519         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
71520         (_IO_wint_t): Define to wint_t, not _G_wint_t.
71521         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
71522         type of __dummy and __dummy2 fields.
71523         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
71524         (_G_ssize_t): Likewise.
71525         (_G_off_t): Likewise.
71526         (_G_pid_t): Likewise.
71527         (_G_uid_t): Likewise.
71528         (_G_wchar_t): Likewise.
71529         (_G_wint_t): Likewise.
71530         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
71531         (_G_ssize_t): Likewise.
71532         (_G_off_t): Likewise.
71533         (_G_pid_t): Likewise.
71534         (_G_uid_t): Likewise.
71535         (_G_wchar_t): Likewise.
71536         (_G_wint_t): Likewise.
71537         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
71538         (_G_ssize_t): Likewise.
71539         (_G_off_t): Likewise.
71540         (_G_pid_t): Likewise.
71541         (_G_uid_t): Likewise.
71542         (_G_wchar_t): Likewise.
71543         (_G_wint_t): Likewise.
71545 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71547         * malloc/arena.c: Include malloc-sysdep.h.
71548         (shrink_heap): Use check_may_shrink_heap to decide if madvise
71549         is sufficient to shrink the heap or an unmap is needed.
71550         * sysdeps/generic/malloc-sysdep.h: New file.  Define
71551         new function check_may_shrink_heap.
71552         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
71553         new function check_may_shrink_heap.
71555 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71557         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
71558         comments.
71560 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
71562         * catgets/test-gencat.sh: Add "set -e".
71563         * elf/tst-pathopt.sh: Likewise.
71564         * grp/tst_fgetgrent.sh: Likewise.
71565         * iconvdata/run-iconv-test.sh: Likewise.
71566         * intl/tst-gettext.sh: Likewise.
71567         * intl/tst-gettext2.sh: Likewise.
71568         * intl/tst-gettext4.sh: Likewise.
71569         * intl/tst-gettext6.sh: Likewise.
71570         * intl/tst-translit.sh: Likewise.
71571         * io/ftwtest-sh: Likewise.
71572         * libio/test-freopen.sh: Likewise.
71573         * malloc/tst-mtrace.sh: Likewise.
71574         * posix/globtest.sh: Likewise.
71575         * posix/tst-getconf.sh: Likewise.
71576         * posix/wordexp-tst.sh: Likewise.
71577         * stdio-common/tst-printf.sh: Likewise.
71578         * stdio-common/tst-unbputc.sh: Likewise.
71579         * stdlib/tst-fmtmsg.sh: Likewise.
71580         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71581         * catgets/Makefile: Do not specify -e option when running
71582         testsuite shell scripts.
71583         * elf/Makefile: Likewise.
71584         * grp/Makefile: Likewise.
71585         * iconvdata/Makefile: Likewise.
71586         * intl/Makefile: Likewise.
71587         * io/Makefile: Likewise.
71588         * libio/Makefile: Likewise.
71589         * malloc/Makefile: Likewise.
71590         * posix/Makefile: Likewise.
71591         * stdio-common/Makefile: Likewise.
71592         * stdlib/Makefile: Likewise.
71593         * sysdeps/x86_64/Makefile: Likewise.
71595         * io/ftwtest-sh: Add copyright header.
71596         * posix/globtest.sh: Likewise.
71597         * posix/tst-getconf.sh: Likewise.
71598         * posix/wordexp-tst.sh: Likewise.
71599         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71601 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
71603         [BZ #13679]
71604         * Makeconfig (+link): Defined as $(+link-static) if
71605         $(build-shared) isn't yes.
71606         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71607         isn't yes.
71608         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71610         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71612         [BZ #14562]
71613         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71614         new chunk size with MALLOC_ALIGN_MASK.
71616 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71618         [BZ #5044]
71619         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71620         <rounding-mode.h>.
71621         (__printf_fphex): Determine rounding using get_rounding_mode and
71622         round_away.
71623         * stdio-common/tst-printf-round.c (struct hex_test): New
71624         structure.
71625         (hex_tests): New variable.
71626         (test_hex_in_one_mode): New function.
71627         (do_test): Also run tests for hex float output.
71629 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71631         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71632         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71633         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71634         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71635         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71636         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71637         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71638         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71640 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71642         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71643         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71644         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71645         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71647 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71649         [BZ #14579]
71650         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71651         mode only.
71652         * elf/tst-rtld-load-self.sh: New test.
71653         * elf/Makefile: Run it.
71655 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71657         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71658         (tst-writev-ENV): Remove.
71659         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71661 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71663         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71665 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71667         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71668         unconditional.
71669         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71670         Likewise.
71671         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71672         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71673         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71674         Likewise.
71676 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71678         [BZ #14587]
71679         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71680         * config.make.in (have-cpp-asm-debuginfo): Removed.
71681         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71682         * configure: Regenerated.
71684 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71686         [BZ #5044]
71687         * stdio-common/printf_fp.c: Include <stdbool.h> and
71688         <rounding-mode.h>.
71689         (___printf_fp): Determine rounding using get_rounding_mode and
71690         round_away.
71691         * stdio-common/tst-printf-round.c: New file.
71692         * stdio-common/Makefile (tests): Add tst-printf-round.
71693         (link-libm): New variable.
71694         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71696 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71698         [BZ #14576]
71699         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71700         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71701         Likewise.
71702         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71703         Likewise.
71705 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71707         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71708         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71709         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71710         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71712 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71714         [BZ #14518]
71715         * include/rounding-mode.h: New file.
71716         * sysdeps/generic/get-rounding-mode.h: Likewise.
71717         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71718         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71719         (MAX_VALUE): New macro.
71720         (MIN_VALUE): Likewise.
71721         (overflow_value): New function.
71722         (underflow_value): Likewise.
71723         (round_and_return): Use overflow_value and underflow_value to
71724         determine return values in overflow and underflow cases.  Use
71725         round_away to determine rounding depending on rounding mode.
71726         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71727         determine return values in overflow and underflow cases.
71728         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71729         (struct test_results): New structure.
71730         (struct test): Use struct test_results to store expected results
71731         for all rounding modes.
71732         (TEST): Include expected results for all rounding modes.
71733         (test_in_one_mode): New function.
71734         (do_test): Use test_in_one_mode to compute and check results.
71735         Check results for all rounding modes.
71736         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71737         $(link-libm).
71739 2012-12-09  Allan McRae  <allan@archlinux.org>
71741         * sysdeps/i386/fpu/libm-test-ulps: Update
71743 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71745         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71746         (_G_int32_t): Likewise.
71747         (_G_uint16_t): Likewise.
71748         (_G_uint32_t): Likewise.
71749         (_G_HAVE_BOOL): Likewise.
71750         (_G_HAVE_ATEXIT): Likewise.
71751         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71752         (_G_HAVE_IO_FILE_OPEN): Likewise.
71753         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71754         (_G_int32_t): Likewise.
71755         (_G_uint16_t): Likewise.
71756         (_G_uint32_t): Likewise.
71757         (_G_HAVE_BOOL): Likewise.
71758         (_G_HAVE_ATEXIT): Likewise.
71759         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71760         (_G_HAVE_IO_FILE_OPEN): Likewise.
71761         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71762         (_G_int32_t): Likewise.
71763         (_G_uint16_t): Likewise.
71764         (_G_uint32_t): Likewise.
71765         (_G_HAVE_BOOL): Likewise.
71766         (_G_HAVE_ATEXIT): Likewise.
71767         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71768         (_G_HAVE_IO_FILE_OPEN): Likewise.
71770 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71772         * csu/libc-tls.c: Update copyright years.
71774 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71776         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71777         [!_G_USING_THUNKS]: Remove conditional code.
71778         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71779         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71781         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71782         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71783         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71784         (_G_VTABLE_LABEL_PREFIX): Likewise.
71785         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71786         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71787         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71788         (_G_VTABLE_LABEL_PREFIX): Likewise.
71789         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71790         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71791         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71792         (_G_VTABLE_LABEL_PREFIX): Likewise.
71793         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71795 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71797         * libio/Makefile: Include ../Makeconfig before tests.
71798         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71799         only if $(build-shared) is yes.
71801         * iconv/gconv_db.c: Update copyright years.
71803 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71805         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71806         unwind info if defined PIC. Fix special cases description.
71807         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71809         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71810         DP_HI_MASK entry.
71811         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71813 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71815         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71817         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71818         is NULL.
71820         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71821         (LDLIBS-tst-chk4): This.
71822         (LDFLAGS-tst-chk5): Renamed to ...
71823         (LDLIBS-tst-chk5): This.
71824         (LDFLAGS-tst-chk6): Renamed to ...
71825         (LDLIBS-tst-chk6): This.
71826         (LDFLAGS-tst-lfschk4): Renamed to ...
71827         (LDLIBS-tst-lfschk4): This.
71828         (LDFLAGS-tst-lfschk5): Renamed to ...
71829         (LDLIBS-tst-lfschk5): This.
71830         (LDFLAGS-tst-lfschk6): Renamed to ...
71831         (LDLIBS-tst-lfschk6): This.
71833         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71834         on $(common-objpfx)soversions.mk.
71836 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71838         [BZ #10014]
71839         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71840         example host name.
71842 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71844         * malloc/arena.c (arena_get_retry): New function that gets
71845         another arena for the caller to try its request on.
71846         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71847         current arena cannot fulfill the request.
71848         (__libc_memalign): Likewise.
71849         (__libc_memalign): Likewise.
71850         (__libc_pvalloc): Likewise.
71851         (__libc_calloc): Likewise.
71853 2012-09-05  John Tobey  <john.tobey@gmail.com>
71855         [BZ #13542]
71856         * manual/arith.texi (Operations on Complex): Fix description
71857         of carg branch cut.
71859 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71861         [BZ #10014]
71862         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71863         host name.
71865         [BZ #10038]
71866         * manual/memory.texi (Memory): Make order of menu items match
71867         order of sections.
71869 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71871         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71872         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71873         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71875 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71877         * csu/libc-tls.c (static_dtv): Renamed to ...
71878         (_dl_static_dtv): This.  Make it global.
71879         (_dl_initial_dtv): Removed.
71880         (__libc_setup_tls): Updated.
71881         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71882         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71883         DL_INITIAL_DTV.
71885 2012-09-06  Petr Machata  <pmachata@redhat.com>
71887         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71888         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71889         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71890         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71892 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71894         [BZ #14545]
71895         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71896         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71897         freeing dtv[-1].
71899 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71901         [BZ #14544]
71902         * Makeconfig (link-static-before-libc): Replace $(+prector)
71903         with $(+prectorT).
71904         (link-static-after-libc): Replace $(+postctor) with
71905         $(+postctorT).
71906         (link-bounded): Replace $(+prector)/$(+postctor) with
71907         $(+prectorT)/$(+postctorT).
71908         (+prectorT): New macro.
71909         (+postctorT): Likewise.
71911 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71913         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71914         (round_str): Handle values above the maximum for IBM long double
71915         as inexact.
71916         * stdlib/tst-strtod-round.c (tests): Regenerated.
71918 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71920         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71921         assembler flag.
71922         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71923         zarch_nohighgprs around the zarch optimized routines.
71924         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71925         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71926         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71927         for zarch.
71929 2012-09-05  David S. Miller  <davem@davemloft.net>
71931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71933         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71934         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71935         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71936         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71937         entries.
71939 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71941         * malloc/arena.c: Fold copyright years.
71942         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71944 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71946         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71948 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71950         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71952 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71954         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71955         change internal state upon failure.
71957 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71959         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71960         * malloc/memusage.c (mmap): Likewise.
71961         (mmap64, mremap): Likewise.  Adjust name in comment.
71963 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71965         * libio/fileops.c: Fix typos in comments.
71966         * libio/oldfileops.c: Likewise.
71967         * libio/wfileops.c: Likewise.
71969 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71971         [BZ #1349]
71972         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71973         (tst-malloc-usable-ENV): Set environment for test case.
71974         * malloc/hooks.c (malloc_check_get_size): New function to get
71975         requested size.
71976         * malloc/malloc.c (musable): Use malloc_check_get_size.
71977         * malloc/tst-malloc-usable.c: New test case.
71979 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71981         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71983 2012-09-05  Allan McRae  <allan@archlinux.org>
71985         [BZ #13966]
71986         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71987         determine header location.
71988         * configure: Regenerated.
71990 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71992         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71993         float format.
71994         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71995         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71996         format.
71997         (test): Regenerate.
71999 2012-09-04  David S. Miller  <davem@davemloft.net>
72001         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
72002         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
72003         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
72005 2012-09-04  Florian Weimer  <fweimer@redhat.com>
72007         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
72008         failures.
72010         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
72012 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
72014         [BZ #9914]
72015         * libio/iogetdelim.c: Include <limits.h>.
72016         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
72017         + len + 1 would overflow.
72019 2012-09-03  Andreas Jaeger  <aj@suse.de>
72021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72022         * sysdeps/i386/fpu/libm-test-ulps: Update.
72024 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72026         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72027         Add s_sinf-sse2, s_conf-sse2.
72029         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
72030         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
72031         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
72032         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
72034         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
72035         for using routine as __sinf_ia32.
72036         Use macro for function declaration and weak_alias.
72037         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
72038         for using routine as __cosf_ia32.
72039         Use macro for function declaration and weak_alias.
72041         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
72042         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
72044         * sysdeps/x86_64/fpu/s_sinf.S: New file.
72045         * sysdeps/x86_64/fpu/s_cosf.S: New file.
72046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72048         * math/libm-test.inc (cos_test): Add more test cases.
72049         (sin_test): Likewise.
72050         (sincos_test): Likewise.
72052 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
72055         (IFUNC_RESOLVE): Make pointers to the specialized implementations
72056         hidden.
72057         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
72059 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
72061         [BZ #14538]
72062         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
72063         first element of the GOT.
72064         (elf_machine_load_address): Return the difference between
72065         the runtime address of _DYNAMIC and elf_machine_dynamic ().
72067 2012-09-01  Allan McRae  <allan@archlinux.org>
72069         [BZ #13412]
72070         * configure.in (AWK): Require gawk version 3.0 or later.
72071         * configure: Regenerated.
72073 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
72075         * sysdeps/unix/sysv/linux/kernel-features.h
72076         (__ASSUME_POSIX_CPU_TIMERS): Remove.
72077         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72078         [__NR_clock_getres]: Make code unconditional.
72079         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
72080         (clock_getcpuclockid): Remove code left unreachable by removal of
72081         conditionals.
72082         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
72083         code unconditional.
72084         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72085         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72086         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
72087         Make code unconditional.
72088         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72089         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72090         * sysdeps/unix/sysv/linux/clock_settime.c
72091         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
72092         conditional code.
72093         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
72094         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72096 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
72098         [BZ #14476]
72099         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
72100         scripts/test-installation.pl.
72102         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
72103         and $ld_so_version if it is set.
72105 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72107         [BZ #14516]
72108         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
72109         failure if reading from procfs failed.
72110         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
72112 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72114         * sysdeps/unix/sysv/linux/kernel-features.h
72115         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
72116         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72117         Remove conditional code.
72118         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72119         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
72120         Remove conditional code.
72121         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72122         * sysdeps/unix/sysv/linux/i386/fxstat.c
72123         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72124         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72125         * sysdeps/unix/sysv/linux/i386/fxstatat.c
72126         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72127         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72128         * sysdeps/unix/sysv/linux/i386/lxstat.c
72129         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72130         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72131         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
72132         Remove conditional code.
72133         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72134         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72135         Remove conditional code.
72136         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72137         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
72138         <kernel-features.h>.
72139         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
72140         Remove.
72141         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
72142         Remove conditional code.
72143         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72144         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
72145         Remove conditional.
72147 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
72149         [BZ #5400]
72150         * NEWS: Add fixed bug number.
72152 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72154         [BZ #14519]
72155         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
72156         underflowing exponent in case of negative sign.
72157         * stdlib/tst-strtod-round-data: Add more tests.
72158         * stdlib/tst-strtod-round.c (tests): Regenerated.
72160         [BZ #3479]
72161         * stdlib/strtod_l.c (NDIG): Remove.
72162         (HEXNDIG): Likewise.
72163         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
72164         smallest representable value.
72165         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
72166         lie within an exact representation of 1/2 ulp of the result.
72167         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
72168         unconditionally.
72169         (TENS_P9_IDX): Define unconditionally.
72170         (TENS_P9_SIZE): Likewise.
72171         (TENS_P10_IDX): Likewise.
72172         (TENS_P10_SIZE): Likewise.
72173         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
72174         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
72175         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
72176         entries for 10^2^13 and 10^2^14.
72177         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
72178         (TENS_P13_IDX): Define.
72179         (TENS_P13_SIZE): Likewise.
72180         (TENS_P14_IDX): Likewise.
72181         (TENS_P14_SIZE): Likewise.
72182         (_fpioconst_pow10): Change array size to
72183         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
72184         unconditional.
72185         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
72186         1024]: Add entries for 10^2^13 and 10^2^14.
72187         [LAST_POW10 > _LAST_POW10]: Remove #error.
72188         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
72189         (_fpioconst_pow10): Change array size to
72190         FPIOCONST_POW10_ARRAY_SIZE.
72191         * stdlib/gen-fpioconst.c: New file.
72192         * stdlib/gen-tst-strtod-round.c: Likewise.
72193         * stdlib/tst-strtod-round-data: Likewise.
72194         * stdlib/tst-strtod-round.c: Likewise.
72195         * stdlib/Makefile (tests): Add tst-strtod-round.
72197         [BZ #14459]
72198         * stdlib/strtod_l.c: Include <stdint.h>.
72199         (NDEBUG): Do not define.
72200         (round_and_return): Change EXPONENT parameter to type intmax_t.
72201         Rearrange calculations to avoid internal overflow possibilities.
72202         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
72203         Rearrange calculations to avoid internal overflow possibilities.
72204         Assert that number fits inside MPNSIZE limbs.
72205         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
72206         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
72207         calculations and add assertions to avoid internal overflow
72208         possibilities.  Add casts to avoid signed/unsigned operations.
72209         * stdlib/tst-strtod-overflow.c: New file.
72210         * stdlib/Makefile (tests): Add tst-strtod-overflow.
72212 2012-08-25  Marek Polacek  <polacek@redhat.com>
72214         * time/time.h: Fix some typos in comments.
72216 2012-08-23  Roland McGrath  <roland@hack.frob.com>
72218         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
72219         * posix/tst-rfc3484-2.c: Likewise.
72220         * posix/tst-rfc3484-3.c: Likewise.
72222 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
72224         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
72225         (EF_ARM_ABI_FLOAT_HARD): Likewise.
72227 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
72229         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
72230         #include of fxstatat64.c.
72232 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72234         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
72235         * shadow/getspent_r.c: Likewise.
72236         * shadow/getspnam.c: Likewise.
72237         * shadow/getspnam_r.c: Likewise.
72238         * gshadow/getsgent.c: Likewise.
72239         * gshadow/getsgent_r.c: Likewise.
72240         * gshadow/getsgnam.c: Likewise.
72241         * gshadow/getsgnam_r.c: Likewise.
72242         * inet/getnetbyad.c: Likewise.
72243         * inet/getnetbyad_r.c: Likewise.
72244         * inet/getnetbynm.c: Likewise.
72245         * inet/getnetbynm_r.c: Likewise.
72246         * inet/getnetent.c: Likewise.
72247         * inet/getnetent_r.c: Likewise.
72248         * inet/getproto.c: Likewise.
72249         * inet/getproto_r.c: Likewise.
72250         * inet/getprtent.c: Likewise.
72251         * inet/getprtent_r.c: Likewise.
72252         * inet/getprtname.c: Likewise.
72253         * inet/getprtname_r.c: Likewise.
72254         * inet/getrpcbyname.c: Likewise.
72255         * inet/getrpcbyname_r.c: Likewise.
72256         * inet/getrpcbynumber.c: Likewise.
72257         * inet/getrpcbynumber_r.c: Likewise.
72258         * inet/getrpcent.c: Likewise.
72259         * inet/getrpcent_r.c: Likewise.
72260         * inet/getaliasent.c: Likewise.
72261         * inet/getaliasent_r.c: Likewise.
72262         * inet/getaliasname.c: Likewise.
72263         * inet/getaliasname_r.c: Likewise.
72264         * nscd/getgrgid_r.c: Likewise.
72265         * nscd/getgrnam_r.c: Likewise.
72266         * nscd/gethstbyad_r.c: Likewise.
72267         * nscd/gethstbynm3_r.c: Likewise.
72268         * nscd/getpwnam_r.c: Likewise.
72269         * nscd/getpwuid_r.c: Likewise.
72270         * nscd/getsrvbynm_r.c: Likewise.
72271         * nscd/getsrvbypt_r.c: Likewise.
72272         * nscd/gai.c: Likewise.
72274         * configure.in (build_nscd): New substituted variable, set
72275         by --disable-build-nscd and defaults to $use_nscd.
72276         * configure: Regenerated.
72277         * config.make.in (build-nscd): New substituted variable.
72278         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
72279         Change conditional to require [$(build-nscd) = yes] as well.
72280         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
72282         [BZ #13696]
72283         * configure.in (use_nscd): New substituted variable, set by
72284         --disable-nscd.  If enabled, define USE_NSCD.
72285         * configure: Regenerated.
72286         * config.h.in: Add USE_NSCD.
72287         * config.make.in (use-nscd): New substituted variable.
72288         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
72289         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
72290         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
72291         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
72292         (CFLAGS-getgrnam_r.c): Likewise.
72293         (CFLAGS-initgroups.c): Likewise.
72294         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
72295         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
72296         Variables removed.
72297         * inet/getnetgrent_r.c
72298         (nscd_setnetgrent): New function, broken out of ...
72299         (setnetgrent): ... here.  Call it.
72300         (innetgr): Conditionalize nscd bits on [USE_NSCD].
72301         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
72302         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
72303         * nscd/Makefile (routines, aux): Move definitions after include of
72304         Makeconfig.  Conditionalize on [$(use-nscd) != no].
72305         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
72306         Conditionalize on [USE_NSCD].
72307         (is_nscd, nscd_init_cb): Likewise.
72308         (nss_load_library): Conditionalize init callback on [USE_NSCD].
72309         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
72310         * nss/nss_db/db-init.c: Likewise.
72311         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
72312         [USE_NSCD].
72313         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
72314         (make_request): Use it.
72315         (cache_valid_p): New function.
72316         (__check_pf): Use it.
72317         * NEWS: Add item for --disable-nscd.
72319 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
72321         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
72322         to support sed >= 4.2.1-20-ga9bf076.
72323         * configure: Regenerated.
72325 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72327         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
72328         Conditionalize whole body on [IREL].
72330 2012-08-22  Jeff Law <law@redhat.com>
72332         [BZ #14505]
72333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
72334         if the family is PF_UNSPEC.
72336 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
72338         * Makerules (lib-version): Rename from V.
72339         (install-lib-nosubdir): Change V to lib-version.
72341 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
72343         [BZ #14252]
72344         * powerpc32/power6/wcschr.c: New file.
72345         * powerpc32/power6/wcscpy.c: New file.
72346         * powerpc32/power6/wcsrchr.c: New file.
72347         * powerpc64/power6/wcschr.c: New file.
72348         * powerpc64/power6/wcscpy.c: New file.
72349         * powerpc64/power6/wcsrchr.c: New file.
72351 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72353         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
72354         (two_way_short_needle): Use it.
72355         * string/strstr.c (AVAILABLE1_USES_J): Define.
72356         * string/strcasestr.c: Likewise.
72358         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
72359         array references.
72360         * string/strcasestr.c (TOLOWER): Make side-effect safe.
72362         [BZ #11607]
72363         * NEWS: Add an entry.
72364         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
72365         define their defaults.
72366         (two_way_short_needle): Detect end-of-string on-the-fly.
72367         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
72368         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
72369         * string/bug-strcasestr1.c: New test.
72370         * string/Makefile: Run it.
72372 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72374         [BZ #11607]
72375         * string/str-two-way.h (two_way_short_needle): Optimize matching of
72376         the first character.
72378 2012-08-21  Roland McGrath  <roland@hack.frob.com>
72380         * csu/elf-init.c (__libc_csu_irel): Function removed.
72381         * csu/libc-start.c (apply_irel): New function.
72382         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
72384 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
72386         * sysdeps/unix/sysv/linux/kernel-features.h
72387         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
72388         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
72389         <kernel-features.h>.
72390         [__NR_fadvise64_64]: Make code unconditional.
72391         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
72392         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72393         !__NR_fadvise64_64)]: Likewise.
72394         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72395         !__NR_fadvise64_64))]: Likewise.
72396         [__NR_fadvise64]: Make code unconditional.
72397         [!__NR_fadvise64]: Remove conditional code.
72398         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
72399         <kernel-features.h>.
72400         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72401         unconditional.
72402         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72403         conditional code.
72404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
72405         not include <kernel-features.h>.
72406         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72407         unconditional.
72408         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72409         conditional code.
72410         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
72411         include <kernel-features.h>.
72412         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72413         unconditional.
72414         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72415         conditional code.
72417 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72419         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
72420         slight instruction rearrangements per scrollpipe analysis.
72421         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72423 2012-08-20  Roland McGrath  <roland@hack.frob.com>
72425         * manual/syslog.texi (syslog; vsyslog, closelog):
72426         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
72427         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
72429         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
72430         DSOCAPS to match condition on defining it.
72432 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
72434         * sysdeps/unix/sysv/linux/kernel-features.h
72435         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
72436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
72437         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72438         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
72440         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72441         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
72443         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72444         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72446         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
72447         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
72449         * sysdeps/unix/sysv/linux/kernel-features.h
72450         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
72451         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
72452         unconditional.
72453         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72454         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
72455         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72456         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72457         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
72458         Make code unconditional.
72459         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72460         (__mmap64) [!__NR_mmap2]: Likewise.
72461         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
72462         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72463         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72464         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
72465         [__NR_mmap2]: Make code unconditional.
72466         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72467         (__mmap64) [!__NR_mmap2]: Likewise.
72469 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72471         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
72473 2012-08-18  Andreas Jaeger  <aj@suse.de>
72475         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
72477 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72479         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
72480         * include/unistd.h (__have_sock_cloexec): Likewise.
72481         (__have_pipe2): Likewise.
72482         (__have_dup3): Likewise.
72484 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72486         [BZ #9685]
72487         * include/unistd.h (__have_pipe2): Change define into an extern int.
72488         (__have_dup3): Likewise.
72489         * socket/have_sock_cloexec.c: Include fcntl.h.
72490         (__have_pipe2): New variable.
72491         (__have_dup3): Likewise.
72493 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
72495         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
72497 2012-08-17  Marek Polacek  <polacek@redhat.com>
72499         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
72500         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
72502 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72504         * configure.in: Add AC_SUBST for sysheaders.
72505         * configure: Regenerated.
72506         * config.make.in (sysheaders): New substituted variable.
72508         * sysdeps/unix/mkfifo.c: Moved ...
72509         * sysdeps/posix/mkfifo.c: ... here.
72510         * sysdeps/unix/mkfifoat.c: Moved ...
72511         * sysdeps/posix/mkfifoat.c: ... here.
72513         * sysdeps/unix/utime.c: Moved ...
72514         * sysdeps/posix/utime.c: ... here.
72516         * sysdeps/unix/time.c: Moved ...
72517         * sysdeps/posix/time.c: ... here.
72518         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
72519         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
72521         * sysdeps/unix/nice.c: Moved ...
72522         * sysdeps/posix/nice.c: ... here.
72524         * sysdeps/unix/alarm.c: Moved ...
72525         * sysdeps/posix/alarm.c: ... here.
72527         * intl/Makefile ($(codeset_mo)): Depend on the input file.
72529 2012-08-17  Jeff Law <law@redhat.com>
72531         * intl/Makefile (codeset_mo): New variable.
72532         ($(codeset_mo)): New target.
72533         (tst-codeset.out): Depend on that.  Remove explicit rule.
72534         (tst-gettext3.out, tst-gettext5.out): Likewise.
72535         (LOCPATH-ENV, tst-codeset-ENV): New variables.
72536         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
72537         * intl/tst-codeset.sh: Remove.
72538         * intl/tst-gettext3.sh: Likewise.
72539         * intl/tst-gettext5.sh: Likewise.
72541 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72543         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
72544         * sysdeps/unix/syscalls.list: ... here.
72546         * sysdeps/posix/getaddrinfo.c
72547         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
72548         (gaiconf_init, gaiconf_reload): Use them.
72549         [!_STATBUF_ST_NSEC]
72550         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
72551         Define using time_t rather than struct timespec.
72553         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
72554         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
72555         Macros removed.
72556         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
72557         [!NO_THREADS].
72558         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
72559         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
72560         Likewise.
72562         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
72563         __libc_cleanup_push argument.
72565         * bits/param.h: New file.
72566         * misc/sys/param.h: New file.
72567         * include/sys/param.h: New file.
72568         * misc/Makefile (headers): Add bits/param.h.
72569         * sysdeps/generic/sys/param.h: File removed.
72570         * sysdeps/unix/sysv/linux/bits/param.h: New file.
72571         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
72572         * sysdeps/mach/hurd/bits/param.h: New file.
72573         * sysdeps/mach/hurd/sys/param.h: File removed.
72575         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
72576         last change.
72578         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
72579         [_IO_MTSAFE_IO].
72580         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
72581         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
72582         New macros.
72584         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
72585         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
72586         rather than -D_IO_MTSAFE_IO conditionally.
72587         * stdio-common/Makefile (CPPFLAGS): Likewise.
72588         * wcsmbs/Makefile (CPPFLAGS): Likewise.
72589         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
72590         Use $(libio-mtsafe).
72591         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
72592         of -D_IO_MTSAFE_IO.
72593         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
72594         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
72595         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72596         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
72597         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
72598         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
72599         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72600         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
72601         (CFLAGS-fread_u_chk.c): Likewise.
72602         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
72603         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72604         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72605         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72606         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72607         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72608         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72609         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72610         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72612         * libio/Makefile: Test [$(libc-reentrant) = yes]
72613         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72615         * Makeconfig
72616         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72617         * sysdeps/pthread/configure: File removed.
72618         * sysdeps/pthread/Makeconfig: New file.
72619         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72620         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72622 2012-08-16  Gary Benson  <gbenson@redhat.com>
72624         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72625         unmapping the first object in a namespace.
72627 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72629         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72630         (__internal_setnetgrent): ... this.  Add internal_function to
72631         definition.  Add libc_hidden_def.
72632         (setnetgrent): Update caller.
72633         (internal_endnetgrent): Renamed to ...
72634         (__internal_endnetgrent): ... this.  Add internal_function to
72635         definition.  Add libc_hidden_def.
72636         (endnetgrent): Update caller.
72637         (internal_getnetgrent_r): Renamed to ...
72638         (__internal_getnetgrent_r): ... this.  Add internal_function to
72639         definition.  Add libc_hidden_def.
72640         (__getnetgrent_r): Update caller.
72641         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72643 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72645         * stdlib/longlong.h: Update from GCC.
72647 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72649         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72650         on _QL, which is set by umul_ppmm but never used.
72651         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72652         variables, which are set by GMP macros but never used.
72653         * stdio-common/_itowa.c (_itowa): Likewise.
72654         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72655         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72657 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72659         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72660         struct La_sh_regs is not constant.
72661         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72662         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72663         and struct La_sparc64_regs are not constant.
72665 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72667         * sysdeps/unix/sysv/linux/kernel-features.h
72668         (__ASSUME_POSIX_TIMERS): Remove.
72669         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72670         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72671         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72672         Make code unconditional.
72673         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72674         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72675         Make code unconditional.
72676         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72677         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72678         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72679         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72680         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72681         Make code unconditional.
72682         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72683         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72684         (__libc_missing_posix_timers): Remove.
72686 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72688         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72689         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72691         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72693         * elf/dl-sym.c: Include <stdlib.h>.
72695         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72696         constants, which avoids warnings in 32-bit builds.
72698         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72699         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72701         * misc/lseek.c: File moved to ...
72702         * io/lseek.c: ... here.
72704         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72706         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72707         shifting LEN more than 31 bits at once.
72709 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72711         [BZ #14195]
72712         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72713         segmentation fault for a case of two empty input strings.
72714         * string/test-strncasecmp.c (check1): Renamed to...
72715         (bz12205): ...this.
72716         (bz14195): Add new testcase for two empty input strings and N > 0.
72717         (test_main): Call new testcase, adapt for renamed function.
72719 2012-08-15  Andreas Jaeger  <aj@suse.de>
72721         [BZ #14090]
72722         * crypt/md5test2.c: New test, based on test supplied by Serge
72723         Belyshev <belyshev@depni.sinp.msu.ru>.
72724         * crypt/Makefile (xtests): Add md5test-giant..
72725         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72727 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72729         [BZ #14090]
72730         * crypt/md5.c (md5_process_block): Don't assume the buffer
72731         length is less than 2**32.
72732         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72733         length is less than 2**64.
72735 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72737         * string/str-two-way.h: Include <sys/param.h>.
72738         (MAX): Macro removed.
72740         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72741         Move #define and #undef of memmove to just before and after
72742         including <string.h>.
72744         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72745         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72746         and after including <string.h>.  Move declarations of
72747         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72748         to before #include "string/memmove.c".
72750         * include/dirent.h: Declare __getdirentries.
72752         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72753         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72755 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72757         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72758         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72759         * sysdeps/i386/configure: Regenerated.
72760         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72761         STABS_CURRENT_FILE, and STABS_FUN.
72762         (END): Remove call to STABS_FUN_END.
72763         (STABS_CURRENT_FILE1): Delete.
72764         (STABS_CURRENT_FILE): Likewise.
72765         (STABS_FUN): Likewise.
72766         (STABS_FUN_END): Likewise.
72767         (STABS_FUN2): Likewise.
72768         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72769         * sysdeps/x86_64/configure: Regenerated.
72771 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72773         * elf/dl-open.c: Include <atomic.h>.
72774         * elf/dl-lookup.c: Likewise.
72776 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72778         * sysdeps/unix/sysv/linux/kernel-features.h
72779         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72780         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72781         unconditionally.
72782         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72783         unconditionally.
72784         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72785         condition on __ASSUME_CLONE_THREAD_FLAGS.
72787 2012-08-14  Andreas Jaeger  <aj@suse.de>
72789         * sysdeps/i386/fpu/libm-test-ulps: Update.
72791 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72793         * include/atomic.h (atomic_exchange_and_add): Split into ...
72794         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72795         New atomic macros.
72797 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72801 2012-08-13  Jeff Law <law@redhat.com>
72803         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72804         null byte in the output string.
72806 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72808         * sysdeps/unix/sysv/linux/kernel-features.h
72809         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72810         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72811         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72812         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72813         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72814         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72815         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72817 2012-08-09  Jeff Law <law@redhat.com>
72819         [BZ #13939]
72820         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72821         When avoid_arena is set, don't retry in the that arena.  Pick the
72822         next one, whatever it might be.
72823         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72824         (arena_lock): Pass in new parameter to arena_get2.
72825         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72826         arena_get2.
72827         (__libc_malloc): Unify retrying after main arena failure with
72828         __libc_memalign version.
72829         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72831 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72833         [BZ #14166]
72834         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72835         to __redirect_strstr.
72836         (__strstr_sse42): Use typeof __redirect_strstr.
72837         (__strstr_ia32): Likewise.
72838         (__libc_strstr): New prototype.
72839         (strstr): Renamed to ...
72840         (__libc_strstr): This.
72841         (strstr): New strong alias of __libc_strstr.
72842         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72843         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72844         __redirect_time.
72845         Include <time.h>.
72846         (__libc_time): New prototype.
72847         (time_ifunc): Replace time with __libc_time.
72848         (time): New strong alias and hidden definition of __libc_time.
72849         (__GI_time): Remove strong alias.
72850         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72851         Include <stddef.h>.
72852         (memmove): Redefined to __redirect_memmove.
72853         (__memmove_sse2): Use typeof __redirect_memmove.
72854         (__memmove_ssse3): Likewise.
72855         (__memmove_ssse3_back): Likewise.
72856         (__libc_memmove): New prototype.
72857         (memmove): Renamed to ...
72858         (__libc_memmove): This.
72859         (memmove): New strong alias of __libc_memmove.
72861 2012-08-08  Mark Salter  <msalter@redhat.com>
72863         * elf/elf.h
72864         (R_MN10300_TLS_GD): Define.
72865         (R_MN10300_TLS_LD): Likewise.
72866         (R_MN10300_TLS_LDO): Likewise.
72867         (R_MN10300_TLS_GOTIE): Likewise.
72868         (R_MN10300_TLS_IE): Likewise.
72869         (R_MN10300_TLS_LE): Likewise.
72870         (R_MN10300_TLS_DTPMOD): Likewise.
72871         (R_MN10300_TLS_DTPOFF): Likewise.
72872         (R_MN10300_TLS_TPOFF): Likewise.
72873         (R_MN10300_SYM_DIFF): Likewise.
72874         (R_MN10300_ALIGN): Likewise.
72875         (R_MN10300_NUM): Update.
72877 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72879         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72880         Remove.
72882 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72884         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72886         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72887         sysdeps/unix -> sysdeps/posix move.
72888         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72890 2012-08-07      Allan McRae     <allan@archlinux.org>
72892         [BZ #14303]
72893         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72894         (SUNOS_CPP): Likewise.
72895         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72896         not found.
72897         (open_input): Call CPP using execvp.
72899 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72901         * sysdeps/unix/sysv/linux/kernel-features.h
72902         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72903         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72904         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72905         (__ASSUME_WAITID_SYSCALL): Likewise.
72906         * sysdeps/unix/sysv/linux/dl-execstack.c
72907         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72908         code unconditional.
72909         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72910         conditional code.
72911         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72912         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72913         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72914         code.
72915         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72916         unconditional.
72917         [__ASSUME_WAITID_SYSCALL]: Likewise.
72918         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72920 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72922         * sysdeps/unix/closedir.c: Renamed to ...
72923         * sysdeps/posix/closedir.c: ... here.
72924         * sysdeps/unix/dirfd.c: Renamed to ...
72925         * sysdeps/posix/dirfd.c: ... here.
72926         * sysdeps/unix/dirstream.h: Renamed to ...
72927         * sysdeps/posix/dirstream.h: ... here.
72928         * sysdeps/unix/fdopendir.c: Renamed to ...
72929         * sysdeps/posix/fdopendir.c: ... here.
72930         * sysdeps/unix/opendir.c: Renamed to ...
72931         * sysdeps/posix/opendir.c: ... here.
72932         * sysdeps/unix/readdir.c: Renamed to ...
72933         * sysdeps/posix/readdir.c: ... here.
72934         * sysdeps/unix/readdir_r.c: Renamed to ...
72935         * sysdeps/posix/readdir_r.c: ... here.
72936         * sysdeps/unix/rewinddir.c: Renamed to ...
72937         * sysdeps/posix/rewinddir.c: ... here.
72938         * sysdeps/unix/seekdir.c: Renamed to ...
72939         * sysdeps/posix/seekdir.c: ... here.
72940         * sysdeps/unix/telldir.c: Renamed to ...
72941         * sysdeps/posix/telldir.c: ... here.
72942         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72943         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72944         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72945         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72947         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72948         * bits/fcntl.h: ... here.
72950         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72951         not 0.
72952         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72953         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72954         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72955         (struct flock): Move l_start, l_len to the beginning.
72956         Use __pid_t for l_pid.
72957         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72958         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72959         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72960         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72961         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72962         [__USE_LARGEFILE64] (struct flock64): New type.
72963         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72965         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72966         * bits/dirent.h: ... here.
72968         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72969         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72971 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72973         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72974         Change from 2.6.0 to 2.6.16.
72975         * sysdeps/unix/sysv/linux/configure: Regenerated.
72976         * sysdeps/unix/sysv/linux/kernel-features.h
72977         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72978         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72979         version.
72980         (__ASSUME_UTIMES): Likewise.
72981         (__ASSUME_CLONE_STOPPED): Remove.
72982         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72983         architectures, not kernel version.
72984         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72985         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72986         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72987         (__ASSUME_WAITID_SYSCALL): Likewise.
72988         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72989         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72990         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72991         refer to older versions.
72993 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72995         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72996         Define alphasort64 as an alias.
72997         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72998         Define versionsort64 as an alias.
72999         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
73000         Define scandir64 as an alias.
73001         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
73002         Define scandirat64 as an alias.
73003         * dirent/alphasort64.c (alphasort64):
73004         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
73005         * dirent/versionsort64.c: Likewise.
73006         * dirent/scandir64.c: Likewise.
73007         * dirent/scandirat64.c: Likewise.
73008         * sysdeps/wordsize-64/alphasort.c: File removed.
73009         * sysdeps/wordsize-64/alphasort64.c: File removed.
73010         * sysdeps/wordsize-64/scandir.c: File removed.
73011         * sysdeps/wordsize-64/scandir64.c: File removed.
73012         * sysdeps/wordsize-64/scandirat.c: File removed.
73013         * sysdeps/wordsize-64/scandirat64.c: File removed.
73014         * sysdeps/wordsize-64/versionsort.c: File removed.
73015         * sysdeps/wordsize-64/versionsort64.c: File removed.
73016         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
73017         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
73018         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
73019         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
73020         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
73021         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
73022         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
73023         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
73025         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
73026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73027         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
73028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73029         [defined __arch64__ || defined __sparcv9]
73030         (__INO_T_MATCHES_INO64_T): New macro.
73031         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73032         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
73033         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
73034         * sysdeps/unix/sysv/linux/bits/dirent.h
73035         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
73036         (_DIRENT_MATCHES_DIRENT64): New macro.
73038         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
73039         Define lockf64 as an alias.
73040         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
73041         Define fseeko64 as an alias.
73042         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
73043         Define ftello64 as an alias.
73044         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
73045         Define _IO_fgetpos64 and fgetpos64 as aliases.
73046         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
73047         Define _IO_fsetpos64 and fsetpos64 as aliases.
73048         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
73049         Conditionalize body on this.
73050         * libio/fseeko64.c: Likewise.
73051         * libio/ftello64.c: Likewise.
73052         * libio/iofgetpos64.c: Likewise.
73053         * libio/iofsetpos64.c: Likewise.
73054         * sysdeps/wordsize-64/lockf.c: File removed.
73055         * sysdeps/wordsize-64/lockf64.c: File removed.
73056         * sysdeps/wordsize-64/fseeko.c: File removed.
73057         * sysdeps/wordsize-64/fseeko64.c: File removed.
73058         * sysdeps/wordsize-64/ftello.c: File removed.
73059         * sysdeps/wordsize-64/ftello64.c: File removed.
73060         * sysdeps/wordsize-64/iofgetpos.c: File removed.
73061         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
73062         * sysdeps/wordsize-64/iofsetpos.c: File removed.
73063         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
73064         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
73065         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
73066         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
73067         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
73068         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
73069         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
73070         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
73071         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
73072         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
73073         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
73075         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73076         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73077         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
73078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73079         [defined __arch64__ || defined __sparcv9]
73080         (__OFF_T_MATCHES_OFF64_T): New macro.
73081         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73082         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73083         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73084         (__OFF_T_MATCHES_OFF64_T): New macro.
73086 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73088         * stdlib/secure-getenv.c (__secure_getenv): Replace
73089         GLIBC_2_16 with GLIBC_2_17.
73091 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73093         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
73094         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73096 2012-08-03  David S. Miller  <davem@davemloft.net>
73098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73100 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
73103         Remove.
73104         (__ASSUME_CORRECT_SI_PID): Likewise.
73105         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
73106         (__ASSUME_TMPFS_NAME): Likewise.
73107         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
73108         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
73109         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
73110         (HAVE_AUX_SECURE): Make definition unconditional.
73111         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
73112         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
73114 2012-08-03  Roland McGrath  <roland@hack.frob.com>
73116         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
73117         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
73118         * sysdeps/mach/hurd/eloop-threshold.h: New file.
73119         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73120         __eloop_threshold instead of SYMLOOP_MAX.
73122         * sysdeps/generic/eloop-threshold.h: New file.
73123         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
73124         of MAXSYMLINKS.
73125         * elf/chroot_canon.c (chroot_canon): Likewise.
73127 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73129         [BZ #13717]
73130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73131         Change to 2.6.0 everywhere.
73132         * sysdeps/unix/sysv/linux/configure: Regenerated.
73133         * sysdeps/unix/sysv/linux/kernel-features.h
73134         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
73135         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
73136         kernel versions.
73137         (__ASSUME_POSIX_TIMERS): Define unconditionally.
73138         (__ASSUME_FUTEX_REQUEUE): Remove.
73139         (__ASSUME_STATFS64): Define unconditionally.
73140         (__ASSUME_AT_SECURE): Likewise.
73141         (__ASSUME_CORRECT_SI_PID): Likewise.
73142         (__ASSUME_TGKILL): Define without depending on kernel version for
73143         i386.
73144         (__ASSUME_UTIMES): Likewise.
73145         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
73146         kernel version.
73147         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
73148         (__ASSUME_TMPFS_NAME): Likewise.
73149         * README: Update reference to Linux kernel versions.
73151 2012-08-02  Marek Polacek  <polacek@redhat.com>
73153         [BZ #14150]
73154         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
73155         libc_cv_asm_type_prefix with %.
73156         * configure: Regenerated.
73157         * include/libc-symbols.h: Remove comment about
73158         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73159         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
73160         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
73161         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
73162         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
73163         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73164         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
73165         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
73166         * elf/tst-unique2mod1.c: Likewise.
73167         * elf/tst-unique1mod2.c: Likewise.
73168         * elf/tst-unique1mod1.c: Likewise.
73169         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
73170         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
73171         Replace ASM_TYPE_DIRECTIVE with .type.
73172         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73173         * sysdeps/i386/sysdep.h: Likewise.
73174         * sysdeps/x86_64/sysdep.h: Likewise.
73175         * sysdeps/sh/sysdep.h: Likewise.
73176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73177         Do not define ASM_TYPE_DIRECTIVE.
73178         * sysdeps/powerpc/sysdep.h: Likewise.
73179         * sysdeps/powerpc/powerpc32/sysdep.h:
73180         Replace ASM_TYPE_DIRECTIVE with .type.
73181         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73182         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73183         * sysdeps/i386/fpu/e_powf.S: Likewise.
73184         * sysdeps/i386/fpu/e_expl.S: Likewise.
73185         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73186         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73187         * sysdeps/i386/fpu/e_pow.S: Likewise.
73188         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73189         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73190         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73191         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73192         * sysdeps/i386/fpu/e_log2.S: Likewise.
73193         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73194         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73195         * sysdeps/i386/fpu/e_powl.S: Likewise.
73196         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73197         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73198         * sysdeps/i386/fpu/e_logl.S: Likewise.
73199         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73200         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73201         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73202         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73203         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73204         * sysdeps/i386/fpu/e_log.S: Likewise.
73205         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73206         * sysdeps/i386/fpu/e_logf.S: Likewise.
73207         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73208         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73209         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73210         * sysdeps/i386/fpu/e_log10.S: Likewise.
73211         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73212         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73213         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73214         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73215         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73216         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
73217         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73218         * sysdeps/i386/i686/strtok.S: Likewise.
73219         * sysdeps/i386/i386-mcount.S: Likewise.
73220         * sysdeps/i386/strtok.S: Likewise.
73221         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
73222         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73223         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73224         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73225         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73226         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73227         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73228         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73229         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73230         * sysdeps/x86_64/_mcount.S: Likewise.
73231         * sysdeps/x86_64/strtok.S: Likewise.
73232         * sysdeps/sh/_mcount.S: Likewise.
73234 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73236         * libio/iofopen.c: Include <fcntl.h>.
73237         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
73238         (_IO_fopen64, fopen64): Define as aliases.
73239         * libio/iofopen64.c: Include <fcntl.h>.
73240         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
73241         Conditionalize body on this.
73242         * sysdeps/wordsize-64/iofopen.c: File removed.
73243         * sysdeps/wordsize-64/iofopen64.c: File removed.
73245 2012-08-01  Marek Polacek  <polacek@redhat.com>
73247         * libc/Makeconfig: Use elf in place of binfmt-subdir.
73248         Use dlfcn directly instead of a variable.
73249         (binfmt-subdir): Do not define.
73250         (dlfcn): Likewise.
73252 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
73254         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
73255         Remove all definitions.
73256         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
73257         <kernel-features.h>.
73258         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73259         (miss_F_GETOWN_EX): Remove all definitions.
73260         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
73261         macro definition.
73262         [!__ASSUME_FCNTL64]: Remove conditional code.
73263         [__ASSUME_FCNTL64]: Make code unconditional.
73264         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
73265         <kernel-features.h>.
73266         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73267         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
73268         (lockf64) [__NR_fcntl64]: Make code unconditional.
73269         (lockf64) [__ASSUME_FCNTL64]: Likewise.
73271         * sysdeps/unix/sysv/linux/kernel-features.h
73272         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
73273         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
73274         Make code unconditional.
73275         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73276         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
73278         [__NR_vfork]: Make code unconditional.
73279         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73280         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
73282         [__NR_vfork]: Make code unconditional.
73283         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73284         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73286 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73288         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
73289         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
73291         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73292         Define mkstemp64 as an alias.
73293         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73294         Define mkstemps64 as an alias.
73295         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73296         Define mkostemp64 as an alias.
73297         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73298         Define mkostemps64 as an alias.
73299         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
73300         Conditionalize body on this.
73301         * misc/mkostemp64.c: Likewise.
73302         * misc/mkostemps64.c: Likewise.
73303         * misc/mkstemps64.c: Likewise.
73304         * sysdeps/wordsize-64/mkstemp64.c: File removed.
73305         * sysdeps/wordsize-64/mkostemp64.c: File removed.
73306         * sysdeps/wordsize-64/mkostemp.c: File removed.
73307         * sysdeps/wordsize-64/mkstemp.c: File removed.
73308         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
73309         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
73310         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
73311         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
73313         [BZ #14138]
73314         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
73315         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
73316         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
73317         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
73319         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
73320         compat_symbol macros from <shlib-compat.h> rather than the underlying
73321         default_symbol_version and symbol_version macros, so that DEFAULT
73322         lines in shlib-versions are respected.
73323         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
73325 2012-08-01  Florian Weimer  <fweimer@redhat.com>
73327         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
73328         Declare with warn_unused_result.
73329         (setgid, setregid, setegid, setresgid): Likewise.
73330         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
73331         Likewise.
73332         * WUR-REPORT: Remove set*id functions.
73334 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
73336         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
73338 2012-07-31  Roland McGrath  <roland@hack.frob.com>
73340         [BZ #10191]
73341         * include/sys/socket.h (__libc_accept, __libc_accept4):
73342         Add attribute_hidden.
73343         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
73345         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
73346         use of PTR_MANGLE.
73347         * inet/getnetgrent_r.c (setup): Likewise.
73349         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
73351 2012-07-31  David S. Miller  <davem@davemloft.net>
73353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73355 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
73357         [BZ #13629]
73358         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
73359         value between 1.0 and 2.0 and smaller part has absolute value less
73360         than 1.0.
73361         * math/s_clog10.c (__clog10): Likewise.
73362         * math/s_clog10f.c (__clog10f): Likewise.
73363         * math/s_clog10l.c (__clog10l): Likewise.
73364         * math/s_clogf.c (__clogf): Likewise.
73365         * math/s_clogl.c (__clogl): Likewise.
73366         * math/libm-test.inc (clog_test): Add more tests.
73367         (clog10_test): Likewise.
73368         * sysdeps/i386/fpu/libm-test-ulps: Update.
73369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73371 2012-07-31  Florian Weimer  <fweimer@redhat.com>
73373         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
73374         Exit with zero in case no suitable GID is found, and write a
73375         message to standard error.
73377 2012-07-30  Roland McGrath  <roland@hack.frob.com>
73379         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
73380         rather than to 1.
73381         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
73382         (MAXPATHLEN): Removed.
73383         (NOGROUP, NODEV): New macros.
73384         (setbit, clrbit, isset, isclr): New macros.
73385         (howmany, roundup, powerof2): New macros.
73386         (DEV_BSIZE): New macro.
73388         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
73389         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
73391         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
73392         definition on [!__NO_LONG_DOUBLE_MATH].
73394         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
73395         PTR_MANGLE and PTR_DEMANGLE.
73397         * socket/accept4.c (accept4): Rename to __libc_accept4.
73398         Define accept4 as a weak alias.
73400         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
73401         on [_DIRENT_HAVE_D_TYPE].
73402         * io/ftw.c (ftw_dir): Likewise.
73404         * io/xmknod.c (__xmknod): Don't check PATH for being null.
73406         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
73408         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
73409         Use the BSD numbers rather than the arbitrary ones we had.
73410         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
73411         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
73412         (SIGXCPU, SIGXFSZ): New macros.
73413         (_NSIG): Now 32.
73415         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
73416         initializer on [_LIBC_REENTRANT].
73418         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
73419         definitions inside [_POSIX_MAPPED_FILES].
73421         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
73423         * dirent/opendir.c: Include <fcntl.h>.
73425         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
73426         (__libc_getspecific): Likewise.
73427         (__libc_key_create): Likewise.
73429         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
73430         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
73431         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
73432         (tmpfile64): Define as alias.
73433         * sysdeps/wordsize-64/tmpfile.c: File removed.
73434         * sysdeps/wordsize-64/tmpfile64.c: File removed.
73435         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
73436         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
73438         * stdio-common/vfscanf.c: Include <stdbool.h>.
73439         * nss/makedb.c: Likewise.
73440         * stdio-common/_i18n_number.h: Likewise.
73441         * argp/argp-help.c: Likewise.
73442         * posix/wordexp.c: Likewise.
73443         * sysdeps/posix/spawni.c: Likewise.
73444         * nss/nss_files/files-initgroups.c: Likewise.
73445         * stdio-common/reg-modifier.c: Include <stdlib.h>.
73446         * nss/nss_files/files-initgroups.c: Likewise.
73447         * nss/nss_db/db-netgrp.c: Likewise.
73448         * nss/nss_db/db-initgroups.c: Likewise.
73449         * io/fchmodat.c: Include <sys/stat.h>.
73451         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
73452         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
73454         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
73455         [HAVE_MMAP].
73457         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
73458         Add multiple inclusion protection.
73460 2012-07-27  David S. Miller  <davem@davemloft.net>
73462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73464 2012-07-27  Gary Benson  <gbenson@redhat.com>
73466         [BZ #14298]
73467         * elf/rtld.c: Include <stap-probe.h>.
73468         (dl_main): Added static probes "init_start" and "init_complete".
73469         * elf/dl-load.c: Include <stap-probe.h>.
73470         (lose): Take new parameter "nsid".
73471         Added static probe "map_failed".
73472         (_dl_map_object_from_fd): Pass namespace id to lose.
73473         Added static probe "map_start".
73474         (open_verify): Pass namespace id to lose.
73475         * elf/dl-open.c: Include <stap-probe.h>.
73476         (dl_open_worker) Added static probes "map_complete", "reloc_start"
73477         and "reloc_complete".
73478         * elf/dl-close.c: Include <stap-probe.h>.
73479         (_dl_close_worker): Added static probes "unmap_start" and
73480         "unmap_complete".
73481         * elf/rtld-debugger-interface.txt: New file documenting the above.
73483 2012-07-26  Roland McGrath  <roland@hack.frob.com>
73485         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
73486         rather than a string variable.
73487         * sunrpc/rpc_main.c (h_output): Likewise.
73488         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
73490 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
73492         * inet/check_native.c: New file.
73494 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
73496         [BZ #13629]
73497         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
73498         if larger part has absolute value 1.0.
73499         * math/s_clog10.c (__clog10): Likewise.
73500         * math/s_clog10f.c (__clog10f): Likewise.
73501         * math/s_clog10l.c (__clog10l): Likewise.
73502         * math/s_clogf.c (__clogf): Likewise.
73503         * math/s_clogl.c (__clogl): Likewise.
73504         * math/libm-test.inc (clog_test): Add more tests.
73505         (clog10_test): Likewise.
73506         * sysdeps/i386/fpu/libm-test-ulps: Update.
73507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73509         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
73510         (pltexit): Likewise.
73511         (La_regs): Likewise.
73512         (La_retval): Likewise.
73513         (int_retval): Likewise.
73514         Update #error for removed macros to refer only to definitions in
73515         tst-audit.h.
73516         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
73517         macro.
73518         (pltexit): Likewise.
73519         (La_regs): Likewise.
73520         (La_retval): Likewise.
73521         (int_retval): Likewise.
73522         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
73523         macro.
73524         (pltexit): Likewise.
73525         (La_regs): Likewise.
73526         (La_retval): Likewise.
73527         (int_retval): Likewise.
73528         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
73529         macro.
73530         (pltexit): Likewise.
73531         (La_regs): Likewise.
73532         (La_retval): Likewise.
73533         (int_retval): Likewise.
73534         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
73535         macro.
73536         (pltexit): Likewise.
73537         (La_regs): Likewise.
73538         (La_retval): Likewise.
73539         (int_retval): Likewise.
73540         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
73541         macro.
73542         (pltexit): Likewise.
73543         (La_regs): Likewise.
73544         (La_retval): Likewise.
73545         (int_retval): Likewise.
73546         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
73547         macro.
73548         (pltexit): Likewise.
73549         (La_regs): Likewise.
73550         (La_retval): Likewise.
73551         (int_retval): Likewise.
73552         * sysdeps/generic/tst-audit.h: Update comment to refer only to
73553         macro definitions in tst-audit.h.
73554         * sysdeps/i386/tst-audit.h: New file.
73555         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
73556         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
73557         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
73558         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
73559         * sysdeps/sh/tst-audit.h: Likewise.
73560         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
73561         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
73562         * sysdeps/x86_64/tst-audit.h: Likewise.
73564 2012-07-26  Andreas Jaeger  <aj@suse.de>
73566         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
73567         ptrace.
73569         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
73570         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
73571         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
73572         PTRACE_O_MASK.
73573         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
73574         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
73575         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
73577         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
73578         value.
73580         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
73581         _sigsys.
73582         (si_call_addr, si_syscall, si_arch): Define new macro.
73583         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
73584         _sigsys.
73585         (si_call_addr, si_syscall, si_arch): Define new marcro.
73586         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
73587         _sigsys.
73588         (si_call_addr, si_syscall, si_arch): Define new macro.
73589         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
73590         _sigsys.
73591         (si_call_addr, si_syscall, si_arch): Define new macro.
73593 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73595         [BZ #13717]
73596         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73597         Change to 2.4.21 where previously 2.4.1.
73598         * sysdeps/unix/sysv/linux/configure: Regenerated.
73599         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
73600         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
73601         Linux kernel version.
73602         (__ASSUME_STD_AUXV): Remove.
73603         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73604         kernel version.
73605         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73606         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73607         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73608         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73609         (__ASSUME_NETLINK_SUPPORT): Likewise.
73610         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73611         (__no_netlink_support): Remove conditional definition.
73612         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73613         Remove.
73614         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73615         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73616         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73617         (if_nameindex_ioctl): Remove.
73618         (if_nameindex_netlink): Do not handle __no_netlink_support.
73619         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73620         code.
73621         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73622         Remove conditional code.
73623         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73624         code.
73625         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73626         unconditional.
73627         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73628         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73629         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73630         Remove.
73631         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73632         [!__ASSUME_STD_AUXV]: Remove conditional code.
73633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73634         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73635         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73637         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73638         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73639         code.
73640         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73642         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73643         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73644         conditional code.
73645         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73647         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73648         code.
73649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73650         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73651         conditional code.
73652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73653         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73654         code unconditional.
73655         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73656         conditional code.
73657         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73658         unconditional.
73659         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73660         conditional code.
73661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73662         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73663         unconditional.
73664         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73665         conditional code.
73666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73667         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73668         code unconditional.
73669         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73670         conditional code.
73671         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73672         unconditional.
73673         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73674         conditional code.
73675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73676         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73677         code unconditional.
73678         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73679         conditional code.
73680         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73681         unconditional.
73682         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73683         conditional code.
73685 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73687         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73688         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73689         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73690         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73691         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73692         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73693         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73694         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73695         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73696         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73697         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73698         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73699         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73700         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73701         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73702         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73703         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73704         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73705         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73707         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73708         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73709         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73711 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73713         * Versions.def: Add GLIBC_2.17.
73714         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73715         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73716         Introduce __libc_secure_getenv.
73717         * stdlib/Versions (2.17): Add secure_getenv
73718         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73719         * stdlib/secure-getenv.c: Rename __secure_getenv to
73720         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73721         symbol __secure_getenv for GLIBC_2.0.
73722         * stdlib/tst-secure-getenv.c: New.
73723         * stdlib/Makefile (tests): Add testcase.
73724         * manual/startup.texi (Environment Access): Document
73725         secure_getenv.
73726         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73727         __libc_secure_getenv.
73728         * inet/ruserpass.c (ruserpass): Likewise.
73729         * malloc/mtrace.c (mtrace): Likewise.
73730         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73731         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73732         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73733         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73734         HAVE_SECURE_GETENV.
73735         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73736         __secure_getenv to __libc_secure_getenv.
73737         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73739         Likewise.
73740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73741         Likewise.
73742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73744         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73750 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73752         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73753         (struct La_i86_retval): Likewise.
73754         (struct La_x86_64_regs): Likewise.
73755         (struct La_x86_64_retval): Likewise.
73756         (struct La_x32_regs): Likewise.
73757         (struct La_x32_retval): Likewise.
73758         (struct La_ppc32_regs): Likewise.
73759         (struct La_ppc32_retval): Likewise.
73760         (struct La_ppc64_regs): Likewise.
73761         (struct La_ppc64_retval): Likewise.
73762         (struct La_sh_regs): Likewise.
73763         (struct La_sh_retval): Likewise.
73764         (struct La_s390_32_regs): Likewise.
73765         (struct La_s390_32_retval): Likewise.
73766         (struct La_s390_64_regs): Likewise.
73767         (struct La_s390_64_retval): Likewise.
73768         (struct La_sparc32_regs): Likewise.
73769         (struct La_sparc32_retval): Likewise.
73770         (struct La_sparc64_regs): Likewise.
73771         (struct La_sparc64_retval): Likewise.
73772         (struct audit_ifaces): Remove architecture-specific pltenter and
73773         pltexit members.
73774         * sysdeps/i386/ldsodefs.h: New file.
73775         * sysdeps/powerpc/ldsodefs.h: Likewise.
73776         * sysdeps/s390/ldsodefs.h: Likewise.
73777         * sysdeps/sh/ldsodefs.h: Likewise.
73778         * sysdeps/sparc/ldsodefs.h: Likewise.
73779         * sysdeps/x86_64/ldsodefs.h: Likewise.
73781 2012-07-25  Marek Polacek  <polacek@redhat.com>
73783         [BZ #6808]
73784         * math/libm-test.inc (yn_test): Add another test.
73785         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73786         to ERANGE when the result is +-Inf.
73787         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73788         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73789         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73790         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73792 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73794         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73795         equal to 0.
73796         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73797         clock_t.
73798         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73800 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73802         * configure.in <sysdeps resolving>: Correct printing
73803         Implies_before.
73804         * configure: Regenerate.
73806 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73808         * math/w_ilogb.c: Include <limits.h>.
73809         * math/w_ilogbl.c: Likewise.
73811 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73813         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73814         va_copy.  Document allowing for unavailable va_copy only as
73815         pre-C99 compatibility.
73816         * manual/string.texi (Copying and Concatenation): Use va_copy
73817         instead of __va_copy in concat example.
73819 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73821         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73822         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73823         it if not null.
73825         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73826         with O_NOLINK passed to __file_name_lookup.
73828         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73829         with O_NOLINK passed to __file_name_lookup.
73831         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73832         negative N or less than NGIDS.
73834         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73835         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73836         enough.  Use memcpy instead of strncpy.
73838 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73840         * elf/Makefile (check-data): Remove.
73841         (localplt.data): New vpath directive.
73842         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73843         instead of $(check-data).
73844         * scripts/data/localplt-generic.data: Move to ...
73845         * sysdeps/generic/localplt.data: ... here.
73846         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73847         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73848         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73850         ... here.
73851         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73853         ... here.
73854         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73856         ... here.
73857         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73859         ... here.
73860         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73862         ... here.
73863         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73865         ... here.
73867 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73869         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73870         PPC32 and PPC64 files.
73871         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73872         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73874 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73876         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73877         __makecontext_ret to ...
73878         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73879         ... here and call exit if uc_link is NULL.  New file.
73880         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73881         __makecontext_ret.S.
73882         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73883         __makecontext_ret to ...
73884         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73885         ... here and call exit if uc_link is NULL.  New file.
73886         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73887         __makecontext_ret.S.
73889 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73891         * elf/elf.h (R_390_IRELATIVE): New definition.
73892         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73893         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73894         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73895         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73896         (elf_machine_lazy_rel): Likewise.
73897         * sysdeps/s390/dl-irel.h: New file.
73898         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73899         * sysdeps/s390/s390-64/memset.S: New asm code.
73900         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73901         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73902         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73903         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73904         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73905         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73906         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73907         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73908         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73909         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73910         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73911         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73912         * sysdeps/s390/s390-32/memset.S: New asm code.
73913         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73915 2012-07-17  Marek Polacek  <polacek@redhat.com>
73917         [BZ #14349]
73918         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73919         * sysdeps/s390/s390-64/configure.in: Likewise.
73920         * sysdeps/sparc/configure.in: Likewise.
73921         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73922         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73923         * sysdeps/i386/configure.in: Likewise.
73924         * sysdeps/x86_64/configure.in: Likewise.
73925         * sysdeps/sh/configure.in: Likewise.
73926         * sysdeps/s390/s390-32/configure: Regenerated.
73927         * sysdeps/s390/s390-64/configure: Likewise.
73928         * sysdeps/x86_64/configure: Likewise.
73929         * sysdeps/sh/configure: Likewise.
73930         * sysdeps/powerpc/powerpc64/configure: Likewise.
73931         * sysdeps/powerpc/powerpc32/configure: Likewise.
73932         * sysdeps/sparc/configure: Likewise.
73933         * sysdeps/i386/configure: Likewise.
73935         * elf/dl-open.c: Comment fixes.
73937 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73939         * Makefile [CXX] (check-data): Remove.
73940         [CXX] (c++-types.data): New vpath directive.
73941         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73942         vpath.  Do not allow for C++ type data being missing.
73943         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73944         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73945         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73946         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73947         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73948         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73949         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73951         ... here.
73952         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73954         ... here.
73955         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73957         ... here.
73958         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73960         ... here.
73961         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73963         ... here.
73964         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73966         ... here.
73967         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73969         ... here.
73970         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73973         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73974         definitions to architecture-specific files.
73975         (TLS_IE): Likewise.
73976         (TLS_LD): Likewise.
73977         (TLS_GD): Likewise.
73978         * sysdeps/i386/tls-macros.h: New file.
73979         * sysdeps/powerpc/tls-macros.h: Likewise.
73980         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73981         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73982         * sysdeps/sh/tls-macros.h: Likewise.
73983         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73984         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73985         * sysdeps/x86_64/tls-macros.h: Likewise.
73987 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73989         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73990         zero value for regular exit case.
73992         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73993         (__start_context): Preserve zero value for regular exit case.
73995 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73996             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73998         * manual/setjmp.texi (setcontext): Clarify normal process
73999         termination when uc_link is the null pointer.
74000         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
74001         exit call.
74003 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
74005         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
74006         preprocessor.  Test for each exception mask separately.
74008 2012-07-16  Andreas Jaeger  <aj@suse.de>
74010         * po/ru.po: Update from translation team.
74012 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
74014         * conform/data/string.h-data (NULL): Use macro-constant.  Require
74015         equal to 0.
74016         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74017         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74018         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
74019         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
74020         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74022 2012-07-13  Andreas Jaeger  <aj@suse.de>
74024         * po/fr.po: Update from translation team.
74026 2012-07-12  Marek Polacek  <polacek@redhat.com>
74028         [BZ #14173]
74029         * math/libm-test.inc (yn_test): Add test for BZ #14173.
74030         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
74031         loop condition.
74033 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
74035         [BZ #13717]
74036         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74037         Change to 2.4.1 where previously 2.4.0.
74038         * sysdeps/unix/sysv/linux/configure: Regenerated.
74039         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
74040         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
74041         version.
74042         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
74043         (__ASSUME_AT_CLKTCK): Remove.
74044         (__ASSUME_AT_PAGESIZE): Likewise.
74045         (__ASSUME_AT_XID): Likewise.
74046         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
74047         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
74048         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
74049         unconditionally.
74050         (HAVE_AUX_PAGESIZE): Likewise.
74051         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
74052         [__ASSUME_AT_CLKTCK]: Make code unconditional.
74053         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
74055 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
74057         [BZ #14307]
74058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
74059         the temporary buffer used to invoke __gethostbyname2_r,
74060         __gethostbyaddr_r and gethostbyname4_r to make room for struct
74061         host_data / struct gaih_addrtuple.
74062         * resolv/nss_dns/dns-host.c (global scope): Move definition of
74063         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
74064         header file nss/nsswitch.h.
74065         * nss/nsswitch.h (global scope): Add definition of implementation
74066         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
74067         resolv/nss_dns/dns-host.c).
74069 2012-07-11  Andreas Jaeger  <aj@suse.de>
74071         * po/fr.po: Update from translation team.
74073         * po/sv.po: Update from translation team
74074         * po/fr.po: Another update from translation team.
74076 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74078         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
74079         for subnormals or multiply small sinh result by itself.
74080         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74083 2012-07-11  David S. Miller  <davem@davemloft.net>
74085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74087 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
74089         [BZ #14347]
74090         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
74091         (INTERNAL_MARK): Shift it here.
74093 2012-07-10  Marek Polacek  <polacek@redhat.com>
74095         [BZ #14151]
74096         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
74097         libc_cv_asm_global_directive with .globl.
74098         * configure: Regenerated.
74099         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
74100         with .globl.
74101         * sysdeps/i386/configure: Regenerated.
74102         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
74103         with .globl.
74104         * sysdeps/x86_64/configure: Regenerated.
74105         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
74106         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
74107         * elf/tst-unique2mod2.c: Likewise.
74108         * elf/tst-unique2mod1.c: Likewise.
74109         * elf/tst-unique1mod2.c: Likewise.
74110         * elf/tst-unique1mod1.c: Likewise.
74111         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74112         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74113         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74114         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74115         * sysdeps/mach/sysdep.h: Likewise.
74116         * sysdeps/i386/sysdep.h: Likewise.
74117         * sysdeps/i386/i386-mcount.S: Likewise.
74118         * sysdeps/x86_64/_mcount.S: Likewise.
74119         * sysdeps/x86_64/sysdep.h: Likewise.
74120         * sysdeps/sh/_mcount.S: Likewise.
74121         * sysdeps/sh/sysdep.h: Likewise.
74122         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
74123         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
74124         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
74125         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74126         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
74127         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
74128         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
74129         * locale/localeinfo.h: Likewise.
74130         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
74131         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
74133 2012-07-09  Roland McGrath  <roland@hack.frob.com>
74135         [BZ #14336]
74136         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
74137         system".
74138         * manual/message.texi (The Uniforum approach): Likewise.
74139         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
74140         (glibc iconv Implementation): Likewise.
74142 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
74144         [BZ #14337]
74145         * math/s_clog.c (__clog): Avoid scaling a value down where that
74146         could result in underflow.
74147         * math/s_clog10.c (__clog10): Likewise.
74148         * math/s_clog10f.c (__clog10f): Likewise.
74149         * math/s_clog10l.c (__clog10l): Likewise.
74150         * math/s_clogf.c (__clogf): Likewise.
74151         * math/s_clogl.c (__clogl): Likewise.
74152         * math/libm-test.inc (clog_test): Add more tests.
74153         (clog10_test): Likewise.
74154         * sysdeps/i386/fpu/libm-test-ulps: Update.
74155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74157 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
74159         [BZ #14283]
74160         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
74161         by 7 not 8 to examine high bit of fractional part.
74163         [BZ #14042]
74164         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
74165         for call to __mcount_internal.
74166         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
74167         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
74168         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
74170 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
74172         [BZ #14154]
74173         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
74174         approximation for values within 0x1p-13f of an odd multiple of
74175         pi/4.
74176         * math/libm-test.inc (tan_test): Do not allow spurious underflow
74177         exception.  Add more tests.
74178         * sysdeps/i386/fpu/libm-test-ulps: Update.
74180         [BZ #6778]
74181         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
74182         inputs and return -1 for them.  Do not check for +Inf in case not
74183         reachable for +Inf.
74184         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
74185         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
74186         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74187         and return -1 for them.  Do not check for +Inf in case not
74188         reachable for +Inf.
74189         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
74190         define.
74191         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74192         and return -1 for them.  Do not check for +Inf in case not
74193         reachable for +Inf.
74194         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
74195         spurious underflow.
74196         * sysdeps/i386/fpu/libm-test-ulps: Update.
74197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74199 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
74201         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
74203 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
74205         [BZ #14157]
74206         [BZ #14331]
74207         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
74208         could result in spurious underflow.  Scale down values above
74209         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
74210         * math/s_csqrtf.c (__csqrtf): Likewise.
74211         * math/s_csqrtl.c (__csqrtl): Likewise.
74212         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
74213         spurious underflow.
74214         * sysdeps/i386/fpu/libm-test-ulps: Update.
74215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74217 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
74219         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
74220         xopen-msg.sed.
74221         * catgets/xopen-msg.awk: New file.
74222         * catgets/xopen-msg.sed: Removed.
74224         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
74225         po2text.sed.
74226         * intl/po2test.awk: New file.
74227         * intl/po2test.sed: Removed.
74229 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
74231         [BZ #14328]
74232         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
74233         or multiply small sinh result by itself.
74234         * math/s_ctanf.c (__ctanf): Likewise.
74235         * math/s_ctanh.c (__ctanh): Likewise.
74236         * math/s_ctanhf.c (__ctanhf): Likewise.
74237         * math/s_ctanhl.c (__ctanhl): Likewise.
74238         * math/s_ctanl.c (__ctanl): Likewise.
74239         * math/libm-test.inc (ctan_test_tonearest): New function.
74240         (ctan_test_towardzero): Likewise.
74241         (ctan_test_downward): Likewise.
74242         (ctan_test_upward): Likewise.
74243         (ctanh_test_tonearest): Likewise.
74244         (ctanh_test_towardzero): Likewise.
74245         (ctanh_test_downward): Likewise.
74246         (ctanh_test_upward): Likewise.
74247         (main): Call these new functions.
74248         * sysdeps/i386/fpu/libm-test-ulps: Update.
74249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74251 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
74253         * .gitignore: Delete /ports entry.
74255 2012-07-03  Andreas Jaeger  <aj@suse.de>
74257         * po/bg.po: Update from translation team.
74258         * po/cs.po: Likewise.
74259         * po/de.po: Likewise.
74260         * po/hr.po: Likewise.
74261         * po/nl.pl: Likewise.
74262         * po/pl.po: Likewise.
74263         * po/vi.po: Likewise.
74265 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
74267         * Makeconfig [!+link] (+link-before-libc): New variable.
74268         [!+link] (+link-after-libc): Likewise.
74269         [!+link] (+link-tests): Likewise.
74270         [!+link] (+link): Define in terms of $(+link-before-libc) and
74271         $(+link-after-libc).
74272         [!+link-static] (+link-static-before-libc): New variable.
74273         [!+link-static] (+link-static-after-libc): Likewise.
74274         [!+link-static] (+link-static-tests): Likewise.
74275         [!+link-static] (+link-static): Define in terms of
74276         $(+link-static-before-libc) and $(+link-static-after-libc).
74277         [build-shared] (link-libc-before-gnulib): New variable.
74278         [build-shared] (link-libc-tests): Likewise.
74279         [build-shared] (link-libc): Define in terms of
74280         $(link-libc-before-gnulib).
74281         [!build-shared] (link-libc-tests): New variable.
74282         (link-libc-static-tests): New variable.
74283         [!gnulib] (gnulib-arch): New variable.
74284         [!gnulib] (gnulib-tests): Likewise.
74285         [!gnulib] (static-gnulib-arch): Likewise.
74286         [!gnulib] (static-gnulib-tests): Likewise.
74287         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
74288         Define with "=" instead of ":=".
74289         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
74290         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
74291         * Rules (binaries-all-notests): New variable.
74292         (binaries-all-tests): Likewise.
74293         (binaries-static-notests): Likewise.
74294         (binaries-static-tests): Likewise.
74295         (binaries-all): Define using $(binaries-all-notests) and
74296         $(binaries-all-tests).
74297         (binaries-static): Define using $(binaries-static-notests) and
74298         $(binaries-static-tests).
74299         (binaries-shared-tests): New variable.
74300         (binaries-shared-notests): Likewise.
74301         (binaries-shared): Remove variable.
74302         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
74303         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
74304         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
74305         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
74306         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
74307         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
74308         * elf/Makefile (sln-modules): New variable.
74309         (extra-objs): Add $(sln-modules:=.o).
74310         (ldconfig-modules): Add static-stubs.
74311         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
74312         * elf/static-stubs.c: New file.
74314         [BZ #14283]
74315         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
74316         by 7 not 8 to examine high bit of fractional part.  Use volatile
74317         variables when splitting into final array of floats if
74318         __FLT_EVAL_METHOD__ != 0.
74319         * math/libm-test.inc (cos_test): Add another test.
74320         (sin_test): Likewise.
74321         * sysdeps/i386/fpu/libm-test-ulps: Update.
74323         [BZ #14273]
74324         * math/libm-test.inc (cosh_test): Add more tests.
74326         * version.h (RELEASE): Set to "development".
74327         (VERSION): Set to "2.16.90".
74329 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
74331         * NEWS: Update copyright. Remove last-updated date.
74332         Mention math library bug fixes and timezone data changes.
74333         * README: Mention GNU/Hurd, x32, and HPPA support status.
74335 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
74337         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
74339 2012-06-27  Andreas Jaeger  <aj@suse.de>
74341         * manual/contrib.texi (Contributors): Add Samuel Thibault.
74343 2012-06-25  Andreas Jaeger  <aj@suse.de>
74345         * sysdeps/s390/fpu/libm-test-ulps: Update.
74347 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
74348             Thomas Schwinge  <thomas@codesourcery.com>
74350         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
74351         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
74352         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
74353         fanotify_mark.
74355 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
74357         * sysdeps/mach/start.c: Remove file.
74358         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
74359         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
74360         * sysdeps/sh/init-first.c: Likewise.
74362         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
74363         registers for frame unwinding purposes, add CFI directives.
74364         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74365         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
74366         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
74367         Likewise.
74369         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
74370         __fortify_fail returning.
74371         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74373         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
74374         sysdeps/sh/____longjmp_chk.S.
74375         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
74376         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
74377         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
74378         (gen-as-const-headers): Append sigaltstack-offsets.sym.
74380         * sysdeps/sh/abort-instr.h: New file.
74381         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
74382         process in case exit returns.
74384         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
74385         initialize the GOT register before use.
74387         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
74388         calculation of ARGC > 4.
74390         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
74391         meaningful names to some local labels.
74393 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74394             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74396         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
74397         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
74398         (__arch_compare_and_exchange_val_16_acq): Likewise.
74399         (__arch_compare_and_exchange_val_32_acq): Likewise.
74400         (atomic_exchange_and_add): Fix gUSA sequence.
74401         (atomic_add): Likewise.
74402         (atomic_add_negative): Likewise.
74403         (atomic_add_zero): Likewise.
74404         (atomic_bit_test_set): Likewise.
74406 2012-06-22  Andreas Schwab  <schwab@redhat.com>
74408         [BZ #13579]
74409         * include/link.h (struct link_map): Add l_free_initfini.
74410         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
74411         l_initfini.
74412         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
74413         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
74414         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
74415         set.
74417 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
74419         * configure.in: Use AC_LANG_SOURCE.
74420         * configure: Regenerate.
74422 2012-06-22  Roland McGrath  <roland@hack.frob.com>
74424         * configure.in (libc_cv_localstatedir): New substituted variable.
74425         * configure: Regenerated.
74426         * config.make.in (localstatedir): New variable, substituted from
74427         libc_cv_localstatedir.
74428         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
74429         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
74430         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
74431         * sysdeps/gnu/configure: Regenerated.
74433 2012-06-21  Jeff Law  <law@redhat.com>
74435         [BZ #14277]
74436         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
74437         free.  Simplify list management for _LIBC case.
74439 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
74441         [BZ #14273]
74442         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
74443         Clear sign bit of 64-bit integer value before comparing against
74444         overflow value.
74446         * sysdeps/mach/configure: Regenerated.
74448 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
74450         [BZ #14278]
74451         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
74453 2012-06-21  Jeff Law  <law@redhat.com>
74455         [BZ #13882]
74456         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
74457         uint16_t for elements in the "seen" array to avoid char overflows.
74458         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74459         * elf/dl-open.c (dl_open_worker): Likewise.
74461 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
74463         * scripts/list-sources.sh: Scan PORTS for translations.
74464         * po/libc.pot: Regenerated.
74466 2012-06-21  Andreas Jaeger  <aj@suse.de>
74468         [BZ #12194]
74469         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
74470         warning.
74471         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
74472         * bits/byteswap-16.h (__bswap_16): Likewise.
74473         * bits/byteswap.h (__bswap_constant_16): Likewise.
74475 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
74477         [BZ #14117]
74478         * sysdeps/i386/fpu_control.h: Removed.
74479         * sysdeps/x86_64/fpu_control.h: Moved to ...
74480         * sysdeps/x86/fpu_control.h: Here.
74482         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
74483         (_FPU_SETCW): Likewise.
74485 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
74487         [BZ #14117]
74488         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
74489         * sysdeps/x86/fpu/bits/mathinline.h: This.
74490         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
74492         [BZ #14050]
74493         [BZ #14117]
74494         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
74495         functions if __x86_64__ is defined.
74497 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
74499         * string/endian.h: Add !__ASSEMBLER__ condition for including
74500         conversion interfaces.
74502 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
74504         [BZ #14241]
74505         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
74506         of ABS(x) in calculating zero to negative powers other than odd
74507         integers.
74508         * math/libm-test.inc (pow_test): Add more tests.
74510 2012-06-15  Andreas Jaeger  <aj@suse.de>
74512         * manual/contrib.texi (Contributors): Update entry of Liubov
74513         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
74514         Machado Filho.
74516 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
74518         * string/string.h: Add __wur to GNU version of strerror_r.
74520 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
74522         [BZ #14229]
74523         * string/Makefile (tests): Add tst-strtok_r.
74524         * string/tst-strtok_r.c: New file.
74525         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
74526         RAX_LP/RDX_LP on SAVE_PTR.
74528 2012-06-14  Roland McGrath  <roland@hack.frob.com>
74530         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
74532 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
74534         * libm_test.inc (csqrt_test): Allow more spurious underflow
74535         exceptions.
74536         (j0_test): Likewise.
74537         (j1_test): Likewise.
74538         (y0_test): Likewise.
74539         (y1_test): Likewise.
74541 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
74543         * po/Makefile (libc.pot): Use UTF-8 charset.
74545 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
74547         [BZ #14210]
74548         Suppress sign-conversion warning from FD_SET.
74549         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
74550         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
74551         not unsigned long int.
74552         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
74554 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
74556         [BZ #14050]
74557         [BZ #14117]
74558         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
74559         __extern_always_inline instead of __extern_inline.
74560         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
74561         (__signbit): Likewise.
74562         (__signbitl): Support C++ namespace.
74563         (lrintf): New inline function.
74564         (lrint): Likewise.
74565         (llrintf): Likewise.
74566         (llrint): Likewise.
74567         (fmaxf): Likewise.
74568         (fmax): Likewise.
74569         (fminf): Likewise.
74570         (fmin): Likewise.
74571         (rint): Likewise.
74572         (rintf): Likewise.
74573         (ceil): Likewise.
74574         (ceilf): Likewise.
74575         (floor): Likewise.
74576         (floorf): Likewise.
74577         (nearbyint): Likewise.
74578         (nearbyintf): Likewise.
74580 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
74582         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74583         non-default versions.
74585 2012-06-11  Roland McGrath  <roland@hack.frob.com>
74587         [BZ #14218]
74588         * manual/argp.texi (Argp): Reword argp_parse description slightly.
74590 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
74592         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74593         (FE_UPWARD, FE_DOWNWARD): Don't define.
74594         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
74595         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74597         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
74598         reading it.
74599         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74600         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74602 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74604         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74605         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74606         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74607         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74609 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74611         [BZ #14117]
74612         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74613         * sysdeps/i386/fpu/Implies: New file.
74614         * sysdeps/x86_64/fpu/Implies: Likewise.
74615         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74616         * sysdeps/x86/fpu/bits/fenv.h: This.
74618         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74619         __SSE_MATH__.
74621 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74623         [BZ #14134]
74624         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74625         character 0xffff that matches the last element of the
74626         conversion table.
74628 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74630         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74631         fmodl commit.
74633 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74636         values higher than 25.6283.
74638 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74640         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74641         subnormal exponent extraction and add some __builtin_expect.
74642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74643         Fix for subnormal mantissa calculation.
74645 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74647         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74648         cpu2 is -1 and errno is not ENOSYS.
74650 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74652         [BZ #14117]
74653         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74654         * sysdeps/x86/bits/string.h: This.
74655         * sysdeps/x86_64/bits/string.h: Removed.
74657         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74658         if not compiling for x86-64, but compiling for >= i486.
74660         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74661         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74663         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74664         New macro from Linux kernel 3.4.0.
74665         (FP_XSTATE_MAGIC2): Likewise.
74666         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74667         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74668         (struct _fpx_sw_bytes): New struct.
74669         (struct _xsave_hdr): Likewise.
74670         (struct _ymmh_state): Likewise.
74671         (struct _xstate): Likewise.
74673         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74674         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74675         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74676         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74677         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74678         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74680         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74681         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74682         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74683         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74684         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74685         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74687 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74689         [BZ #13743]
74690         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74691         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74692         (sysdep_headers): Include sys/platform/ppc.h.
74693         * sysdeps/powerpc/test-gettimebase.c: Test for
74694         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74695         * manual/Makefile (appendices): Include platform.texi.
74696         * manual/contrib.texi (Contributors): Update @node pointers.
74697         * manual/maint.texi (Maintenance): Likewise.
74698         (Platform): New node.
74699         * manual/platform.texi: New file.  Document the new features.
74701 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74702             Jakub Jelinek  <jakub@redhat.com>
74704         [BZ #14188]
74705         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74706         where __builtin_expect is unavailable.
74708 2012-06-03  David S. Miller  <davem@davemloft.net>
74710         * stdlib/longlong.h: Updated from GCC.
74712 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74714         [BZ #14042]
74715         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74716         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74717         __mcount_internal.
74718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74719         (GLIBC_2.16): Likewise.
74721 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74723         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74725 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74728         (default-abi): New variable.
74729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74730         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74731         variable.
74732         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74733         Likewise.
74734         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74735         Likewise.
74736         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74737         Likewise.
74739         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74740         definition.  Document in comment.
74742 2012-06-01  David S. Miller  <davem@davemloft.net>
74744         * stdlib/longlong.h: Updated from GCC.
74746 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74748         [BZ #14117]
74749         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74750         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74751         sys/debugreg.h sys/io.h here.
74752         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74753         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74754         sys/io.h.
74755         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74756         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74757         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74758         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74759         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74760         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74762         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74763         Define only if __x86_64__ is defined.
74765 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74767         [BZ #14048]
74768         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74769         Use int64_t for variable i.
74770         * math/libm-test.inc (fmod_test): Add more tests.
74772         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74773         z computation is not scheduled after fetestexcept.
74774         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74775         Use math_force_eval instead of asm to ensure calculation scheduled
74776         before exception test.
74777         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74778         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74780 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74782         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74783         computation is not scheduled after fetestexcept.
74785 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74787         [BZ #14117]
74788         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74789         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74791 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74793         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74794         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74796 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74798         [BZ #14117]
74799         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74800         <bits/wordsize.h>.
74801         (__WCHAR_MIN): Support __WORDSIZE == 64.
74802         (__WCHAR_MAX): Likewise.
74804         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74805         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74807         [BZ #14183]
74808         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74809         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74811         [BZ #14117]
74812         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74813         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74815         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74816         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74818         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74819         Defined to 1 if __x86_64__ isn't defined.
74820         (_STAT_VER_LINUX_OLD): New.
74821         (st_atime): Remove duplicate.
74822         (st_mtime): Likewise.
74823         (st_ctime): Likewise.
74825 2012-05-31  David S. Miller  <davem@davemloft.net>
74827         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74828         entries.
74830 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74832         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74833         gen-libm-test.pl.
74835         [BZ #14132]
74836         * elf/dl-reloc.c: Include <_itoa.h>.
74837         (_dl_reloc_bad_type): Remove use of INTUSE.
74838         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74839         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74840         * stdio-common/psiginfo.c (psiginfo): Likewise.
74841         * stdio-common/psignal.c (psignal): Likewise.
74842         * string/strsignal.c (strsignal): Likewise.
74843         * include/signal.h (_sys_siglist): Declare hidden proto.
74844         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74845         INTVARDEF with libc_hidden_data_def.
74846         * stdio-common/itoa-udigits.c: Likewise.
74847         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74848         (_itoa_lower_digits_internal): Remove declaration.
74849         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74850         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74851         (_sys_sigabbrev_internal): Remove aliases.
74852         (_sys_siglist): Define hidden alias.
74854 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74857         bits/sysctl.h.
74859 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74861         [BZ #14117]
74862         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74863         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74865         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74866         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74867         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74868         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74869         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74870         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74872         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74873         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74874         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74876         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74877         with __addr.
74878         (insw): Likewise.
74879         (insl): Likewise.
74880         (outsb): Likewise.
74881         (outsw): Likewise.
74882         (outsl): Likewise.
74884         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74885         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74886         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74888         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74889         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74890         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74891         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74892         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74893         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74895         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74896         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74898         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74899         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74901         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74902         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74903         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74905         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74906         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74907         to ...
74908         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74910         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74911         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74912         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74914         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74915         for x86-64.
74916         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74918 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74920         * math/math.h (M_El): Use two more decimal places.
74921         (M_LOG2El): Likewise.
74922         (M_LOG10El): Likewise.
74923         (M_LN2l): Likewise.
74924         (M_LN10l): Likewise.
74925         (M_PIl): Likewise.
74926         (M_PI_2l): Likewise.
74927         (M_PI_4l): Likewise.
74928         (M_1_PIl): Likewise.
74929         (M_2_PIl): Likewise.
74930         (M_2_SQRTPIl): Likewise.
74931         (M_SQRT2l): Likewise.
74932         (M_SQRT1_2l): Likewise.
74934 2012-05-31  David S. Miller  <davem@davemloft.net>
74936         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74937         values between float registers.
74938         * sysdeps/sparc/sparc64/memset.S: Likewise.
74939         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74941 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74943         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74944         -D_FORTIFY_SOURCE=1.
74945         (CPPFLAGS-tst-longjmp_chk.c): Define.
74946         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74947         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74948         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74949         CFLAGS-tst-wchar-h.c.
74951 2012-05-31  Marek Polacek  <polacek@redhat.com>
74953         [BZ #14132]
74954         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74955         __endmntent_internal): Remove declaration.
74956         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74957         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74958         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74960 2012-05-30  David S. Miller  <davem@davemloft.net>
74962         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74963         (___Q_simulate_exceptions): Use real FP ops rather than writing
74964         into the %fsr.
74965         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74966         Likewise.
74968 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74970         [BZ #14117]
74971         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74972         * sysdeps/x86/bits/xtitypes.h: This.
74974         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74975         * sysdeps/x86/bits/wordsize.h: This.
74977         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74978         * sysdeps/x86/bits/huge_vall.h: This.
74980         * sysdeps/i386/bits/select.h: Removed.
74981         * sysdeps/x86_64/bits/select.h: Renamed to ...
74982         * sysdeps/x86/bits/select.h: This.
74984         * sysdeps/i386/bits/setjmp.h: Removed.
74985         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74986         * sysdeps/x86/bits/setjmp.h: This.
74988         * sysdeps/i386/bits/mathdef.h: Removed.
74989         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74990         * sysdeps/x86/bits/mathdef.h: This.
74992 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74994         [BZ #14132]
74995         * include/sys/socket.h (__connect_internal)
74996         (__libc_sa_len_internal): Remove declaration.
74997         (__connect, __libc_sa_len): Declare hidden_proto.
74998         (SA_LEN): Remove use of INTUSE.
74999         * socket/connect.c: Add libc_hidden_def.
75000         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
75001         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
75002         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
75003         alias.
75004         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
75005         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
75006         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
75007         of adding _internal alias.
75009 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75011         [BZ #14117]
75012         * sysdeps/i386/bits/link.h: Removed.
75013         * sysdeps/i386/bits/linkmap.h: Likewise.
75014         * sysdeps/x86_64/bits/link.h: Renamed to ...
75015         * sysdeps/x86/bits/link.h: This.
75016         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
75017         * sysdeps/x86/bits/linkmap.h: This.
75019         * sysdeps/i386/bits/endian.h: Removed.
75020         * sysdeps/x86_64/bits/endian.h: Renamed to ...
75021         * sysdeps/x86/bits/endian.h: This.
75023         * sysdeps/i386/bits/byteswap.h: Removed.
75024         * sysdeps/i386/bits/byteswap-16.h: Likewise.
75025         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
75026         * sysdeps/x86/bits/byteswap.h: This.
75027         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
75028         * sysdeps/x86/bits/byteswap-16.h: This.
75029         * sysdeps/i386/Implies: Add x86.
75030         * sysdeps/x86_64/Implies: Likewise.
75032 2012-05-30  David S. Miller  <davem@davemloft.net>
75034         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
75035         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
75036         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
75037         (FP_TRAPPING_EXCEPTIONS): Define.
75038         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
75039         (FP_TRAPPING_EXCEPTIONS): Define.
75040         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
75041         subnormals only when inexact has been signalled or underflow
75042         exceptions are enabled.
75043         (_FP_PACK_CANONICAL): Likewise.
75045 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75047         [BZ #14183]
75048         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
75049         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
75051 2012-05-30  Richard Henderson  <rth@twiddle.net>
75053         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
75054         with #ifndef NOT_IN_libc.
75056         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
75057         marked to avoid plt entry.
75059 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75061         [BZ #14112]
75062         * Makeconfig (default-abi): New macro.
75063         (abi-includes): Likewise.
75064         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
75065         $(abi-$(default-abi)-lib-soname) for soname if defined.
75066         ($(common-objpfx)gnu/lib-names.stmp): Generate from
75067         abi-variants.
75068         * Makefile (installed-stubs): Likewise.
75069         * include/stubs-biarch.h: Removed.
75070         * scripts/lib-names.awk: Only handle one library at a time.
75071         * scripts/soversions.awk: Remove WORDSIZE support.
75072         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
75073         entries.
75074         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
75075         Removed.
75076         (syscall-list-default-condition): Likewise.
75077         (syscall-list-default-condition): Likewise.
75078         (syscall-list-includes): Likewise.
75079         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
75080         syscall-list-* with abi-*.  Handle undefined abi-variants.
75081         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
75082         * sysdeps/unix/sysv/linux/i386/Implies: New file.
75083         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
75084         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
75085         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
75086         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
75087         Removed.
75088         (syscall-list-32-options): Likewise.
75089         (syscall-list-32-condition): Likewise.
75090         (syscall-list-64-options): Likewise.
75091         (syscall-list-64-condition): Likewise.
75092         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
75093         macro.
75094         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
75095         Renamed to ...
75096         (abi-*): This.
75097         (abi-64-ld-soname): New macro.
75098         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
75099         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
75100         Renamed to ...
75101         (abi-*): This.
75102         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
75103         * sysdeps/x86_64/x32/shlib-versions: Likewise.
75105 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
75107         * sysdeps/unix/sysv/linux/kernel-features.h
75108         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
75109         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
75110         include <kernel-features.h>.
75111         [!__NR_ftruncate64]: Remove conditional code.
75112         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75113         [__NR_ftruncate64]: Make code unconditional.
75114         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75115         * sysdeps/unix/sysv/linux/truncate64.c: Do not
75116         include <kernel-features.h>.
75117         [!__NR_ftruncate64]: Remove conditional code.
75118         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75119         [__NR_ftruncate64]: Make code unconditional.
75120         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
75122         include <kernel-features.h>.
75123         [!__NR_ftruncate64]: Remove conditional code.
75124         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75125         [__NR_ftruncate64]: Make code unconditional.
75126         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
75128         include <kernel-features.h>.
75129         [!__NR_ftruncate64]: Remove conditional code.
75130         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75131         [__NR_ftruncate64]: Make code unconditional.
75132         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75134         * configure.in (libc_cv_fpie): Weaken to a compile test using
75135         LIBC_TRY_CC_OPTION.
75136         * configure: Regenerated.
75138 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
75141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
75142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
75143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75144         Refreshed.
75145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
75146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
75147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
75148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
75149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
75150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75151         Refreshed.
75153 2012-05-27  David S. Miller  <davem@davemloft.net>
75155         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
75156         (___Q_zero): New.
75157         (__Q_simulate_exceptions): Return void.  Change to simulate
75158         exceptions by writing into the %fsr.
75159         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
75160         (__Qp_handle_exceptions): Likewise.
75161         (numbers): Delete.
75162         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
75163         __Qp_handle_exceptions.
75164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
75165         __Qp_handle_exceptions.
75166         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75167         as unused and give dummy FP_RND_NEAREST initializer.
75168         (FP_INHIBIT_RESULTS): Define.
75169         (___Q_simulate_exceptions): Update declaration.
75170         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
75171         formatting.
75172         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75173         as unused and give dummy FP_RND_NEAREST initializer.
75174         (__Qp_handle_exceptions): Update declaration.
75175         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
75176         formatting.
75178 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
75180         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
75181         the temporary FPU control word.
75182         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
75183         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
75184         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
75185         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75186         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
75187         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
75188         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
75189         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75190         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
75191         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
75192         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75194 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75196         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
75197         fields.
75199 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
75201         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
75202         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
75203         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
75204         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
75205         Likewise.
75206         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
75207         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
75208         Likewise.
75210 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
75212         * po/h.po: Update from translation team.
75214 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
75216         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
75218         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
75219         handling of denormals.
75220         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75221         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
75222         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75223         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75225         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
75226         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
75227         Likewise.
75229 2012-05-26  Marek Polacek  <polacek@redhat.com>
75231         [BZ #14152]
75232         * math/libm-test.inc (fma_test): Don't always expect underflow
75233         exception.
75235 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75237         [BZ #12416]
75238         * elf/tst-execstack.c: Include stackinfo.h.
75239         (do_test): Adjust test case to ensure that pthread_getattr_np
75240         behaviour remains the same after marking stack executable.
75242 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75244         * sysdeps/unix/sysv/linux/kernel-features.h
75245         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
75246         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
75247         kernel-features.h.
75248         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75249         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75250         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75251         kernel-features.h.
75252         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75253         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75255 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
75257         * configure.in: Define the default includes to being none.
75258         * configure: Regenerated.
75260 2012-05-25  Roland McGrath  <roland@hack.frob.com>
75262         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
75263         * sysdeps/x86_64/setjmp.S: Likewise.
75264         * sysdeps/i386/bsd-setjmp.S: Likewise.
75265         * sysdeps/i386/bsd-_setjmp.S: Likewise.
75266         * sysdeps/i386/setjmp.S: Likewise.
75267         * sysdeps/i386/__longjmp.S: Likewise.
75268         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75269         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
75271         * include/stap-probe.h: New file.
75272         * configure.in: Handle --enable-systemtap.
75273         * configure: Regenerated.
75274         * config.h.in (USE_STAP_PROBE): New #undef.
75275         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
75276         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
75277         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
75279 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75281         [BZ #13717]
75282         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75283         to 2.4.0 where earlier.
75284         * sysdeps/unix/sysv/linux/configure: Regenerated.
75285         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
75286         <kernel-features.h>.
75287         [__ASSUME_32BITUIDS]: Make code unconditional.
75288         [!__ASSUME_32BITUIDS]: Remove conditional code.
75289         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75290         <kernel-features.h>.
75291         [__ASSUME_32BITUIDS]: Make code unconditional.
75292         [!__ASSUME_32BITUIDS]: Remove conditional code.
75293         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
75294         [__ASSUME_32BITUIDS]: Make code unconditional.
75295         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
75296         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
75297         <kernel-features.h>.
75298         [__ASSUME_32BITUIDS]: Make code unconditional.
75299         [!__ASSUME_32BITUIDS]: Remove conditional code.
75300         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
75301         <kernel-features.h>.
75302         [__ASSUME_32BITUIDS]: Make code unconditional.
75303         [!__ASSUME_32BITUIDS]: Remove conditional code.
75304         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
75305         <kernel-features.h>.
75306         [__ASSUME_32BITUIDS]: Make code unconditional.
75307         [!__ASSUME_32BITUIDS]: Remove conditional code.
75308         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
75309         <kernel-features.h>.
75310         [__ASSUME_32BITUIDS]: Make code unconditional.
75311         [!__ASSUME_32BITUIDS]: Remove conditional code.
75312         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
75313         <kernel-features.h>.
75314         [__ASSUME_32BITUIDS]: Make code unconditional.
75315         [!__ASSUME_32BITUIDS]: Remove conditional code.
75316         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
75317         <kernel-features.h>.
75318         [__ASSUME_32BITUIDS]: Make code unconditional.
75319         [!__ASSUME_32BITUIDS]: Remove conditional code.
75320         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
75321         <kernel-features.h>.
75322         [__ASSUME_32BITUIDS]: Make code unconditional.
75323         [!__ASSUME_32BITUIDS]: Remove conditional code.
75324         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
75325         <kernel-features.h>.
75326         [__ASSUME_32BITUIDS]: Make code unconditional.
75327         [!__ASSUME_32BITUIDS]: Remove conditional code.
75328         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
75329         <kernel-features.h>.
75330         [__ASSUME_32BITUIDS]: Make code unconditional.
75331         [!__ASSUME_32BITUIDS]: Remove conditional code.
75332         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75333         <kernel-features.h>.
75334         [__ASSUME_32BITUIDS]: Make code unconditional.
75335         [!__ASSUME_32BITUIDS]: Remove conditional code.
75336         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
75337         <kernel-features.h>.
75338         [__NR_setresgid] (__setresgid): Do not declare.
75339         [__ASSUME_32BITUIDS]: Make code unconditional.
75340         [!__ASSUME_32BITUIDS]: Remove conditional code.
75341         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
75342         <kernel-features.h>.
75343         [__NR_setresuid] (__setresuid): Do not declare.
75344         [__ASSUME_32BITUIDS]: Make code unconditional.
75345         [!__ASSUME_32BITUIDS]: Remove conditional code.
75346         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
75347         <kernel-features.h>.
75348         [__ASSUME_32BITUIDS]: Make code unconditional.
75349         [!__ASSUME_32BITUIDS]: Remove conditional code.
75350         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
75351         <kernel-features.h>.
75352         [__ASSUME_32BITUIDS]: Make code unconditional.
75353         [!__ASSUME_32BITUIDS]: Remove conditional code.
75354         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
75355         <kernel-features.h>.
75356         [__ASSUME_32BITUIDS]: Make code unconditional.
75357         [!__ASSUME_32BITUIDS]: Remove conditional code.
75358         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
75359         <kernel-features.h>.
75360         [__ASSUME_32BITUIDS]: Make code unconditional.
75361         [!__ASSUME_32BITUIDS]: Remove conditional code.
75362         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
75363         <kernel-features.h>.
75364         [__ASSUME_32BITUIDS]: Make code unconditional.
75365         [!__ASSUME_32BITUIDS]: Remove conditional code.
75366         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
75367         <kernel-features.h>.
75368         [__ASSUME_32BITUIDS]: Make code unconditional.
75369         [!__ASSUME_32BITUIDS]: Remove conditional code.
75370         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
75371         <kernel-features.h>.
75372         [__ASSUME_32BITUIDS]: Make code unconditional.
75373         [!__ASSUME_32BITUIDS]: Remove conditional code.
75374         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
75375         <kernel-features.h>.
75376         [__ASSUME_32BITUIDS]: Make code unconditional.
75377         [!__ASSUME_32BITUIDS]: Remove conditional code.
75378         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
75379         <kernel-features.h>.
75380         [__ASSUME_32BITUIDS]: Make code unconditional.
75381         [!__ASSUME_32BITUIDS]: Remove conditional code.
75382         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
75383         <kernel-features.h>.
75384         [__ASSUME_32BITUIDS]: Make code unconditional.
75385         [!__ASSUME_32BITUIDS]: Remove conditional code.
75386         * sysdeps/unix/sysv/linux/kernel-features.h
75387         (__ASSUME_SETRESUID_SYSCALL): Remove.
75388         (__ASSUME_SETRESGID_SYSCALL): Likewise.
75389         (__ASSUME_32BITUIDS): Likewise.
75390         (__ASSUME_LDT_WORKS): Likewise.
75391         (__ASSUME_O_DIRECTORY): Likewise.
75392         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
75393         architecture but not kernel version.
75394         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
75395         (__ASSUME_MMAP2_SYSCALL): Likewise.
75396         (__ASSUME_STAT64_SYSCALL): Likewise.
75397         (__ASSUME_IPC64): Likewise.
75398         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
75399         <kernel-features.h>.
75400         [__ASSUME_32BITUIDS]: Make code unconditional.
75401         [!__ASSUME_32BITUIDS]: Remove conditional code.
75402         * sysdeps/unix/sysv/linux/opendir.c: Do not include
75403         <kernel-features.h>.
75404         [__ASSUME_O_DIRECTORY]: Make code unconditional.
75405         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
75406         132096]: Remove conditional code.
75407         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
75408         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
75409         <kernel-features.h>.
75410         [__ASSUME_32BITUIDS]: Make code unconditional.
75411         [!__ASSUME_32BITUIDS]: Remove conditional code.
75412         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
75413         <kernel-features.h>.
75414         [__ASSUME_32BITUIDS]: Make code unconditional.
75415         [!__ASSUME_32BITUIDS]: Remove conditional code.
75416         * sysdeps/unix/sysv/linux/setegid.c: Do not include
75417         <kernel-features.h>.
75418         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
75419         unconditional.
75420         (__setresgid): Do not declare.
75421         [__ASSUME_32BITUIDS]: Make code unconditional.
75422         [!__ASSUME_32BITUIDS]: Remove conditional code.
75423         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
75424         <kernel-features.h>.
75425         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
75426         unconditional.
75427         (__setresuid): Do not declare.
75428         [__ASSUME_32BITUIDS]: Make code unconditional.
75429         [!__ASSUME_32BITUIDS]: Remove conditional code.
75430         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
75431         <kernel-features.h>.
75432         [__ASSUME_32BITUIDS]: Make code unconditional.
75433         [!__ASSUME_32BITUIDS]: Remove conditional code.
75434         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
75435         <kernel-features.h>.
75436         [__ASSUME_32BITUIDS]: Make code unconditional.
75437         [!__ASSUME_32BITUIDS]: Remove conditional code.
75439 2012-05-25  Richard Henderson  <rth@twiddle.net>
75441         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
75442         dl_hwcap to ifunc resolver.
75443         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
75444         elf_ifunc_invoke.
75445         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
75446         dl_hwcap to ifunc resolver.
75447         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
75449 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75451         [BZ #14153]
75452         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
75453         for |x| <= 2**-26, not 2**-57.
75454         * math/libm-test.inc (acos_test): Do not allow spurious underflow
75455         exception.
75457 2012-05-24  Jeff Law  <law@redhat.com>
75459         * stdio-common/Makefile (tests): Add bug25.
75460         * stdio-common/bug25.c: New test.
75462 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75464         [BZ #13576]
75465         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
75466         multiple of MALLOC_ALIGNMENT in size.
75467         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
75469 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75471         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
75472         Require >= 256.
75473         (FILENAME_MAX): Use macro-int-constant.
75474         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
75475         (_IOFBF): Use macro-int-constant.
75476         (_IOLBF): Likewise.
75477         (_IONBF): Likewise.
75478         (SEEK_CUR): Likewise.
75479         (SEEK_END): Likewise.
75480         (SEEK_SET): Likewise.
75481         (TMP_MAX): Likewise.
75482         (EOF): Use macro-int-constant.  Require < 0.
75483         (NULL): Use macro-constant.  Require == 0.
75484         (stdin): Require type to be FILE *.
75485         (stdout): Likewise.
75486         (stderr): Likewise.
75487         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
75488         macro-int-constant.
75489         (EXIT_SUCCESS): Likewise.
75490         (NULL): Use macro-constant.  Require == 0.
75491         (RAND_MAX): Use macro-int-constant.
75492         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
75493         [C99-based standards] (strtof): Require function.
75494         [C99-based standards] (strtold): Likewise.
75495         [C99-based standards] (strtoll): Likewise.
75496         [C99-based standards] (strtoull): Likewise.
75497         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75498         [ISO || ISO99 || ISO11] (limits.h): Likewise.
75499         [ISO || ISO99 || ISO11] (math.h): Likewise.
75500         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
75501         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75504 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
75506         [BZ #14132]
75507         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
75508         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
75509         * intl/dgettext.c (DCGETTEXT): Likewise.
75510         * intl/gettext.c (DCGETTEXT): Likewise.
75511         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
75512         * posix/regex_internal.h (gettext): Likewise.
75513         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
75514         Remove declaration.
75515         * include/argz.h (__argz_count_internal)
75516         (__argz_stringify_internal): Remove declaration.
75517         (__argz_count, __argz_stringify): Declare hidden proto.
75518         * intl/dcgettext.c: Remove use of INTDEF.
75519         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
75520         * string/argz-stringify.c: Likewise.
75521         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75522         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75523         Declare hidden proto.
75524         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75525         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75526         Declare hidden proto.
75527         * include/stdio.h (__asprintf_internal): Don't declare.
75528         (__asprintf): Don't define as macro.  Declare hidden proto.
75529         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
75530         (__fsetlocking): Declare hidden proto.
75531         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
75532         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
75533         hidden proto.
75534         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
75535         (_IO_setlinebuf): Remove use of INTUSE.
75536         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
75537         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
75538         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
75539         Remove declaration.
75540         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
75541         (_IO_do_flush): Remove use of INTUSE.
75542         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
75543         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
75544         (_IO_adjust_column, _IO_least_wmarker)
75545         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
75546         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
75547         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
75548         (_IO_default_doallocate, _IO_wdefault_doallocate)
75549         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
75550         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
75551         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
75552         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
75553         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
75554         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
75555         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
75556         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
75557         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
75558         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
75559         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
75560         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
75561         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
75562         proto.
75563         (_IO_flush_all_internal, _IO_adjust_column_internal)
75564         (_IO_default_uflow_internal, _IO_default_finish_internal)
75565         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
75566         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
75567         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
75568         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
75569         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
75570         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
75571         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
75572         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
75573         (_IO_file_close_internal, _IO_file_close_it_internal)
75574         (_IO_file_underflow_internal, _IO_file_overflow_internal)
75575         (_IO_file_init_internal, _IO_file_attach_internal)
75576         (_IO_file_fopen_internal, _IO_file_read_internal)
75577         (_IO_file_sync_internal, _IO_file_seek_internal)
75578         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
75579         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
75580         (_IO_str_underflow_internal, _IO_str_overflow_internal)
75581         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
75582         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
75583         (_IO_list_all_internal, _IO_link_in_internal)
75584         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
75585         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
75586         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
75587         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
75588         (_IO_do_write_internal, _IO_padn_internal)
75589         (_IO_getline_info_internal, _IO_getline_internal)
75590         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
75591         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
75592         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
75593         (_IO_vfscanf_internal, _IO_vfprintf_internal)
75594         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
75595         (_IO_init_internal, _IO_un_link_internal): Don't declare.
75596         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
75597         with libc_hidden_ver, remove use of INTUSE.
75598         * libio/genops.c: Likewise.
75599         * libio/freopen.c: Likewise.
75600         * libio/freopen64.c: Likewise.
75601         * libio/iofclose.c: Likewise.
75602         * libio/iofdopen.c: Likewise.
75603         * libio/iofflush.c: Likewise.
75604         * libio/iofflush_u.c: Likewise.
75605         * libio/iofgets.c: Likewise.
75606         * libio/iofgets_u.c: Likewise.
75607         * libio/iofopen.c: Likewise.
75608         * libio/iofopncook.c: Likewise.
75609         * libio/iofread.c: Likewise.
75610         * libio/iofread_u.c: Likewise.
75611         * libio/ioftell.c: Likewise.
75612         * libio/iofwrite.c: Likewise.
75613         * libio/iogetline.c: Likewise.
75614         * libio/iogets.c: Likewise.
75615         * libio/iogetwline.c: Likewise.
75616         * libio/iopadn.c: Likewise.
75617         * libio/iopopen.c: Likewise.
75618         * libio/ioseekoff.c: Likewise.
75619         * libio/ioseekpos.c: Likewise.
75620         * libio/iosetbuffer.c: Likewise.
75621         * libio/iosetvbuf.c: Likewise.
75622         * libio/ioungetc.c: Likewise.
75623         * libio/ioungetwc.c: Likewise.
75624         * libio/iovdprintf.c: Likewise.
75625         * libio/iovsprintf.c: Likewise.
75626         * libio/iovsscanf.c: Likewise.
75627         * libio/memstream.c: Likewise.
75628         * libio/obprintf.c: Likewise.
75629         * libio/oldfileops.c: Likewise.
75630         * libio/oldiofclose.c: Likewise.
75631         * libio/oldiofdopen.c: Likewise.
75632         * libio/oldiofopen.c: Likewise.
75633         * libio/oldiopopen.c: Likewise.
75634         * libio/oldstdfiles.c: Likewise.
75635         * libio/putc.c: Likewise.
75636         * libio/setbuf.c: Likewise.
75637         * libio/setlinebuf.c: Likewise.
75638         * libio/stdfiles.c: Likewise.
75639         * libio/strops.c: Likewise.
75640         * libio/vasprintf.c: Likewise.
75641         * libio/vscanf.c: Likewise.
75642         * libio/vsnprintf.c: Likewise.
75643         * libio/vswprintf.c: Likewise.
75644         * libio/wfiledoalloc.c: Likewise.
75645         * libio/wfileops.c: Likewise.
75646         * libio/wgenops.c: Likewise.
75647         * libio/wmemstream.c: Likewise.
75648         * libio/wstrops.c: Likewise.
75649         * libio/__fpurge.c: Likewise.
75650         * libio/__fsetlocking.c: Likewise.
75651         * assert/assert.c: Likewise.
75652         * debug/fgets_chk.c: Likewise.
75653         * debug/fgets_u_chk.c: Likewise.
75654         * debug/fread_chk.c: Likewise.
75655         * debug/fread_u_chk.c: Likewise.
75656         * debug/gets_chk.c: Likewise.
75657         * debug/obprintf_chk.c: Likewise.
75658         * debug/vasprintf_chk.c: Likewise.
75659         * debug/vdprintf_chk.c: Likewise.
75660         * debug/vsnprintf_chk.c: Likewise.
75661         * debug/vsprintf_chk.c: Likewise.
75662         * malloc/mtrace.c: Likewise.
75663         * misc/error.c: Likewise.
75664         * misc/syslog.c: Likewise.
75665         * stdio-common/asprintf.c: Likewise.
75666         * stdio-common/fxprintf.c: Likewise.
75667         * stdio-common/getw.c: Likewise.
75668         * stdio-common/isoc99_fscanf.c: Likewise.
75669         * stdio-common/isoc99_scanf.c: Likewise.
75670         * stdio-common/isoc99_vfscanf.c: Likewise.
75671         * stdio-common/isoc99_vscanf.c: Likewise.
75672         * stdio-common/isoc99_vsscanf.c: Likewise.
75673         * stdio-common/printf-prs.c: Likewise.
75674         * stdio-common/printf_fp.c: Likewise.
75675         * stdio-common/printf_fphex.c: Likewise.
75676         * stdio-common/printf_size.c: Likewise.
75677         * stdio-common/putw.c: Likewise.
75678         * stdio-common/scanf.c: Likewise.
75679         * stdio-common/sprintf.c: Likewise.
75680         * stdio-common/tmpfile.c: Likewise.
75681         * stdio-common/vfprintf.c: Likewise.
75682         * stdio-common/vfscanf.c: Likewise.
75683         * stdlib/strfmon_l.c: Likewise.
75684         * sunrpc/openchild.c: Likewise.
75685         * sunrpc/xdr_stdio.c: Likewise.
75686         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75687         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75689 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75691         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75693         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75694         in the third column, to generate for the shared library an IFUNC
75695         that uses _dl_vdso_vsym.
75696         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75697         * Makeconfig (object-suffixes-noshared): New variable.
75699         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75700         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75701         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75702         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75704         [BZ #14132]
75705         * include/sys/time.h (__gettimeofday): Remove macro.
75706         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75707         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75708         Remove INTDEF.
75709         (__gettimeofday): Add libc_hidden_def.
75710         (gettimeofday): Add libc_hidden_weak.
75711         * sysdeps/mach/gettimeofday.c: Likewise.
75712         * sysdeps/posix/gettimeofday.c: Likewise.
75713         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75714         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75715         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75716         (__gettimeofday_internal): Remove strong_alias.
75717         (__gettimeofday): Add libc_hidden_def.
75718         (gettimeofday): Add libc_hidden_weak.
75719         * sysdeps/unix/syscalls.list (gettimeofday):
75720         Remove __gettimeofday_internal alias.
75722 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75723             H.J. Lu  <hongjiu.lu@intel.com>
75725         [BZ #12495]
75726         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75727         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75728         (largebin_index_32_big): New.
75729         (largebin_index): Use it for 16-byte alignment.
75730         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75731         correction with front_misalign.
75733 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75737         Likewise.
75738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75739         Likewise.
75740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75741         Likewise.
75742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75743         Likewise.
75744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75745         Likewise.
75746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75747         Likewise.
75748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75749         Likewise.
75750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75751         Likewise.
75752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75753         Likewise.
75754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75755         Likewise.
75756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75757         Likewise.
75758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75759         Likewise.
75761         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75762         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75764 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75766         [BZ #10846]
75767         [BZ #14036]
75768         * math/libm-test.inc (exp_test): Add test from bug 14036.
75769         (pow_test): Add test from bug 10846.
75771         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75772         and other flags.
75773         (special_function): Do not include flags in test name.
75774         (parse_args): Likewise.
75775         * sysdeps/i386/fpu/libm-test-ulps: Update.
75776         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75777         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75778         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75781         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75782         exceptions.
75783         * math/libm-test.inc ("Philosophy"): Update comment about
75784         exception testing.
75785         (UNDERFLOW_EXCEPTION): New macro.
75786         (UNDERFLOW_EXCEPTION_OK): Likewise.
75787         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75788         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75789         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75790         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75791         (INVALID_EXCEPTION_OK): Update value.
75792         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75793         (OVERFLOW_EXCEPTION_OK): Likewise.
75794         (IGNORE_ZERO_INF_SIGN): Likewise.
75795         (test_exceptions): Handle underflow exceptions.
75796         (acos_test): Update for underflow exception expectations.
75797         (cexp_test): Likewise.
75798         (clog_test): Likewise.
75799         (clog10_test): Likewise.
75800         (csqrt_test): Likewise.
75801         (ctan_test): Likewise.
75802         (ctanh_test): Likewise.
75803         (exp_test): Likewise.
75804         (exp10_test): Likewise.
75805         (exp2_test): Likewise.
75806         (expm1_test): Likewise.
75807         (fma_test): Likewise.
75808         (j0_test): Likewise.
75809         (jn_test): Likewise.
75810         (nexttoward_test): Likewise.
75811         (pow_test): Likewise.
75812         (scalbn_test): Likewise.
75813         (scalbln_test): Likewise.
75814         (tan_test): Likewise.
75815         (y1_test): Likewise.
75816         * sysdeps/i386/fpu/libm-test-ulps: Update.
75817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75819 2012-05-23  David S. Miller  <davem@davemloft.net>
75821         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75822         (__libc_sigaction): Remove unused local variables.
75824 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75826         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75828 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75830         mktime: avoid signed integer overflow
75831         * time/mktime.c (__mktime_internal): Do not mishandle the case
75832         where diff == INT_MIN.
75834         mktime: simplify computation of average
75835         * time/mktime.c (ranged_convert): Use new time_t_avg function
75836         instead of rolling our own (probably-slower) code.
75838         mktime: do not assume signed right shift propagates sign bit
75839         * time/mktime.c (isdst_differ): New static function.
75840         (__mktime_internal): No need to normalize tm_isdst now.
75841         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75842         tm_isdst values.
75844         mktime: merge another wrapv change from gnulib
75845         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75846         from some compilers.
75848         mktime: remove incorrect attempt at unusual arithmetics
75849         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75850         The code didn't really work on such machines anyway.
75851         (TYPE_MINIMUM): Assume two's complement.
75852         (twos_complement_arithmetic): Verify that long_int and time_t
75853         are two's complement (or unsigned, in the latter case).
75855         mktime: check signed shifts on long_int and time_t, too
75856         * time/mktime.c (SHR): Check that shifts work as desired
75857         on the types long_int and time_t too, as SHR is used on
75858         such types.
75860         mktime: do not assume 'long' is wide enough
75861         * time/mktime.c (verify): Move decl up.
75862         (long_int): New type.
75863         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75864         to remove assumption in the code that 'long' is wide enough to
75865         store year values.  This assumption is not true on x32 and on
75866         some non-glibc platforms.
75868         mktime: merge wrapv change from gnulib
75869         * time/mktime.c (WRAPV): New macro.
75870         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75871         (guess_time_tm, __mktime_internal): Do not assume that signed
75872         integer overflow wraps around; modern compilers generate code
75873         where this assumption is no longer valid.
75875 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75877         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75878         Replace "jmp L(pseudo_end)" with "ret".
75879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75880         Likewise.
75882 2012-05-23  Andreas Jaeger  <aj@suse.de>
75884         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75885         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75887 2012-05-23  Andreas Jaeger  <aj@suse.de>
75888             Maximilian Attems  <max@stro.at>
75890         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75891         New macros.
75893 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75896         code so that pseudo_end is just ret and the stack pointer is
75897         correct also for static library in error case.
75899 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75901         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75902         move to syscalls.list.
75903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75908         * manual/install.texi (Running make install): Do not mention Linux
75909         kernel version for which pt_chown is not needed.
75910         (Linux): Do not mention problems with nscd with 2.0 kernels.
75911         * INSTALL: Regenerated.
75913 2012-05-23  Andreas Jaeger  <aj@suse.de>
75915         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75916         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75917         macro.
75918         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75919         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75920         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75921         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75922         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75923         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75924         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75925         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75926         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75927         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75928         * sysdeps/unix/sysv/linux/bits/in.h
75929         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75931 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75933         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75934         (PREPARE_VERSION): Just use assert instead, it will be elided
75935         under [NDEBUG] anyway.
75937 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75939         * sysdeps/unix/sysv/linux/Makefile: Include
75940         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75941         (sysdep_routines): Remove sysctl.
75942         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75943         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75944         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75945         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75946         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75948 2012-05-22  Andreas Jaeger  <aj@suse.de>
75950         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75951         that pseudo_end is just ret and the stack pointer is correct also
75952         for static library in error case.
75954 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75956         [BZ #14122]
75957         * nss/nsswitch.c (defconfig_entries): New variable.
75958         (__nss_database_lookup): Don't leak defconfig entries.
75959         (nss_parse_service_list): Don't leak on error paths.
75960         (free_database_entries): New function.
75961         (free_defconfig): New function.
75962         (free_mem): Move common code to free_database_entries.
75964 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75966         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75967         Add arch_prctl.
75968         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75970         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75971         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75972         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75973         New macro.
75974         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75975         (INTERNAL_SYSCALL_TYPES): Likewise.
75976         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75977         (LOAD_REGS_TYPES_[1-6]): Likewise.
75978         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75979         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75981 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75983         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75984         copysignl for GLIBC_2_0.
75985         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75986         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75988         logbl for GLIBC_2_0.
75989         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75990         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75992 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75994         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75995         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75997         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75998         Use "neg %eax".
76000         * time/mktime.c: Update copyright years.
76002 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
76004         mktime: merge comment-quoting-style change from gnulib
76005         * time/mktime.c: Quote 'like this' in comments.
76006         The GNU coding standards suggest that we no longer quote `like this',
76007         as "`" and "'" are typically rendered asymmetrically nowadays.
76008         The typical gnulib style is to quote 'like this' when quoting
76009         code, and "like this" when quoting English.
76011         * time/mktime.c (compile-command): Add "-I.".
76013         mktime: merge mktime-internal.h change from gnulib
76014         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
76016         mktime: merge time_r change from gnulib
76017         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
76019         mktime: merge DEBUG change from gnulib
76020         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
76021         case system <time.h> has a #define.
76023         mktime: merge <sys/types.h> change from gnulib
76024         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
76025         since <time.t> is now guaranteed to define time_t.
76027         mktime: merge HAVE_CONFIG_H change from gnulib
76028         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
76030 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76033         Use "neg %eax".
76035         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
76036         __rlim_t cast.
76037         (struct rusage): Use anonymous union to pad each field to
76038         __syscall_slong_t.
76040 2012-05-21  David S. Miller  <davem@davemloft.net>
76042         * Makefules (o-iterator): Remove .s cases.
76043         (compile-command.s): Delete.
76044         (COMPILE.s): Delete.
76045         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
76047 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
76049         * configure.in (libc_cv_predef_stack_protector): Only consider
76050         "foobar" and "__stack_chk_fail" lines in libc_undefs.
76051         * configure: Regenerated.
76053 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76056         New macro.  Use R*LP on int and pointer.
76057         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
76058         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
76059         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
76060         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
76062         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
76063         [__WORDSIZE_TIME64_COMPAT32] instead of
76064         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
76065         (struct utmp): Likewise.
76066         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
76067         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
76068         Renamed to ...
76069         (__WORDSIZE_TIME64_COMPAT32): This.
76070         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
76071         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
76072         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
76073         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
76074         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
76075         (__WORDSIZE_TIME64_COMPAT32): New macro.
76077 2012-05-21  Andreas Jaeger  <aj@suse.de>
76079         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
76080         only if [SHARED]. Add prototype for __wcschr_ia32.
76082 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76084         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
76085         of %rbp unmolested in the jmp_buf while mangling the low bits.
76086         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
76087         unmolested high bits of %rbp while demangling the low bits.
76088         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76090 2012-05-21  Andreas Jaeger  <aj@suse.de>
76092         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
76093         * sunrpc/svc_simple.c: Use it for registerrpc.
76094         * sunrpc/xcrypt.c: Use it for passwd2des.
76096         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
76098 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76100         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
76101         Don't define if [__SYSCALL_WORDSIZE != 32].
76102         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
76103         New macro.
76105 2012-05-21  Bruno Haible  <bruno@clisp.org>
76106             Andreas Jaeger  <aj@suse.de>
76108         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
76109         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
76110         inptr and inend for must_buffer_ch.
76111         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
76112         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
76113         * stdio-common/Makefile (tests): Remove bug15.
76114         (bug15-ENV): Remove macro.
76115         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
76116         anymore.
76118 2012-05-19  Andreas Jaeger  <aj@suse.de>
76119             Roland McGrath  <roland@hack.frob.com>
76121         * manual/contrib.texi: Completely rewritten. It contains now an
76122         alphabetical list of contributors and their contributions.
76124 2012-05-21  Richard Henderson  <rth@twiddle.net>
76126         * misc/getauxval.c (__getauxval): Use unsigned long int.
76127         * misc/sys/auxv.h: Include <sys/cdefs.h>.
76128         (getauxval): Use unsigned long int.
76130 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76132         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76134 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76136         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
76137         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
76138         __alignof__ (long double).
76140 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76144 2012-05-20  Richard Henderson  <rth@twiddle.net>
76146         * misc/getauxval.c: New file.
76147         * misc/sys/auxv.h: New file.
76148         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
76149         (routines): Add getauxval.
76150         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
76151         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
76152         * elf/dl-sysdep.c (_dl_auxv): Remove.
76153         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
76154         * elf/dl-support.c (_dl_auxv): New variable.
76155         (_dl_aux_init): Initialize it.
76156         * manual/startup.texi (Auxiliary Vector): New node.
76157         * sysdeps/generic/bits/hwcap.h: New file.
76158         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
76159         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
76160         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
76161         * sysdeps/sparc/sysdep.h: ... here.  Include it.
76162         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
76163         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
76164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76165         Update.
76166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
76167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
76168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
76169         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
76170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
76173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
76175 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76179 2012-05-19  David S. Miller  <davem@davemloft.net>
76181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76183 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76185         [BZ #14123]
76186         * math/s_ccosh.c: Include <float.h>
76187         (__ccosh): Avoid internal overflow calculating sinh and cosh
76188         values before multiplying by sin and cos values.
76189         * math/s_ccoshf.c: Likewise.
76190         * math/s_ccoshl.c: Likewise.
76191         * math/s_csin.c: Likewise.
76192         * math/s_csinf.c: Likewise.
76193         * math/s_csinl.c: Likewise.
76194         * math/s_csinh.c: Likewise.
76195         * math/s_csinhf.c: Likewise.
76196         * math/s_csinhl.c: Likewise.
76197         * math/libm-test.inc (ccos_test): Add more tests.
76198         (ccosh_test): Likewise.
76199         (csin_test): Likewise.
76200         (csinh_test): Likewise.
76201         * sysdeps/i386/fpu/libm-test-ulps: Update.
76202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76204 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
76206         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
76207         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
76209         * sysdeps/x86_64/x32/_itoa.h: Add comment.
76211 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76213         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
76214         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
76215         * sysdeps/powerpc/soft-fp/Versions: Likewise.
76216         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
76217         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
76218         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
76219         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
76220         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
76221         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
76222         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
76223         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
76224         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
76225         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
76226         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
76227         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
76228         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
76229         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
76230         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
76231         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
76232         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
76233         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
76234         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
76235         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
76236         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
76237         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
76238         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
76239         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
76240         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
76241         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
76242         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
76243         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
76245 2012-05-18  Andreas Jaeger  <aj@suse.de>
76247         * csu/.gitignore: Delete.
76249 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76251         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
76252         (timex): Use __syscall_slong_t.
76254 2012-05-18  Andreas Jaeger  <aj@suse.de>
76255             Carlos O'Donell  <carlos_odonell@mentor.com>
76257         * manual/install.texi (Configuring and compiling): Update
76258         description about files modified in the source directory.
76259         * INSTALL: Regenerated.
76261 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76263         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
76264         value.  Use "or" to set return value to -1.
76265         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
76266         negate return value.
76268 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76270         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
76271         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
76272         failure if the compiler has Graphite support disabled.
76273         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
76274         Likewise.
76275         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
76276         (CFLAGS-memmove.c): Likewise.
76277         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
76278         Likewise.
76280 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76282         * sysdeps/x86_64/x32/_itoa.h: New file.
76284         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
76285         getdents system call only if kernel and user dirents have the
76286         same d_ino and d_off.
76288         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76289         LLONG_MAX != LONG_MAX.
76290         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76291         (_fitoa_word): Likewise.
76293         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
76294         years.
76295         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
76296         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
76297         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
76299         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
76300         include <bits/wordsize.h>.  Check __x86_64__ instead of
76301         __WORDSIZE.
76302         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
76303         if __x86_64__ is defined.  Use anonymous union on fpstate.
76305         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
76306         anonymous union.
76308 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
76310         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
76311         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
76312         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
76313         Refer to _rtld_local_ro instead of _rtld_global_ro.
76314         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
76315         Likewise.
76316         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
76317         Likewise.
76318         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
76319         Likewise.
76320         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
76321         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
76322         of _rtld_global, and rtld_progname instead of _dl_argv[0].
76324         [BZ #10882]
76325         * sysdeps/powerpc/powerpc32/dl-machine.c
76326         (__elf_machine_runtime_setup) [PROF]: Don't reference
76327         _dl_prof_resolve.
76329 2012-05-18  Andreas Jaeger  <aj@suse.de>
76331         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
76332         function only available for GCCs before 3.4 since GCC 3.4
76333         introduced a builtin.
76334         (lrint): Likewise.
76335         (llrintf): Likewise.
76336         (llrint): Likewise.
76337         (fmaxf): Likewise.
76338         (fmax): Likewise.
76339         (fminf): Likewise.
76340         (fmin): Likewise.
76341         (rint): Likewise.
76342         (rintf): Likewise.
76343         (nearbyint): Likewise.
76344         (nearbyintf): Likewise.
76345         (ceil): Likewise.
76346         (ceilf): Likewise.
76347         (floor): Likewise.
76348         (floorf): Likewise.
76350 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76352         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
76353         on both fields and cast pointer to __syscall_ulong_t.
76355         * bits/types.h (__fsword_t): New type.
76356         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
76357         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
76358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76359         (__FSWORD_T_TYPE): Likewise.
76360         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76361         (__FSWORD_T_TYPE): Likewise.
76362         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76363         (__FSWORD_T_TYPE): Likewise.
76364         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
76365         (__FSWORD_T_TYPE): Likewise.
76366         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
76367         __SWORD_TYPE with __fsword_t.
76368         (statfs64): Likewise.
76370 2012-05-17  David S. Miller  <davem@davemloft.net>
76372         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
76374 2012-05-17  Andreas Jaeger  <aj@suse.de>
76376         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
76377         warning.
76379 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76381         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
76383 2012-05-17  Andreas Jaeger  <aj@suse.de>
76385         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
76386         when it is used.
76388 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76390         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
76392 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76394         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
76395         * sysdeps/x86_64/tst-mallocalign1.c: New file.
76397 2012-05-17  Andreas Jaeger  <aj@suse.de>
76398             Carlos O'Donell  <carlos_odonell@mentor.com>
76400         [BZ #14059]
76401         * sysdeps/x86_64/multiarch/init-arch.h
76402         (bit_YMM_Usable): Rename to...
76403         (bit_AVX_Usable): ... this.
76404         (bit_FMA4_Usable): New macro.
76405         (bit_XMM_state): New macro.
76406         (bit_YMM_state): New macro.
76407         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
76408         [__ASSEMBLER__] (index_AVX_Usable): ... this.
76409         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
76410         (CPUID_OSXSAVE): New macro.
76411         (CPUID_AVX): New macro.
76412         (CPUID_FMA4): New macro.
76413         (index_YMM_Usable): Rename to...
76414         (index_AVX_Usable): ... this.
76415         (HAS_AVX): Use HAS_ARCH_FEATURE.
76416         (HAS_FMA4): Likewise.
76417         (HAS_YMM_USABLE): Remove.
76418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76419         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
76420         are present.
76421         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
76422         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
76423         * sysdeps/x86_64/multiarch/Makefile: Likewise.
76424         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
76425         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
76427 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76429         * math/libm-test.c: Support platforms without multiple rounding modes.
76430         * math/bug-nextafter.c: Support platforms without FP exceptions.
76431         * math/bug-nexttoward.c: Likewise.
76432         * math/test-fenv.c: Likewise.
76433         * math/test-misc.c: Likewise.
76434         * stdlib/bug-getcontext.c: Likewise.
76436 2012-05-17  Andreas Jaeger  <aj@suse.de>
76438         * manual/examples/search.c (critter_cmp): Change signature to
76439         avoid warnings.
76440         * manual/string.texi (Collation Functions): Likewise.
76442 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76444         * bits/types.h: Fold copyright years.
76445         * bits/typesizes.h: Likewise.
76446         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
76447         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
76448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
76449         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
76450         * time/time.h: Likewise.
76452 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
76454         [BZ #208]
76455         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
76456         in instead of returning them.  Return void.
76457         (__libc_mallinfo): Accumulate over all arenas.
76458         (__malloc_stats): Adjust for change in int_mallinfo interface.
76460 2012-05-16  Roland McGrath  <roland@hack.frob.com>
76462         [BZ #10375]
76463         * configure.in (NM): Add AC_CHECK_TOOL for it.
76464         (libc_extra_cflags): New substituted variable.
76465         Check for -fstack-protector being used implicitly.
76466         * configure: Regenerated.
76467         * config.make.in (config-extra-cflags): New variable,
76468         gets @libc_extra_cflags@.
76469         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
76471         [BZ #10375]
76472         * configure.in: Check for _FORTIFY_SOURCE being predefined.
76473         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
76474         * configure: Regenerated.
76475         * config.make.in (CPPUNDEFS): New substituted variable.
76476         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
76477         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
76478         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
76480 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76482         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
76483         (mq_attr): Use __syscall_slong_t.
76485 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76487         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
76488         Check __x86_64__ instead of __WORDSIZE.
76489         (_STAT_VER_LINUX): Likewise.
76490         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
76491         __syscall_ulong_t and __syscall_slong_t.
76492         (stat64): Likewise.
76494 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76496         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
76498 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76500         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
76502 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76504         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
76505         __syscall_ulong_t.
76507         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
76508         include <bits/wordsize.h>.  Check __x86_64__ instead of
76509         __WORDSIZE.
76510         (greg_t): Use "__extension__ long long int" if __x86_64__ is
76511         defined.
76512         (mcontext_t): Replace "unsigned long" with "unsigned long long".
76514         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
76515         include <bits/wordsize.h>.  Check __x86_64__ instead of
76516         __WORDSIZE.
76517         (user_regs_struct): Use "__extension__ unsigned long long"
76518         instead of "unsigned long" if __x86_64__ is defined.
76519         (user): Likewise.  Pad after pointer field if __ILP32__ is
76520         defined.
76522 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
76524         * configure.in (makeinfo): Require version 4.5 or later.  Allow
76525         versions 5 to 9.
76526         * configure: Regenerated.
76527         * manual/install.texi (texinfo): Increase version requirement to
76528         4.5 or later.
76529         * INSTALL: Regenerated.
76531         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
76533 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76535         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
76537         * sysdeps/x86_64/x32/ffs.c: New file.
76539         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
76540         __syscall_ulong_t.
76541         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
76542         defined.  Use __syscall_ulong_t.
76543         (shminfo): Use __syscall_ulong_t.
76544         (shm_info): Likewise.
76546         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
76547         __syscall_ulong_t.
76549         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
76550         <bits/wordsize.h>.
76551         (msgqnum_t): Use __syscall_ulong_t.
76552         (msglen_t): Likewise.
76553         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
76554         __syscall_ulong_t.
76556         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
76557         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76559         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
76561         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
76562         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
76564         * sysvipc/sys/msg.h (msgbuf): Replace long int with
76565         __syscall_slong_t.
76567         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
76568         include <bits/wordsize.h>.  Check __x86_64__ instead of
76569         __WORDSIZE.
76571         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
76572         "unsigned long long int" if __x86_64__ is defined.
76573         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
76575         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
76576         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76577         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
76579         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
76580         <stdint.h>.
76581         (GET_PC): Cast to uintptr_t first.
76582         (GET_FRAME): Likewise.
76583         (GET_STACK): Likewise.
76585         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
76586         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
76587         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
76588         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
76589         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76590         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
76591         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
76592         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
76593         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
76594         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
76595         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
76596         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
76597         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76598         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
76599         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
76600         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
76601         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
76602         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
76603         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76604         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76605         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76606         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76607         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76608         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76609         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76610         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76611         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76612         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76613         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76615 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76617         * Makerules (+depfiles): Also collect depfiles from .oS in
76618         $(extra-objs).
76619         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76620         .oS, $(libnldbl-routines)).
76622         * Makerules (native-compile-mkdep-flags): Define.
76623         * sunrpc/Makefile (extra-objs): Add $(addprefix
76624         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76625         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76626         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76627         calling $(make-target-directory).
76629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76631         * bits/types.h (__snseconds_t): Removed.
76632         * time/time.h (struct timespec): Replace __snseconds_t with
76633         __syscall_slong_t.
76634         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76635         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76636         Likewise.
76637         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76638         (__SNSECONDS_T_TYPE): Likewise.
76639         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76640         (__SNSECONDS_T_TYPE): Likewise.
76641         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76642         (__SNSECONDS_T_TYPE): Likewise.
76644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76646         * sysdeps/mach/hurd/bits/typesizes.h
76647         (__SYSCALL_SLONG_TYPE): New macro.
76648         (__SYSCALL_ULONG_TYPE): Likewise.
76650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76652         * bits/types.h (__syscall_slong_t): New type.
76653         (__syscall_ulong_t): Likewise.
76655         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76656         (__SYSCALL_ULONG_TYPE): Likewise.
76657         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76658         (__SYSCALL_SLONG_TYPE): Likewise.
76659         (__SYSCALL_ULONG_TYPE): Likewise.
76660         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76661         (__SYSCALL_SLONG_TYPE): Likewise.
76662         (__SYSCALL_ULONG_TYPE): Likewise.
76663         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76664         (__SYSCALL_SLONG_TYPE): Likewise.
76665         (__SYSCALL_ULONG_TYPE): Likewise.
76667 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76669         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76670         Add sigaltstack-offsets.sym.
76671         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76672         <sigaltstack-offsets.h>.
76673         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76674         longjmp_msg pointer.
76675         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76676         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76677         signal stack.
76678         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76680 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76682         * elf/stackguard-macros.h: Remove file.
76683         * sysdeps/generic/stackguard-macros.h: New file.
76684         * sysdeps/i386/stackguard-macros.h: Likewise.
76685         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76686         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76687         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76688         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76689         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76690         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76691         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76692         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76693         <elf/stackguard-macros.h>.
76695         [BZ #14109]
76696         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76697         __aligned__ in attribute.
76698         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76699         (gregset_t): Likewise.
76701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76703         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76704         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76705         * sysdeps/x86_64/x32/Implies-after: New file.
76707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76709         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76710         and access return value for _dl_profile_fixup.  Use R10_LP to
76711         load frame size.
76713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76715         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76719         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76720         * sysdeps/x86_64/x32/sysdep.h: New file.
76722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76724         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76725         * sysdeps/x86_64/setjmp.S: Likewise.
76727 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76729         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76730         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76731         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76732         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76733         remove unused global constant.
76735 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76737         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76738         include of <not-cancel.h>.
76740 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76742         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76744 2012-05-15  Jeff Law  <law@redhat.com>
76745             Andreas Jaeger  <aj@suse.de>
76747         [BZ #13594]
76748         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76749         out from...
76750         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76751         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76752         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76753         code changing __hst_map_handle.map.
76755 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76757         * configure.in (sysnames): Look for Implies-before and Implies-after
76758         files.
76759         * configure: Regenerated.
76761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76763         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76764         8-byte data alignment with LP_SIZE alignment.
76766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76768         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76769         into R10_LP.
76771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76773         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76777         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76778         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76779         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76780         Likewise.
76781         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76785         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76786         (stackinfo_sub_sp): Likewise.
76788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76790         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76791         RAX_LP.
76793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76795         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76796         into R*_LP.
76798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76800         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76801         sizes into R*_LP.
76803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76805         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76809         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76810         into R11_LP and load __x86_64_shared_cache_size_half into
76811         R8_LP.
76813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76815         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76816         R8_LP.
76818 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76820         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76821         logb for POWER7.
76822         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76823         logbf for POWER7.
76824         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76825         logbl for POWER7.
76826         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76827         powerpc32/power7/fpu/s_logb.c via #include.
76828         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76829         powerpc32/power7/fpu/s_logbf.c via #include.
76830         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76831         powerpc32/power7/fpu/s_logbl.c via #include.
76833 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76835         * README.libm: Remove file.
76837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76839         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76840         count for x32.  Use R*_LP and omit operand-size suffix.
76842 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76844         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76845         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76846         * sysdeps/x86_64/x32/shlib-versions: New file.
76848 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76850         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76851         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76852         Use _dl_fatal_printf instead.
76854 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76856         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76857         set if not set by the user.  Do not allow for being unset.
76858         * sysdeps/unix/sysv/linux/configure: Regenerated.
76860 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76862         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76863         the `q' suffix from lea and replace .quad with ASM_ADDR.
76865 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76867         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76868         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76869         instead of $17.
76870         (PTR_DEMANGLE): Likewise.
76872 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76874         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76875         (LP_OP): Likewise.
76876         (ASM_ADDR): Likewise.
76877         (RAX_LP): Likewise.
76878         (RBP_LP): Likewise.
76879         (RBX_LP): Likewise.
76880         (RCX_LP): Likewise.
76881         (RDI_LP): Likewise.
76882         (RSI_LP): Likewise.
76883         (RSP_LP): Likewise.
76884         (R8_LP): Likewise.
76885         (R9_LP): Likewise.
76886         (R10_LP): Likewise.
76887         (R10_LP): Likewise.
76888         (R11_LP): Likewise.
76889         (R12_LP): Likewise.
76890         (R13_LP): Likewise.
76891         (R14_LP): Likewise.
76892         (R15_LP): Likewise.
76894 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76896         * sysdeps/x86_64/x32/dl-machine.h: New file.
76898 2012-05-14  Andreas Jaeger  <aj@suse.de>
76900         * manual/Makefile (subdir): Remove export of subdir.
76901         (all): Remove target.
76902         (.PHONY): Remove all from list.
76903         (mkinstalldirs): Remove.
76904         (.PHONY): Remove installdirs from list.
76905         ($(inst_infodir)/libc.info): Use make-target-directory.
76906         (installdirs): Remove.
76907         (subdir_%): Remove.
76908         (glibc-targets): Remove.
76909         (lib): Remove.
76910         (stubs): Remove.
76911         ($(objpfx)stubs ../po/manual.pot): Remove.
76912         ($(objpfx)stamp%): Remove.
76913         (make-target-directory): Remove.
76914         (subdir_install): Remove.
76915         (routines): Remove.
76916         (aux): Remove.
76917         (sources): Remove.
76918         (objects): Remove.
76919         (headers): Remove.
76921         [BZ #13750]
76922         * manual/.gitignore: Remove, it's not needed anymore.
76923         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76924         all files in it.
76925         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76926         directory.
76927         (texis): Renamed to $(objpfx)texis.
76928         (texis-path): New, contains path to generated files.
76929         (chapters.%): Use texis-path for complete path, add extra argument
76930         libc-texinfo.sh.
76931         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76932         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76933         (summary,texi, stamp-summary): Use complete path of
76934         files. Generate files in build dir.
76935         (dir-add.texi): Build in build dir.
76936         (libm-err.texi,stamp-libm-err): Likewise.
76937         (version.texi, stamp-version): Likewise.
76938         (.%c.texi): Likewise.
76939         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76940         (mostlyclean): Remove target.
76941         (realclean): Remove target.
76942         (generated): Add new variable with contents from mostlyclean and
76943         realclean, remove entries duplicated in common-mostlyclean, add
76944         stamp-libm-err and stamp-version.
76945         (generated-dirs): Add libc directory.
76946         ($(inst_infodir)/libc.info): Install files from build dir.
76948         * manual/install.texi (Configuring and compiling): Adjust since
76949         the info files are not part of the tar ball anymore.
76951 2012-05-14  Andreas Jaeger  <aj@suse.de>
76953         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76954         variable.
76956 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76958         [BZ #13717]
76959         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76960         to 2.2.0 where earlier.
76961         * sysdeps/unix/sysv/linux/configure: Regenerated.
76962         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76963         Remove conditional code.
76964         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76965         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76966         Remove conditional code.
76967         [!__NR_lchown]: Likewise.
76968         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76969         [__NR_lchown]: Likewise.
76970         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76971         comment referencing __ASSUME_LCHOWN_SYSCALL.
76972         * sysdeps/unix/sysv/linux/i386/sigaction.c
76973         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76974         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76975         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76976         Remove conditional code.
76977         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76978         (__protocol_available): Remove #if 0 code.
76979         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76980         conditional code.
76981         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76982         * sysdeps/unix/sysv/linux/kernel-features.h
76983         (__ASSUME_GETCWD_SYSCALL): Don't define.
76984         (__ASSUME_REALTIME_SIGNALS): Likewise.
76985         (__ASSUME_PREAD_SYSCALL): Likewise.
76986         (__ASSUME_PWRITE_SYSCALL): Likewise.
76987         (__ASSUME_POLL_SYSCALL): Likewise.
76988         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76989         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76990         non-SPARC.
76991         (__ASSUME_SIOCGIFNAME): Don't define.
76992         (__ASSUME_MSG_NOSIGNAL): Likewise.
76993         (__ASSUME_SENDFILE): Define unconditionally.
76994         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76995         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76996         conditional code.
76997         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76998         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76999         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77000         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77001         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
77002         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77003         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
77005         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77006         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
77008         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
77011         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77012         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
77014         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
77017         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77018         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
77020         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77021         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
77023         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77024         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
77026         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77027         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77028         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
77029         Remove conditional code.
77030         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77031         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77032         Remove conditional code.
77033         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77034         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
77035         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
77036         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77037         Remove conditional code.
77038         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77039         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
77040         Remove conditional code.
77041         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77042         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
77043         Remove conditional code.
77044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77045         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77046         Remove conditional code.
77047         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77048         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77049         Remove conditional code.
77050         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77051         * sysdeps/unix/sysv/linux/sh/pwrite64.c
77052         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77053         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77054         * sysdeps/unix/sysv/linux/sigaction.c
77055         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77056         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77057         * sysdeps/unix/sysv/linux/sigpending.c
77058         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77059         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77060         * sysdeps/unix/sysv/linux/sigprocmask.c
77061         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77062         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77063         * sysdeps/unix/sysv/linux/sigsuspend.c
77064         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77065         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77066         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77067         (__libc_missing_rt_sigs): Remove.
77068         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
77069         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
77070         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
77071         Remove conditional code.
77072         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
77073         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
77074         return 1.
77075         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
77076         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
77077         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
77078         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
77080 2012-05-14  Andreas Jaeger  <aj@suse.de>
77082         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
77083         it's not used in glibc.
77084         (__coshm1): Likewise.
77085         (__acosh1p): Likewise.
77086         (__sgn): Likewise.
77088         * manual/string.texi (Copying and Concatenation): Add missing
77089         variable in concat example.
77090         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
77092 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77094         [BZ #14103]
77095         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
77096         __builtin_clzl with __builtin_clzll.
77098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77100         [BZ #14104]
77101         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
77102         libc_freeres_ptr.
77104 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77106         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
77107         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
77108         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
77109         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
77111 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
77113         * NEWS: Update ia64 info.
77115 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
77117         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
77118         used as bcopy.
77120 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
77122         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
77123         * sysdeps/unix/syscalls.list (dup3): Likewise.
77124         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
77125         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
77127 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77129         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
77130         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
77132 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77134         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
77135         thread pointer.
77136         (TLS_IE): Use mov/add instead of movq/addq to load thread
77137         pointer.
77138         (TLS_GD_PREFIX): New.
77139         (TLS_GD): Use it.
77141 2012-05-11  David S. Miller  <davem@davemloft.net>
77143         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
77144         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
77145         (_FPU_SETCW): Likewise.
77147 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77149         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
77150         is 32-byte aligned.
77152 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
77154         [BZ #11837]
77155         * iconvdata/gb18030.c: Update tables.
77156         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
77157         characters specially.
77158         (BODY for TO_LOOP): Add encoding of missing ranges.
77160 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
77162         [BZ #13673]
77163         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
77164         * sysdeps/mach/hurd/dup3.c: Likewise.
77165         * sysdeps/mach/hurd/readlinkat.c: Likewise.
77166         * sysdeps/powerpc/memmove.c:: Likewise.
77168 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77170         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
77171         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
77173 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77175         * elf/elf.h (R_X86_64_RELATIVE64): New.
77176         (R_X86_64_NUM): Updated.
77177         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
77178         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
77179         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
77180         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
77181         tst-quad1pie tst-quad2pie
77182         (modules-names): Add tst-quadmod1 tst-quadmod2.
77183         ($(objpfx)tst-quad1): New dependency.
77184         ($(objpfx)tst-quad2): Likewise.
77185         ($(objpfx)tst-quad1pie): Likewise.
77186         ($(objpfx)tst-quad2pie): Likewise.
77187         * sysdeps/x86_64/tst-quad1.c: New file.
77188         * sysdeps/x86_64/tst-quad1pie.c: New file.
77189         * sysdeps/x86_64/tst-quad2.c: Likewise.
77190         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
77191         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
77192         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
77193         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
77194         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
77196 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77198         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
77199         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
77200         * streams/stropts.h (t_scalar_t): Define type.
77202         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
77203         (_PATH_PRESERVE): Set to "/var/lib".
77204         (_PATH_RWHODIR): Set to "/var/spool/rwho".
77206         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
77207         instead of int.
77209         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
77210         if __dir_mkfile succeeded.
77212         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
77213         checking for _hurd_dtablesize.  Unlock it right after having
77214         finished _hurd_dtable allocation.
77216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77218         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
77219         * sysdeps/mach/hurd/configure: Regenerated.
77220         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
77221         special-casing to...
77222         * sysdeps/gnu/configure.in: ... this new file.
77223         * sysdeps/unix/sysv/linux/configure: Regenerated.
77224         * sysdeps/gnu/configure: New generated file.
77226         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
77227         for Linux: use nsec instead of usec, as well as:
77228         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
77229         members of type struct timespec.
77230         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
77231         New macros.
77232         (struct stat64): Likewise.
77233         (_STATBUF_ST_NSEC): New macro.
77234         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
77236         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77237         __strtoul_internal rather than strtoul.
77239 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77241         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
77242         and reject them.
77244 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77246         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
77247         which preserves existing values.
77248         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
77250 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77252         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
77253         TIMEOUT values.  Return EINVAL for NFDS values either negative or
77254         greater than FD_SETSIZE.
77256 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77258         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
77259         allocated, call __vm_protect to finish enabling the existing space, and
77260         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
77261         allocate the remainder.
77263 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77265         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
77266         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
77268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77270         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
77271         sysdeps/mach/hurd/readlink.c.
77273         * posix/tst-sysconf.c (posix_options): Only use
77274         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
77275         _POSIX_SYNCHRONIZED_IO when they are defined
77276         * sysdeps/mach/hurd/bits/posix_opt.h:
77277         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
77278         (_XOPEN_REALTIME): Undefine macro.
77279         (_XOPEN_REALTIME_THREADS): Undefine macro.
77280         (_XOPEN_SHM): Undefine macro.
77281         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
77282         macro to -1.
77283         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
77284         macro to -1.
77285         (_POSIX_ASYNC_IO): Undefine macro.
77286         (_POSIX_PRIORITIZED_IO): Undefine macro.
77287         (_POSIX_SPIN_LOCKS): Define macro to -1.
77289         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
77290         SA_NODEFER, SA_RESETHAND.
77291         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77292         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
77293         F_DUPFD_CLOEXEC.
77295 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77297         * elf/Makefile (pldd-modules): Define unconditionally.
77299 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77301         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
77303 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77305         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
77306         Return ENOENT when name is empty.
77307         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
77309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77311         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
77313         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
77315 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77317         Fix mlock in all cases except non-readable pages.
77318         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
77319         instead of VM_PROT_ALL as parameter to __vm_wire function.
77321         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
77322         (__mkdir): When path is `/', just fail with EEXIST.
77323         * sysdeps/mach/hurd/mkdirat.c: Likewise.
77325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77327         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
77328         <sys/uio.h> (for writev).
77329         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
77330         and <sys/param.h> (for MIN).
77332 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77334         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
77335         REQUESTED_TIME.  Properly set the remaining time and return EINTR
77336         if interrupted.
77338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77340         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
77341         Depend on against $(link-rpcuserlibs).
77343 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77345         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
77346         (__libc_stack_end): Do not use attribute_relro.
77347         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
77348         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
77349         to libthread-provided value.
77350         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
77351         attribute_relro.
77353 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77355         [BZ #3748]
77356         * bits/libc-lock.h (__libc_once_get): New macro.
77357         * sysdeps/mach/bits/libc-lock.h: Likewise.
77358         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
77359         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
77360         instead of using implementation details.
77362         * libio/fileops.c: Unconditionally include <kernel-features.h>.
77363         * libio/freopen.c: Likewise.
77364         * libio/freopen64.c: Likewise.
77365         * misc/syslog.c: Likewise.
77366         * nscd/connections.c: Likewise.
77367         * nscd/netgroupcache.c: Likewise.
77368         * sysdeps/posix/getcwd.c: Likewise.
77370 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77372         * math/w_ilogbf.c: Add #include <limits.h>.
77374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77376         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
77377         path instead of returning without unlocking.
77379         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
77380         immediate-write ioctls.
77381         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
77383 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77385         * sysdeps/mach/hurd/i386/init-first.c (init): Use
77386         __builtin_frame_address instead of making assumptions about the
77387         location of the return address relative to DATA.  Force early load of
77388         the return address.
77389         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
77390         __builtin_frame_address.
77392         dup3 for GNU Hurd.
77393         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
77394         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
77395         implement dup3 and do some further code clean-ups.
77396         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
77397         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
77399 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77401         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
77403         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
77404         HURD_CRITICAL_END around holding _hurd_dtable_lock.
77405         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
77406         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
77407         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
77408         d->port.lock.
77410         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
77411         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
77412         when handler == SIG_ERR, not when handler != SIG_ERR.
77414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77416         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
77417         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
77418         definitions.
77420         accept4 for GNU Hurd.
77421         * include/sys/socket.h (__libc_accept4): New prototype.
77422         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
77423         to implement __libc_accept4.
77424         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
77425         __libc_accept4.
77426         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
77428         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
77429         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
77430         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
77431         signal-defines.sym.
77433 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77435         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
77437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77439         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
77440         assertion on O_CLOEXEC flag.
77441         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
77442         * hurd/intern-fd.c: Likewise.
77443         * hurd/port2fd.c: Likewise.
77445 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77447         [BZ #3906]
77448         * bits/in.h (IPV6_PKTINFO): Define new macro.
77449         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
77451 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77453         [BZ #13954]
77454         [BZ #13955]
77455         [BZ #13956]
77456         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
77457         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77458         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
77459         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77460         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77461         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77462         * math/libm-test.inc (logb_test) : Additional logb tests.
77464 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
77465             Andreas Jaeger  <aj@suse.de>
77467         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
77468         * configure: Regenerated.
77469         * config.h.in (LINK_OBSOLETE_RPC): New macro.
77470         * config.make.in (link-obsolete-rpc): New substituted variable.
77471         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
77472         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
77473         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77474         (shared-only-routines): Don't set it under [link-obsolete-rpc],
77475         so that libc.a contains the symbols.
77476         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77477         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
77478         * sunrpc/auth_none.c: Likewise.
77479         * sunrpc/auth_unix.c: Likewise.
77480         * sunrpc/authdes_prot.c: Likewise.
77481         * sunrpc/authuxprot.c: Likewise.
77482         * sunrpc/clnt_gen.c: Likewise.
77483         * sunrpc/clnt_perr.c: Likewise.
77484         * sunrpc/clnt_raw.c: Likewise.
77485         * sunrpc/clnt_simp.c: Likewise.
77486         * sunrpc/clnt_tcp.c: Likewise.
77487         * sunrpc/clnt_udp.c: Likewise.
77488         * sunrpc/clnt_unix.c: Likewise.
77489         * sunrpc/des_crypt.c: Likewise.
77490         * sunrpc/des_soft.c: Likewise.
77491         * sunrpc/get_myaddr.c: Likewise.
77492         * sunrpc/key_call.c: Likewise.
77493         * sunrpc/key_prot.c: Likewise.
77494         * sunrpc/netname.c: Likewise.
77495         * sunrpc/pm_getmaps.c: Likewise.
77496         * sunrpc/pm_getport.c: Likewise.
77497         * sunrpc/pmap_clnt.c: Likewise.
77498         * sunrpc/pmap_prot.c: Likewise.
77499         * sunrpc/pmap_prot2.c: Likewise.
77500         * sunrpc/pmap_rmt.c: Likewise.
77501         * sunrpc/publickey.c: Likewise.
77502         * sunrpc/rpc_cmsg.c: Likewise.
77503         * sunrpc/rpc_common.c: Likewise.
77504         * sunrpc/rpc_dtable.c: Likewise.
77505         * sunrpc/rpc_prot.c: Likewise.
77506         * sunrpc/rpc_thread.c: Likewise.
77507         * sunrpc/rtime.c: Likewise.
77508         * sunrpc/svc.c: Likewise.
77509         * sunrpc/svc_auth.c: Likewise.
77510         * sunrpc/svc_raw.c: Likewise.
77511         * sunrpc/svc_run.c: Likewise.
77512         * sunrpc/svc_tcp.c: Likewise.
77513         * sunrpc/svc_udp.c: Likewise.
77514         * sunrpc/svc_unix.c: Likewise.
77515         * sunrpc/svcauth_des.c: Likewise.
77516         * sunrpc/xcrypt.c: Likewise.
77517         * sunrpc/xdr.c: Likewise.
77518         * sunrpc/xdr_array.c: Likewise.
77519         * sunrpc/xdr_float.c: Likewise.
77520         * sunrpc/xdr_intXX_t.c: Likewise.
77521         * sunrpc/xdr_mem.c: Likewise.
77522         * sunrpc/xdr_rec.c: Likewise.
77523         * sunrpc/xdr_ref.c: Likewise.
77524         * sunrpc/xdr_sizeof.c: Likewise.
77525         * sunrpc/xdr_stdio.c: Likewise.
77527 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77529         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
77530         change.  Update copyright years.
77532 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77534         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
77536 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
77537             Joseph Myers  <joseph@codesourcery.com>
77538             Paul Pluzhnikov  <ppluzhnikov@google.com>
77540         [BZ #14012]
77541         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
77542         requiring rpcgen.
77543         [cross-compiling] (extra-libs): Likewise.
77544         [cross-compiling] (extra-libs-others): Likewise.
77545         [cross-compiling] (librpcsvc-routines): Likewise.
77546         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
77547         [cross-compiling] (omit-deps): Likewise.
77548         (sunrpc-CPPFLAGS): New variable.
77549         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
77550         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
77551         (cross-rpcgen-objs): New variable.
77552         (extra-objs): Append $(cross-rpcgen-objs).
77553         ($(cross-rpcgen-objs)): New rule.
77554         ($(objpfx)cross-rpcgen): Likewise.
77555         (rpcgen-cmd): Define to use $(built-program-file).  Expand
77556         comment.
77557         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
77558         ($(objpfx)x%.stmp): Likewise.
77559         * sunrpc/proto.h [IS_IN_build] (_): Define.
77560         [IS_IN_build] (_libc_intl_domainname): Likewise.
77562 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77564         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
77565         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
77566         and R_X86_64_TPOFF64.
77568 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77570         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
77571         sysdeps/unix/sysv/syscalls.list.
77572         (stime): Likewise.
77573         (utime): Likewise.
77574         * sysdeps/unix/sysv/syscalls.list: Remove file.
77576 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
77578         [BZ #3440]
77579         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
77580         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
77581         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
77582         (__LC_IDENTIFICATION): Make these macros useful in #if
77583         expressions, as required by C99.
77585 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
77587         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
77588         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
77589         after this.
77591 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
77593         * stdlib/longlong.h: Updated from GCC.
77595 2012-05-09  Andreas Jaeger  <aj@suse.de>
77597         * nscd/nscd.c (run_modes): Make named enum, reorder so that
77598         default is first entry.
77599         (run_mode): Set type.
77600         (main): Remove informal message about syslog.
77601         (options): Fix typo.
77603         [BZ #14053]
77604         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77605         to asm.
77606         (lrint): Likewise.
77607         (llrintf): Likewise.
77608         (llrint): Likewise.
77609         (rint): Likewise.
77610         (rintf): Likewise.
77611         (nearbyint): Likewise.
77612         (nearbyintf): Likewise.
77614 2012-05-09  Andreas Jaeger  <aj@suse.de>
77615             Pedro Alves  <palves@redhat.com>
77617         * nscd/nscd.c (run_mode): Use enum.
77618         (main): Cleanup coding style issue.
77620 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77621             Andreas Jaeger  <aj@suse.de>
77623         * nscd/nscd.c (go_background): Replaced with...
77624         (run_mode): ... this.
77625         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77626         (options): Add -F --foreground.
77627         (main): Implement it.
77628         (parse_opt): Parse it.
77630 2012-05-09  Andreas Jaeger  <aj@suse.de>
77632         [BZ #14083]
77633         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77634         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77635         -Wconversion warning.
77636         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77637         Likewise.
77639 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77641         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77642         == 0.
77643         (LC_ALL): Use macro-int-constant.
77644         (LC_COLLATE): Likewise.
77645         (LC_CTYPE): Likewise.
77646         (LC_MESSAGES): Likewise.
77647         (LC_MONETARY): Likewise.
77648         (LC_NUMERIC): Likewise.
77649         (LC_TIME): Likewise.
77650         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77651         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77652         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77653         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77654         Specify type.
77655         [C99-based standards] (float_t): Expect type.
77656         [C99-based standards] (double_t): Expect type.
77657         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77658         type.
77659         [C99-based standards] (HUGE_VALL): Likewise.
77660         [C99-based standards] (INFINITY): Likewise.
77661         [C99-based standards] (NAN): Likewise.
77662         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77663         [C99-based standards] (FP_NAN): Likewise.
77664         [C99-based standards] (FP_NORMAL): Likewise.
77665         [C99-based standards] (FP_SUBNORMAL): Likewise.
77666         [C99-based standards] (FP_ZERO): Likewise.
77667         [C99-based standards] (FP_FAST_FMA): Use
77668         optional-macro-int-constant.  Specify type.  Require == 1.
77669         [C99-based standards] (FP_FAST_FMAF): Likewise.
77670         [C99-based standards] (FP_FAST_FMAL): Likewise.
77671         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77672         [C99-based standards] (FP_ILOGBNAN): Likewise.
77673         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77674         Specify type.
77675         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77676         [C99-based standards] (math_errhandling): Specify type.
77677         [ISO99 || ISO11] (signgam): Do not allow.
77678         [non-C99-based standards] (copysignf): Do not allow.
77679         [non-C99-based standards] (exp2f): Likewise.
77680         [non-C99-based standards] (log2f): Likewise.
77681         [non-C99-based standards] (modff): Allow.
77682         [non-C99-based standards] (erff): Do not allow.
77683         [non-C99-based standards] (erfcf): Likewise.
77684         [non-C99-based standards] (gammaf): Likewise.
77685         [non-C99-based standards] (hypotf): Likewise.
77686         [non-C99-based standards] (j0f): Likewise.
77687         [non-C99-based standards] (j1f): Likewise.
77688         [non-C99-based standards] (jnf): Likewise.
77689         [non-C99-based standards] (lgammaf): Likewise.
77690         [non-C99-based standards] (tgammaf): Likewise.
77691         [non-C99-based standards] (y0f): Likewise.
77692         [non-C99-based standards] (y1f): Likewise.
77693         [non-C99-based standards] (ynf): Likewise.
77694         [non-C99-based standards] (isnanf): Likewise.
77695         [non-C99-based standards] (acoshf): Likewise.
77696         [non-C99-based standards] (asinhf): Likewise.
77697         [non-C99-based standards] (atanhf): Likewise.
77698         [non-C99-based standards] (cbrtf): Likewise.
77699         [non-C99-based standards] (expm1f): Likewise.
77700         [non-C99-based standards] (ilogbf): Likewise.
77701         [non-C99-based standards] (log1pf): Likewise.
77702         [non-C99-based standards] (logbf): Likewise.
77703         [non-C99-based standards] (nextafterf): Likewise.
77704         [non-C99-based standards] (remainderf): Likewise.
77705         [non-C99-based standards] (rintf): Likewise.
77706         [non-C99-based standards] (scalbf): Likewise.
77707         [non-C99-based standards] (copysignl): Likewise.
77708         [non-C99-based standards] (exp2l): Likewise.
77709         [non-C99-based standards] (log2l): Likewise.
77710         [non-C99-based standards] (modfl): Allow.
77711         [non-C99-based standards] (erfl): Do not allow.
77712         [non-C99-based standards] (erfcl): Likewise.
77713         [non-C99-based standards] (gammal): Likewise.
77714         [non-C99-based standards] (hypotl): Likewise.
77715         [non-C99-based standards] (j0l): Likewise.
77716         [non-C99-based standards] (j1l): Likewise.
77717         [non-C99-based standards] (jnl): Likewise.
77718         [non-C99-based standards] (lgammal): Likewise.
77719         [non-C99-based standards] (tgammal): Likewise.
77720         [non-C99-based standards] (y0l): Likewise.
77721         [non-C99-based standards] (y1l): Likewise.
77722         [non-C99-based standards] (ynl): Likewise.
77723         [non-C99-based standards] (isnanl): Likewise.
77724         [non-C99-based standards] (acoshl): Likewise.
77725         [non-C99-based standards] (asinhl): Likewise.
77726         [non-C99-based standards] (atanhl): Likewise.
77727         [non-C99-based standards] (cbrtl): Likewise.
77728         [non-C99-based standards] (expm1l): Likewise.
77729         [non-C99-based standards] (ilogbl): Likewise.
77730         [non-C99-based standards] (log1pl): Likewise.
77731         [non-C99-based standards] (logbl): Likewise.
77732         [non-C99-based standards] (nextafterl): Likewise.
77733         [non-C99-based standards] (remainderl): Likewise.
77734         [non-C99-based standards] (rintl): Likewise.
77735         [non-C99-based standards] (scalbl): Likewise.
77736         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77737         [non-C99-based standards] (FP_*): Do not allow.
77738         [C99-based standards] (FP_*): Change to
77739         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77740         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77741         allow.
77742         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77743         (SIG_ERR): Likewise.
77744         [X/Open-based standards] (SIG_HOLD): Likewise.
77745         (SIG_IGN): Likewise.
77746         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77747         positive value.
77748         (SIGFPE): Likewise.
77749         (SIGILL): Likewise.
77750         (SIGINT): Likewise.
77751         (SIGSEGV): Likewise.
77752         (SIGTER): Likewise.
77753         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77754         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77755         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77756         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77757         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77758         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77759         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77760         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77761         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77762         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77763         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77764         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77765         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77766         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77767         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77768         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77769         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77770         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77771         [X/Open-based standards] (SIGTRAP): Likewise.
77772         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77773         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77774         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77775         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77776         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77777         allow.
77779 2012-05-08  Ian Wienand  <ianw@vmware.com>
77781         [BZ #14080]
77782         * time/tzset.c (__tzset_parse_tz): Update default rules for
77783         daylight time changes in the Energy Policy Act of 2005.
77785 2012-05-09  Andreas Jaeger  <aj@suse.de>
77787         [BZ #13983]
77788         * elf/ldconfig.c (parse_conf): Change string to make clear that
77789         ldconfig only issued a warning if ld.so.conf does not exist.
77791 2012-05-08  David S. Miller  <davem@davemloft.net>
77793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77794         movxtod instead of popping the value on the stack.
77796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77798 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77800         * config.h.in: Add HAVE_ARM_PCS_VFP.
77802 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77804         [BZ #13979]
77805         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77806         checking but the checks are disabled for any reason.
77808 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77810         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77811         and ELF64_R_TYPE with ELFW(R_TYPE).
77813 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77815         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77816         (ulimit): Likewise.
77818         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77819         (settimeofday): Likewise.
77821 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77823         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77824         a struct th_u2 inside the union, and move tu_block/tu_code into
77825         a new th_u3 union of tu_block/tu_code inside of that.  Move
77826         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77827         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77828         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77829         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77830         (th_stuff): Change to th_u1.tu_stuff.
77831         (th_data): Define.
77832         (th_msg): Change to th_u1.th_u2.tu_data.
77834 2012-05-07  David S. Miller  <davem@davemloft.net>
77836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77838         [BZ #14074]
77839         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77840         (SETUP_PIC_REG): Use it.
77841         (SETUP_PIC_REG_LEAF): Use it.
77843 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77845         [BZ #13885]
77846         [BZ #13923]
77847         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77848         USE_AS_EXPM1L.
77849         (EXPL_FINITE): Likewise.
77850         (FLDLOG): Likewise.
77851         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77852         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77853         e_expl.S.
77854         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77855         USE_AS_EXPM1L.
77856         (EXPL_FINITE): Likewise.
77857         (FLDLOG): Likewise.
77858         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77859         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77860         e_expl.S.
77861         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77862         test of -max_value argument for long double.
77863         * sysdeps/i386/fpu/libm-test-ulps: Update.
77864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77866 2012-05-06  David S. Miller  <davem@davemloft.net>
77868         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77869         quad soft-float symbols whose references which are compiler
77870         generated.
77871         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77873 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77875         [BZ #13884]
77876         [BZ #13914]
77877         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77878         USE_AS_EXP10L.
77879         (EXPL_FINITE): Likewise.
77880         (FLDLOG): Likewise.
77881         (c0): Likewise.
77882         (c1): Likewise.
77883         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77884         Adjust comments for base varying.
77885         (__expl_finite): Change alias to EXPL_FINITE.
77886         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77887         e_expl.S.
77888         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77889         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77890         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77891         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77892         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77893         USE_AS_EXP10L.
77894         (EXPL_FINITE): Likewise.
77895         (FLDLOG): Likewise.
77896         (c0): Likewise.
77897         (c1): Likewise.
77898         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77899         Adjust comments for base varying.
77900         (__expl_finite): Change alias to EXPL_FINITE.
77901         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77902         tests for bugs.
77903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77905         [BZ #14064]
77906         * math/libm-test.inc (check_float_internal): Correct ulp
77907         calculation for subnormal expected results.
77909 2012-05-06  Andreas Jaeger  <aj@suse.de>
77911         * Makeconfig (+math-flags): New, set to -frounding-math.
77912         (+cflags): Add +math-flags so that all of glibc gets compiled with
77913         it.
77915         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77917 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77919         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77920         Disable one test.
77922         [BZ #13787]
77923         [BZ #13922]
77924         [BZ #14036]
77925         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77926         (__ieee754_expl): Allow for and saturate large arguments.
77927         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77928         (u_threshold): Likewise.
77929         (__exp): Call __ieee754_exp before checking for overflow and
77930         underflow.
77931         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77932         (u_threshold): Likewise.
77933         (__expf): Call __ieee754_expf before checking for overflow and
77934         underflow.
77935         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77936         (u_threshold): Likewise.
77937         (__expl): Call __ieee754_expl before checking for overflow and
77938         underflow.
77939         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77940         (__ieee754_expl): Allow for and saturate large arguments.
77941         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77942         missing overflow exception on overflow.
77943         (expm1_test): Do not allow missing overflow exception on overflow.
77945         * sysdeps/i386/fpu/e_expl.c: Move to ...
77946         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77947         rather than using inline asm.
77948         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77949         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77950         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77952         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77953         (nice): Likewise.
77954         (poll): Likewise.
77955         (signal): Likewise.
77956         (time): Likewise.
77957         (times): Likewise.
77959 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77961         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77962         sysdeps/unix/common/syscalls.list.
77963         (fchmod): Likewise.
77964         (fchown): Likewise.
77965         (ftruncate): Likewise.
77966         (getrusage): Likewise.
77967         (gettimeofday): Likewise.
77968         (setpgid): Likewise.
77969         (setregid): Likewise.
77970         (setreuid): Likewise.
77971         (sigaction): Likewise.
77972         (truncate): Likewise.
77973         (vhangup): Likewise.
77974         * sysdeps/unix/common/syscalls.list: Remove file.
77975         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77976         * sysdeps/unix/sysv/linux/Implies: Likewise.
77978 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77980         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77982         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77983         Moved to ...
77984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77985         Here.
77986         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77987         to ...
77988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77989         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77990         to ...
77991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77992         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77993         to ...
77994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77995         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77996         to ...
77997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77998         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77999         to ...
78000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
78001         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
78002         to ...
78003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
78004         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
78005         to ...
78006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
78007         Here.
78008         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
78009         to ...
78010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
78011         Here.
78012         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
78013         to ...
78014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
78015         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
78016         Moved to ...
78017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
78018         Here.
78019         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
78020         to ...
78021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
78023 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78025         * sysdeps/unix/common/bits/dirent.h: Remove file.
78026         * sysdeps/unix/common/bits/fcntl.h: Likewise.
78028         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
78029         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
78030         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
78031         * sysdeps/unix/bsd/isatty.c: Likewise.
78032         * sysdeps/unix/bsd/tcdrain.c: Likewise.
78033         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
78034         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
78036 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78038         [BZ #13563]
78039         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
78040         long double comparison inaccuracies.
78041         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
78042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78044 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
78046         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
78047         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
78049 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78051         [BZ #14049]
78052         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
78053         nonzero digits before rounding a hex value.
78054         * stdlib/tst-strtod.c (tests): Add another test.
78056 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78058         * sysdeps/s390/fpu/libm-test-ulps: Update.
78060 2012-05-03  Andreas Jaeger  <aj@suse.de>
78062         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
78063         does not get optimized out.
78064         (malloc_opt_barrier): New.
78066 2012-05-03  Andreas Jaeger  <aj@suse.de>
78067             Roland McGrath  <roland@hack.frob.com>
78069         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
78070         intermediate file deletion.
78071         (generated): Add .symlist files.
78073 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
78075         [BZ #13775]
78076         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
78077         Redirect under this condition.
78078         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78079         [__USE_GNU] (__dprintf_chk): Not under this condition.
78080         [__USE_GNU] (__vdprintf_chk): Likewise.
78081         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
78082         under this condition.
78083         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78084         [__USE_XOPEN2K8] (dprintf): Define under this condition.
78085         [__USE_XOPEN2K8] (vdprintf): Likewise.
78086         [__USE_GNU] (__dprintf_chk): Not under this condition.
78087         [__USE_GNU] (__vdprintf_chk): Likewise.
78088         [__USE_GNU] (dprintf): Likewise.
78089         [__USE_GNU] (vdprintf): Likewise.
78091 2012-05-03  Roland McGrath  <roland@hack.frob.com>
78093         * elf/Makefile (common-generated): Set this instead of generated for
78094         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
78095         $(all-built-dso)-derived lists.
78097 2012-05-03  Andreas Jaeger  <aj@suse.de>
78099         * sysdeps/i386/fpu/libm-test-ulps: Update.
78101         * FAQ: Removed.
78102         * FAQ.in: Likewise.
78103         * scripts/gen-FAQ.pl: Likewise.
78104         * manual/install.texi (Installation): Point to online location of
78105         FAQ.
78106         * Makefile (files-for-dist): Remove FAQ.
78107         (FAQ): Remove.
78109 2012-05-02  Allan McRae  <allan@archlinux.org>
78111         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
78112         (LDFLAGS-reldepmod5.so): Likewise.
78113         (LDFLAGS-reldep6mod1.so): Likewise.
78114         (LDFLAGS-reldep6mod4.so): Likewise.
78115         (LDFLAGS-reldep8mod3.so): Likewise.
78116         (LDFLAGS-unload4mod1.so): Likewise.
78117         (LDFLAGS-unload4mod2.so): Likewise.
78118         (LDFLAGS-tst-initorder): Likewise.
78119         (LDFLAGS-tst-initordera2.so): Likewise.
78120         (LDFLAGS-tst-initordera3.so): Likewise.
78121         (LDFLAGS-tst-initordera4.so): Likewise.
78122         (LDFLAGS-tst-initorderb2.so): Likewise.
78123         (LDFLAGS-noload): Likewise.
78124         (LDFLAGS-next): Likewise.
78125         (LDFLAGS-order2mod1.so): Likewise.
78126         (LDFLAGS-order2mod2.so): Likewise.
78127         (LDFLAGS-tst-initorder2): Likewise.
78128         (LDFLAGS-tst-initorder2a.so): Likewise.
78129         (LDFLAGS-tst-initorder2b.so): Likewise.
78130         (LDFLAGS-tst-initorder2c.so): Likewise.
78131         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
78133 2012-05-02  David S. Miller  <davem@davemloft.net>
78135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78137 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
78139         [BZ #14055]
78140         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
78142 2012-05-02  Andreas Jaeger  <aj@suse.de>
78144         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
78145         since we manipulate rounding mode.
78146         (CPPFLAGS-test-idouble.c): Likewise.
78147         (CPPFLAGS-test-ifloat.c): Likewise.
78148         (CFLAGS-test-ldouble.c): Likewise.
78149         (CFLAGS-test-double.c): Likewise.
78150         (CFLAGS-test-float.c): Likewise.
78151         (CFLAGS-test-misc.c): Likewise.
78152         (CFLAGS-test-test-fenv.c): Likewise.
78154 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78156         [BZ #2550]
78157         [BZ #2570]
78158         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
78159         comparisons to determine direction to adjust input.
78161 2012-05-01  Roland McGrath  <roland@hack.frob.com>
78163         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
78164         output to the target.
78166         * scripts/localplt.awk: New file.
78167         * elf/Makefile ($(objpfx)check-localplt): Target removed.
78168         (check-localplt-CFLAGS): Variable removed.
78169         ($(all-built-dso:=.jmprel)): New static pattern rule.
78170         (generated): Add those targets.
78171         (localplt-built-dso): New variable.
78172         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
78174         * elf/check-localplt.c: File removed.
78176         * scripts/check-execstack.awk: New file.
78177         * elf/Makefile ($(objpfx)check-execstack): Target removed.
78178         (check-execstack-CFLAGS): Variable removed.
78179         ($(objpfx)check-execstack.h): Target removed.
78180         ($(objpfx)execstack-default): New target.
78181         (generated): Add that instead of check-execstack.h.
78182         ($(all-built-dso:=.phdr)): New static pattern rule.
78183         (generated): Add those targets.
78184         * elf/check-execstack.c: File removed.
78186         * scripts/check-textrel.awk: New file.
78187         * elf/Makefile ($(objpfx)check-textrel): Target removed.
78188         (check-textrel-CFLAGS): Variable removed.
78189         (all-built-dso): Use := to define.o
78190         ($(all-built-dso:=.dyn)): New static pattern rule.
78191         (generated): Add those targets.
78192         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
78193         * config.make.in (READELF): New substituted variable.
78194         * elf/check-textrel.c: File removed.
78196 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78198         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78199         allow.
78200         * conform/data/ctype.h-data [C99-based standards] (isblank):
78201         Expect function.
78202         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
78203         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
78204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78205         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
78206         Specify type.  Require positive value.
78207         (EILSEQ): Likewise.
78208         (ERANGE): Likewise.
78209         [ISO || POSIX] (EILSEQ): Do not expect.
78210         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
78211         Specify type.  Require positive value.
78212         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
78213         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
78214         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
78215         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
78216         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
78217         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
78218         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
78219         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
78220         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
78221         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
78222         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
78223         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
78224         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
78225         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
78226         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
78227         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
78228         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
78229         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
78230         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78231         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
78232         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
78233         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
78234         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
78235         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
78236         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
78237         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
78238         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
78239         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
78240         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
78241         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
78242         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
78243         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
78244         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
78245         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
78246         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
78247         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
78248         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
78249         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
78250         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
78251         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
78252         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
78253         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
78254         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
78255         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
78256         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
78257         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
78258         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
78259         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
78260         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
78261         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
78262         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
78263         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
78264         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
78265         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
78266         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
78267         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
78268         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
78269         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
78270         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
78271         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
78272         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78273         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
78274         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
78275         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
78276         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
78277         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
78278         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
78279         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
78280         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
78281         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
78282         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
78283         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
78284         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
78285         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
78286         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
78287         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
78288         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
78289         Require >= 2.
78290         (FLT_ROUNDS): Expect as macro, not constant.
78291         (FLT_MANT_DIG): Use macro-int-constant.
78292         (DBL_MANT_DIG): Likewise.
78293         (LDBL_MANT_DIG): Likewise.
78294         (FLT_DIG): Likewise.
78295         (DBL_DIG): Likewise.
78296         (LDBL_DIG): Likewise.
78297         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
78298         (DBL_MIN_EXP): Likewise.
78299         (LDBL_MIN_EXP): Likewise.
78300         (FLT_MAX_EXP): Use macro-int-constant.
78301         (DBL_MAX_EXP): Likewise.
78302         (LDBL_MAX_EXP): Likewise.
78303         (FLT_MAX_10_EXP): Likewise.
78304         (DBL_MAX_10_EXP): Likewise.
78305         (LDBL_MAX_10_EXP): Likewise.
78306         (FLT_MAX): Use macro-constant.
78307         (DBL_MAX): Likewise.
78308         (LDBL_MAX): Likewise.
78309         (FLT_EPSILON): Use macro-constant.  Give upper bound.
78310         (DBL_EPSILON): Likewise.
78311         (LDBL_EPSILON): Likewise.
78312         (FLT_MIN): Likewise.
78313         (DBL_MIN): Likewise.
78314         (LDBL_MIN): Likewise.
78315         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
78316         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
78317         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
78318         [ISO11] (FLT_HAS_SUBNORM): Likewise.
78319         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
78320         [ISO11] (DBL_DECIMAL_DIG): Likewise.
78321         [ISO11] (FLT_DECIMAL_DIG): Likewise.
78322         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
78323         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
78324         [ISO11] (FLT_TRUE_MIN): Likewise.
78325         [ISO11] (LDBL_TRUE_MIN): Likewise.
78326         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78327         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
78328         (SCHAR_MIN): Use macro-int-constant.  Specify type.
78329         (SCHAR_MAX): Likewise.
78330         (UCHAR_MAX): Likewise.
78331         (CHAR_MIN): Likewise.
78332         (CHAR_MAX): Likewise.
78333         (MB_LEN_MAX): Use macro-int-constant.
78334         (SHRT_MIN): Use macro-int-constant.  Specify type.
78335         (SHRT_MAX): Likewise.
78336         (USHRT_MAX): Likewise.
78337         (INT_MAX): Likewise.
78338         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
78339         bound negative.
78340         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78341         bound with "U".
78342         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78343         bound with "L".
78344         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
78345         bound negative.  Suffix upper bound with "L".
78346         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78347         bound with "UL".
78348         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
78349         Specify type.
78350         [C99-based standards] (LLONG_MAX): Likewise.
78351         [C99-based standards] (ULLONG_MAX): Likewise.
78352         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
78353         == 0.
78354         [ISO11] (max_align_t): Require type.
78355         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78357         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
78358         from $CFLAGS, without defining away __attribute__ calls.
78359         (checknamespace): Use $CFLAGS_namespace.
78361         * conform/conformtest.pl (@keywords): Only include C99 keywords
78362         for standards based on C99 or C11.
78364         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
78365         Disable tests.
78366         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
78367         UNIX98]: Likewise.
78369         * conform/conformtest.pl: Handle "macro-int-constant" and test for
78370         usability of symbols in #if.
78372         * conform/conformtest.pl: If macro or constant types start
78373         "promoted:", expect the symbol to be of the following type
78374         promoted by the integer promotions.
78376         * conform/conformtest.pl: Parse all "constant" and "macro" lines
78377         in one place.  Also handle "macro-constant".
78379         * conform/conformtest.pl: Only accept expected macro values with
78380         "==".  Parse all "macro" lines in one place.
78381         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
78383         * conform/conformtest.pl: Handle braced types on "constant" lines
78384         instead of handling "typed-constant".
78385         * conform/data/signal.h-data: Use "constant" instead of
78386         "typed-constant".
78388         * conform/conformtest.pl: Handle "optional-" at start of lines in
78389         one place rather than duplicating several cases.  Handle each
78390         format of "macro" line with initial "optional-".
78392         * conform/conformtest.pl: Only accept expected constant or
78393         optional-constant values with "==".  Parse all "constant" lines in
78394         one place.  Parse all "optional-constant" lines in one place.
78395         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
78396         * conform/data/fmtmsg.h-data: Likewise.
78397         * conform/data/netinet/in.h-data: Likewise.
78398         * conform/data/tar.h-data: Likewise.
78399         * conform/data/limits.h-data: Use "==" form on "constant" and
78400         "optional-constant" lines.
78402         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
78403         Use -std=c99 for XOPEN2K.
78404         (@knownproblems): Remove.
78405         (newtoken): Don't check %isknown.
78407         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
78408         Do not expect macro.
78409         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
78410         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
78411         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
78412         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
78413         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
78414         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
78415         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
78416         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
78417         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
78418         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
78419         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
78420         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
78421         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
78422         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
78423         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
78424         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
78425         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
78426         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
78427         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
78428         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
78429         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
78430         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
78431         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
78432         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
78433         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
78434         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
78435         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
78436         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
78437         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
78438         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
78439         [XPG3] (acosh): Likewise.
78440         [XPG3] (asinh): Likewise.
78441         [XPG3] (atanh): Likewise.
78442         [XPG3] (cbrt): Likewise.
78443         [XPG3] (expm1): Likewise.
78444         [XPG3] (ilogb): Likewise.
78445         [XPG3] (log1p): Likewise.
78446         [XPG3] (logb): Likewise.
78447         [XPG3] (nextafter): Likewise.
78448         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
78449         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
78450         [XPG3] (remainder): Likewise.
78451         [XPG3] (rint): Likewise.
78452         [XPG3 || XPG4 || UNIX98] (round): Likewise.
78453         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
78454         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
78455         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
78456         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
78457         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
78458         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
78459         [UNIX98 || XOPEN2K] (scalb): Expect.
78460         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
78461         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
78462         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
78463         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
78464         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
78465         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
78466         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78467         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
78468         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
78469         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
78470         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
78471         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
78472         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
78473         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
78474         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
78475         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
78476         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
78477         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
78478         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
78479         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
78480         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
78481         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
78482         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
78483         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
78484         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
78485         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
78486         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
78487         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
78488         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
78489         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
78490         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
78491         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
78492         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
78493         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
78494         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
78495         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
78496         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
78497         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
78498         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
78499         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
78500         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
78501         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
78502         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
78503         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
78504         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
78505         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
78506         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
78507         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
78508         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
78509         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
78510         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
78511         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
78512         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
78513         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
78514         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
78515         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
78516         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
78517         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
78518         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
78519         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
78520         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
78521         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
78522         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
78523         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
78524         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
78525         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
78526         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
78527         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
78528         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
78529         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
78530         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
78531         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
78532         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
78533         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
78534         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
78535         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
78536         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
78537         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
78538         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
78539         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
78540         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
78541         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
78542         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
78543         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
78544         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
78545         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
78546         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
78547         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
78548         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
78549         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
78550         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
78551         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
78552         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
78553         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
78554         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
78555         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
78556         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
78557         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
78558         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
78559         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
78560         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
78561         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
78562         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
78563         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
78564         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
78565         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
78566         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
78567         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
78568         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
78569         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
78570         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
78571         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
78572         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
78573         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
78574         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
78575         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
78576         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
78577         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
78578         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
78579         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
78580         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
78581         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
78582         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
78583         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
78584         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
78585         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
78586         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
78587         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
78588         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
78589         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
78590         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
78591         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
78592         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
78593         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
78594         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
78595         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
78596         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
78598         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
78599         _XOPEN_SOURCE_EXTENDED for XPG4.
78601         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
78603         * Makeconfig (localtime): Remove variable.
78604         (inst_localtime-file): Likewise.
78606 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78609         Update.
78610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78611         Update.
78612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78613         Update.
78614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78615         Update.
78616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78617         Update.
78618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78619         Update.
78620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78621         Update.
78622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78623         Update.
78624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78625         Update.
78627 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78629         [BZ #2550]
78630         [BZ #2570]
78631         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78632         comparisons to determine direction to adjust input.
78633         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78634         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78635         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78636         Likewise.
78637         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78638         Likewise.
78639         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78640         Likewise.
78641         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78642         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78643         Likewise.
78644         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78645         Likewise.
78646         * math/libm-test.inc (nexttoward_test): Add more tests.
78648 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78650         [BZ #14040]
78651         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78652         in version GLIBC_2.1, not GLIBC_2.0.
78653         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78654         Likewise.
78656 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78658         [BZ #13942]
78659         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78660         (1 - x) * (1 + x).
78661         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78662         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78663         * math/libm-test.inc (acos_test): Add more tests.
78664         (asin_test): Likewise.
78665         * sysdeps/i386/fpu/libm-test-ulps: Update.
78666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78668         [BZ #14034]
78669         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78670         of square root.
78671         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78672         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78673         * math/libm-test.inc (acos_test_tonearest): New function.
78674         (acos_test_towardzero): Likewise.
78675         (acos_test_downward): Likewise.
78676         (acos_test_upward): Likewise.
78677         (asin_test_tonearest): Likewise.
78678         (asin_test_towardzero): Likewise.
78679         (asin_test_downward): Likewise.
78680         (asin_test_upward): Likewise.
78681         (main): Call the new functions.
78682         * sysdeps/i386/fpu/libm-test-ulps: Update.
78683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78685         [BZ #13884]
78686         [BZ #13924]
78687         * math/e_exp10.c: Include <float.h>.
78688         (__ieee754_exp10): Handle underflow here rather than multiplying
78689         large negative argument by M_LN10.
78690         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78691         of __ieee754_expf.
78692         * math/e_exp10l.c: Include <float.h>.
78693         (__ieee754_exp10l): Handle underflow here rather than multiplying
78694         large negative argument by M_LN10l.
78695         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78696         spurious overflow exception on underflow.
78698 2012-04-29  Marek Polacek  <polacek@redhat.com>
78700         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78701         (__fortify_function): New macro.
78702         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78703         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78704         __extern_always_inline.
78705         * libio/bits/stdio2.h: Likewise.
78706         * libio/bits/stdio.h: Likewise.
78707         * string/string.h: Likewise.
78708         * string/bits/string3.h: Likewise.
78709         * include/stdio.h: Likewise.
78710         * stdlib/bits/stdlib.h: Likewise.
78711         * stdlib/stdlib.h: Likewise.
78712         * rt/bits/mqueue2.h: Likewise.
78713         * rt/mqueue.h: Likewise.
78714         * posix/bits/unistd.h: Likewise.
78715         * posix/unistd.h: Likewise.
78716         * io/bits/poll2.h: Likewise.
78717         * io/bits/fcntl2.h: Likewise.
78718         * io/fcntl.h: Likewise.
78719         * io/sys/poll.h: Likewise.
78720         * misc/bits/syslog.h: Likewise.
78721         * misc/bits/syslog-ldbl.h: Likewise.
78722         * misc/sys/syslog.h: Likewise.
78723         * socket/bits/socket2.h: Likewise.
78724         * socket/sys/socket.h: Likewise.
78725         * debug/tst-chk1.c: Likewise.
78726         * wcsmbs/bits/wchar2.h: Likewise.
78727         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78728         * wcsmbs/wchar.h: Likewise.
78730 2012-04-29  Andreas Jaeger  <aj@suse.de>
78732         * Makerules (tests): Remove enable-check-abi protection.
78733         (check-abi-warn): Remove.
78734         (check-abi-%): Remove check-abi-warn usage.
78736         * configure.in: Remove check-abi configure option.
78737         * configure: Regenerated.
78738         * config.make.in (enable-check-abi): Remove.
78740 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78742         [BZ #14033]
78743         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78744         double functions to double *_finite functions.
78746         [BZ #13941]
78747         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78748         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78749         LDBL_MIN_EXP.
78750         * stdio-common/Makefile (tests): Add tst-sprintf3.
78751         * stdio-common/tst-sprintf3.c: New file.
78753         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78754         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78756 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78758         * conform/conformtest.pl: Remove duplicate typed-constant
78759         handling.
78761 2012-04-28  David S. Miller  <davem@davemloft.net>
78763         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78764         (check-abi-%): Remove AWK script prerequisite and explicit
78765         abilist directory.
78766         (check-abi): Rewrite to just diff the symlist with the abilist.
78767         (config-tls, config-abi-config): Delete, no longer used.
78768         (update-abi-%): Remove AWK script and explicit abilist directory.
78769         (update-abi): Rewrite to simply compare and conditionally copy the
78770         symlist and the sysdep abilist file.  Remove update-abi-config
78771         checks.
78772         * abilist/ld.abilist: Remove.
78773         * abilist/libBrokenLocale.abilist: Remove.
78774         * abilist/libanl.abilist: Remove.
78775         * abilist/libcrypt.abilist: Remove.
78776         * abilist/libdl.abilist: Remove.
78777         * abilist/librt.abilist: Remove.
78778         * abilist/libthread_db.abilist: Remove.
78779         * abilist/libutil.abilist: Remove.
78780         * scripts/extract-abilist.awk: Remove.
78781         * scripts/merge-abilist.awk: Remove.
78782         * sysdeps/generic/libcidn.abilist: New file.
78783         * sysdeps/generic/libnss_compat.abilist: New file.
78784         * sysdeps/generic/libnss_db.abilist: New file.
78785         * sysdeps/generic/libnss_dns.abilist: New file.
78786         * sysdeps/generic/libnss_files.abilist: New file.
78787         * sysdeps/generic/libnss_hesiod.abilist: New file.
78788         * sysdeps/generic/libnss_nis.abilist: New file.
78789         * sysdeps/generic/libnss_nisplus.abilist: New file.
78790         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78791         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78792         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78793         file.
78794         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78795         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78796         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78797         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78798         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78799         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78800         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78801         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78802         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78803         file.
78804         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78805         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78806         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78807         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78808         file.
78809         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78810         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78811         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78812         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78813         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78814         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78815         file.
78816         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78817         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78818         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78819         file.
78820         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78822         New file.
78823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78824         New file.
78825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78826         New file.
78827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78828         New file.
78829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78830         New file.
78831         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78832         New file.
78833         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78834         New file.
78835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78836         New file.
78837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78838         New file.
78839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78840         New file.
78841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78842         New file.
78843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78844         New file.
78845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78846         New file.
78847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78848         file.
78849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78850         New file.
78851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78852         New file.
78853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78854         file.
78855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78856         New file.
78857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78858         New file.
78859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78860         file.
78861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78862         New file.
78863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78864         New file.
78865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78866         New file.
78867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78868         New file.
78869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78870         New file.
78871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78872         New file.
78873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78875         file.
78876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78877         New file.
78878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78879         file.
78880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78881         file.
78882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78883         file.
78884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78885         file.
78886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78887         file.
78888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78889         New file.
78890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78891         file.
78892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78893         file.
78894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78895         New file.
78896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78897         file.
78898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78900         file.
78901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78902         New file.
78903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78904         file.
78905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78906         file.
78907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78908         file.
78909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78910         file.
78911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78912         file.
78913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78914         New file.
78915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78916         file.
78917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78918         file.
78919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78920         New file.
78921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78922         file.
78923         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78924         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78925         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78926         file.
78927         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78928         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78929         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78930         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78931         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78932         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78933         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78934         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78935         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78936         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78939         file.
78940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78941         New file.
78942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78943         file.
78944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78945         file.
78946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78947         file.
78948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78949         file.
78950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78951         file.
78952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78953         New file.
78954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78955         New file.
78956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78957         file.
78958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78959         New file.
78960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78961         file.
78962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78964         file.
78965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78966         New file.
78967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78968         file.
78969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78970         file.
78971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78972         file.
78973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78974         file.
78975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78976         file.
78977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78978         New file.
78979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78980         New file.
78981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78982         file.
78983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78984         New file.
78985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78986         file.
78988 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78990         * conform/conformtest.pl: Fix typo in handling typed-constant from
78991         allow-header.
78993 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78995         * README: Cut down references to pre-2.6 Linux kernels and
78996         Linuxthreads.  Update lists of configurations in libc and ports
78997         and sort alphabetically.  Say "or newer" with Linux kernel version
78998         requirements.
79000         * config.h.in [IS_IN_build]: Allow compiling without optimization.
79002 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
79004         [BZ #887]
79005         * math/libm-test.inc (logb_test_downward): New test to expose
79006         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
79007         rounding mode.
79009 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79011         [BZ #14027]
79012         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
79013         to be done.
79014         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
79015         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
79017 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
79019         * sysdeps/unix/i386/brk.S: Remove file.
79020         * sysdeps/unix/i386/dl-brk.S: Likewise.
79021         * sysdeps/unix/i386/pipe.S: Likewise.
79022         * sysdeps/unix/i386/sigreturn.S: Likewise.
79023         * sysdeps/unix/i386/syscall.S: Likewise.
79024         * sysdeps/unix/i386/vfork.S: Likewise.
79025         * sysdeps/unix/i386/wait.S: Likewise.
79027         * sysdeps/unix/common/tcsendbrk.c: Move to ...
79028         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
79030         * configure.in (arm*-none*): Do not allow without
79031         --enable-hacker-mode.
79032         (netbsd*): Remove case setting base_os.
79033         (386bsd*): Likewise.
79034         (freebsd*): Likewise.
79035         (bsdi*): Likewise.
79036         (osf*): Likewise.
79037         (sunos*): Likewise.
79038         (ultrix*): Likewise.
79039         (newsos*): Likewise.
79040         (dynix*): Likewise.
79041         (*bsd*): Likewise.
79042         (sysv*): Likewise.
79043         (isc*): Likewise.
79044         (esix*): Likewise.
79045         (sco*): Likewise.
79046         (minix*): Likewise.
79047         (irix4*): Likewise.
79048         (irix6*): Likewise.
79049         (solaris[2-9]*): Likewise.
79050         (none): Likewise.
79051         * configure: Regenerated.
79053 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79055         [BZ #11521]
79056         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
79057         overflow or cancellation in calculating denominator.
79058         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
79059         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
79060         down expression to avoid unexpected rounding in newer GCCs.
79061         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
79063 2012-04-26  David S. Miller  <davem@davemloft.net>
79065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
79066         long-double compat symbols.
79067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
79071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
79073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
79074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
79075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
79076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
79077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
79078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
79079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79081 2012-04-25  David S. Miller  <davem@davemloft.net>
79083         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
79084         HWCAP_* values only after the memory barriers have been defined.
79085         (atomic_full_barrier): Define.
79086         (atomic_read_barrier): Define.
79087         (atomic_write_barrier): Define.
79089 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79091         * shlib-versions: Add libgcc_s version information.
79092         * sysdeps/generic/libgcc_s.h: Remove.
79093         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
79094         libgcc_s.h.
79095         * sysdeps/gnu/unwind-resume.c: Likewise.
79096         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
79098 2012-04-25  David S. Miller  <davem@davemloft.net>
79100         * sysdeps/unix/sparc/brk.S: Delete.
79101         * sysdeps/unix/sparc/dl-brk.S: Delete.
79102         * sysdeps/unix/sparc/pipe.S: Delete.
79103         * sysdeps/unix/sparc/sysdep.S: Delete.
79104         * sysdeps/unix/sparc/sysdep.h: Delete.
79105         * sysdeps/unix/sparc/vfork.S: Delete.
79106         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
79107         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
79108         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
79109         (ret_ERRVAL, r0, r1, MOVE): Define.
79110         (JUMPTARGET): Remove.
79111         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
79112         sysdeps/unix/sparc/sysdep.h
79113         (ENTRY, END): Remove.
79114         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79116 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
79118         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
79119         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
79120         -DIS_IN_build.
79122         * timezone/README: Update upstream location and email address for
79123         tzcode and tzdata.
79124         * timezone/zdump.c: Update from tzcode 2012b.
79125         * timezone/zic.c: Likewise.
79127         * configure.in (libc_cv_as_needed): Remove test.
79128         * configure: Regenerated.
79129         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
79130         conditional definition.
79131         [$(have-as-needed) != yes] (no-as-needed): Likewise.
79132         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
79133         * config.make.in (have-as-needed): Remove variable.
79135 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
79136             Paul Pluzhnikov  <ppluzhnikov@google.com>
79138         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
79139         strings correctly.
79141 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
79143         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
79144         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
79145         * sysdeps/sh/strlen.S: Likewise.
79147 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79149         * sysdeps/unix/fork.S: Remove file.
79150         * sysdeps/unix/i386/fork.S: Likewise.
79151         * sysdeps/unix/sparc/fork.S: Likewise.
79153         * sysdeps/unix/system.c: Remove file.
79154         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
79156         * sysdeps/unix/getegid.S: Remove file.
79157         * sysdeps/unix/geteuid.S: Likewise.
79159 2012-04-24  Roland McGrath  <roland@hack.frob.com>
79161         * scripts/check-localplt.awk: New file.
79162         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
79163         of diff.
79164         * scripts/data/localplt-generic.data: Add a comment.
79166         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
79167         NODE when __dir_mkfile failed.
79168         * sysdeps/mach/hurd/symlinkat.c: Likewise.
79169         Reported by Ludovic Courtès <ludo@gnu.org>.
79171 2012-04-24  Andreas Jaeger  <aj@suse.de>
79173         * Makerules (common-clean): Also remove gen-as-const-headers
79174         files.
79176 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79178         * Makerules (native-compile): Do not change working directory for
79179         build.  Use $(OUTPUT_OPTION) in command.
79180         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
79182 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79184         [BZ #13886]
79185         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
79186         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
79187         * math/libm-test.inc (floor_test): Add more tests.
79188         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
79190 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79192         * sysdeps/unix/getdents.c: Remove file.
79193         * sysdeps/unix/sysv/getdents.c: Likewise.
79194         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
79196         * sysdeps/unix/syscalls.list (madvise): Add syscall from
79197         sysdeps/unix/mman/syscalls.list.
79198         (mmap): Likewise.
79199         (mprotect): Likewise.
79200         (msync): Likewise.
79201         (munmap): Likewise.
79202         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
79203         * sysdeps/unix/mman/syscalls.list: Remove.
79204         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
79206         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
79207         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
79208         * configure: Regenerated.
79209         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
79210         $(libgcc_s_suffix).
79211         * config.make.in (libgcc_s_suffix): Remove variable.
79213 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
79215         * sysdeps/unix/sysv/gethostname.c: Move to ...
79216         * sysdeps/posix/gethostname.c: ... here.
79218         * sysdeps/unix/execve.S: Remove file.
79220         * sysdeps/unix/_exit.S: Remove file.
79222 2012-04-23  Andreas Jaeger  <aj@suse.de>
79224         [BZ #13739]
79225         * manual/Makefile: Remove make dist support, there's no
79226         need for a stand-alone documentation tar ball.
79227         (TEXI2DVI): Define always, it's not in Makeconfig.
79228         (dist): Removed.
79229         (tar-it): Removed.
79230         (edition): Removed.
79231         (glibc-doc-$(edition).tar): Removed
79232         (%.Z): Removed.
79233         (%.gz): Removed.
79234         (%.uu): Removed.
79235         (ETAGS): Remove, it's in Makeconfig.
79236         (move-if-change): Remove, it's in Makeconfig.
79238 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
79240         [BZ #13970]
79241         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79242         (strtod, strtof, strtold, strtol, strtoul, strtoq)
79243         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
79244         (strtod_l, strtof_l, strtold_l): Remove __wur.
79245         It is not necessarily an error to ignore strtol's return value.
79246         One can reliably look at the stored endptr to decide whether
79247         the number had valid syntax.
79249 2012-04-21  Andreas Jaeger  <aj@suse.de>
79251         [BZ #13739]
79252         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
79254 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
79256         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
79257         * sysdeps/unix/sysv/Versions: Remove file.
79259 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79261         [BZ #13927]
79262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79264 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
79266         [BZ #7064]
79267         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
79268         version from __vm86.
79270 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
79272         * sysdeps/unix/common/lxstat.c: Remove file.
79273         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
79275         * sysdeps/unix/sysv/Makefile: Remove file.
79277         * sysdeps/unix/sysv/direct.h: Remove file.
79279         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
79280         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
79281         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79282         * sysdeps/unix/sysv/bits/signum.h: Likewise.
79283         * sysdeps/unix/sysv/bits/stat.h: Likewise.
79284         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
79285         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
79287         * sysdeps/unix/sysv/setrlimit.c: Remove file.
79289         * sysdeps/unix/xmknod.c: Remove file.
79290         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
79292         * sysdeps/unix/sysv/settimeofday.c: Remove file.
79294         * sysdeps/unix/sysv/i386/time.S: Remove file.
79296         * sysdeps/unix/fxstat.c: Remove file.
79297         * sysdeps/unix/xstat.c: Likewise.
79298         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
79300         * sysdeps/unix/sysv/sigaction.c: Remove file.
79302         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
79303         (sysdep_headers): Remove variable.
79304         [termio.h not in sysdep_headers] (generated): Likewise.
79305         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
79306         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
79307         * sysdeps/unix/sysv/tcdrain.c: Likewise.
79308         * sysdeps/unix/sysv/tcflow.c: Likewise.
79309         * sysdeps/unix/sysv/tcflush.c: Likewise.
79310         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
79311         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
79312         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
79313         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
79314         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
79316         * sysdeps/unix/siglist.c: Remove file.
79318         * sysdeps/unix/getppid.S: Remove file.
79320         * sysdeps/unix/mkdir.c: Remove file.
79321         * sysdeps/unix/rmdir.c: Likewise.
79323 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
79325         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
79326         ERR_MAX value.
79327         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
79328         errlist-compat value.
79330 2012-04-18  David S. Miller  <davem@davemloft.net>
79332         * sysdeps/generic/memcopy.h (reg_char): Delete.
79333         * debug/strcat_chk.c: Use char, not reg_char.
79334         * debug/strcpy_chk.c: Likewise.
79335         * debug/strncat_chk.c: Likewise.
79336         * debug/strncpy_chk.c: Likewise.
79337         * string/memchr.c: Likewise.
79338         * string/memrchr.c: Likewise.
79339         * string/rawmemchr.c: Likewise.
79340         * string/strcat.c: Likewise.
79341         * string/strchr.c: Likewise.
79342         * string/strchrnul.c: Likewise.
79343         * string/strcmp.c: Likewise.
79344         * string/strcpy.c: Likewise.
79345         * string/strncat.c: Likewise.
79346         * string/strncmp.c: Likewise.
79347         * string/strncpy.c: Likewise.
79349 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79351         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
79352         __builtin_memcopy is called when src and dest ranges are known to not
79353         overlap.
79355 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79357         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
79358         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
79359         fwd_align_merge macro call.
79360         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
79361         bwd_align_merge macro call.
79362         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79364 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79366         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
79367         bwd_align_merge macros.
79368         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
79369         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79370         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79372 2012-04-18  David S. Miller  <davem@davemloft.net>
79374         * sysdeps/sparc/sparc64/memcopy.h: Delete.
79376 2012-04-18  Andreas Jaeger  <aj@suse.de>
79378         [BZ #6794]
79379         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
79380         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
79381         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79383         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
79384         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
79385         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79387         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
79388         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
79389         Adjust for changed ldbl-128 files.
79391         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
79392         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
79393         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79395 2012-04-17  David S. Miller  <davem@davemloft.net>
79397         * sysdeps/sparc/sparc32/memcopy.h: Delete.
79399 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
79401         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
79402         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
79403         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
79404         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
79405         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
79406         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
79408 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79410         [BZ #6794]
79411         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
79412         * math/libm-test.inc: Add ilogb errno and exception tests.
79413         * math/w_ilogb.c: New file: ilogb wrapper.
79414         * math/w_ilogbf.c: New file: ilogbf wrapper.
79415         * math/w_ilogbl.c: New file: ilogbl wrapper.
79416         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
79417         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
79418         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
79419         exception being thrown with 0.0 as argument.
79420         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
79421         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
79422         exception being thrown with 0.0 as argument.
79423         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
79424         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79425         exception being thrown with 0.0 as argument.
79426         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
79427         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79428         exception being thrown with 0.0 as argument.
79429         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
79430         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
79431         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
79432         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
79433         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
79434         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
79435         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
79436         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
79437         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
79439 2012-04-17  Petr Baudis  <pasky@ucw.cz>
79441         * include/sys/uio.h: Change __vector to __iovec to avoid clash
79442         with altivec.
79444 2012-04-16  Marek Polacek  <polacek@redhat.com>
79446         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
79448 2012-04-16  Marek Polacek  <polacek@redhat.com>
79450         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
79451         operands of fdivp instruction.
79453 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79455         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
79456         * elf/tst-auditmod3b.c: Likewise.
79457         * elf/tst-auditmod4b.c: Likewise.
79458         * elf/tst-auditmod5b.c: Likewise.
79459         * elf/tst-auditmod6b.c: Likewise.
79460         * elf/tst-auditmod6c.c: Likewise.
79461         * elf/tst-auditmod7b.c: Likewise.
79462         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
79463         * sysdeps/x86_64/preconfigure.in: Likewise.
79464         * sysdeps/x86_64/preconfigure: Regenerated.
79466 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79468         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
79469         __ILP32__.
79471 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
79473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79474         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
79476 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
79478         [BZ #13973]
79479         * locale/iso-639.def: Fix gl language name. Spotted by
79480         Yaron Shahrabani.
79482 2012-04-12  Roland McGrath  <roland@hack.frob.com>
79484         [BZ #2074]
79485         * libio/libio.h (__io_write_fn): Update comment.
79487 2012-04-12  Petr Baudis  <pasky@ucw.cz>
79489         [BZ #2074]
79490         * stdio.texi (Hook Functions): The user provided writer function
79491         is not allowed to return -1.
79493 2012-04-11  David S. Miller  <davem@davemloft.net>
79495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79497 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
79499         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
79500         Add a leading slash to rtkaio.
79502 2012-04-11  Jim Meyering  <meyering@redhat.com>
79504         [BZ #11959]
79505         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
79506         It is not necessarily an error to ignore fwrite's return
79507         value.  One can reliably use ferror to test for errors after
79508         the fact.
79510 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79512         * bits/types.h (__snseconds_t): New type.
79513         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
79515         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
79516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79517         (__SNSECONDS_T_TYPE): Likewise.
79518         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79519         (__SNSECONDS_T_TYPE): Likewise.
79520         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79521         (__SNSECONDS_T_TYPE): Likewise.
79523 2012-04-10  Andreas Jaeger  <aj@suse.de>
79525         [BZ #2636]
79526         * manual/time.texi (Processor Time): Return type of times is
79527         elapsed real time since an arbitrary point in the past.
79528         (CPU Time): Move CLK_TCK from here...
79529         (Processor Time): ...to here.  Correct description.
79530         * manual/conf.texi (Constants for Sysconf): Correct description of
79531         _SC_CLK_TCK.
79533 2012-04-10  David S. Miller  <davem@davemloft.net>
79535         [BZ #13967]
79536         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
79537         where the is a gap between DT_REL(A) and DT_JMPREL.
79539 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79541         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
79542         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79543         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79545 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
79547         * elf/dl-support.c (_dl_inhibit_cache): New variable.
79548         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
79549         (dl_main): Handle --inhibit-cache.
79550         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
79551         _dl_inhibit_cache.
79552         * elf/dl-load.c (_dl_map_object): Use it.
79553         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
79555 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79557         [BZ #13872]
79558         * sysdeps/i386/fpu/e_powl.S (p78): New object.
79559         (__ieee754_powl): Saturate large exponents rather than testing for
79560         overflow of y*log2(x).
79561         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79562         * math/libm-test.inc (pow_test): Do not permit spurious overflow
79563         exceptions.
79565         [BZ #11521]
79566         * math/s_ctan.c: Include <float.h>.
79567         (__ctan): Avoid internal overflow or cancellation in calculating
79568         denominator.
79569         * math/s_ctanf.c: Likewise.
79570         * math/s_ctanl.c: Likewise.
79571         * math/s_ctanh.c: Likewise.
79572         * math/s_ctanhf.c: Likewise.
79573         * math/s_ctanhl.c: Likewise.
79574         * math/libm-test.inc (ctan_test): Add more tests.
79575         (ctanh_test): Likewise.
79576         * sysdeps/i386/fpu/libm-test-ulps: Update.
79577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79579 2012-04-09  Andreas Jaeger  <aj@suse.de>
79581         [BZ #6894]
79582         * manual/filesys.texi (Directory Entries): Mention that d_namlen
79583         is an optional BSD extension.
79585         [BZ #10254]
79586         * manual/stdio.texi (Opening Streams): Document additional fopen
79587         parameters.
79589 2012-04-09  Roland McGrath  <roland@hack.frob.com>
79591         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
79592         %eax without telling the compiler.
79594 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
79596         [BZ # 13963]
79597         * manual/install.texi: Use sourceware.org.
79599 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79601         [BZ #13873]
79602         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
79603         (__ieee754_pow): Generate overflow and underflow using huge*huge
79604         and tiny*tiny rather than just returning constant infinity or zero
79605         for large exponents.
79606         * math/libm-test.inc (pow_test): Require overflow exceptions for
79607         applicable cases of large exponents.
79609         [BZ #706]
79610         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79611         (__ieee754_pow): Use iterative multiplication algorithm only for
79612         integer exponents with absolute value below 1024.  Check for odd
79613         integer exponents when using algorithm for real exponents.
79614         * math/libm-test.inc (pow_test): Add more tests.
79615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79617 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79619         [BZ #13705]
79620         * math/libm-test.inc (exp_test): Do not allow overflow exception
79621         on underflow test.
79623 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79625         [BZ #13705]
79626         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79627         instead of __kernel_standard_f.
79629 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79631         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79632         * sysdeps/x86_64/memset_chk.S: Likewise.
79634 2012-04-08  Andreas Jaeger  <aj@suse.de>
79636         [BZ #10153]
79637         * manual/startup.texi (Environment Access): Describe return value
79638         for putenv and setenv.
79640         [BZ #6895]
79641         * manual/filesys.texi (Directory Entries): Add description for
79642         DT_LNK.
79644         [BZ #6890]
79645         * manual/filesys.texi (Directory Entries): Clarify that it's file
79646         system not operating system in the description of DT_UNKNOWN.
79648         [BZ #6578]
79649         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79651 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79653         [BZ #6649]
79654         * manual/llio.texi (Opening and Closing Files): Add cross
79655         reference to explain mode argument.
79657 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79659         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79660         * sysdeps/x86_64/memset_chk.S: Likewise.
79662 2012-04-07  David S. Miller  <davem@davemloft.net>
79664         * elf/elf.h (R_SPARC_WDISP10): Define.
79665         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79666         R_SPARC_SIZE32.
79667         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79668         R_SPARC_SIZE64 and R_SPARC_H34.
79670 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79672         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79673         conditions and remove no longer applicable assertion.
79675 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79677         * bits/byteswap.h: Include <features.h>.
79678         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79679         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79681 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79683         * bits/byteswap.h (__bswap_16): Removed.
79684         Include <bits/byteswap-16.h> to get __bswap_16.
79685         * sysdeps/i386/bits/byteswap.h: Likewise.
79686         * sysdeps/s390/bits/byteswap.h: Likewise.
79687         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79688         * bits/byteswap-16.h: New file.
79689         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79690         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79691         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79692         * string/Makefile (headers): Add bits/byteswap-16.h.
79694 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79696         [BZ #13895]
79697         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79698         extra indirection.
79699         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79700         * nss/tst-nss-static.c: New.
79702 2012-04-06  Robert Millan  <rmh@gnu.org>
79704         [BZ #6486]
79705         * manual/llio.texi (File Position Primitive): lseek
79706         refers to WHENCE when it really means OFFSET.
79708 2012-04-06  Andreas Jaeger  <aj@suse.de>
79710         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79711         strncmp declarations.
79713         * abilist/libc.abilist: Add __poll and __ppoll.
79715 2012-04-05  David S. Miller  <davem@davemloft.net>
79717         * scripts/check-local-headers.sh: Accept a host triplet in the
79718         path matched by the exclude regexp.
79720         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79721         definition.
79722         * sysdeps/powerpc/powerpc32/dl-machine.h
79723         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79724         * sysdeps/s390/s390-32/dl-machine.h
79725         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79726         * sysdeps/sparc/sparc32/dl-machine.h
79727         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79728         * sysdeps/sparc/sparc64/dl-machine.h
79729         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79731         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79732         lazy binding.
79733         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79734         undefined symbol errors.
79736         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79737         DT_NEEDED entries.
79739 2012-04-05  Michael Matz  <matz@suse.de>
79741         [BZ #13592]
79742         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79744 2012-04-05  Andreas Jaeger  <aj@suse.de>
79746         [BZ #13908]
79747         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79748         comment.
79750 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79752         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79753         which ROUND is no valid rounding mode.
79755 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79757         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79758         read again.
79759         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79761 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79763         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79764         an exception using FPU order intentionally.
79766 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79768         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79769         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79770         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79771         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79773 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79775         [BZ #12340]
79776         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79777         EINVAL when BUFLEN is too smal.
79779 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79781         [BZ #13553]
79782         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79783         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79785 2012-04-03  Andreas Jaeger  <aj@suse.de>
79787         [BZ #13938]
79788         * manual/setjmp.texi (System V contexts): Fix sentence.
79790         [BZ #13926]
79791         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79792         New macro for this case.
79793         [!__GNUC__] (__bswap_64): New inline function for this case.
79794         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79795         * bits/byteswap.h: Likewise.
79796         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79797         ull, guard with __GLIBC_HAVE_LONG_LONG.
79799         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79800         __GLIBC_HAVE_LONG_LONG.
79802         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79803         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79805 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79807         [BZ #13691]
79808         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79809         inptr and inend, rather than using last_ch.
79811 2012-04-02  David S. Miller  <davem@davemloft.net>
79813         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79814         * stdio-common/printf-parse.h (read_int): Change return type to
79815         'int', return -1 on INT_MAX overflow.
79816         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79817         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79818         overflows INT_MAX.  Check for overflow of in-format-string precision
79819         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79820         SIZE_MAX not INT_MAX for integer overflow test.
79821         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79822         skip the construct in the format string but do not record anything.
79823         * stdio-common/bug22.c: Adjust to test both width/prevision
79824         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79825         explicitly for proper errno values.
79827 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79829         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79830         CHAR_MAX.
79831         * string/test-strcmp.c [! WIDE]: Likewise.
79832         * time/tst-mktime2.c: Likewise for INT_MAX.
79833         * string/test-string.h: #include <sys/param.h> for MIN.
79835         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79836         * sysdeps/i386/init-first.c (init): Likewise.
79837         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79838         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79839         * sysdeps/sh/init-first.c (init): Likewise.
79841 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79843         * po/ru.po: Update from translation team.
79844         * po/vi.po: Likewise.
79846 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79848         * resolv/nss_dns/dns-host.c: Merge copyright years.
79850 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79852         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79853         Optimize memcpy with prefetch if
79854         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79855         src, dst pointers have unequal 16 byte alignments.
79857 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79859         [BZ #13928]
79860         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79861         from a CNAME entry and return the minimum ttl for the query.
79862         (gaih_getanswer_slice): Likewise.
79864 2012-03-30  Jeff Law  <law@redhat.com>
79866         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79867         due to long keys.
79868         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79869         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79871         * resolv/nss_dns/dns-host.c: Update copyright year.
79873 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79875         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79876         requests to save a system call.  Fix check that all bytes are sent.
79878         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79879         comments for sendmmsg.
79881 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79883         [BZ #13691]
79884         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79885         with only 1 character between 0x0041 and 0x01b0.
79886         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79887         * wcsmbs/tst-mbsnrtowcs.c: New file.
79889 2012-03-29  David S. Miller  <davem@davemloft.net>
79891         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79892         small copies by hand.
79894 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79896         [BZ #13761]
79897         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79898         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79899         group memberships.
79901 2012-03-28  David S. Miller  <davem@davemloft.net>
79903         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79904         that branches into memcpy.
79905         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79906         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79907         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79908         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79909         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79910         bits.
79911         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79912         implementation too.
79913         * sysdeps/sparc/mempcpy.S: New file.
79915         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79916         the IFUNC routine in the libc case.
79917         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79919         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79920         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79921         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79922         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79923         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79924         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79925         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79926         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79928         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79929         loop to 256 bytes instead of 64 bytes and fix test signedness.
79931         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79932         * sysdeps/sparc/sparc32/Makefile: rather than here...
79933         * sysdeps/sparc/sparc64/Makefile: and here.
79935 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79937         * malloc/mallocbug.c: Avoid warnings about unused variables.
79939 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79941         [BZ #13760]
79942         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79943         in the right place. Discard and retry query if response is
79944         larger than input buffer size.
79946 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79948         [BZ #369]
79949         [BZ #2678]
79950         [BZ #3866]
79951         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79952         x for large integer exponent.
79953         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79954         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79955         sign of result as needed afterwards.
79956         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79957         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79958         result for underflowing pow the same as for overflow.
79959         (__kernel_standard_l): Handle powl overflow and underflow here
79960         rather than calling __kernel_standard.
79961         * math/libm-test.inc (pow_test): Add more tests.
79963         [BZ #3868]
79964         [BZ #13879]
79965         [BZ #13910]
79966         [BZ #13911]
79967         [BZ #13912]
79968         [BZ #13913]
79969         [BZ #13915]
79970         [BZ #13916]
79971         [BZ #13917]
79972         [BZ #13918]
79973         [BZ #13919]
79974         [BZ #13920]
79975         [BZ #13921]
79976         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79977         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79978         (__kernel_standard_l): New function.
79979         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79980         __kernel_standard.
79981         * math/w_acosl.c (__acosl): Likewise.
79982         * math/w_asinl.c (__asinl): Likewise.
79983         * math/w_atan2l.c (__atan2l): Likewise.
79984         * math/w_atanhl.c (__atanhl): Likewise.
79985         * math/w_coshl.c (__coshl): Likewise.
79986         * math/w_exp10l.c (__exp10l): Likewise.
79987         * math/w_exp2l.c (__exp2l): Likewise.
79988         * math/w_fmodl.c (__fmodl): Likewise.
79989         * math/w_hypotl.c (__hypotl): Likewise.
79990         * math/w_j0l.c (__j0l, __y0l): Likewise.
79991         * math/w_j1l.c (__j1l, __y1l): Likewise.
79992         * math/w_jnl.c (__jnl, __ynl): Likewise.
79993         * math/w_lgammal.c (__lgammal): Likewise.
79994         * math/w_log10l.c (__log10l): Likewise.
79995         * math/w_log2l.c (__log2l): Likewise.
79996         * math/w_logl.c (__logl): Likewise.
79997         * math/w_powl.c (__powl): Likewise.
79998         * math/w_remainderl.c (__remainderl): Likewise.
79999         * math/w_scalbl.c (sysv_scalbl): Likewise.
80000         * math/w_sinhl.c (__sinhl): Likewise.
80001         * math/w_sqrtl.c (__sqrtl): Likewise.
80002         * math/w_tgammal.c (__tgammal): Likewise.
80003         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
80004         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
80005         * math/libm-test.inc (acos_test): Add more tests.
80006         (acosh_test): Likewise.
80007         (asin_test): Likewise.
80008         (atanh_test): Likewise.
80009         (exp_test): Likewise.
80010         (exp10_test): Likewise.
80011         (exp2_test): Likewise.
80012         (expm1_test): Likewise.
80013         (lgamma_test): Likewise.
80014         (log_test): Likewise.
80015         (log10_test): Likewise.
80016         (log1p_test): Likewise.
80017         (log2_test): Likewise.
80018         (pow_test): Do not allow some spurious overflow exceptions.
80019         (sqrt_test): Add more tests.
80020         (tgamma_test): Likewise.
80021         (y0_test): Likewise.
80022         (y1_test): Likewise.
80023         (yn_test): Likewise.
80025 2012-03-27  Anton Blanchard  <anton@samba.org>
80027         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
80028         MAP_HUGETLB.
80029         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80030         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80031         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80033 2012-03-27  David S. Miller  <davem@davemloft.net>
80035         * conform/Makefile: Run run-conformtest.sh using $(BASH).
80037         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
80038         have-as-vis3 check.
80040 2012-03-27  Andreas Jaeger  <aj@suse.de>
80042         * sysdeps/x86_64/elf/configure.in: Moved to ...
80043         * sysdeps/x86_64/configure.in: ... here.
80044         * sysdeps/x86_64/elf/start.S: Moved to ...
80045         * sysdeps/x86_64/start.S: ... here.
80046         * sysdeps/x86_64/elf/configure: Delete.
80048         * sysdeps/x86_64/configure.in: Merge contents from
80049         sysdeps/i386/configure.in (without i686 check).
80051         * sysdeps/i386/elf/Versions: Merge into ...
80052         * sysdeps/i386/Versions: ... this.
80053         * sysdeps/i386/elf/Versions: Delete file.
80054         * sysdeps/i386/elf/start.S: Moved to ...
80055         * sysdeps/i386/start.S: ...here.
80056         * sysdeps/i386/elf/configure.in: Merge into...
80057         * sysdeps/i386/configure.in: ...here.
80058         * sysdeps/i386/elf/configure.in: Delete file.
80059         * sysdeps/i386/elf/configure: Delete file.
80061         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
80062         * debug/backtracesyms.c: ... here.
80063         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
80064         * debug/backtracesymsfd.c: ... here.
80065         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
80066         * sysdeps/generic/ifunc-sel.h: ... here.
80068         * sysdeps/unix/i386/start.c: Delete file.
80069         * sysdeps/unix/sparc/start.c: Delete file.
80070         * sysdeps/unix/start.c: Delete file.
80072         * sysdeps/sh/elf/configure.in: Moved to ...
80073         * sysdeps/sh/configure.in: ... here.
80074         * sysdeps/sh/elf/start.S: Moved to ...
80075         * sysdeps/sh/start.S: ... here.
80076         * sysdeps/sh/elf/configure: Delete file.
80078         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
80079         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
80080         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
80081         * sysdeps/powerpc/powerpc64/entry.h: ... here.
80082         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
80083         * sysdeps/powerpc/powerpc64/start.S: here.
80084         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
80085         * sysdeps/powerpc/powerpc64/Makefile: ... this.
80086         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
80087         * sysdeps/powerpc/powerpc64/configure.in: ... this.
80088         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
80090         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
80091         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
80092         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
80093         * sysdeps/powerpc/powerpc32/start.S: ... here.
80094         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
80095         * sysdeps/powerpc/powerpc32/configure.in: ... this.
80096         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
80098         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
80099         * sysdeps/powerpc/ifunc-sel.h: ... here.
80100         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
80101         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
80103         * sysdeps/sparc/elf/configure.in: Moved to ...
80104         * sysdeps/sparc/configure.in: ... here.
80105         * sysdeps/sparc/elf/configure: Delete file.
80106         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
80107         * sysdeps/sparc/sparc32/start.S: ... here.
80108         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
80109         * sysdeps/sparc/sparc64/start.S: ... here.
80110         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
80111         * sysdeps/sparc/sparc32/Makefile: ... this.
80112         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
80113         * sysdeps/sparc/sparc64/Makefile: ... this.
80115         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
80116         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
80117         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
80118         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
80119         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
80120         * sysdeps/s390/s390-32/setjmp.S: ... here.
80121         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
80122         * sysdeps/s390/s390-32/configure.in: ... here.
80123         * sysdeps/s390/s390-32/elf/configure: Delete file.
80124         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
80125         * sysdeps/s390/s390-32/start.S: ... here.
80127         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
80128         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
80129         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
80130         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
80131         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
80132         * sysdeps/s390/s390-64/setjmp.S: ... here.
80133         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
80134         * sysdeps/s390/s390-64/configure.in: ... here
80135         * sysdeps/s390/s390-64/elf/configure: Delete file.
80136         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
80137         * sysdeps/s390/s390-64/start.S: ... here.
80138         * sysdeps/s390/s390-64/elf/configure: Delete.
80140         * configure.in: Remove support for elf directories in sysdeps.
80142         * configure: Regenerated.
80143         * sysdeps/i386/configure: Regenerated.
80144         * sysdeps/powerpc/powerpc32/configure: Regenerated.
80145         * sysdeps/powerpc/powerpc64/configure: Regenerated.
80146         * sysdeps/s390/s390-32/configure: Regenerated.
80147         * sysdeps/s390/s390-64/configure: Regenerated.
80148         * sysdeps/sh/configure: Regenerated.
80149         * sysdeps/sparc/configure: Regenerated.
80150         * sysdeps/x86_64/configure: Regenerated.
80152 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
80154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
80157         denormal result into account.
80159 2012-03-25  Roland McGrath  <roland@hack.frob.com>
80161         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
80162         Reported by Allan McRae <allan@archlinux.org>.
80164 2012-03-23  Jeff Law  <law@redhat.com>
80166         * nss/getnssent.c (__nss_getent): Fix typo.
80168 2012-03-23  David S. Miller  <davem@davemloft.net>
80170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80172 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
80174         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
80175         to pad to uint64_t for each field.
80176         (dl_tls_index): Replace unsigned long with uint64_t.
80178 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
80179         Paul Pluzhnikov  <ppluzhnikov@google.com>
80181         [BZ #6528]
80182         * grp/Makefile (otherlibs): Don't set it.
80183         * inet/Makefile (otherlibs): Likewise.
80184         * login/Makefile (otherlibs): Likewise.
80185         * nscd/Makefile (otherlibs): Likewise.
80186         * posix/Makefile (otherlibs): Likewise.
80187         * pwd/Makefile (otherlibs): Likewise.
80188         * rt/Makefile (otherlibs): Likewise.
80189         * sunrpc/Makefile (otherlibs): Likewise.
80190         * nss/Makefile (otherlibs): Likewise.
80191         Add libnss_files to routines and static-only-routines.
80192         ($(objpfx)getent): Remove rule.
80193         * resolv/Makefile: Add libnss_dns and libresolv to routines and
80194         static-only-routines.
80196 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80198         [BZ #13892]
80199         * math/s_cexp.c: Include <float.h>.
80200         (__cexp): Handle exp result overflowing not necessarily
80201         overflowing both real and imaginary parts of result.
80202         * math/s_cexpf.c: Likewise.
80203         * math/s_cexpl.c: Likewise.
80204         * math/libm-test.inc (cexp_test): Add more tests.
80205         * sysdeps/i386/fpu/libm-test-ulps: Update.
80206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80208 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80210         * include/link.h (ELFW): New macro.
80211         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
80212         Replace ELF64_R_TYPE with ELFW(R_TYPE).
80214 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80216         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
80217         with uint64_t.
80219 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80221         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
80222         declaration.
80223         (struct La_x32_retval): Likewise.
80225 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80227         * sysdeps/x86_64/preconfigure.in: New file.
80228         * sysdeps/x86_64/preconfigure: New generated file.
80230 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80232         [BZ #13824]
80233         * math/e_exp2l.c: Include <float.h>.
80234         (__ieee754_exp2l): Handle overflow and underflow cases
80235         separately.  Only pass fractional part of argument to
80236         __ieee754_expl.
80237         * math/libm-test.inc (exp2_test): Add more tests.
80239         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
80240         negating x to take absolute value.
80241         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
80242         Likewise.
80243         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
80244         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
80245         Likewise.
80246         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
80247         computing low part if x was negated.
80248         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
80250 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80252         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
80253         la_x32_gnu_pltexit.
80254         (pltexit): Cast int_retval to ptrdiff_t.
80255         * elf/tst-auditmod3b.c: Likewise.
80256         * elf/tst-auditmod4b.c: Likewise.
80257         * elf/tst-auditmod5b.c: Likewise.
80258         * elf/tst-auditmod6b.c: Likewise.
80259         * elf/tst-auditmod6c.c: Likewise.
80260         * elf/tst-auditmod7b.c: Likewise.
80262         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
80263         and x32_gnu_pltexit.
80265         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
80266         __ELF_NATIVE_CLASS.
80267         (La_x32_regs): New macro.
80268         (La_x32_retval): Likewise.
80269         (la_x32_gnu_pltenter): New function prototype.
80270         (la_x32_gnu_pltexit): Likewise.
80272 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
80274         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
80275         exponent.
80277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80279         * configure.in (libc_cv_cc_nofma): Check for option to disable
80280         generation of FMA instructions.
80281         * configure: Regenerate.
80282         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
80283         * sysdeps/ieee754/dbl-64/Makefile: New file.
80284         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
80285         Remove brandred-fma4.
80286         (CFLAGS-brandred-fma4.c): Remove.
80287         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
80288         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
80289         define.
80290         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
80291         define.
80293 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80295         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80296         LLONG_MAX != LONG_MAX.
80297         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80298         (_fitoa_word): Likewise.
80299         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
80300         LLONG_MAX != LONG_MAX.
80301         * stdio-common/_itowa.h: Include <_itoa.h>.
80302         (_itowa_word): Use _ITOA_WORD_TYPE on value.
80303         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
80304         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
80305         only if not defined.
80306         (_ITOA_WORD_TYPE): Likewise.
80307         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80308         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
80310 2012-03-21  David S. Miller  <davem@davemloft.net>
80312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80314 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80316         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
80317         of x86_64 when setting libc_cv_slibdir, libdir and
80318         libc_cv_localedir.
80319         * sysdeps/unix/sysv/linux/configure: Regenerated.
80321 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80323         * manual/lang.texi (Old Varargs): Remove section.
80324         (How Variadic): Update menu.
80325         (va_start): Do not mention varargs.h.
80327 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80328             Joseph Myers  <joseph@codesourcery.com>
80330         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
80331         link test.
80332         * configure: Regenerated.
80334 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80336         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
80337         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
80338         conformtest.pl
80340 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80342         * NOTES: Remove.
80343         * Makefile (files-for-dist): Remove NOTES.
80344         (NOTES): Remove rule.
80345         * README: Don't refer to NOTES.
80346         * manual/creature.texi: Don't include macros.texi.
80347         * manual/intro.texi (creature.texi): Remove comment referring to
80348         NOTES.
80350         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
80351         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
80352         * configure: Regenerated.
80353         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
80354         LIBC_TRY_CC_OPTION.
80355         (libc_cv_as_i686): Likewise.
80356         (libc_cv_cc_avx): Likewise.
80357         (libc_cv_cc_sse2avx): Likewise.
80358         (libc_cv_cc_fma4): Likewise.
80359         (libc_cv_cc_novzeroupper): Likewise.
80360         * sysdeps/i386/configure: Regenerated.
80362         [BZ #13883]
80363         * sysdeps/i386/fpu/s_cexp.S: Remove.
80364         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80365         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80366         * math/libm-test.inc (cexp_test): Add more tests.
80367         * sysdeps/i386/fpu/libm-test-ulps: Update.
80368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80370 2012-03-21  Allan McRae  <allan@archlinux.org>
80372         * timezone/Makefile: Do not install iso3166.tab and zone.tab
80374 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80376         [BZ #13871]
80377         * math/w_exp2.c: Do not include <float.h>.
80378         (o_threshold, u_threshold): Remove.
80379         (__exp2): Calculate result before checking finiteness and calling
80380         __kernel_standard.
80381         * math/w_exp2f.c: Likewise.
80382         * math/w_exp2l.c: Likewise.
80383         * math/libm-test.inc (exp2_test): Require overflow exception for
80384         1e6 input.
80386         [BZ #3866]
80387         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
80388         range of signed 64-bit integers before using fistpll.  Remove
80389         checks for whether integers fit in mantissa bits.
80390         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
80391         the range of signed 32-bit integers before using fistpl.  Remove
80392         checks for whether integers fit in mantissa bits.
80393         * sysdeps/i386/fpu/e_powl.S (p64): New object.
80394         (__ieee754_powl): Test for y outside the range of signed 64-bit
80395         integers before using fistpll.  Reduce 64-bit values to 63-bit
80396         ones as needed.
80397         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
80398         divide-by-zero is raised for zero to large negative powers.
80399         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
80400         (__ieee754_powl): Test for y outside the range of signed 64-bit
80401         integers before using fistpll.  Reduce 64-bit values to 63-bit
80402         ones as needed.
80403         * math/libm-test.inc (pow_test): Add more tests.
80405 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80407         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
80408         <stdio-common/_itoa.h>.
80409         * debug/segfault.c: Likewise.
80410         * elf/dl-cache.c: Likewise.
80411         * elf/dl-minimal.c: Likewise.
80412         * elf/dl-misc.c: Likewise.
80413         * elf/dl-sysdep.c: Likewise.
80414         * elf/dl-version.c: Likewise.
80415         * elf/rtld.c: Likewise.
80416         * hurd/hurdsock.c: Likewise.
80417         * hurd/lookup-retry.c: Likewise.
80418         * malloc/malloc.c: Likewise.
80419         * malloc/mtrace.c: Likewise.
80420         * nscd/nscd_getgr_r.c: Likewise.
80421         * nscd/nscd_getpw_r.c: Likewise.
80422         * nscd/nscd_getserv_r.c: Likewise.
80423         * posix/getopt_init.c: Likewise.
80424         * posix/wordexp.c: Likewise.
80425         * stdio-common/_itoa.c: Likewise.
80426         * stdio-common/printf_fphex.c: Likewise.
80427         * stdio-common/vfprintf.c: Likewise.
80428         * string/_strerror.c: Likewise.
80429         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
80430         * sysdeps/i386/i686/hp-timing.h: Likewise.
80431         * sysdeps/mach/_strerror.c: Likewise.
80432         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
80433         * sysdeps/mach/hurd/sethostid.c: Likewise.
80434         * sysdeps/mach/hurd/xmknodat.c: Likewise.
80435         * sysdeps/mach/xpg-strerror.c: Likewise.
80436         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
80437         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
80438         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
80439         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
80440         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
80441         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
80442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
80443         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
80444         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
80445         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
80446         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
80447         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
80448         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
80449         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
80450         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
80451         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
80452         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
80453         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
80454         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
80455         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
80456         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
80458         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
80460         * stdio-common/_itoa.h: Moved to ...
80461         * sysdeps/generic/_itoa.h: Here.
80463         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
80465         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
80466         instead of "_itoa.h" and "_itowa.h".
80467         * stdio-common/vfprintf.: Likewise.
80469 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80471         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
80472         <bits/wordsize.h>.
80473         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
80474         (__signbit): Likewise.
80475         (llrintf): Likewise.
80476         (llrint): Likewise.
80478 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80480         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
80481         __WORDSIZE != 64.
80483 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
80485         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
80486         OVERFLOW_EXCEPTION_OK.
80487         * math/libm-test.inc ("Philosophy"): Update comment about
80488         exception testing.
80489         (OVERFLOW_EXCEPTION): Define.
80490         (OVERFLOW_EXCEPTION_OK): Likewise.
80491         (INVALID_EXCEPTION_OK): Renumber.
80492         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80493         (IGNORE_ZERO_INF_SIGN): Likewise.
80494         (test_exceptions): Handle FE_OVERFLOW.
80495         (exp10_test): Expect overflow exceptions.
80496         (exp2_test): Likewise.
80497         (expm1_test): Likewise.
80498         (nextafter_test): Likewise.
80499         (pow_test): Likewise.
80500         (scalbn_test): Likewise.
80501         (scalbln_test): Likewise.
80503 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80505         * sysdeps/x86_64/bits/atomic.h
80506         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
80507         64bit integer.
80508         (atomic_exchange_acq): Likewise.
80509         (__arch_exchange_and_add_body): Likewise.
80510         (__arch_add_body): Likewise.
80511         (atomic_add_negative): Likewise.
80512         (atomic_add_zero): Likewise.
80514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80516         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
80517         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
80519 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80521         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
80522         Check __x86_64__ instead of __WORDSIZE.
80524 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80526         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
80528 2012-03-19  David S. Miller  <davem@davemloft.net>
80530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80532         * sysdeps/sparc/fpu/fenv_private.h: New file.
80533         * sysdeps/sparc/fpu/math_private.h: Use it.
80534         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
80535         Remove.
80536         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
80537         (libc_feholdexcept_setroundl): Remove.
80538         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
80539         Remove.
80540         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
80541         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
80543 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80545         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
80546         int64_t instead of long int.
80547         (INSERT_WORDS64): Likewise.
80549 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80551         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
80552         _Unwind_GetCFA return to _Unwind_Ptr first.
80554 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
80556         [BZ #13629]
80557         * math/s_clog.c: Include <float.h>.
80558         (__clog): Scale large or subnormal inputs.
80559         * math/s_clogf.c: Likewise.
80560         * math/s_clogl.c: Likewise.
80561         * math/s_clog10.c: Include <float.h>.
80562         (M_LOG10_2): Define.
80563         (__clog10): Scale large or subnormal inputs.
80564         * math/s_clog10f.c: Likewise.
80565         * math/s_clog10l.c: Likewise.
80566         * math/libm-test.inc (clog_test): Add more tests.
80567         (clog10_test): Likewise.
80568         * sysdeps/i386/fpu/libm-test-ulps: Update.
80569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80571         [BZ #11451]
80572         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
80573         x and y.
80574         * math/libm-test.inc (atan2_test): Add another test.
80576         * Makerules (common-objdir-compile): Remove.
80577         * sysdeps/unix/Makefile (config-generated): Do not add
80578         $(unix-generated) to variable.
80579         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
80580         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
80581         Remove rule.
80582         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
80583         Likewise.
80584         [generic bits/local_lim.h] (before-compile): Do not append to
80585         variable.
80586         [generic bits/local_lim.h] (common-generated): Likewise.
80587         [generic sys/param.h] (before-compile): Do not append to variable.
80588         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
80589         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
80590         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
80591         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
80592         include.
80593         [generic sys/param.h] (sys/param.h-includes): Remove variable.
80594         [generic sys/param.h] (sys/param.h-includes): Remove rule.
80595         [generic sys/param.h] ($(addprefix
80596         $(common-objpfx),$(sys/param.h-includes))): Likewise.
80597         [generic sys/param.h] (common-generated): Do not append to
80598         variable.
80599         [generic sys/param.h] (sysdep_headers): Likewise.
80600         [generic bits/errno.h] (before-compile): Do not append to
80601         variable.
80602         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
80603         rule.
80604         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80605         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80606         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80607         [generic bits/errno.h] (common-generated): Do not append to
80608         variable.
80609         [generic bits/ioctls.h] (before-compile): Do not append to
80610         variable.
80611         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80612         rule.
80613         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80614         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80615         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80616         rule.
80617         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80618         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80619         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80620         [generic bits/ioctls.h] (common-generated): Do not append to
80621         variable.
80622         [generic sys/syscall.h] (syscall.h): Remove variable.
80623         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80624         rule.
80625         [generic sys/syscall.h] (before-compile): Do not append to
80626         variable.
80627         [generic sys/syscall.h] (common-generated): Likewise.
80628         * sysdeps/unix/errnos-tmpl.c: Remove file.
80629         * sysdeps/unix/errnos.awk: Likewise.
80630         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80631         * sysdeps/unix/ioctls.awk: Likewise.
80632         * sysdeps/unix/mk-local_lim.c: Likewise.
80633         * sysdeps/unix/snarf-ioctls: Likewise.
80635 2012-03-19  Richard Henderson  <rth@twiddle.net>
80637         * sysdeps/i386/fpu/fenv_private.h: New file.
80638         * sysdeps/i386/fpu/math_private.h: Use it.
80639         (math_opt_barrier, math_force_eval): Remove.
80640         (libc_feholdexcept_setround_53bit): Remove.
80641         (libc_feupdateenv_53bit): Remove.
80642         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80643         (math_opt_barrier, math_force_eval): Remove.
80644         (libc_feholdexcept): Remove.
80645         (libc_feholdexcept_setround): Remove.
80646         (libc_fetestexcept, libc_fesetenv): Remove.
80647         (libc_feupdateenv_test): Remove.
80648         (libc_feupdateenv, libc_feholdsetround): Remove.
80649         (libc_feresetround): Remove.
80651         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80652         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80654         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80655         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80656         (libc_feupdateenv_testl): New.
80657         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80658         (libc_feupdateenv_testf): New.
80659         (libc_feupdateenv): Use libc_feupdateenv_test.
80660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80661         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80663         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80664         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80665         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80666         (libc_feresetround_noex): New.
80667         (libc_feresetround_noexf): New.
80668         (libc_feresetround_noexl): New.
80669         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80670         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80671         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80672         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80673         SET_RESTORE_ROUND.
80674         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80675         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80676         (__cos): Likewise.
80677         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80678         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80679         SET_RESTORE_ROUND_NOEX.
80680         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80681         SET_RESTORE_ROUND_NOEXF.
80682         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80683         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80684         (libc_feholdsetroundf): New.
80685         (libc_feresetround, libc_feresetroundf): New.
80687         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80688         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80689         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80691         * sysdeps/generic/math_private.h: Include <fenv.h>.
80692         (default_libc_feholdexcept): New.
80693         (default_libc_feholdexcept_setround): New.
80694         (default_libc_fesetenv, default_libc_feupdateenv): New.
80695         (libc_feholdexcept): Only define if undefined.
80696         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80697         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80698         (libc_feholdexcept_setroundl): Likewise.
80699         (libc_feholdexcept_setround_53bit): Likewise.
80700         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80701         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80702         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80703         (libc_feupdateenv_53bit): Likewise.
80704         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80705         (libc_feholdexcept): Convert from macro to inline function.
80706         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80707         (libc_fesetenv, libc_feupdateenv): Likewise.
80709         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80710         not previously defined.
80711         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80712         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80713         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80714         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80715         * sysdeps/ieee754/flt-32/math_private.h: New file.
80716         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80717         math_private.h below SET_FLOAT_WORD.
80718         (__isnan, __isinf_ns, __finite): Remove.
80719         (__isnanf, __isinf_nsf, __finitef): Remove.
80721 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80725 2012-03-17  David S. Miller  <davem@davemloft.net>
80727         [BZ #6471]
80728         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80729         for 2.16.
80731 2012-03-16  David S. Miller  <davem@davemloft.net>
80733         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80734         warnings.
80736         [BZ #6471]
80737         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80738         properly.
80739         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80740         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80741         sysdep_routines when subdir is sysvipc.
80742         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80743         __getshmlba helper.
80745         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80747 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80749         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80750         [__LP64__].
80752 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80754         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80755         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80756         (__lround): Renamed to ...
80757         (__llround): This.  Replace long int with long long int.
80758         Define lround functions as aliases of llround functions.
80759         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80761 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80763         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80764         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80765         adresses to uintptr_t.  Replace "long int" and "unsigned long
80766         int" with "greg_t" on va_arg.
80768 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80770         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80771         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80773         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80774         Move e_machine check before EI_CLASS check.  Handle x32
80775         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80776         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80777         SKIP_EM_IA_64 and include
80778         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80780         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80781         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80782         (add_system_dir): New macro.
80784         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80785         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80787 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80789         [BZ #2551]
80790         [BZ #2552]
80791         [BZ #2553]
80792         [BZ #2554]
80793         [BZ #2562]
80794         [BZ #2563]
80795         [BZ #2565]
80796         [BZ #2566]
80797         [BZ #2576]
80798         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80799         (y0): Likewise.
80800         * math/w_j0f.c (j0f): Likewise.
80801         (y0f): Likewise.
80802         * math/w_j0l.c (__j0l): Likewise.
80803         (__y0l): Likewise.
80804         * math/w_j1.c (j1): Likewise.
80805         (y1): Likewise.
80806         * math/w_j1f.c (j1f): Likewise.
80807         (y1f): Likewise.
80808         * math/w_j1l.c (__j1l): Likewise.
80809         (__y1l): Likewise.
80810         * math/w_jn.c (jn): Likewise.
80811         (yn): Likewise.
80812         * math/w_jnf.c (jnf): Likewise.
80813         (ynf): Likewise.
80814         * math/w_jnl.c (__jnl): Likewise.
80815         (__ynl): Likewise.
80816         * math/libm-test.inc (j0_test): Add more tests.
80817         (j1_test): Likewise.
80818         (jn_test): Likewise.  Add trailing semicolon to existing test.
80819         (y0_test): Likewise.
80820         (y1_test): Likewise.
80821         * sysdeps/i386/fpu/libm-test-ulps: Update.
80822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80824         [BZ #13851]
80825         [BZ #13854]
80826         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80827         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80828         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80829         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80830         (__tanl): Set errno for infinite argument.
80831         * sysdeps/i386/fpu/mptan.c: Remove.
80832         * sysdeps/i386/fpu/s_tan.S: Likewise.
80833         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80834         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80835         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80836         * math/libm-test.inc (tan_test): Add more tests and enable more
80837         tests for double and long double.
80838         * sysdeps/i386/fpu/libm-test-ulps: Update.
80839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80841 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80843         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80844         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80846 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80848         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80849         * configure.in: Use it for both main tree and add-ons.
80850         * configure: Regenerated.
80852 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80854         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80856 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80858         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80859         in comment.
80861         [BZ #13851]
80862         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80863         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80864         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80865         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80866         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80867         infinite argument.
80868         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80869         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80870         != 0 for prec == 2.
80871         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80872         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80873         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80874         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80875         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80876         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80877         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80878         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80879         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80880         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80881         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80882         * math/libm-test.inc (cos_test): Add more tests and enable more
80883         tests for long double.
80884         (sin_test): Likewise.
80885         (sincos_test): Likewise.
80886         * sysdeps/i386/fpu/libm-test-ulps: Update.
80887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80889 2012-03-16  David S. Miller  <davem@davemloft.net>
80891         * sysdeps/sparc/fpu/math_private.h: New file.
80893 2012-03-15  David S. Miller  <davem@davemloft.net>
80895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80896         file.
80897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80899         file.
80900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80905         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80906         sysdep routines.
80907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80909         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80910         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80912         * sysdeps/sparc/sparc-ifunc.h: New file.
80913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80914         sparc-ifunc.h
80915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80917         Likewise.
80918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80919         Likewise.
80920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80924         Likewise.
80925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80930         Likewise.
80931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80932         Likewise.
80933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80939         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80940         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80951         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80952         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80953         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80954         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80955         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80956         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80958 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80960         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80961         scaling.
80962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80964 2012-03-15  Andreas Jaeger  <aj@suse.de>
80966         [BZ #13852]
80967         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80968         ieee754/flt-32 implementation for sin, cos and sincos.
80969         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80970         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80971         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80972         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80973         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80974         ieee754/flt-32 implementation for tan.
80976         * math/libm-test.inc (cos_test): Enable some large input tests for
80977         float as well
80978         (sin_test): Likewise.
80979         (sincos_test): Likewise.
80980         (tan_test): Add tests for large input.
80982         * sysdeps/i386/fpu/libm-test-ulps: Update.
80984 2012-03-15  Andreas Jaeger  <aj@suse.de>
80986         [BZ #13658]
80987         * math/libm-test.inc (cos_test): Add more test cases.
80988         (sin_test): Likewise.
80989         (sincos_test): Likewise.
80991 2012-03-15  Andreas Jaeger  <aj@suse.de>
80993         [BZ #13837]
80994         * math/libm-test.inc (cos_test): Add a test case for large input
80995         value.
80996         (sin_test): Likewise.
80997         (sincos_test): Likewise.
80999 2012-03-15  Andreas Jaeger  <aj@suse.de>
81000             Joseph Myers  <joseph@codesourcery.com>
81002         [BZ #13658]
81003         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
81004         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
81005         * sysdeps/i386/fpu/branred.c: Likewise.
81006         * sysdeps/i386/fpu/dosincos.c: Likewise.
81007         * sysdeps/i386/fpu/mpa.c: Likewise.
81008         * sysdeps/i386/fpu/s_cos.S: Likewise.
81009         * sysdeps/i386/fpu/s_sin.S: Likewise.
81010         * sysdeps/i386/fpu/s_sincos.S: Likewise.
81011         * sysdeps/i386/fpu/sincos32.c: Likewise.
81013         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
81014         Define.
81015         (libc_feupdateenv_53bit): Define.
81016         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
81017         Define.
81018         (libc_feupdateenv_53bit): Define.
81020         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
81021         53 bit (without extend i386 double precision).
81023         * math/libm-test.inc (sincos_test): Add tests for large input.
81024         (sin): Likewise.
81025         (cos): Likewise.
81027         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
81029 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81033 2012-03-15  David S. Miller  <davem@davemloft.net>
81035         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
81036         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
81037         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
81038         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
81039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
81040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
81041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
81042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
81043         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
81044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
81045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
81046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
81047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
81048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
81049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
81050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
81051         file.
81052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
81053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
81054         file.
81055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
81056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
81057         file.
81058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
81059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
81060         file.
81061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
81062         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
81063         fmin/fmax sysdep routines.
81064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
81066 2012-03-14  David S. Miller  <davem@davemloft.net>
81068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
81069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
81070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
81071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
81072         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
81073         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
81074         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
81075         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
81076         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
81077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
81078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
81079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
81080         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
81081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
81082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
81083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
81084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
81085         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
81086         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
81087         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
81088         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
81089         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
81090         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
81091         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
81092         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
81093         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
81094         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
81095         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
81096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
81097         routines.
81098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
81099         file.
81100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
81101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
81102         file.
81103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
81104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
81105         file.
81106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
81107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
81108         file.
81109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
81110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
81111         file.
81112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
81113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
81114         file.
81115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
81116         file.
81117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
81118         file.
81119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
81120         file.
81121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
81122         New file.
81123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
81124         file.
81125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
81126         file.
81127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
81128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
81129         file.
81130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
81131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
81132         file.
81133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
81134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
81135         file.
81136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
81137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
81138         VIS3 routines.
81140         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
81141         New file.
81143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81145         * sysdeps/sparc/configure.in: New file.
81146         * sysdeps/sparc/configure: Generate.
81147         * configure.in (libc_cv_sparc_as_vis3): Substitute.
81148         * configure: Regenerate.
81149         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
81150         * config.make.in (have-as-vis3): New.
81151         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
81152         available use -Av9d instead of -Av9a.
81153         * sysdeps/sparc/sparc64/Makefile: Likewise.
81154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
81155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
81156         New file.
81157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
81158         file.
81159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
81160         New file.
81161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
81162         file.
81163         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
81164         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
81165         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
81166         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
81167         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
81169         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
81170         fzeros/fnegs to load 0x80000000 into a float register instead of
81171         using the stack.
81172         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
81174 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81177         bits/syscall.h.
81178         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
81179         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
81180         ($(inst_includedir)/bits/syscall.h): Remove rule.
81181         ($(objpfx)bits/syscall.d): Include instead of
81182         $(objpfx)syscall-list.d.
81183         (generated): Change syscall-list.h and syscall-list.d to
81184         bits/syscall.h and bits/syscall.d.
81186 2012-03-14  Roland McGrath  <roland@hack.frob.com>
81188         [BZ #13846]
81189         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
81191 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81193         [BZ #13841]
81194         * math/s_csqrt.c: Include <float.h>.
81195         (__csqrt): Scale large or subnormal inputs.
81196         * math/s_csqrtf.c: Likewise.
81197         * math/s_csqrtl.c: Likewise.
81198         * math/libm-test.inc (csqrt_test): Add more tests.
81199         * sysdeps/i386/fpu/libm-test-ulps: Update.
81200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81202         [BZ #13840]
81203         * math/libm-test.inc (hypot_test): Add more tests.
81205 2012-03-13  David S. Miller  <davem@davemloft.net>
81207         [BZ #13840]
81208         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
81209         double-precision for the calculation instead of scaling.
81211 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
81213         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
81214         manipulate bits before adding and subtracting TWO52[sx].
81215         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
81216         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
81217         Likewise.
81218         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
81220 2012-03-13  David S. Miller  <davem@davemloft.net>
81222         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
81223         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
81224         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
81225         rtld-global-offsets.h
81226         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81228         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
81229         large parameters.
81231         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
81233         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
81234         'err' in the ifdef scope in which it is actually used.
81236         * nss/nss_db/db-init.c: Include string.h
81238 2012-03-12  David S. Miller  <davem@davemloft.net>
81240         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81241         masking out of the most significant byte of random value used.
81242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81243         Fix coding style in previous change.
81245         * sysdeps/unix/sysv/linux/kernel-features.h
81246         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
81247         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
81248         expression.
81249         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
81250         later.
81252 2012-03-11  David S. Miller  <davem@davemloft.net>
81254         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
81255         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
81256         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
81257         for 'resultvar' otherwise things get truncated on 64-bit.
81259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81260         Fix masking out of the most significant byte of random value used.
81262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81264 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
81266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81268 2012-03-09  David S. Miller  <davem@davemloft.net>
81270         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
81271         variables with appropriate CPP guards.
81272         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
81273         from the frame pointer, not the stack pointer.  Correct layout
81274         comments.  Fix test on resulting framesize and the management of
81275         the outregs buffer for pltexit.  Preserve floating point return
81276         values across _dl_call_pltexit call.
81277         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
81278         framesize and the management of the outregs buffer for pltexit.
81279         Preserve floating point return values across _dl_call_pltexit
81280         call.
81281         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
81282         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
81283         (la_sparc64_gnu_pltexit): New functions.
81284         (print_exit): Fix format string for return register value.
81286 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
81288         * sunrpc/Makefile (others): Add rpcgen.
81289         ($(objpfx)rpcgen): Remove special build rule and dependency on
81290         libc.
81291         * sunrpc/rpcgen.c: New file.
81293 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
81295         [BZ #13673]
81296         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
81297         * stdio-common/bug-vfprintf-nargs.c: Likewise.
81298         * sysdeps/i386/crti.S: Likewise.
81299         * sysdeps/i386/crtn.S: Likewise.
81300         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
81301         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
81302         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
81303         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
81304         * sysdeps/sh/crti.S: Likewise.
81305         * sysdeps/sh/crtn.S: Likewise.
81306         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
81308         [BZ #13673]
81309         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
81310         with URL.
81311         * locale/programs/locfile-kw.gperf: Likewise.
81312         * locale/programs/charmap-kw.h: Regenerated.
81313         * locale/programs/locfile-kw.h: Likewise.
81315         [BZ #13673]
81316         * intl/plural.y: Replace FSF snail mail address with URL.
81317         * intl/plural.c: Regenerated.
81319 2012-03-09  Richard Henderson  <rth@twiddle.net>
81321         * include/math_private.h: Remove file.
81322         * math/math_private.h: Move file ...
81323         * sysdeps/generic/math_private.h: ... here.
81325         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
81326         * sysdeps/powerpc/fpu/math_private.h: Likewise.
81327         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81329         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
81330         and <math_private.h>.
81331         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81332         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81333         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81334         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81335         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81336         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
81337         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81338         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81339         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81340         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81341         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81342         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81343         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81344         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81345         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81346         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81347         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81348         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81349         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81350         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81351         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81352         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81353         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81355         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
81356         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81357         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81358         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81360         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81361         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81362         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81363         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
81364         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81365         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81366         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81367         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81368         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81369         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81370         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81371         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
81372         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81373         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81374         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
81375         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
81376         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81377         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
81378         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
81379         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81380         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81381         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
81382         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
81383         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
81384         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81385         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
81386         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81387         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81388         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
81389         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
81390         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
81391         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81392         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
81393         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81394         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81395         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
81396         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81397         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81398         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81399         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
81400         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
81401         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
81402         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81403         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
81404         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81405         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
81406         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
81407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
81408         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81409         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
81410         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
81411         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
81412         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
81413         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
81414         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81415         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
81417         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
81418         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
81419         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81420         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81421         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81422         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81423         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81424         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81425         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81426         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81427         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81428         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81429         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81430         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81431         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81432         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81433         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81434         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81435         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81436         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81437         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81438         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81439         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81440         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81441         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81442         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81443         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81444         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81445         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
81446         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81447         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81448         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81449         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81450         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81451         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81452         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81453         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81454         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
81455         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81456         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81457         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81458         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
81459         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81460         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
81461         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
81462         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81463         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81464         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
81465         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
81466         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81467         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81468         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81469         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
81470         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81471         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81472         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81473         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81474         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
81475         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
81476         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81477         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81478         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81479         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
81480         * sysdeps/ieee754/k_standard.c: Likewise.
81481         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81482         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81483         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81484         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81485         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81486         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81487         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81488         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81489         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81490         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81491         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81492         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81493         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81494         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81495         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81496         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81497         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
81498         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81499         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81500         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
81501         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
81502         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
81503         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81504         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81505         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
81506         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
81507         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81508         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81509         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81510         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81511         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
81512         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81513         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81514         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81515         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
81516         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81517         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81518         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
81519         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
81520         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81521         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
81522         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
81523         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
81524         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81525         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
81526         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
81527         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81528         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81529         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81530         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81531         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81532         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
81533         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81534         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
81535         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81536         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81537         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
81538         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
81539         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81540         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81541         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81542         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
81543         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81544         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81545         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81546         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81547         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81548         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81549         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81550         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81551         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81552         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81553         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81554         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81555         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81556         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81557         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
81558         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81559         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81560         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
81561         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
81562         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
81563         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81564         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81565         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
81566         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81567         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81568         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
81569         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
81570         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81571         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
81572         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81573         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
81574         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
81575         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81576         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81577         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
81578         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
81579         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
81580         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
81581         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81582         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81583         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81584         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81585         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
81586         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81587         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81588         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
81589         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
81590         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81591         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81592         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81593         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81594         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81595         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81596         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81597         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81598         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81599         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81600         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81601         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81602         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81603         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81604         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81605         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81606         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81607         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81608         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81609         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81610         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81611         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81612         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81613         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81614         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81615         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81616         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81617         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81618         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81619         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81620         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81621         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81622         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81623         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81624         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81625         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81626         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81627         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81628         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81629         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81630         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81631         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81632         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81633         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81634         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81635         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81636         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81637         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81638         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81639         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81640         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81641         * sysdeps/ieee754/s_lib_version.c: Likewise.
81642         * sysdeps/ieee754/s_matherr.c: Likewise.
81643         * sysdeps/ieee754/s_signgam.c: Likewise.
81644         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81645         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81646         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81647         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81648         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81649         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81650         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81651         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81652         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81653         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81654         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81655         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81656         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81657         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81658         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81659         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81660         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81661         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81662         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81663         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81666 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81668         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81669         * sunrpc/rpc_main.c: Likewise.
81670         * sunrpc/rpc_svcout.c: Likewise.
81672 2012-03-09  David S. Miller  <davem@davemloft.net>
81674         * include/math_private.h: New file.
81676 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81678         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81679         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81680         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81681         from <bits/socket_type.h>.
81682         (enum __socket_type): Don't define here.
81683         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81685         bits/socket_type.h.
81687         [BZ #13566]
81688         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81689         checking __USE_GNU.
81691         * Makerules ($(inst_includedir)/%.h): New rule.
81692         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81693         (install-others): Remove variable setting.
81694         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81696 2012-03-08  Richard Henderson  <rth@twiddle.net>
81698         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81699         from macro to inline function; merge with the
81700         !__LIBC_INTERNAL_MATH_INLINES version.
81701         (__ieee754_sqrtf): Likewise.
81703         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81704         to inline function.
81705         (__rintf, __floor, __floorf): Likewise.
81707         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81708         macro to inline function.
81709         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81711         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81712         not <math/math_private.h>.
81714 2012-03-08  David S. Miller  <davem@davemloft.net>
81716         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81717         copyright year.
81718         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81720 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81722         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81723         normalization.
81724         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81725         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81727 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81729         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81730         be defined individually, they must be defined as a block.  Define
81731         S for printing a string instead of hidint the different by using a
81732         macro for adding the 'l'.
81733         * stdio-common/tst-fphex-wide.c: Adjust.
81735 2012-03-07  Marek Polacek  <polacek@redhat.com>
81737         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81739 2012-03-08  Marek Polacek  <polacek@redhat.com>
81741         [BZ #13806]
81742         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81743         * stdio-common/tst-fphex.c: Define a few macros to make the
81744         test reusable.  Use them.
81745         * stdio-common/tst-fphex-wide.c: New file.
81747 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81749         [BZ #6911]
81750         * manual/macros.texi (gnusystems): New macro.
81751         (nongnusystems): Likewise.
81752         (gnulinuxhurdsystems): Likewise.
81753         (gnuhurdsystems): Likewise..
81754         (gnulinuxsystems): Likewise.
81755         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81756         variants of the GNU system, not "GNU system".
81757         * manual/conf.texi: Likewise.
81758         * manual/errno.texi: Likewise.  Update example of errno macro
81759         expansion.
81760         * manual/filesys.texi: Likewise.
81761         (getumask): Document as specific to GNU/Hurd.
81762         * manual/install.texi: Likewise.  Reword some references to
81763         GNU/Linux.
81764         * manual/intro.texi: Likewise.
81765         * manual/io.texi: Likewise.
81766         (File Name Portability): Detail which constraints are inapplicable
81767         to all GNU systems and which are only inapplicable to GNU/Hurd.
81768         * manual/job.texi: Likewise.
81769         * manual/llio.texi: Likewise.
81770         (O_NOCTTY): Document as present on GNU/Linux.
81771         * manual/maint.texi: Likewise.
81772         * manual/memory.texi: Likewise.
81773         * manual/pattern.texi: Likewise.
81774         * manual/pipe.texi: Likewise.
81775         * manual/process.texi: Likewise.
81776         * manual/resource.texi: Likewise.
81777         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81778         child on GNU/Hurd.
81779         * manual/setjmp.texi: Likewise.
81780         * manual/signal.texi: Likewise.
81781         * manual/startup.texi: Likewise.
81782         * manual/stdio.texi: Likewise.
81783         * manual/terminal.texi: Likewise.
81784         (ONLCR): Document as POSIX.
81785         (OXTABS): Document availability on GNU/Linux as XTABS.
81786         (ONOEOT): Document availability separately from other bits.
81787         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81788         * manual/time.texi: Likewise.
81789         * manual/users.texi: Likewise.
81790         * INSTALL: Regenerated.
81791         * sysdeps/gnu/errlist.c: Regenerated.
81793         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81794         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81795         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81796         puts.
81797         * configure: Regenerated.
81799 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81801         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81802         default includes instead of AC_HEADER_CHECK.
81803         * sysdeps/i386/configure: Regenerated.
81805         [BZ #10716]
81806         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81807         * math/s_cacoshf.c (__cacoshf): Likewise.
81808         * math/s_cacoshl.c (__cacoshl): Likewise.
81809         * math/s_casinh.c (__casinh): Set signs of result from argument.
81810         * math/s_casinhf.c (__casinhf): Likewise.
81811         * math/s_casinhl.c (__casinhl): Likewise.
81812         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81813         (casinh_test): Add more tests.
81814         * sysdeps/i386/fpu/libm-test-ulps: Update.
81815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81817 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81819         * po/zh_TW.po: Update from translation team.
81821         * login/Makefile (distribute): Remove variable.
81822         * catgets/Makefile: Likewise.
81823         * mach/Makefile: Likewise.
81824         * malloc/Makefile: Likewise.
81825         * misc/Makefile: Likewise.
81826         * iconv/Makefile: Likewise.
81827         * nscd/Makefile: Likewise.
81828         * hurd/Makefile: Likewise.
81829         * manual/Makefile: Likewise.
81830         * locale/Makefile: Likewise.
81831         * intl/Makefile: Likewise.
81832         * conform/Makefile: Likewise.
81833         * nss/Makefile: Likewise.
81834         * time/Makefile: Likewise.
81835         * soft-fp/Makefile: Likewise.
81836         * dirent/Makefile: Likewise.
81837         * gmon/Makefile: Likewise.
81838         * po/Makefile: Likewise.
81839         * rt/Makefile: Likewise.
81840         * socket/Makefile: Likewise.
81841         * math/Makefile: Likewise.
81842         * signal/Makefile: Likewise.
81843         * debug/Makefile: Likewise.
81844         * elf/Makefile: Likewise.
81845         * timezone/Makefile: Likewise.
81846         * stdlib/Makefile: Likewise.
81847         * iconvdata/Makefile: Likewise.
81848         * sunrpc/Makefile: Likewise.
81849         * io/Makefile: Likewise.
81850         * argp/Makefile: Likewise.
81851         * inet/Makefile: Likewise.
81852         * hesiod/Makefile: Likewise.
81853         * grp/Makefile: Likewise.
81854         * csu/Makefile: Likewise.
81855         * wctype/Makefile: Likewise.
81856         * crypt/Makefile: Likewise.
81857         * libio/Makefile: Likewise.
81858         * string/Makefile: Likewise.
81859         * nis/Makefile: Likewise.
81860         * resolv/Makefile: Likewise.
81861         * stdio-common/Makefile: Likewise.
81862         * wcsmbs/Makefile: Likewise.
81863         * dlfcn/Makefile: Likewise.
81864         * posix/Makefile: Likewise.
81866         [BZ #6959]
81867         * timezone/Makefile: Don't install timezone files, just the programs
81868         and scripts.
81870 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81872         * nss/databases.def: Add missing gshadow entry.
81874         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81876 2012-03-06  Marek Polacek  <polacek@redhat.com>
81878         [BZ #13726]
81879         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81880         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81881         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81882         * stdio-common/tst-long-dbl-fphex.c: New file.
81884 2012-03-06  David S. Miller  <davem@davemloft.net>
81886         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81887         (set_obp_int): New function.
81888         (get_obp_int): New function.
81889         (__get_clockfreq_via_dev_openprom): Likewise.
81890         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81891         Avoid unused variable warnings on 'val' and use builtin_expect.
81892         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81893         __builtin_expect.
81894         (INLINE_CLONE_SYSCALL): Likewise.
81896 2012-03-05  David S. Miller  <davem@davemloft.net>
81898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81900 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81904         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81905         only for |x| >= 40.
81906         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81908 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81910         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81911         Replace gettimeofday with __vdso_gettimeofday.
81913         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81914         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81915         __vdso_clock_gettime and __vdso_getcpu.
81917         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81918         time with __vdso_time.
81920 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81922         * manual/lang.texi (size_t): Note types to which size_t may be
81923         equivalent with the GNU C Library, but do not describe when
81924         differences between them are significant.
81926 2012-03-05  Andreas Jaeger  <aj@suse.de>
81928         * sysdeps/i386/fpu/libm-test-ulps: Update.
81930 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81932         [BZ #3976]
81933         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81934         (__ieee754_pow): Save and restore rounding mode and use
81935         round-to-nearest for main computations.
81936         * math/libm-test.inc (pow_test_tonearest): New function.
81937         (pow_test_towardzero): Likewise.
81938         (pow_test_downward): Likewise.
81939         (pow_test_upward): Likewise.
81940         (main): Call the new functions.
81941         * sysdeps/i386/fpu/libm-test-ulps: Update.
81942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81944         [BZ #3976]
81945         * math/libm-test.inc (cosh_test_tonearest): New function.
81946         (cosh_test_towardzero): Likewise.
81947         (cosh_test_downward): Likewise.
81948         (cosh_test_upward): Likewise.
81949         (sinh_test_tonearest): Likewise.
81950         (sinh_test_towardzero): Likewise.
81951         (sinh_test_downward): Likewise.
81952         (sinh_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-05  Tom de Vries  <tom@codesourcery.com>
81959         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81960         default stack guard is set in last bytes.
81961         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81963 2012-03-05  Kees Cook  <keescook@chromium.org>
81965         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81967         [BZ #13656]
81968         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81969         possibly allocate from heap instead of stack.
81970         * stdio-common/bug-vfprintf-nargs.c: New file.
81971         * stdio-common/Makefile (tests): Add nargs overflow test.
81973 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81977 2012-03-03  Marek Polacek  <polacek@redhat.com>
81979         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81980         * math/math_private.h: Likewise.
81981         * stdlib/tst-strtod.c: Likewise.
81982         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81983         * sysdeps/x86_64/bits/atomic.h: Likewise.
81985 2012-03-02  David S. Miller  <davem@davemloft.net>
81987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81991         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81992         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81993         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81994         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81996 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81998         [BZ #13792]
81999         * manual/examples/README: New file, says the example source files
82000         can be used under GPL>=2.
82001         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
82002         line containing just "*/".
82003         * manual/examples/add.c: Add copyright header (GPL>=2).
82004         * manual/examples/argp-ex1.c: Likewise.
82005         * manual/examples/argp-ex2.c: Likewise.
82006         * manual/examples/argp-ex3.c: Likewise.
82007         * manual/examples/argp-ex4.c: Likewise.
82008         * manual/examples/atexit.c: Likewise.
82009         * manual/examples/db.c: Likewise.
82010         * manual/examples/dir.c: Likewise.
82011         * manual/examples/dir2.c: Likewise.
82012         * manual/examples/execinfo.c: Likewise.
82013         * manual/examples/filecli.c: Likewise.
82014         * manual/examples/filesrv.c: Likewise.
82015         * manual/examples/fmtmsgexpl.c: Likewise.
82016         * manual/examples/genpass.c: Likewise.
82017         * manual/examples/inetcli.c: Likewise.
82018         * manual/examples/inetsrv.c: Likewise.
82019         * manual/examples/isockad.c: Likewise.
82020         * manual/examples/longopt.c: Likewise.
82021         * manual/examples/memopen.c: Likewise.
82022         * manual/examples/memstrm.c: Likewise.
82023         * manual/examples/mkfsock.c: Likewise.
82024         * manual/examples/mkisock.c: Likewise.
82025         * manual/examples/mygetpass.c: Likewise.
82026         * manual/examples/pipe.c: Likewise.
82027         * manual/examples/popen.c: Likewise.
82028         * manual/examples/rprintf.c: Likewise.
82029         * manual/examples/search.c: Likewise.
82030         * manual/examples/select.c: Likewise.
82031         * manual/examples/setjmp.c: Likewise.
82032         * manual/examples/sigh1.c: Likewise.
82033         * manual/examples/sigusr.c: Likewise.
82034         * manual/examples/stpcpy.c: Likewise.
82035         * manual/examples/strdupa.c: Likewise.
82036         * manual/examples/strftim.c: Likewise.
82037         * manual/examples/strncat.c: Likewise.
82038         * manual/examples/subopt.c: Likewise.
82039         * manual/examples/swapcontext.c: Likewise.
82040         * manual/examples/termios.c: Likewise.
82041         * manual/examples/testopt.c: Likewise.
82042         * manual/examples/testpass.c: Likewise.
82043         * manual/examples/timeval_subtract.c: Likewise.
82045         [BZ #13792]
82046         * manual/time.texi (Elapsed Time): Move timeval_subtract example
82047         function to ...
82048         * manual/timeval_subtract.c.texi: ... here, new file.
82050 2012-03-02  David S. Miller  <davem@davemloft.net>
82052         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
82054 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
82056         [BZ #3976]
82057         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
82058         (__sin): Save and restore rounding mode and use round-to-nearest
82059         for all computations.
82060         (__cos): Save and restore rounding mode and use round-to-nearest
82061         for all computations.
82062         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
82063         <fenv.h>.
82064         (tan): Save and restore rounding mode and use round-to-nearest for
82065         all computations.
82066         * math/libm-test.inc (cos_test_tonearest): New function.
82067         (cos_test_towardzero): Likewise.
82068         (cos_test_downward): Likewise.
82069         (cos_test_upward): Likewise.
82070         (sin_test_tonearest): Likewise.
82071         (sin_test_towardzero): Likewise.
82072         (sin_test_downward): Likewise.
82073         (sin_test_upward): Likewise.
82074         (tan_test_tonearest): Likewise.
82075         (tan_test_towardzero): Likewise.
82076         (tan_test_downward): Likewise.
82077         (tan_test_upward): Likewise.
82078         (main): Call the new functions.
82079         * sysdeps/i386/fpu/libm-test-ulps: Update.
82080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82082         [BZ #10135]
82083         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
82084         small n, then large n, before computing and testing k+n.
82085         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
82086         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
82087         Likewise.
82088         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
82089         Likewise.
82090         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
82091         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
82092         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
82093         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
82094         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
82095         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
82096         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
82097         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
82098         * math/libm-test.inc (scalbn_test): Add more tests.
82099         (scalbln_test): Likewise.
82101         * manual/filesys.texi (mode_t): Describe constraints on size and
82102         signedness, not exact equivalence to a particular type.
82103         (ino_t): Likewise.
82104         (ino64_t): Likewise.
82105         (dev_t): Likewise.
82106         (nlink_t): Likewise.
82107         (blkcnt_t): Likewise.
82108         (blkcnt64_t): Likewise.
82109         * manual/llio.texi (off_t): Likewise.
82111         [BZ #3976]
82112         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
82113         (__ieee754_exp): Save and restore rounding mode and use
82114         round-to-nearest for all computations.
82115         * math/libm-test.inc (exp_test_tonearest): New function.
82116         (exp_test_towardzero): Likewise.
82117         (exp_test_downward): Likewise.
82118         (exp_test_upward): Likewise.
82119         (main): Call the new functions.
82120         * sysdeps/i386/fpu/libm-test-ulps: Update.
82121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82123 2012-03-01  Chris Demetriou  <cgd@google.com>
82125         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
82126         have predictable order.
82128 2012-03-01  David S. Miller  <davem@davemloft.net>
82130         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
82132         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
82133         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
82134         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
82135         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
82137         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
82138         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
82139         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
82140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
82141         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
82142         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
82143         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
82144         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
82145         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
82147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82149         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
82150         * sysdeps/sparc/fpu/libm-test-ulps: to here.
82151         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
82153         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
82154         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
82155         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82156         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
82157         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
82158         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
82159         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
82160         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82161         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82162         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
82163         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
82164         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82166         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82167         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82168         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82169         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
82170         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
82171         * sysdeps/sparc/elf/configure: Regenerated.
82173 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
82175         * configure.in (AS, LD): Require binutils 2.20 or later.
82176         * configure: Regenerated.
82177         * manual/install.texi (Tools for Compilation): Give binutils 2.20
82178         as required minimum version.
82179         * INSTALL: Regenerated.
82181         [BZ #2541]
82182         [BZ #4108]
82183         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
82184         before squaring exponent.
82185         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
82186         bottom long double and 27 bits of top long double before squaring
82187         exponent.
82188         * math/libm-test.inc (erfc_test): Add more tests.
82189         * sysdeps/i386/fpu/libm-test-ulps: Update.
82190         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82193 2012-03-01  Kai Tietz  <ktietz@redhat.com>
82195         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
82196         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
82197         containing bit-fields.
82198         * soft-fp/extended.h (_FP_UNION_E): Likewise.
82199         * soft-fp/single.h (_FP_UNION_S): Likewise.
82200         * soft-fp/double.h (_FP_UNION_D): Likewise.
82202 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82204         [BZ #13786]
82205         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
82206         not include ../strcmp.S.
82207         [USE_AS_STRNCASECMP_L]: Likewise.
82208         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
82209         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
82210         * sysdeps/i386/i686/multiarch/strncase_l-c.c
82211         (__strncasecmp_l_ia32): Define as alias to
82212         __strncasecmp_l_nonascii.
82214         [BZ #5794]
82215         * math/libm-test.inc (expm1_test): Add test for bug 5794.
82216         * sysdeps/i386/fpu/libm-test-ulps: Update.
82217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82219         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
82220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82222 2012-02-29  Jeff Law  <law@redhat.com>
82224         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
82225         out of bounds read.
82227 2012-02-29  Marek Polacek  <polacek@redhat.com>
82229         [BZ #13706]
82230         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
82231         * elf/Makefile: Add rules to run tst-unused-dep.out.
82233 2012-02-28  David S. Miller  <davem@davemloft.net>
82235         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
82236         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
82237         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
82238         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
82239         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
82240         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
82242 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82244         * math/libm-test.inc (llround_test): Move one test from
82245         lround_test.  Use TEST_f_L in moved test.
82246         (lround_test): Move misplaced test to llround_test.  Add testcase
82247         from bug 2561.
82249 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
82251         * sysdeps/x86_64/fpu/e_expf.S: New file.
82252         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
82254 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
82256         [BZ #13637]
82257         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
82258         of remain_len that may cause incomplete multi-byte character and
82259         false match.
82260         * posix/bug-regex33.c: New file.
82261         * posix/Makefile (tests): Add bug-regex33.
82263 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
82265         * manual/macros.texi: New file.
82266         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
82267         * manual/libc.texinfo: Include macros.texi.
82268         * manual/creatute.texi: Likewise.
82269         * manual/install.texi: Likewise.
82270         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
82271         @glibcadj{} in references to the GNU C Library.
82272         * manual/charset.texi: Likewise.
82273         * manual/conf.texi: Likewise.
82274         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
82275         when not using those macros.
82276         * manual/creature.texi: Likewise.
82277         * manual/crypt.texi: Likewise.
82278         * manual/errno.texi: Likewise.
82279         * manual/filesys.texi: Likewise.
82280         * manual/header.texi: Likewise.
82281         * manual/install.texi: Likewise.
82282         * manual/intro.texi: Likewise.
82283         * manual/io.texi: Likewise.
82284         * manual/job.texi: Likewise.
82285         * manual/lang.texi: Likewise.
82286         * manual/libc.texiinfo: Likewise.
82287         * manual/llio.texi: Likewise.
82288         * manual/locale.texi: Likewise.
82289         * manual/maint.texi: Likewise.
82290         * manual/math.texi: Likewise.
82291         * manual/memory.texi: Likewise.
82292         * manual/message.texi: Likewise.
82293         * manual/nss.texi: Likewise.
82294         * manual/pattern.texi: Likewise.
82295         * manual/process.texi: Likewise.
82296         * manual/resource.texi: Likewise.
82297         * manual/search.texi: Likewise.
82298         * manual/setjmp.texi: Likewise.
82299         * manual/signal.texi: Likewise.
82300         * manual/socket.texi: Likewise.
82301         * manual/startup.texi: Likewise.
82302         * manual/stdio.texi: Likewise.
82303         * manual/string.texi: Likewise.
82304         * manual/sysinfo.texi: Likewise.
82305         * manual/syslog.texi: Likewise.
82306         * manual/terminal.texi: Likewise.
82307         * manual/time.texi: Likewise.
82308         * manual/users.texi: Likewise.
82309         * INSTALL: Regenerated.
82310         * NOTES: Regenerated.
82311         * sysdeps/gnu/errlist.c: Regenerated.
82313 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
82315         * include/dirent.h: Include <dirstream.h> before
82316         <dirent/dirent.h>.
82318 2012-02-28  David S. Miller  <davem@davemloft.net>
82320         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
82321         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
82322         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
82323         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
82325 2012-02-27  David S. Miller  <davem@davemloft.net>
82327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
82328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
82329         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
82330         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
82332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
82333         frame pointer instead of stack pointer relative arg slot.
82334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82335         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82336         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82338 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
82340         [BZ #3992]
82341         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
82343 2012-02-27  David S. Miller  <davem@davemloft.net>
82345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
82346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
82349         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82350         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82351         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
82352         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
82354 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82356         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
82357         later.  Allow versions 5-9.
82358         * configure: Regenerated.
82359         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
82360         required minimum version and 4.6 as recommended version.  Do not
82361         mention bugs in GCC 2.7 and 2.8.
82362         * INSTALL: Regenerated.
82364 2012-02-27  David S. Miller  <davem@davemloft.net>
82366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
82367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
82368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
82369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
82370         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
82371         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
82372         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
82373         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
82375         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
82376         manipulate bits before adding and subtracting TWO112[sx].
82377         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
82379 2012-02-27  Roland McGrath  <roland@hack.frob.com>
82381         [BZ #13775]
82382         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
82383         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
82384         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
82385         being in POSIX, because they are in 1003.1-2008.
82387         * rt/tst-aio.c: Include <fcntl.h>.
82388         * rt/tst-aio7.c: Likewise.
82389         * rt/tst-aio64.c: Likewise.
82391         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
82393 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82395         * manual/install.texi (--with-headers): Describe headers as
82396         interface headers, not private headers.
82397         (Specific advice for GNU/Linux systems): Describe use of headers
82398         from "make headers_install", not private headers from older
82399         kernels.
82400         * INSTALL: Regenerated.
82401         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
82402         Change to 2.6.19.
82403         * sysdeps/unix/sysv/linux/configure: Regenerated.
82405         * manual/llio.texi (fclean): Remove documentation.
82407         * manual/Makefile (libc-texi-generated): New variable.  Include
82408         version.texi.
82409         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
82410         $(libc-texi-generated), not duplicated list of files.
82411         (version.texi, stamp-version): New rules.
82412         (realclean): Remove $(libc-texi-generated), not individual files
82413         from that list.  Do not remove dir-add.texinfo.
82414         * manual/libc.texinfo: Comment out uses of edition numbers and
82415         references to printed manual.  Remove last-updated dates.
82416         (EDITION): Comment out.
82417         (ISBN): Likewise.
82418         (VERSION, UPDATED): Remove.
82419         (version.texi): Include.
82421 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
82423         * sysdeps/posix/spawni.c: Include <signal.h>.
82424         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
82425         * sysdeps/pthread/aio_fsync.c: Likewise.
82427 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
82429         * conform/Makefile (tests): Run only when not cross-compiling and
82430         when fast-check is not defined.
82432         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
82433         * conform/data/limits.h-data: Fixes for POSIX2008.
82434         * conform/run-conformtest.sh: Run all tests.
82435         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
82436         headers.
82437         * include/bits/dlfcn.h: Likewise.
82438         * include/langinfo.h: Likewise.
82439         * include/monetary.h: Likewise.
82440         * include/sys/poll.h: Likewise.
82442         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
82443         for __USE_GNU.
82444         * posix/spawn.h: Define __need_sigset_t.
82445         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
82446         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
82447         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
82448         to get sigevent_t only.
82449         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
82450         only for __USE_GNU.
82451         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82452         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82453         process_vm_writev only for __USE_GNU.
82454         * termios/termios.h: Declare tcgetsid also for POSIX2008.
82456         * conform/Makefile: For now ignore errors from run-conformtest.
82457         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
82458         POSIX to avoid namespace pollution.  Don't prepend headers.
82459         * conform/data/aio.h-data: Fixes for POSIX testing.
82460         * conform/data/fcntl.h-data: Likewise.
82461         * conform/data/glob.h-data: Likewise.
82462         * conform/data/grp.h-data: Likewise.
82463         * conform/data/pthread.h-data: Likewise.
82464         * conform/data/pwd.h-data: Likewise.
82465         * conform/data/signal.h-data: Likewise.
82466         * conform/data/spawn.h-data: Likewise.
82467         * conform/data/stdio.h-data: Likewise.
82468         * conform/data/stdlib.h-data: Likewise.
82469         * conform/data/stropts.h-data: Likewise.
82470         * conform/data/sys/mman.h-data: Likewise.
82471         * conform/data/sys/stat.h-data: Likewise.
82472         * conform/data/sys/types.h-data: Likewise.
82473         * conform/data/sys/wait.h-data: Likewise.
82474         * conform/data/time.h-data: Likewise.
82475         * conform/data/unistd.h-data: Likewise.
82476         * conform/data/utime.h-data: Likewise.
82478         * io/sys/stat.h: fchmod was always in POSIX.
82479         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
82480         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
82481         * rt/aio.h: Define __need_timespec before including <time.h>.
82482         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
82483         struct.  Add forward declaration of pthread_attr_t and use it in
82484         sigevent.
82485         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82486         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82487         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
82488         always remove CLK_TCK definition.
82490 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
82492         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
82494 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
82496         * conform/run-conformtest.sh: New file.
82497         * conform/Makefile: Run run-conformtest for tests.
82498         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
82499         support.
82501         * conform/data/uchar.h-data: New file.
82502         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
82503         * conform/data/arpa/inet.h-data: Likewise.
82504         * conform/data/assert.h-data: Likewise.
82505         * conform/data/complex.h-data: Likewise.
82506         * conform/data/cpio.h-data: Likewise.
82507         * conform/data/ctype.h-data: Likewise.
82508         * conform/data/dirent.h-data: Likewise.
82509         * conform/data/dlfcn.h-data: Likewise.
82510         * conform/data/errno.h-data: Likewise.
82511         * conform/data/fcntl.h-data: Likewise.
82512         * conform/data/float.h-data: Likewise.
82513         * conform/data/fmtmsg.h-data: Likewise.
82514         * conform/data/fnmatch.h-data: Likewise.
82515         * conform/data/ftw.h-data: Likewise.
82516         * conform/data/glob.h-data: Likewise.
82517         * conform/data/grp.h-data: Likewise.
82518         * conform/data/iconv.h-data: Likewise.
82519         * conform/data/inttypes.h-data: Likewise.
82520         * conform/data/langinfo.h-data: Likewise.
82521         * conform/data/libgen.h-data: Likewise.
82522         * conform/data/limits.h-data: Likewise.
82523         * conform/data/locale.h-data: Likewise.
82524         * conform/data/math.h-data: Likewise.
82525         * conform/data/monetary.h-data: Likewise.
82526         * conform/data/mqueue.h-data: Likewise.
82527         * conform/data/ndbm.h-data: Likewise.
82528         * conform/data/net/if.h-data: Likewise.
82529         * conform/data/netdb.h-data: Likewise.
82530         * conform/data/netinet/in.h-data: Likewise.
82531         * conform/data/nl_types.h-data: Likewise.
82532         * conform/data/poll.h-data: Likewise.
82533         * conform/data/pthread.h-data: Likewise.
82534         * conform/data/pwd.h-data: Likewise.
82535         * conform/data/regex.h-data: Likewise.
82536         * conform/data/sched.h-data: Likewise.
82537         * conform/data/search.h-data: Likewise.
82538         * conform/data/semaphore.h-data: Likewise.
82539         * conform/data/setjmp.h-data: Likewise.
82540         * conform/data/signal.h-data: Likewise.
82541         * conform/data/spawn.h-data: Likewise.
82542         * conform/data/stdarg.h-data: Likewise.
82543         * conform/data/stdio.h-data: Likewise.
82544         * conform/data/stdlib.h-data: Likewise.
82545         * conform/data/string.h-data: Likewise.
82546         * conform/data/strings.h-data: Likewise.
82547         * conform/data/stropts.h-data: Likewise.
82548         * conform/data/sys/ipc.h-data: Likewise.
82549         * conform/data/sys/mman.h-data: Likewise.
82550         * conform/data/sys/msg.h-data: Likewise.
82551         * conform/data/sys/resource.h-data: Likewise.
82552         * conform/data/sys/select.h-data: Likewise.
82553         * conform/data/sys/sem.h-data: Likewise.
82554         * conform/data/sys/shm.h-data: Likewise.
82555         * conform/data/sys/socket.h-data: Likewise.
82556         * conform/data/sys/stat.h-data: Likewise.
82557         * conform/data/sys/statvfs.h-data: Likewise.
82558         * conform/data/sys/time.h-data: Likewise.
82559         * conform/data/sys/timeb.h-data: Likewise.
82560         * conform/data/sys/times.h-data: Likewise.
82561         * conform/data/sys/types.h-data: Likewise.
82562         * conform/data/sys/uio.h-data: Likewise.
82563         * conform/data/sys/un.h-data: Likewise.
82564         * conform/data/sys/utsname.h-data: Likewise.
82565         * conform/data/sys/wait.h-data: Likewise.
82566         * conform/data/syslog.h-data: Likewise.
82567         * conform/data/tar.h-data: Likewise.
82568         * conform/data/termios.h-data: Likewise.
82569         * conform/data/utime.h-data: Likewise.
82570         * conform/data/utmpx.h-data: Likewise.
82571         * conform/data/varargs.h-data: Likewise.
82572         * conform/data/wchar.h-data: Likewise.
82573         * conform/data/wctype.h-data: Likewise.
82574         * conform/data/wordexp.h-data: Likewise.
82576         * include/stropts.h: New file.
82577         * include/uchar.h: New file.
82578         * include/aio.h: Changes to allow conformtest.pl to use the headers.
82579         * include/assert.h: Likewise.
82580         * include/ctype.h: Likewise.
82581         * include/dirent.h: Likewise.
82582         * include/dlfcn.h: Likewise.
82583         * include/fcntl.h: Likewise.
82584         * include/fnmatch.h: Likewise.
82585         * include/glob.h: Likewise.
82586         * include/grp.h: Likewise.
82587         * include/libio.h: Likewise.
82588         * include/locale.h: Likewise.
82589         * include/math.h: Likewise.
82590         * include/net/if.h: Likewise.
82591         * include/netdb.h: Likewise.
82592         * include/netinet/in.h: Likewise.
82593         * include/pthread.h: Likewise.
82594         * include/pwd.h: Likewise.
82595         * include/regex.h: Likewise.
82596         * include/sched.h: Likewise.
82597         * include/search.h: Likewise.
82598         * include/setjmp.h: Likewise.
82599         * include/signal.h: Likewise.
82600         * include/stdio.h: Likewise.
82601         * include/stdlib.h: Likewise.
82602         * include/string.h: Likewise.
82603         * include/sys/cdefs.h: Likewise.
82604         * include/sys/mman.h: Likewise.
82605         * include/sys/msg.h: Likewise.
82606         * include/sys/resource.h: Likewise.
82607         * include/sys/select.h: Likewise.
82608         * include/sys/socket.h: Likewise.
82609         * include/sys/stat.h: Likewise.
82610         * include/sys/statvfs.h: Likewise.
82611         * include/sys/time.h: Likewise.
82612         * include/sys/times.h: Likewise.
82613         * include/sys/uio.h: Likewise.
82614         * include/sys/utsname.h: Likewise.
82615         * include/sys/wait.h: Likewise.
82616         * include/termios.h: Likewise.
82617         * include/time.h: Likewise.
82618         * include/ulimit.h: Likewise.
82619         * include/unistd.h: Likewise.
82620         * include/utime.h: Likewise.
82621         * include/wchar.h: Likewise.
82622         * include/wctype.h: Likewise.
82623         * include/wordexp.h: Likewise.
82625         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82627         * time/time.h: TIME_UTC must be a macro.
82628         Make timespec_get available for ISO C11 only as well.
82630 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82632         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82633         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82635 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82637         * configure.in: Use -o not -a in test for unsupported multi-arch.
82639 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82641         * manual/texinfo.tex: Update to version 2012-01-19.16.
82643 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82645         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82647 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82649         [BZ #13738]
82650         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82651         * manual/fdl-1.3.texi: New file.
82652         * manual/fdl-1.1.texi: File removed.
82654         [BZ #13738]
82655         * manual/libc.texinfo (FDL_VERSION): New @set.
82656         Use it for mention of FDL in cover text.
82657         (Documentation License): Use it in @include file name.
82659 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82660             Roland McGrath  <roland@hack.frob.com>
82662         [BZ #5461]
82663         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82664         (not LONG_LONG_MAX and LONG_LONG_MIN.
82665         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82666         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82667         name.
82668         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82670 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82672         [BZ #2547]
82673         [BZ #11365]
82674         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82675         manipulate bits before adding and subtracting TWO23[sx].
82676         * math/libm-test.inc (nearbyint_test): Add more tests.
82678 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82680         [BZ #2548]
82681         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82682         bits before adding and subtracting TWO23[sx].
82683         * math/libm-test.inc (rint_test): Add more tests.
82684         (rint_test_tonearest): Likewise.
82685         (rint_test_towardzero): Likewise.
82686         (rint_test_downward): Likewise.
82687         (rint_test_upward: Likewise.
82689 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82691         [BZ #10110]
82692         * include/stdc-predef.h: New file.  Extracted from features.h.
82693         * include/features.h: Include stdc-predef.h.
82694         * Makefile (headers): Add stdc-predef.h.
82695         * CONFORMANCE (Compiler limitations): Update.
82697 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82699         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82701 2012-02-21  David S. Miller  <davem@davemloft.net>
82703         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82704         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82706 2012-02-20  David S. Miller  <davem@davemloft.net>
82708         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82709         using a normal save/restore sequence, rather than allocating a
82710         dummy stack frame just to store a frame pointer and restore.
82711         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82713 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82715         * manual/install.texi: Fix stray word in line-wrapped comment.
82717 2012-02-20  David S. Miller  <davem@davemloft.net>
82719         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82720         both binutils and gcc support GOTDATA.
82722         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82723         "rd %pc" in the PIC register setup sequences.
82725         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82726         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82727         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82728         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82729         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82730         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82731         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82732         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82734         (SYSCALL_ERROR_HANDLER): Likewise.
82735         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82736         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82738         (SYSCALL_ERROR_HANDLER): Likewise.
82740         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82741         (HAVE_GCC_GOTDATA): New.
82742         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82743         relocation support in both binutils and gcc.
82744         * sysdeps/sparc/elf/configure: Regenerate.
82746         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82747         * sysdeps/sparc/sparc32/elf/configure: Delete.
82748         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82749         * sysdeps/sparc/sparc64/elf/configure: Delete.
82750         * sysdeps/sparc/elf/configure.in: New file.
82751         * sysdeps/sparc/elf/configure: Generate.
82753         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82754         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82755         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82756         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82757         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82759 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82761         * manual/install.texi: Do not mention specific glibc version
82762         numbers.
82763         * manual/libc.texinfo (VERSION, UPDATED): Update.
82764         (@copying): Use @copyright{} and range of years.
82766 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82768         [BZ #13695]
82769         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82770         [crti.S not in sysdirs] (generated): Do not append.
82771         [crti.S not in sysdirs] (omit-deps): Likewise.
82772         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82773         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82774         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82775         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82776         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82777         Likewise.
82778         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82779         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82780         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82781         * csu/defs.awk: Remove file.
82782         * sysdeps/generic/initfini.c: Likewise.
82783         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82784         variable.
82785         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82786         Likewise.
82788 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82790         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82791         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82792         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82793         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82794         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82795         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82796         <bits/epoll.h>.
82797         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82798         (__EPOLL_PACKED): Define to empty if not defined by
82799         <bits/epoll.h>.
82800         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82802         bits/epoll.h.
82804 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82806         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82807         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82808         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82809         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82810         <bits/timerfd.h>.
82811         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82813         bits/timerfd.h.
82815 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82817         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82818         in C locale.
82819         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82820         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82821         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82824 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82826         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82827         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82829 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82831         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82832         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82833         defined.
82834         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82835         Likewise.
82836         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82837         entry for 2.16.
82839 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82841         * math/w_acos.c: Use non-signaling floating-point comparisons.
82842         * math/w_acosf.c: Likewise.
82843         * math/w_acosh.c: Likewise.
82844         * math/w_acoshf.c: Likewise.
82845         * math/w_acoshl.c: Likewise.
82846         * math/w_acosl.c: Likewise.
82847         * math/w_asin.c: Likewise.
82848         * math/w_asinf.c: Likewise.
82849         * math/w_asinl.c: Likewise.
82850         * math/w_atanh.c: Likewise.
82851         * math/w_atanhf.c: Likewise.
82852         * math/w_atanhl.c: Likewise.
82853         * math/w_exp2.c: Likewise.
82854         * math/w_exp2f.c: Likewise.
82855         * math/w_exp2l.c: Likewise.
82856         * math/w_j0.c: Likewise.
82857         * math/w_j0f.c: Likewise.
82858         * math/w_j0l.c: Likewise.
82859         * math/w_j1.c: Likewise.
82860         * math/w_j1f.c: Likewise.
82861         * math/w_j1l.c: Likewise.
82862         * math/w_jn.c: Likewise.
82863         * math/w_jnf.c: Likewise.
82864         * math/w_log.c: Likewise.
82865         * math/w_log10.c: Likewise.
82866         * math/w_log10f.c: Likewise.
82867         * math/w_log10l.c: Likewise.
82868         * math/w_log2.c: Likewise.
82869         * math/w_log2f.c: Likewise.
82870         * math/w_log2l.c: Likewise.
82871         * math/w_logf.c: Likewise.
82872         * math/w_logl.c: Likewise.
82873         * math/w_sqrt.c: Likewise.
82874         * math/w_sqrtf.c: Likewise.
82875         * math/w_sqrtl.c: Likewise.
82876         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82877         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82878         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82879         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82880         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82882 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82884         [BZ #9739]
82885         * manual/string.texi (strnlen): Use correct parameter name in
82886         equivalent expression.
82888 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82890         [BZ #11174]
82891         * manual/users.texi (seteuid): Consistently use neweuid for
82892         argument name.
82894 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82896         [BZ #13704]
82897         * manual/nss.texi (Services in the NSS configuration): Correct
82898         list of services in example configuration file.
82900 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82902         [BZ #11322]
82903         * manual/arith.texi: Remove statements about negative zero
82904         behaving identically to zero.
82906 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82908         [BZ #5993]
82909         * manual/install.texi: Do not document upgrading from libc5.
82911 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82913         [BZ #4596]
82914         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82916 2012-02-18  David S. Miller  <davem@davemloft.net>
82918         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82919         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82920         %o7 across the call.
82921         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82922         instead.
82923         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82924         SETUP_PIC_REG_LEAF.
82925         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82926         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82927         * sysdeps/sparc/crtn.S: Likewise.
82929 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82931         * aout/Makefile: Remove.
82933 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82935         [BZ #13058]
82936         * manual/examples/argp-ex1.c (main): Format definition in GNU
82937         style.
82938         * manual/examples/argp-ex2.c (main): Likewise.
82939         * manual/examples/argp-ex3.c (main): Likewise.
82940         * manual/examples/argp-ex4.c (main): Likewise.
82941         * manual/examples/longopt.c (main): Use new-style prototype
82942         definition.
82943         * manual/examples/strncat.c (main): Specify return type and use
82944         (void) for arguments.
82945         * manual/examples/subopt.c (main): Use char **argv argument.
82947 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82949         [BZ #5077]
82950         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82951         rounding modes.
82953 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82955         [BZ #6907]
82956         * manual/string.texi (strchr): Change when strchrnul is
82957         recommended.
82959 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82961         [BZ #174]
82962         * manual/locale.texi (setlocale): Document LOCPATH.
82964 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82966         [BZ #10210]
82967         * manual/process.texi (execle): Move @dots{} before last argument.
82969 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82971         [BZ #12047]
82972         * manual/charset.texi (Generic Charset Conversion): Fix typo
82973         (LC_TYPE -> LC_CTYPE).
82975 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82977         [BZ #5805]
82978         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82979         (scalbnf): Likewise.
82980         (scalbnl): Likewise.
82981         (scalbln): Likewise.
82982         (scalblnf): Likewise.
82983         (scalblnl): Likewise.
82984         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82985         (vwarnx): Likewise.
82986         (verr): Likewise.
82987         (verrx): Likewise.
82988         * manual/filesys.texi (telldir): Use braces around return type.
82989         * manual/llio.texi (mmap): Add space after comma.
82990         (mmap64): Likewise.
82991         * manual/math.texi (jn): Use @var{} on parameter names.
82992         (jnf): Likewise.
82993         (jnl): Likewise.
82994         (yn): Likewise.
82995         (ynf): Likewise.
82996         (ynl): Likewise.
82997         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82998         line.
82999         * manual/resource.texi (ulimit): Use @dots{} instead of literal
83000         "...".
83001         (sched_get_priority_min): Remove semicolon on @deftypefun line.
83002         (sched_get_priority_max): Likewise.
83003         * manual/signal.texi (sigvec): Add space after comma.
83004         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
83005         names.
83006         (if_indextoname): Likewise.
83007         (if_freenameindex): Likewise.
83008         (sendto): Use ',' instead of '.' in prototype.
83009         * manual/startup.texi (syscall): Use @dots{} instead of literal
83010         "...".
83011         * manual/stdio.texi (__fpending): Separate initial words of
83012         paragraph from @deftypefun line.
83013         * manual/syslog.texi (syslog): Use @dots{} instead of literal
83014         "...".
83015         (vsyslog): Use @var{} on parameter names.
83016         * manual/terminal.texi (stty): Use @var{} on parameter names.
83017         * manual/users.texi (getutmp): Use @var{} on parameter names.
83018         (getutmpx): Likewise.
83020 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83022         [BZ #6884]
83023         * manual/stdio.texi (fopen): Fix typos in description of
83024         ",ccs=STRING".
83026 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
83028         [BZ #4026]
83029         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
83030         get clock_id definition.
83032 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
83034         [BZ #4822]
83035         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
83036         (madvise): Cast every argument to void on its own.
83038 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83040         [BZ #9902]
83041         * manual/startup.texi (Exit Status): Fix typo.
83043 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83045         [BZ #10140]
83046         * manual/examples/argp-ex1.c: Include <stdlib.h>.
83047         * manual/examples/argp-ex2.c: Likewise.
83048         * manual/examples/argp-ex3.c: Likewise.
83050 2012-02-16  Richard Henderson  <rth@redhat.com>
83052         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
83053         * sysdeps/s390/s390-32/initfini.c: Remove.
83054         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
83055         * sysdeps/s390/s390-64/initfini.c: Remove.
83057 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
83059         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
83060         compiler output for sysdeps/generic/initfini.c.
83061         * sysdeps/sh/elf/initfini.c: Remove file.
83063 2012-02-16  David S. Miller  <davem@davemloft.net>
83065         [BZ #11494]
83066         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
83068         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
83069         * sysdeps/sparc/crti.S: New file.
83070         * sysdeps/sparc/crtn.S: New file.
83071         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
83072         * sysdeps/sparc/sparc64/Makefile: Likewise.
83074 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
83076         [BZ #3335]
83077         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
83079 2012-02-15  Roland McGrath  <roland@hack.frob.com>
83081         [BZ #4822]
83082         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
83084         * mach/devstream.c (cookie_io_functions_t): Macro removed.
83085         (write, read, close): Likewise.
83086         Patch by Aurelien Jarno <aurelien@aurel32.net>.
83088 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
83090         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
83091         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
83092         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
83093         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
83094         <bits/signalfd.h>.
83095         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
83096         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83097         bits/signalfd.h.
83099 2012-02-14  Marek Polacek  <polacek@redhat.com>
83101         * sysdeps/x86_64/crti.S: New file.
83102         * sysdeps/x86_64/crtn.S: New file.
83103         * sysdeps/x86_64/elf/initfini.c: Remove file.
83105 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83107         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
83108         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
83109         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
83110         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
83111         <bits/inotify.h>.
83112         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
83113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83114         bits/inotify.h.
83116 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83118         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
83119         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
83120         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
83121         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
83122         <bits/eventfd.h>.
83123         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
83124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83125         bits/eventfd.h.
83127 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
83129         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
83130         __feraiseexcept instead of feraiseexcept.
83132         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
83133         nanosleep invocations.
83134         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
83135         strings, and add error checking for a nanosleep invocations.
83137 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
83139         Replace FSF snail mail address with URLs, as per GNU coding standards.
83140         Most of the snail mail addresses were wrong anyway, and omitting
83141         them makes the source code easier to maintain.  Almost all of the
83142         changes are to license notices and to locale LC_IDENTIFICATION
83143         addresses, except for this one:
83144         * manual/libc.texinfo: In "Published by", give the FSF's URL,
83145         not its snail mail address.
83147 2012-02-09  Richard Henderson  <rth@twiddle.net>
83149         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
83150         of kernel-features.h.
83152         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
83154 2012-02-08  Marek Polacek  <polacek@redhat.com>
83156         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
83157         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
83158         * sysdeps/gnu/_G_config.h: Likewise.
83159         * sysdeps/generic/_G_config.h: Likewise.
83161 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
83163         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
83164         tests.
83165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83167         * sysdeps/powerpc/powerpc32/crti.S: New file.
83168         * sysdeps/powerpc/powerpc32/crtn.S: New file.
83169         * sysdeps/powerpc/powerpc64/crti.S: New file.
83170         * sysdeps/powerpc/powerpc64/crtn.S: New file.
83172         * Makeconfig (have-initfini): Don't set.
83173         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
83174         * configure.in (nopic_initfini): Don't substitute.
83175         * config.h.in (HAVE_INITFINI): Don't #undef.
83176         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
83177         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
83179 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
83181         Support crti.S and crtn.S provided directly by architectures.
83182         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
83183         [crti.S in sysdirs] (omit-deps): Likewise.
83184         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
83185         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
83186         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
83187         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
83188         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
83189         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
83190         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
83191         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
83192         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
83193         compiler output for sysdeps/generic/initfini.c.
83194         * sysdeps/i386/elf/Makefile: Remove file.
83195         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
83197 2012-02-07  Marek Polacek  <polacek@redhat.com>
83199         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
83200         * sysdeps/gnu/_G_config.h: Likewise.
83201         * sysdeps/mach/hurd/_G_config.h: Likewise.
83203 2012-02-07  Marek Polacek  <polacek@redhat.com>
83205         * math/Makefile (tests): Add tst-CMPLX2.
83206         * math/tst-CMPLX2.c: New file.
83208 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
83210         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83212         * math/libm-test.inc (jn_test): Add missing L suffix.
83214 2012-02-06  Marek Polacek  <polacek@redhat.com>
83216         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
83217         * sysdeps/i386/fpu/e_powf.S: Likewise.
83218         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83219         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83220         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83221         * sysdeps/i386/fpu/e_pow.S: Likewise.
83222         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
83223         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83224         * sysdeps/i386/fpu/s_expm1.S: Likewise.
83225         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
83226         * sysdeps/i386/fpu/e_log2.S: Likewise.
83227         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83228         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83229         * sysdeps/i386/fpu/e_powl.S: Likewise.
83230         * sysdeps/i386/fpu/s_log1p.S: Likewise.
83231         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83232         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
83233         * sysdeps/i386/fpu/e_logl.S: Likewise.
83234         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
83235         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
83236         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
83237         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
83238         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83239         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83240         * sysdeps/i386/fpu/e_log.S: Likewise.
83241         * sysdeps/i386/fpu/s_cexp.S: Likewise.
83242         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83243         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
83244         * sysdeps/i386/fpu/e_logf.S: Likewise.
83245         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83246         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83247         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
83248         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
83249         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83250         * sysdeps/i386/fpu/e_log10.S: Likewise.
83251         * sysdeps/i386/fpu/s_frexp.S: Likewise.
83252         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83253         * sysdeps/i386/fpu/s_asinh.S: Likewise.
83254         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
83255         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83256         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
83257         * sysdeps/i386/asm-syntax.h: Likewise.
83258         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83259         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83260         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83261         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
83262         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
83263         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83264         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
83265         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
83266         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83267         * sysdeps/powerpc/sysdep.h: Likewise.
83268         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
83269         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
83271 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83273         [BZ #411]
83274         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
83276 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83278         * sysdeps/i386/sysdep.h: Include <features.h>.
83279         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
83280         version.
83282 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
83284         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
83285         Define.
83286         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
83287         LOAD_PIC_REG_STR.
83289 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83291         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
83292         (SETUP_PIC_REG): Use GET_PC_THUNK.
83293         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
83294         macro.
83296 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83298         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
83299         for non-PIC compilation.
83300         (SETUP_PIC_REG): Add .p2align directive.
83301         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
83302         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
83303         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
83304         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
83305         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
83306         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
83307         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
83308         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83309         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
83310         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
83311         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
83312         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
83313         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
83314         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
83315         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
83316         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
83317         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
83318         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
83319         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
83320         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
83321         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
83322         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
83323         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
83324         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
83325         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
83326         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
83327         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83328         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
83329         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
83330         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
83331         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
83332         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83333         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
83334         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
83335         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
83336         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
83337         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
83338         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
83339         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
83340         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
83341         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
83343 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83345         * math/tst-CMPLX.c: Include <stdio.h>.
83347 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
83349         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
83350         float.
83351         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83352         * sysdeps/sparc/bits/mathdef.h: Likewise.
83354 2012-01-31  Marek Polacek  <polacek@redhat.com>
83356         * libio/libio.h: Don't define _PARAMS.
83357         * locale/programs/config.h: Don't define PARAMS.
83358         * stdlib/strtol_l.c: Likewise.
83359         (__strtol_l): Remove PARAMS from the prototype.
83361 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
83363         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
83364         names.  Just use the correct names.  Remove unnecessary wrapper
83365         functions.
83366         * malloc/arena.c: Likewise.
83367         * malloc/hooks.c: Likewise.
83369         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
83370         ARENA_TEST says not to.  Simplify test for creation of a new arena.
83371         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
83373 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
83375         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
83376         into tail calls.
83377         (update_get_addr): New function.
83378         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
83379         GET_ADDR_MODULE parameter.
83381 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83383         * crypt/cert.c: Remove __STDC__ conditionals.
83384         * crypt/crypt-entry.c: Likewise.
83385         * crypt/crypt_util.c: Likewise.
83386         * libio/filedoalloc.c: Likewise.
83387         * libio/fileops.c: Likewise.
83388         * libio/genops.c: Likewise.
83389         * libio/iofclose.c: Likewise.
83390         * libio/iofdopen.c: Likewise.
83391         * libio/iofopen.c: Likewise.
83392         * libio/iofopen64.c: Likewise.
83393         * libio/iogetdelim.c: Likewise.
83394         * libio/iopopen.c: Likewise.
83395         * libio/obprintf.c: Likewise.
83396         * libio/oldfileops.c: Likewise.
83397         * libio/oldiofclose.c: Likewise.
83398         * libio/oldiofdopen.c: Likewise.
83399         * libio/oldiofopen.c: Likewise.
83400         * libio/oldiopopen.c: Likewise.
83401         * libio/wfiledoalloc.c: Likewise.
83402         * libio/wgenops.c: Likewise.
83403         * locale/programs/xmalloc.c: Likewise.
83404         * misc/syslog.c: Likewise.
83405         * stdio-common/xbug.c: Likewise.
83406         * string/memchr.c: Likewise.
83407         * string/memcmp.c: Likewise.
83408         * string/memrchr.c: Likewise.
83409         * string/rawmemchr.c: Likewise.
83410         * sysdeps/posix/getcwd.c: Likewise.
83411         * time/strftime_l.c: Likewise.
83413 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83415         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
83416         * config.make.in (config-cflags-sse2avx): Define.
83417         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
83418         Fix typo.
83420 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
83422         * scripts/config.guess: Update from upstream config git repository.
83423         * scripts/config.sub: Likewise.
83425 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
83427         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
83428         (EM_NUM): Update.
83429         (R_TILEPRO_*, R_TILEGX_*): New macros.
83431         * scripts/firstversions.awk: Fix bug in version range handling.
83433         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
83435         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
83437         * include/sys/epoll.h: New file.
83438         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
83439         libc_hidden_def.
83441 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
83443         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
83444         Avoid unnecessary __WORDSIZE == 64 test.
83445         (fmaxf): Use VEX format if possible.
83446         (fmax): Likewise.
83447         (fminf): Likewise.
83448         (fmin): Likewise.
83450         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
83451         * math/math_private.h: Remove libc_fegetround* and
83452         libc_fesetround*.
83453         * sysdeps/i386/configure.in: Check for -msse2avx.
83454         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
83455         also if SSE2AVX is defined.
83456         Remove libc_fegetround* and libc_fesetround*.
83457         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
83458         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
83459         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
83460         of HAS_YMM_USABLE.
83461         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83462         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83465         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83467         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
83469 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83471         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
83472         size is not set.
83473         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83475 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
83477         [BZ #13618]
83478         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
83479         relocation.
83480         * Makeconfig (libm): Define.
83481         * elf/Makefile: Add rules to build and run tst-relsort1.
83482         * elf/tst-relsort1.c: New file.
83483         * elf/tst-relsort1mod1.c: New file.
83484         * elf/tst-relsort1mod2.c: New file.
83486 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
83488         * math/s_ldexp.c: Remove __STDC__ conditionals.
83489         * math/s_ldexpf.c: Likewise.
83490         * math/s_ldexpl.c: Likewise.
83491         * math/s_nextafter.c: Likewise.
83492         * math/s_nexttowardf.c: Likewise.
83493         * math/s_significand.c: Likewise.
83494         * math/s_significandf.c: Likewise.
83495         * math/s_significandl.c: Likewise.
83496         * math/w_jnl.c: Likewise.
83497         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83498         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83499         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83500         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83501         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83502         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83503         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
83504         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83505         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83506         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83507         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83508         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83509         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83510         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83511         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83512         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83513         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83514         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83516         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83517         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83518         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83519         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83520         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83521         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83522         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83523         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83524         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83525         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83526         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83527         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83528         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83529         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83530         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83531         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83532         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83533         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83534         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83535         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83536         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83537         * sysdeps/ieee754/k_standard.c: Likewise.
83538         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83539         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83540         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83541         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83542         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83543         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83544         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83545         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83546         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83547         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83548         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83549         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83550         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83551         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83552         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83553         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83554         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83555         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83556         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83557         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83558         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83559         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83560         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83561         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83562         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83563         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83564         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83565         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83567         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83568         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83569         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
83570         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83571         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83572         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83573         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83574         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
83575         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83576         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83577         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
83578         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
83579         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83580         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
83581         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
83582         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83583         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
83584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
83585         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83586         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83587         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
83588         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
83589         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83590         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83591         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83592         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83593         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83594         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
83595         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83596         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83597         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83598         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83599         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83600         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83601         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83602         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83603         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83604         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83605         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83606         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83607         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83608         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83609         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83610         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83611         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83612         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83613         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83614         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83615         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83616         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83617         * sysdeps/ieee754/s_matherr.c: Likewise.
83618         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83619         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83620         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83621         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83623 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83625         * crypt/md5.h: Remove __STDC__ conditionals.
83626         * libio/libioP.h: Likewise.
83627         * locale/programs/config.h: Likewise.
83628         * sysdeps/generic/sysdep.h: Likewise.
83629         * sysdeps/i386/asm-syntax.h: Likewise.
83630         * sysdeps/s390/asm-syntax.h: Likewise.
83631         * sysdeps/unix/sysdep.h: Likewise.
83632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83635 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83637         * libio/libio.h: Remove __STDC__ conditionals.
83638         * malloc/obstack.h: Likewise.
83639         * math/complex.h: Likewise.
83640         * math/math.h: Likewise.
83641         * sysdeps/generic/_G_config.h: Likewise.
83642         * sysdeps/gnu/_G_config.h: Likewise.
83643         * sysdeps/mach/hurd/_G_config.h: Likewise.
83644         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83645         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83646         * sysdeps/sparc/bits/mathdef.h: Likewise.
83648 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83650         [BZ #13583]
83651         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83652         Clean up HAS_* macros.
83653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83654         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83655         possible.
83656         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83657         HAS_AVX.
83658         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83659         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83660         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83661         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83662         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83664 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83666         * elf/tst-unique3.cc (gets): Remove declaration.
83667         * elf/tst-unique3lib.cc (gets): Likewise.
83668         * elf/tst-unique3lib2.cc (gets): Likewise.
83669         * elf/tst-unique4.cc (gets): Likewise.
83671 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83673         * include/stdio.h: Add C++ protection.  Add gets declarations and
83674         definitions.
83675         * debug/tst-chk1.c: Don't declare gets here.
83676         * stdio-common/tst-gets.c: Likewise.
83678 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83680         * posix/glob: Remove directory.
83682 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83684         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83686 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83688         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83689         of the non-standard EPFNOSUPPORT.
83691 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83693         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83694         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83695         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83697 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83699         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83701 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83703         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83704         transient errors.
83705         * nscd/grpcache.c (cache_addgr): Likewise.
83706         * nscd/hstcache.c (cache_addhst): Likewise.
83707         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83708         * nscd/pwdcache.c (cache_addpw): Likewise.
83709         * nscd/servicescache.c (cache_addserv): Likewise.
83711 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83713         * malloc/malloc.c: Various cleanups.
83714         * malloc/hooks.c: Likewise.
83716         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83717         * stdlib/bug-fmtmsg1.c: New file.
83719         * stdlib/fmtmsg.c (init): Add missing unlock.
83720         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83722 2012-01-12  Marek Polacek  <polacek@redhat.com>
83724         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83725         and _GNU_SOURCE.
83727 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83729         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83730         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83731         macro to ensure uniqueness of label name.
83732         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83733         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83735 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83737         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83739         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83740         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83741         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83742         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83744 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83746         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83748         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83749         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83750         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83752         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83754         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83755         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83756         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83757         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83759         * math/bits/math-finite.h: Add ldexp support.
83761 2012-01-10  Marek Polacek  <polacek@redhat.com>
83763         * locale/programs/localedef.h (show_archive_content): Add noreturn
83764         attribute.
83766 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83768         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83770 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83772         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83774         * io/Makefile (headers): Add bits/poll2.h.
83776 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83779         typo #include statement.
83781 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83783         * include/sys/cdefs.h: Define __attribute_alloc_size.
83784         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83785         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83786         * elf/pldd.c: Likewise.
83787         * iconv/iconv_charmap.c: Likewise.
83788         * iconv/iconvconfig.c: Likewise.
83789         * iconv/strtab.c: Likewise.
83790         * locale/programs/locale.c: Likewise.
83791         * locale/programs/localedef.h: Likewise.
83792         * locale/programs/simple-hash.c: Likewise.
83793         * nscd/nscd.h: Likewise.
83794         * nss/makedb.c: Likewise.
83795         * sysdeps/generic/ldconfig.h: Likewise.
83796         * locale/programs/localedef.c: Remove xmalloc prototype.
83797         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83799 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83801         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83802         appropriate.
83804 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83806         * math/Makefile (tests): Add tst-CMPLX.
83807         * math/tst-CMPLX.c: New file.
83809         * math/complex.h (CMPLXL): Fix typo.
83811         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83812         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83813         GLIBC_2.16.
83814         * debug/tst-chk1.c: Add poll and ppoll tests.
83815         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83816         * include/sys/poll.h: Add hidden proto for ppoll.
83817         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83818         * sysdeps/mach/hurd/ppoll.c: Likewise.
83819         * io/ppoll.c: Likewise.
83820         * debug/poll_chk.c: New file.
83821         * debug/ppoll_chk.c: New file.
83822         * include/bits/poll2.h: New file.
83823         * io/bits/poll2.h: New file.
83825         [BZ #1350]
83826         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83828         * configure.in: static is always set to yes.  Remove.
83829         * config.make.in: Don't set build-static.
83830         * Makeconfig: Remove use of build-static.
83831         * dlfcn/Makefile: Likewise.
83832         * elf/Makefile: Likewise.
83833         * math/Makefile: Likewise.
83834         * misc/Makefile: Likewise.
83835         * nptl/Makefile: Likewise.
83836         * sysdeps/mach/hurd/Makefile: Likewise.
83838         * configure.in: PWD_P is not used anymore.
83839         * config.make.in: Remove PWD_P entry.
83841         * configure.in: Remove last remnants of RANLIB.
83842         No need to check for signed size_t anymore.
83843         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83844         and IA-64.
83845         Remove __builtin_expect test because we require at least gcc 3.4.
83846         * aclocal.m4: Likewise.
83848         * wcsmbs/mbrtoc16.c: Implement using towc function.
83849         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83850         * wcsmbs/wcsmbsload.c: Likewise.
83851         * iconv/gconv_simple.c: Likewise.
83852         * iconv/gconv_int.h: Likewise.
83853         * iconv/gconv_builtin.h: Likewise.
83854         * iconv/iconv_prog.c: Remove CHAR16 handling.
83856         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83858         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83860         * configure.in: Remove --with-elf and --enable-bounded options.
83861         Dont set base_machine for ia64.  More non-ELF conditions removed.
83862         Remove testing and setting of leading underscore information.
83863         * config.make.in (build-bounded): Set to no.
83864         * config.h.in: Remove NO_UNDERSCORES entry.
83865         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83866         them.
83867         * csu/start.c: Remove !NO_UNDERSCORE code.
83868         * locale/localeinfo.h: Likewise.
83869         * sysdeps/generic/machine-gmon.h: Likewise.
83870         * sysdeps/generic/sysdep.h: Likewise.
83871         * sysdeps/i386/sysdep.h: Likewise.
83872         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83873         * sysdeps/mach/sysdep.h: Likewise.
83874         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83875         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83876         * sysdeps/sh/sysdep.h: Likewise.
83877         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83878         * sysdeps/unix/i386/sysdep.S: Likewise.
83879         * sysdeps/unix/sparc/start.c: Likewise.
83880         * sysdeps/unix/sparc/sysdep.S: Likewise.
83881         * sysdeps/unix/sparc/sysdep.h: Likewise.
83882         * sysdeps/unix/start.c: Likewise.
83883         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83884         * sysdeps/x86_64/sysdep.h: Likewise.
83886 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83888         [BZ #13553]
83889         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83890         for non-gcc.
83891         * argp/argp-fmtstream.h: Use const instead __const.
83892         * argp/argp.h: Likewise.
83893         * assert/assert.h: Likewise.
83894         * bits/fenv.h: Likewise.
83895         * bits/sched.h: Likewise.
83896         * bits/sigset.h: Likewise.
83897         * bits/sigthread.h: Likewise.
83898         * catgets/nl_types.h: Likewise.
83899         * conform/data/pthread.h-data: Likewise.
83900         * crypt/crypt-private.h: Likewise.
83901         * crypt/crypt.h: Likewise.
83902         * crypt/crypt_util.c: Likewise.
83903         * ctype/ctype.h: Likewise.
83904         * debug/execinfo.h: Likewise.
83905         * debug/mbsnrtowcs_chk.c: Likewise.
83906         * debug/mbsrtowcs_chk.c: Likewise.
83907         * debug/wcsnrtombs_chk.c: Likewise.
83908         * debug/wcsrtombs_chk.c: Likewise.
83909         * debug/wcstombs_chk.c: Likewise.
83910         * dirent/dirent.h: Likewise.
83911         * dlfcn/dlfcn.h: Likewise.
83912         * elf/neededtest4.c: Likewise.
83913         * grp/grp.h: Likewise.
83914         * gshadow/gshadow.h: Likewise.
83915         * iconv/gconv.h: Likewise.
83916         * iconv/gconv_int.h: Likewise.
83917         * iconv/gconv_simple.c: Likewise.
83918         * iconv/iconv.h: Likewise.
83919         * iconv/loop.c: Likewise.
83920         * iconv/skeleton.c: Likewise.
83921         * include/aio.h: Likewise.
83922         * include/aliases.h: Likewise.
83923         * include/argz.h: Likewise.
83924         * include/arpa/inet.h: Likewise.
83925         * include/assert.h: Likewise.
83926         * include/dirent.h: Likewise.
83927         * include/dlfcn.h: Likewise.
83928         * include/execinfo.h: Likewise.
83929         * include/fcntl.h: Likewise.
83930         * include/fenv.h: Likewise.
83931         * include/glob.h: Likewise.
83932         * include/grp.h: Likewise.
83933         * include/libintl.h: Likewise.
83934         * include/mntent.h: Likewise.
83935         * include/netdb.h: Likewise.
83936         * include/pwd.h: Likewise.
83937         * include/rpc/netdb.h: Likewise.
83938         * include/sched.h: Likewise.
83939         * include/search.h: Likewise.
83940         * include/shadow.h: Likewise.
83941         * include/signal.h: Likewise.
83942         * include/stdio.h: Likewise.
83943         * include/stdlib.h: Likewise.
83944         * include/string.h: Likewise.
83945         * include/sys/socket.h: Likewise.
83946         * include/sys/stat.h: Likewise.
83947         * include/sys/statfs.h: Likewise.
83948         * include/sys/statvfs.h: Likewise.
83949         * include/sys/syslog.h: Likewise.
83950         * include/sys/time.h: Likewise.
83951         * include/sys/uio.h: Likewise.
83952         * include/time.h: Likewise.
83953         * include/unistd.h: Likewise.
83954         * include/utmp.h: Likewise.
83955         * include/wchar.h: Likewise.
83956         * include/wctype.h: Likewise.
83957         * inet/aliases.h: Likewise.
83958         * inet/arpa/inet.h: Likewise.
83959         * inet/netinet/ether.h: Likewise.
83960         * inet/netinet/in.h: Likewise.
83961         * intl/libintl.h: Likewise.
83962         * io/bits/fcntl2.h: Likewise.
83963         * io/fcntl.h: Likewise.
83964         * io/ftw.h: Likewise.
83965         * io/sys/poll.h: Likewise.
83966         * io/sys/stat.h: Likewise.
83967         * io/sys/statfs.h: Likewise.
83968         * io/sys/statvfs.h: Likewise.
83969         * io/utime.h: Likewise.
83970         * libio/bits/stdio.h: Likewise.
83971         * libio/bits/stdio2.h: Likewise.
83972         * libio/libio.h: Likewise.
83973         * libio/libioP.h: Likewise.
83974         * libio/stdio.h: Likewise.
83975         * locale/lc-ctype.c: Likewise.
83976         * locale/locale.h: Likewise.
83977         * login/utmp.h: Likewise.
83978         * malloc/arena.c: Likewise.
83979         * malloc/malloc.c: Likewise.
83980         * malloc/malloc.h: Likewise.
83981         * malloc/mcheck.c: Likewise.
83982         * malloc/mtrace.c: Likewise.
83983         * math/bits/mathcalls.h: Likewise.
83984         * math/fenv.h: Likewise.
83985         * math/math_private.h: Likewise.
83986         * misc/bits/error.h: Likewise.
83987         * misc/bits/syslog.h: Likewise.
83988         * misc/err.h: Likewise.
83989         * misc/error.h: Likewise.
83990         * misc/fstab.h: Likewise.
83991         * misc/mntent.h: Likewise.
83992         * misc/regexp.h: Likewise.
83993         * misc/search.h: Likewise.
83994         * misc/sgtty.h: Likewise.
83995         * misc/sys/mman.h: Likewise.
83996         * misc/sys/syslog.h: Likewise.
83997         * misc/sys/uio.h: Likewise.
83998         * misc/sys/xattr.h: Likewise.
83999         * misc/ttyent.h: Likewise.
84000         * nis/rpcsvc/ypclnt.h: Likewise.
84001         * nss/nss.h: Likewise.
84002         * posix/bits/unistd.h: Likewise.
84003         * posix/fnmatch.h: Likewise.
84004         * posix/glob.h: Likewise.
84005         * posix/sched.h: Likewise.
84006         * posix/spawn.h: Likewise.
84007         * posix/sys/wait.h: Likewise.
84008         * posix/unistd.h: Likewise.
84009         * posix/wordexp.h: Likewise.
84010         * pwd/pwd.h: Likewise.
84011         * resolv/netdb.h: Likewise.
84012         * resource/sys/resource.h: Likewise.
84013         * rt/aio.h: Likewise.
84014         * rt/bits/mqueue2.h: Likewise.
84015         * rt/mqueue.h: Likewise.
84016         * shadow/shadow.h: Likewise.
84017         * signal/signal.h: Likewise.
84018         * socket/send.c: Likewise.
84019         * socket/sendto.c: Likewise.
84020         * socket/sys/socket.h: Likewise.
84021         * stdio-common/printf.h: Likewise.
84022         * stdlib/bits/stdlib.h: Likewise.
84023         * stdlib/fmtmsg.h: Likewise.
84024         * stdlib/monetary.h: Likewise.
84025         * stdlib/stdlib.h: Likewise.
84026         * stdlib/ucontext.h: Likewise.
84027         * streams/stropts.h: Likewise.
84028         * string/argz.h: Likewise.
84029         * string/bits/string2.h: Likewise.
84030         * string/string.h: Likewise.
84031         * string/strings.h: Likewise.
84032         * sunrpc/rpc/auth.h: Likewise.
84033         * sunrpc/rpc/auth_des.h: Likewise.
84034         * sunrpc/rpc/clnt.h: Likewise.
84035         * sunrpc/rpc/netdb.h: Likewise.
84036         * sunrpc/rpc/pmap_clnt.h: Likewise.
84037         * sunrpc/rpc/xdr.h: Likewise.
84038         * sysdeps/generic/inttypes.h: Likewise.
84039         * sysdeps/generic/net/if.h: Likewise.
84040         * sysdeps/generic/sys/swap.h: Likewise.
84041         * sysdeps/gnu/net/if.h: Likewise.
84042         * sysdeps/gnu/utmpx.h: Likewise.
84043         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
84044         * sysdeps/i386/i486/bits/string.h: Likewise.
84045         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
84046         * sysdeps/s390/bits/string.h: Likewise.
84047         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
84048         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
84049         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
84050         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
84051         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
84052         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
84053         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
84054         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
84055         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
84056         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
84057         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
84058         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
84059         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
84060         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
84061         * sysdeps/unix/sysv/linux/readv.c: Likewise.
84062         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
84063         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
84064         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84065         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
84066         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
84067         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84068         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
84069         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
84070         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
84071         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
84072         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
84073         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
84074         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84075         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
84076         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
84077         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
84078         * sysvipc/sys/ipc.h: Likewise.
84079         * sysvipc/sys/msg.h: Likewise.
84080         * sysvipc/sys/sem.h: Likewise.
84081         * sysvipc/sys/shm.h: Likewise.
84082         * termios/termios.h: Likewise.
84083         * time/sys/time.h: Likewise.
84084         * time/time.h: Likewise.
84085         * wcsmbs/bits/wchar2.h: Likewise.
84086         * wcsmbs/uchar.h: Likewise.
84087         * wcsmbs/wchar.h: Likewise.
84088         * wctype/wctype.h: Likewise.
84090         [BZ #13551]
84091         * Makeconfig: Remove all but ELF support including AIX support.
84092         * Makerules: Likewise.
84093         * config.h.in: Likewise.
84094         * config.make.in: Likewise.
84095         * configure: Likewise.
84096         * configure.in: Likewise.
84097         * csu/Makefile: Likewise.
84098         * csu/version.c: Likewise.
84099         * debug/Makefile: Likewise.
84100         * dlfcn/Makefile: Likewise.
84101         * elf/Makefile: Likewise.
84102         * extra-lib.mk: Likewise.
84103         * iconv/Makefile: Likewise.
84104         * include/libc-symbols.h: Likewise.
84105         * include/shlib-compat.h: Likewise.
84106         * resolv/Makefile: Likewise.
84107         * resolv/res_libc.c: Likewise.
84108         * rt/Makefile: Likewise.
84109         * sysdeps/i386/asm-syntax.h: Likewise.
84110         * sysdeps/i386/sysdep.h: Likewise.
84111         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84112         * sysdeps/mach/sysdep.h: Likewise.
84113         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
84114         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
84115         * sysdeps/s390/asm-syntax.h: Likewise.
84116         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84117         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84118         * sysdeps/sh/sysdep.h: Likewise.
84119         * sysdeps/unix/sparc/sysdep.h: Likewise.
84120         * sysdeps/wordsize-32/divdi3.c: Likewise.
84121         * sysdeps/x86_64/sysdep.h: Likewise.
84123         * argp/Versions: Remove _argp_unlock_xxx.
84125         [BZ #13559]
84126         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
84127         * abilist/libBrokenLocale.abilist: Likewise.
84128         * abilist/libanl.abilist: Likewise.
84129         * abilist/libc.abilist: Likewise.
84130         * abilist/libcrypt.abilist: Likewise.
84131         * abilist/libdl.abilist: Likewise.
84132         * abilist/libm.abilist: Likewise.
84133         * abilist/libnsl.abilist: Likewise.
84134         * abilist/libpthread.abilist: Likewise.
84135         * abilist/libresolv.abilist: Likewise.
84136         * abilist/librt.abilist: Likewise.
84137         * abilist/libthread_db.abilist: Likewise.
84138         * abilist/libutil.abilist: Likewise.
84139         * abilist/libnss_db.abilist: New file.
84141         * scripts/abilist.awk: Add support for indirect functions.
84143         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
84145         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
84147         * shlib-versions: Remove entries for ports architectures.
84149         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
84150         files in ports.
84151         * elf/stackguard-macros.h: Remove support for IA-64.
84152         * elf/tst-auditmod1.c: Likewise.
84153         * sysdeps/generic/ldsodefs.h: Likewise.
84155         * sysdeps/unix/sysv/linux/configure.in: Ports should define
84156         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
84157         configure files.
84159         [BZ #13552]
84160         * configure.in: Remove --enable-omitfp support.
84161         * FAQ.in: Adjust.
84162         * config.make.in: Likewise.
84163         * Makeconfig: Likewise.
84164         * manual/install.texi: Likewise.
84166         In case anyone cares, the IA-64 architecture could move to ports.
84167         * sysdeps/ia64/*: Removed.
84168         * sysdeps/unix/sysv/linux/ia64/*: Removed.
84169         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
84171         [BZ #13555]
84172         * configure.in: Remove entries for unsupported architectures.
84174         [BZ #13533]
84175         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
84176         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
84177         routines.
84178         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
84179         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
84180         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
84181         fall back to using wcrtomb.
84182         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
84183         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
84184         renaming.
84185         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
84186         * wcsmbs/tst-c16c32-1.c: New file.
84188         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
84189         local variable.
84191         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
84193         * elf/tst-unique3.cc: Add explicit declaration of gets.
84194         * elf/tst-unique3lib.cc: Likewise.
84195         * elf/tst-unique3lib2.cc: Likewise.
84196         * elf/tst-unique4.cc: Likewise.
84198         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
84200 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
84202         [BZ #13566]
84203         * assert/assert.h (static_assert): Don't define for C++.
84204         * libio/stdio.h (gets): Do declare for C++ <= C++11.
84205         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
84207 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
84209         * iconv/loop.c (single loop): Fix assertion in storing of
84210         remaining bytes.
84212         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
84214 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
84216         * posix/getconf.c: Update copyright year.
84217         * nss/getent.c: Likewise.
84218         * nss/makedb.c: Likewise.
84219         * iconv/iconvconfig.c: Likewise.
84220         * iconv/iconv_prog.c: Likewise.
84221         * elf/ldconfig.c: Likewise.
84222         * elf/pldd.c: Likewise.
84223         * elf/sotruss.ksh: Likewise.
84224         * catgets/gencat.c: Likewise.
84225         * csu/version.c: Likewise.
84226         * elf/ldd.bash.in: Likewise.
84227         * elf/sprof.c (print_version): Likewise.
84228         * locale/programs/locale.c: Likewise.
84229         * locale/programs/localedef.c: Likewise.
84230         * login/programs/pt_chown.c: Likewise.
84231         * nscd/nscd.c (print_version): Likewise.
84232         * debug/xtrace.sh: Likewise.
84233         * malloc/memusage.sh: Likewise.
84234         * malloc/mtrace.pl: Likewise.
84235         * debug/catchsegv.sh: Likewise.
84237 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
84239         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84240         pure attribute.
84242 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
84244         [BZ #13533]
84245         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
84246         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
84247         transformations.
84248         * iconv/gconv_int.h: Likewise.
84249         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
84250         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
84251         from libc for GLIBC_2.16.
84252         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
84253         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
84254         * wcsmbs/uchar.h: Really define mbstate_t.
84255         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
84256         * wcsmbs/c16rtomb.c: New file.
84257         * wcsmbs/mbrtoc16.c: New file.
84258         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
84259         for C/POSIX locale.
84260         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
84261         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
84263         * wcsmbs/wchar.h: Add missing __restrict.
84265 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84267         [BZ #13532]
84268         * time/Makefile (routines): Add timespec_get.
84269         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
84270         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
84271         timespec for ISO C11.
84272         * time/timespec_get.c: New file.
84273         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
84274         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
84276         [BZ #13531]
84277         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
84278         * stdlib/stdlib.h: Declare aligned_alloc.
84279         * Versions.def: Add GLIBC_2.16 for libc.
84280         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
84282         [BZ 13527]
84283         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
84284         ISO C11.
84286         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
84287         code.
84289         [BZ #13528]
84290         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
84292         [BZ #13529]
84293         * assert/assert.h (static_assert): Define.
84295         * version.h: Update for 2.16 development version.
84297         [BZ #13526]
84298         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
84299         _ISOC11_SOURCE.
84301         * version.h (RELEASE): Bump for 2.15 release.
84302         * include/features.h (__GLIBC_MINOR__): Bump to 15.
84304         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
84305         Patch by Marek Polacek <mpolacek@redhat.com>.
84307         * bits/byteswap.h: Protect long long constants with __extension__.
84308         * sysdeps/i386/bits/byteswap.h: Likewise.
84309         * sysdeps/ia64/bits/byteswap.h: Likewise.
84310         * sysdeps/s390/bits/byteswap.h: Likewise.
84311         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84313 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84315         [BZ #13540]
84316         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
84317         destination buffer.
84318         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
84320 2011-12-23  Marek Polacek  <polacek@redhat.com>
84322         * elf/dl-addr.c (determine_info): Add inline keyword.
84323         * elf/tst-auditmod4b.c (check_avx): Likewise.
84324         * elf/tst-auditmod6b.c (check_avx): Likewise.
84325         * elf/tst-auditmod6c.c (check_avx): Likewise.
84326         * elf/tst-auditmod7b.c (check_avx): Likewise.
84328 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84330         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
84331         !__SSE_MATH__.
84333 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84335         [BZ #13540]
84336         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
84337         processing for last bytes.
84339 2011-08-06  Bruno Haible  <bruno@clisp.org>
84341         [BZ #13061]
84342         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
84343         U+0385, not to U+1FEE.
84345         [BZ #13062]
84346         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
84347         entry for U+00A5 U+0301.
84349 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84351         [BZ #13166]
84352         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
84353         buffer for the output is too small.
84355         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
84356         optimization.
84358         [BZ #13185]
84359         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
84360         SSE flags if possible.
84362 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84364         [BZ #13540]
84365         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
84366         processing for last bytes.
84368 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
84370         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
84371         (syscall-list-default-options, syscall-list-default-condition)
84372         (syscall-list-includes): Define.
84373         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
84374         list of ABIs and options and #if conditions for each ABI.  Do not
84375         handle common syscalls between ABIs specially.
84376         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
84377         Remove.
84378         (syscall-list-variants, syscall-list-32bit-options)
84379         (syscall-list-32bit-condition, syscall-list-64bit-options)
84380         (syscall-list-64bit-condition): Define.
84381         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
84382         (syscall-list-variants, syscall-list-32bit-options)
84383         (syscall-list-32bit-condition, syscall-list-64bit-options)
84384         (syscall-list-64bit-condition): Define.
84385         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
84386         Remove.
84387         (syscall-list-variants, syscall-list-32bit-options)
84388         (syscall-list-32bit-condition, syscall-list-64bit-options)
84389         (syscall-list-64bit-condition): Define.
84390         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
84391         Remove.
84392         (syscall-list-variants, syscall-list-32bit-options)
84393         (syscall-list-32bit-condition, syscall-list-64bit-options)
84394         (syscall-list-64bit-condition): Define.
84396 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84398         * locale/iso-639.def: Add brx entry.
84400         [BZ #13328]
84401         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
84402         Proposed by Mariusz_Cukr <marcukr@op.pl>.
84404         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
84405         __feraiseexcept_renamed.
84407 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84409         [BZ #13538]
84410         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
84411         EPOLLET with unsigned values.
84412         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84413         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84415         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
84416         to large cancellation.
84417         * math/s_cacoshf.c: Likewise.
84418         * math/s_cacoshl.c: Likewise.
84420 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
84422         [BZ #13305]
84423         [BZ #12786]
84424         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
84425         * math/s_cacoshf.c: Likewise.
84426         * math/s_cacoshl.c: Likewise.
84428 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84430         [BZ #13439]
84431         * iconv/gconv.h: Define __GCONV_SWAP.
84432         * iconvdata/unicode.c: The swap bit must be stored in __flags.
84433         * iconvdata/utf-16.c: Likewise.
84434         * iconvdata/utf-32.c: Likewise.
84436 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
84438         [BZ #13524]
84439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
84440         numerator after shifting it by one limb.
84442 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
84444         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
84445         under [__USE_EXTERN_INLINES].
84447 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84449         [BZ #13446]
84450         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
84452 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84454         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
84455         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
84456         optimized code.
84457         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
84458         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
84459         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
84460         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
84461         for strncasecmp/strncasecmp_l compilation.
84462         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
84463         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
84465 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
84467         [BZ #13484]
84468         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
84469         of __asm__.
84471 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84473         [BZ #13506]
84474         * time/tzfile.c (__tzfile_read): Check values from file header.
84476 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
84478         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
84479         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
84480         * powerpc/powerpc32/dl-start.S: Likewise.
84481         * powerpc/powerpc32/elf/start.S: Likewise.
84482         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
84483         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
84484         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
84485         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
84486         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
84487         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
84488         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
84489         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
84490         * powerpc/powerpc32/fpu/s_round.S: Likewise.
84491         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
84492         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
84493         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
84494         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
84495         * powerpc/powerpc32/memset.S: Likewise.
84496         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
84497         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
84498         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
84499         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
84500         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
84501         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
84502         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
84503         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
84504         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
84505         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
84506         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
84507         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84508         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84510 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84512         * math/libm-test.inc: Added more nearbyint tests.
84513         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
84514         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
84515         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
84516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
84518 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
84520         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
84521         FD_CLOEXEC.
84523 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84525         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
84526         Add wcscpy-ssse3 wcscpy-c.
84527         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
84528         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
84529         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
84530         * sysdeps/x86_64/wcschr.S: New file.
84531         * sysdeps/x86_64/wcsrchr.S: New file.
84532         * string/test-strcmp.c: Remove checking of wcscmp function for
84533         wrong alignments.
84534         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
84535         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
84536         wcsrchr-sse2 wcsrchr-c.
84537         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
84538         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
84539         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
84540         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
84541         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
84542         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
84543         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
84544         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
84545         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
84546         * wcsmbc/wcschr.c (WCSCHR): New macro.
84548 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84550         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
84551         * wcsmbs/test-wcsrchr.c: New file.
84552         * string/test-strrchr.c: Add wcsrchr support.
84553         (WIDE): New macro.
84554         * wcsmbs/test-wcscpy.c: New file.
84555         * string/test-strcpy.c: Add wcscpy support.
84556         (WIDE): New macro.
84558 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
84560         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
84561         the inner loop.
84563 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
84565         [BZ #13472]
84566         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
84568 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
84570         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
84571         Minor optimizations.
84573         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
84574         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
84575         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
84577 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
84579         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
84580         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
84581         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
84582         for gcc to avoid warnings.
84583         * inet/Makefile (tests): Add tst-checks.
84584         * inet/tst-checks.c: New file.
84586         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
84587         warning.
84589         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
84590         __wmemcmp_sse2.
84592         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
84593         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
84595         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
84597 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
84599         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
84600         problem.
84602         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84604 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84606         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84607         conditional on GCC version.
84608         (__arch_compare_and_exchange_val_8_acq)
84609         (__arch_compare_and_exchange_val_16_acq)
84610         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84611         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84612         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84614 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84616         * sysdeps/sh/backtrace.c: New file.
84618 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84620         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84621         parenthesis.
84623 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84625         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84626         falling back to utime.
84628 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84630         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84631         expectations for float.
84633 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84635         * locale/weight.h (findidx): Add parameter len.
84636         * locale/weightwc.h (findidx): Likewise.
84637         * posix/fnmatch_loop.c (FCT): Adjust caller.
84638         * posix/regcomp.c (build_equiv_class): Likewise.
84639         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84640         * posix/regexec.c (check_node_accept_bytes): Likewise.
84641         * string/strcoll_l.c (STRCOLL): Likewise.
84642         * string/strxfrm_l.c (STRXFRM): Likewise.
84644 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84646         * Makefile.in: Remove CVSOPT handling.
84647         * configure.in: Remove use of AC_REVISION.
84648         * iconvdata/Makefile (distribute): No need to filter out CVS.
84649         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84650         handling.
84652 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84654         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84655         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84656         [USE_AS_STRNCASECMP_L]: Likewise.
84657         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84658         NO_TLS_DIRECT_SEG_REFS.
84659         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84660         Fix argument offsets for non-PIC.
84661         [USE_AS_STRNCASECMP_L]: Likewise.
84662         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84663         NO_TLS_DIRECT_SEG_REFS.
84665 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84667         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84668         O_CLOEXEC.
84669         * locale/loadlocale.c (_nl_load_locale): Likewise.
84671 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84673         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84674         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84675         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84676         (SYSCALL_GETTIME): Set errno on error.
84678         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84679         count references to noai6ai_cached.
84681 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84683         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84685         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84686         FD_CLOEXEC for /proc/self/maps.
84688         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84689         FD_CLOEXEC for /proc/meminfo.
84691         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84692         gai.conf.
84694         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84695         FD_CLOEXEC for given file.
84697         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84699         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84700         FD_CLOEXEC for /etc/hosts.
84701         (_gethtent): Likewise.
84703         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84705         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84706         cancellation and set FD_CLOEXEC for /etc/netgroup.
84708         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84709         reading /etc/publickey.
84711         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84712         allow cancellation when reading /etc/group.
84714         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84715         cancellation.
84716         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84718         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84719         when using data file.
84721         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84723         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84724         (write_nis_obj): Use "c" and "e" in fopen.
84726         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84728         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84730         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84732         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84734         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84735         locale.alias.
84737         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84739         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84741         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84743         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84744         file parsing and set FD_CLOEXEC.
84746 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84748         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84750 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84752         * malloc/arena.c (arena_get2): Don't call reused_arena when
84753         _int_new_arena failed.
84755 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84757         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84758         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84759         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84760         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84761         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84762         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84763         to compile strcasecmp and strncasecmp.
84764         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84765         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84767         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84769 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84771         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84772         locale-defines.sym to gen-as-const-headers.
84773         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84774         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84775         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84776         to compile strcasecmp and strncasecmp.
84777         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84778         strcasecmp_l and strncasecmp_l.
84779         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84780         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84781         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84782         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84783         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84784         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84785         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84786         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84787         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84788         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84789         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84791 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84793         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84794         result of SYSDEP_GETTIME_CPU to retval.
84795         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84796         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84798         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84799         variable.
84801         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84802         mantissa words.
84803         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84805         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84806         from unused variable.
84808         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84809         DWARF definitions.
84810         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84811         for assembling.
84813         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84814         over namespaces.
84816         * sunrpc/rpc_prot.c (rejected): Fix case value.
84818         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84819         unsigned long long int to avoid warnings in shift.
84821         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84822         of use of trans.
84823         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84824         variable tmp.
84826         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84827         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84828         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84830         * nis/nis_table.c (nis_list): Use variable of correct type for
84831         result of __follow_path call.
84833 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84835         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84836         of math functions ceil, trunc, floor, round, and sqrt, when
84837         avaliable on the platform.
84838         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84839         name clash.
84840         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84841         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84842         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84844 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84846         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84847         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84849 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84851         * include/unistd.h: Fix __readlink return type.
84852         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84854 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84856         * stdlib/ucontext.h: Undo last change for makecontext.
84858 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84860         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84862         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84863         * setjmp/setjmp.h: Mark functions as non-leaf.
84864         * setjmp/bits/setjmp2.h: Likewise.
84865         * stdlib/ucontext.h: Likewise.
84867 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84869         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84870         (reused_arena): Don't check arena limit.
84871         (arena_get2): Atomically check arena limit.
84873 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84875         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84876         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84879         instructions.
84881 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84883         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84884         handler when locking.
84886         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84887         Fix size of allocated buffer.
84889 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84891         [BZ #10103]
84892         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84893         declarations for long double functions.
84894         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84896         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84898 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84900         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84901         installed.
84903         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84904         is disabled.
84906 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84908         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84910 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84912         * include/alloca.h (stackinfo_alloca_round): Define.
84913         (extend_alloca): Use it.
84914         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84915         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84916         here.
84918         * scripts/check-local-headers.sh: Ignore libaudit.h.
84920         * nscd/Makefile (extra-objs): Make recursively expanded.
84922 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84924         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84925         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84927         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84928         * posix/tst-rfc3484-2.c: Likewise.
84929         * posix/tst-rfc3484-3.c: Likewise.
84931         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84932         process_vm_writev.
84933         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84934         process_vm_writev.
84935         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84936         process_vm_writev from libc using GLIBC_2.15 version.
84938         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84940 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84942         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84943         stack usage.
84945 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84947         [BZ #13367]
84948         * nss/getent.c (initgroups_keys): Show error message in case no group
84949         names are given.
84951         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84952         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84953         __bump_nl_timestamp.
84954         * nscd/connections (nscd_init): When host database is served open
84955         netlink socket and request notification about configuration changes.
84956         (main_loop_poll): Track netlink file descriptor and bump timestamp
84957         in case data becomes available.
84958         (main_loop_epoll): Likewise.
84959         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84960         (database_pers_head): Add extra_data fileds.
84961         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84962         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84963         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84964         Adjust caller.
84965         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84966         in6ai data, call __free_in6ai.
84967         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84968         Add -DHAVE_NETLINK.
84969         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84970         interface information.  Reuse previous data if netlink timestamp
84971         is not changed.
84972         (__bump_nl_timestamp): New function.
84973         (__free_in6ai): New function.
84975 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84977         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84978         close_not_cancel_no_status here.
84979         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84981 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84983         [BZ #13276]
84984         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84985         return value.
84987         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84988         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84989         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84991 2011-07-03  Andreas Jaeger  <aj@suse.de>
84993         [BZ #10709]
84994         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84995         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84996         * math/libm-test.inc (sin_test): Add test case.
84998 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85000         [BZ #13337]
85001         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
85002         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85004         * elf/chroot_canon.c (chroot_canon): Cleanups.
85006         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
85008         [BZ #13335]
85009         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
85010         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85012         * string/test-strchr.c: Make usable for strchrnul testing.
85013         * string/test-strchrnul.c: New file.
85014         * string/Makefile (strop-tests): Add strchrnul.
85016         * po/it.po: Update from translation team.
85017         * po/es.po: Likewise.
85019 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
85021         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
85022         the three constants needed as parameters.  Drop the others.
85023         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
85024         __m128i_strloadu_tolower.
85025         Create and initialize variable zero and use it in all the places
85026         where _mm_setzero_si128 was used.
85028         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
85029         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
85030         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
85031         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
85032         anymore.
85033         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
85034         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
85035         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
85036         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
85037         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
85038         __mpranred, __mptan.
85039         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
85040         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
85041         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
85042         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
85043         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
85044         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
85045         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
85046         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
85047         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
85049 2011-10-28  Andreas Schwab  <schwab@redhat.com>
85051         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
85052         redefine if SHARED.
85053         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
85055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
85056         wide char related routines to wcsmbs subdir.
85058 2011-10-27  Andreas Schwab  <schwab@redhat.com>
85060         [BZ #13344]
85061         * misc/sys/cdefs.h (__THROWNL): Define.
85062         * posix/unistd.h: Use __THREADNL instead of __THREAD
85063         for memory synchronization functions.
85065 2011-10-26  Roland McGrath  <roland@hack.frob.com>
85067         [BZ #13349]
85068         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
85069         doesn't exist.
85070         * manual/stdio.texi (Obstack Streams): Node removed.
85072 2011-10-26  Andreas Schwab  <schwab@redhat.com>
85074         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
85075         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85076         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85078         * math/math_private.h (math_force_eval): Allow non-addressable
85079         arguments.
85080         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
85082 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85084         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
85085         file is not needed.
85087         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
85088         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
85089         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85090         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85091         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85092         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85093         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85094         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
85095         Add AVX variants.
85096         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
85097         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
85098         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
85099         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
85100         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
85101         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
85102         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
85103         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
85104         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
85105         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
85106         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
85107         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
85108         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
85109         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
85110         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
85111         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
85112         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
85113         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
85114         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
85116         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
85117         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
85119         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
85120         place.  Use VEX encoding when compiling for AVX.
85122 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85124         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
85125         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
85127         * string/test-strchr.c (do_test): Don't generate NUL bytes.
85129 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85131         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
85132         useless if() expression.
85133         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85134         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85135         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85136         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85137         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85138         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85139         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85140         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85141         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85142         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85143         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85144         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85145         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85146         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85147         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85148         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85149         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85150         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85151         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85153         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
85155 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85157         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
85158         condition.
85159         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85161 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85163         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
85164         .text section.  Avoid duplicate constants.
85165         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85167         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85168         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85169         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85170         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85171         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85172         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85173         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
85174         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
85175         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
85176         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
85177         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
85178         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
85179         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
85180         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
85181         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
85182         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
85183         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85184         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85185         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85186         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85187         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85188         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
85189         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
85190         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
85191         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
85192         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
85193         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
85194         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
85195         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
85196         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
85197         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
85198         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
85199         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
85200         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
85201         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
85202         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
85203         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
85204         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
85205         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
85206         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
85207         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
85208         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
85209         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
85211 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
85213         * sysdeps/x86_64/dla.h: Move to ...
85214         * sysdeps/x86_64/fpu/dla.h: ...here.
85215         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
85216         situations.  Use __builtin_fma only for gcc 4.6 and up.
85218         * config.make.in: Add have-mfma4 entry.
85219         * configure.in: Substitute libc_cv_cc_fma4.
85220         * math/Makefile (dbl-only-routines): Add sincostab.
85221         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
85222         Use __sincostab not sincos.
85223         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
85224         name is a macro.
85225         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85226         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85227         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85228         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
85229         using __copysign.
85230         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
85231         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
85232         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
85233         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85234         and __inv.
85235         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
85236         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
85237         __copysign.
85238         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
85239         define aliases when function name is a macro.
85240         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
85241         sysdeps/ieee754/dbl-64/sincos.tbl.
85242         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
85243         fma4-enabled routines.
85244         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
85245         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
85246         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
85247         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
85248         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
85249         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
85250         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
85251         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
85252         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
85253         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
85254         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
85255         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
85256         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
85257         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
85258         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
85259         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
85260         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
85261         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
85262         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
85263         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
85264         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
85265         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
85266         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
85267         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
85268         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
85269         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
85270         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
85271         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
85272         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
85273         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
85275         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
85276         rename.
85277         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85278         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85279         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85280         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85282         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85283         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85284         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85286 2011-10-24  Andreas Schwab  <schwab@redhat.com>
85288         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
85290 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85292         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
85294         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
85295         prediction.
85296         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
85298         * string/strnlen.c: Don't define STRNLEN, reverse logic.
85299         Remove unused variable magic_bits.
85300         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
85302         * string/strnlen.c: Define and use STRNLEN macro.
85303         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
85304         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
85305         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
85306         * wcsmbs/wcslen.c: Define and use WCSLEN.
85307         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
85308         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
85309         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
85310         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
85311         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
85312         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
85313         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85315 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85318         strnlen-sse2-no-bsf.
85319         Rename strlen-no-bsf to strlen-sse2-no-bsf.
85320         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
85321         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
85322         Add strnlen support.
85323         (USE_AS_STRNLEN): New macro.
85324         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
85325         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
85326         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
85327         * sysdeps/x86_64/wcslen.S: New file.
85329 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
85331         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85332         XMM-moves are used for copying on small sizes.
85334 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85336         * wcsmbs/Makefile (strop-tests): Add wcschr.
85337         * wcsmbs/test-wcschr.c: New file.
85338         * string/test-strchr.c: Update.
85339         Add wcschr support.
85340         (WIDE): New macro.
85342 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85344         * wcsmbs/Makefile (strop-tests): Add wcslen.
85345         * wcsmbs/test-wcslen.c: New file.
85346         * string/test-strlen.c: Update.
85347         Add wcslen support.
85348         (WIDE): New macro.
85350 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85352         * po/it.po: Update from translation team.
85354 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85356         * sysdeps/x86_64/wcscmp.S: Update.
85357         Fix wrong comparison semantics.
85358         wcscmp shall use signed comparison not unsigned.
85359         Don't use substraction to avoid overflow bug.
85360         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
85361         * wcsmbc/wcscmp.c: Likewise.
85362         * string/test-strcmp.c: Likewise.
85363         Add new tests to check cases with negative values.
85365 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85367         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
85368         * sysdeps/x86_64/dla.h: ...here.  New file.
85369         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
85370         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85371         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85372         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85373         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85374         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85375         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85376         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85377         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85379 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
85381         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
85382         __ynl_finite aliases.
85384 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85388         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
85389         define DLA_FMA.
85390         [DLA_FMA] (EMULV): Use DLA_FMA.
85391         [DLA_FMA] (MUL12): Use EMULV.
85392         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
85393         that are not needed.
85394         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85395         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85396         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85397         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85398         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85399         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85400         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85402 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
85404         * math/s_nan.c: Undef __nan.
85405         * math/s_nanf.c: Undef __nanf.
85406         * math/s_nanl.c: Undef __nanl.
85407         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
85408         "math_private.h".
85410 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85412         * math/s_catan.c: Add branch predictions.
85413         * math/s_catanf.c: Likewise.
85414         * math/s_catanh.c: Likewise.
85415         * math/s_catanhf.c: Likewise.
85416         * math/s_catanhl.c: Likewise.
85417         * math/s_catanl.c: Likewise.
85418         * math/s_cexp.c: Likewise.
85419         * math/s_cexpf.c: Likewise.
85420         * math/s_cexpl.c: Likewise.
85421         * math/s_clog.c: Likewise.
85422         * math/s_clog10.c: Likewise.
85423         * math/s_clog10f.c: Likewise.
85424         * math/s_clog10l.c: Likewise.
85425         * math/s_clogf.c: Likewise.
85426         * math/s_clogl.c: Likewise.
85427         * math/s_csqrt.c: Likewise.
85428         * math/s_csqrtf.c: Likewise.
85429         * math/s_csqrtl.c: Likewise.
85430         * math/s_ctanf.c: Likewise.
85431         * math/s_ctanh.c: Likewise.
85432         * math/s_ctanhf.c: Likewise.
85433         * math/s_ctanhl.c: Likewise.
85434         * math/s_ctanl.c: Likewise.
85436         * math/math_private.h: Define __nan, __nanf, __nanl.
85437         * math/s_cacosh.c: Include <math_private.h>.
85438         * math/s_cacoshl.c: Likewise.
85439         * math/s_casinh.c: Likewise.
85440         * math/s_casinhf.c: Likewise.
85441         * math/s_casinhl.c: Likewise.
85442         * math/s_ccos.c: Rely entire on ccosh.
85443         * math/s_ccosf.c: Rely entire on ccoshf.
85444         * math/s_ccosl.c: Rely entirely on ccoshl.
85445         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
85446         Remove tests for FE_INVALID.
85447         * math/s_ccoshf.c: Likewise.
85448         * math/s_ccoshl.c: Likewise.
85449         * math/s_csin.c: Likewise.
85450         * math/s_csinf.c: Likewise.
85451         * math/s_csinh.c Likewise.
85452         * math/s_csinhf.c: Likewise.
85453         * math/s_csinhl.c: Likewise.
85454         * math/s_csinl.c: Likewise.
85455         * math/s_ctan.c: Likewise.
85456         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
85457         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
85458         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
85460 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
85462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
85463         compilation problems.
85465         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
85466         __builtin_expect.
85468 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
85470         * sysdeps/i386/configure.in: Test for -mfma4 option.
85471         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
85472         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
85473         COMMON_CPUID_INDEX_80000001.
85474         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
85475         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
85476         use it if FMA3 is not supported.
85477         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
85479         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
85480         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85482 2011-10-20  Andreas Schwab  <schwab@redhat.com>
85484         [BZ #12892]
85485         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
85486         it would create a cycle with a link time dependency.
85488 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
85490         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
85491         instruction.
85492         * string/Makefile (strop-tests): Add rawmemchr.
85493         * string/test-rawmemchr.c: New file.
85495         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
85496         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
85497         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
85498         when compiling str{,n}casecmp and when AVX is available.  Hook up
85499         new optimized code in initializers.
85501 2011-10-19  Andreas Schwab  <schwab@redhat.com>
85503         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
85504         __feraiseexcept instead of feraiseexcept.
85506 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
85508         * math/math_private.h: Define defaults for libc_fetestexcept and
85509         libc_feupdateenv.
85510         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
85511         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
85512         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85513         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85514         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85515         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85516         libc_fetestexcept and libc_feupdateenv.
85518         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
85519         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
85520         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
85521         * sysdeps/x86_64/fpu/math_private.h: Define special version of
85522         libc_feholdexcept_setround.
85524         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
85525         Add s_nearbyint-c and s_nearbyintf-c.
85526         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
85527         nearbyintf inlines.
85528         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
85529         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
85530         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
85531         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
85533         * math/math_private.h: Define defaults for libc_fegetround,
85534         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
85535         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
85536         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
85537         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
85538         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
85539         standard functions.
85540         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85541         Remove comments and hacks for old compiler versions.
85542         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85543         libc_fegetround, libc_fesetround, libc_feholdexcept, and
85544         libc_feholdexceptl.
85546 2011-10-18  Andreas Schwab  <schwab@redhat.com>
85548         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
85549         (__feraiseexcept_renamed): Add __NTH.
85550         (feraiseexcept): Add __NTH.  Rename local variables to fix
85551         namespace violations.
85553 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
85555         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
85557         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
85559         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
85560         recently added interfaces.
85561         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
85563         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
85564         about macro parameter expansion.
85566         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
85567         __NO_MATH_INLINES is defined.  Cleanups.
85569         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
85570         and __floorf is target has SSE4.1.
85571         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
85572         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
85573         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
85574         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
85576         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
85577         name.
85578         (floorf): Likewise.
85580         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
85582 2011-10-17  Andreas Schwab  <schwab@redhat.com>
85584         * misc/sys/cdefs.h: Fix last change.
85586         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
85587         database lookup.
85589 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
85591         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
85593         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
85594         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85595         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85596         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85597         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85598         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85599         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85600         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85601         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85602         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
85603         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85604         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85605         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85606         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85607         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85608         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85609         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85610         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85611         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85612         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85613         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85614         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85616         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85617         ceil, ceilf, floor, floorf.
85619         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85620         Perform IRELATIVE relocations last.
85622         * elf/do-rel.h: Add another parameter nrelative, replacing the
85623         local variable with the same name.  Change name of the function
85624         to end in Rel or Rela (uppercase).
85625         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85626         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85627         elf_dynamic_do_##reloc function.
85629 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85631         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85632         is sufficient, at least on modern CPUs.
85634         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85636         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85637         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85639         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85640         __expl_finite.
85641         * math/bits/math-finite.h: Add entries for exp.
85642         * math/e_expl.c: Add __*_finite alias.
85643         * sysdeps/i386/fpu/e_exp.S: Likewise.
85644         * sysdeps/i386/fpu/e_expf.S: Likewise.
85645         * sysdeps/i386/fpu/e_expl.c: Likewise.
85646         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85647         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85648         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85649         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85650         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85651         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85652         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85654         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85655         is sufficient, at least on modern CPUs.
85657         * ctype/ctype-info.c (__ctype_init): Define.
85658         * include/ctype.h (__ctype_init): Declare.
85659         (__ctype_b_loc): The variable is always initialized.
85660         (__ctype_toupper_loc): Likewise.
85661         (__ctype_tolower_loc): Likewise.
85662         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85663         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85665 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85667         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85669         * configure.in: Also look in $cxxmachine/include for C++ system
85670         headers.
85672 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85674         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85675         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85676         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85677         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85678         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85679         (USE_AS_WMEMCMP): New macro.
85680         Fixing indents.
85681         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85682         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85683         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85684         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85686         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85687         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85688         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85689         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85690         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85691         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85692         (USE_AS_WMEMCMP): New macro.
85693         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85694         * sysdeps/string/test-memcmp.c: Update.
85695         Fix simple_wmemcmp.
85696         Add new tests.
85697         * wcsmbs/wmemcmp.c: Update.
85698         (WMEMCMP): New macro.
85699         Fix overflow bug.
85701 2011-10-12  Andreas Jaeger  <aj@suse.de>
85703         [BZ #13268]
85704         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85706 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85708         * libio/iofwide.c (do_length): Avoid warning.
85710         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85712 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85714         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85716         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85717         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85718         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85719         * sysdeps/i386/i686/fpu/e_log.S: New file.
85720         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85721         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85723         * ctype/ctype.h: Add support for inlined isXXX functions when
85724         compiling C++ code.
85726 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85728         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85730         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85732 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85734         [BZ #13291]
85735         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85737 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85739         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85740         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85741         feraiseexcept.
85743         * sysdeps/x86_64/memrchr.S: Check for zero size.
85745         * string/stratcliff.c: Add memrchr tests.
85747 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85749         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85750         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85751         rawmemchr-sse2 rawmemchr-sse2-bsf.
85752         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85753         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85754         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85755         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85756         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85757         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85758         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85759         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85760         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85761         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85762         * string/memrchr.c (MEMRCHR): New macro.
85764 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85766         Add integration with gcc's -ffinite-math-only and optimize wrapper
85767         functions in libm.
85768         * Versions.def: Define GLIBC_2.15 version for libm.
85769         * math/Makefile (headers): Add bits/math-finite.h.
85770         * math/bits/math-finite.h: New file.
85771         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85772         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85773         * math/e_acoshl.c: Add __*_finite alias.
85774         * math/e_acosl.c: Likewise.
85775         * math/e_asinl.c: Likewise.
85776         * math/e_atan2l.c: Likewise.
85777         * math/e_atanhl.c: Likewise.
85778         * math/e_coshl.c: Likewise.
85779         * math/e_exp10.c: Likewise.
85780         * math/e_exp10f.c: Likewise.
85781         * math/e_exp10l.c: Likewise.
85782         * math/e_exp2l.c: Likewise.
85783         * math/e_fmodl.c: Likewise.
85784         * math/e_gammal_r.c: Likewise.
85785         * math/e_hypotl.c: Likewise.
85786         * math/e_j0l.c: Likewise.
85787         * math/e_j1l.c: Likewise.
85788         * math/e_jnl.c: Likewise.
85789         * math/e_lgammal_r.c: Likewise.
85790         * math/e_log10l.c: Likewise.
85791         * math/e_log2l.c: Likewise.
85792         * math/e_logl.c: Likewise.
85793         * math/e_powl.c: Likewise.
85794         * math/e_sinhl.c: Likewise.
85795         * math/e_sqrtl.c: Likewise.
85796         * math/e_scalb.c: Completely rewritten and optimized.
85797         * math/e_scalbf.c: Likewise.
85798         * math/e_scalbl.c: Likewise.
85799         * math/w_acos.c: Likewise.
85800         * math/w_acosf.c: Likewise.
85801         * math/w_acosl.c: Likewise.
85802         * math/w_acosh.c: Likewise.
85803         * math/w_acoshf.c: Likewise.
85804         * math/w_acoshl.c: Likewise.
85805         * math/w_asin.c: Likewise.
85806         * math/w_asinf.c: Likewise.
85807         * math/w_asinl.c: Likewise.
85808         * math/w_atan2.c: Likewise.
85809         * math/w_atan2f.c: Likewise.
85810         * math/w_atan2l.c: Likewise.
85811         * math/w_atanh.c: Likewise.
85812         * math/w_atanhf.c: Likewise.
85813         * math/w_atanhl.c: Likewise.
85814         * math/w_exp10.c: Likewise.
85815         * math/w_exp10f.c: Likewise.
85816         * math/w_exp10l.c: Likewise.
85817         * math/w_fmod.c: Likewise.
85818         * math/w_fmodf.c: Likewise.
85819         * math/w_fmodl.c: Likewise.
85820         * math/w_j0.c: Likewise.
85821         * math/w_j0f.c: Likewise.
85822         * math/w_j0l.c: Likewise.
85823         * math/w_j1.c: Likewise.
85824         * math/w_j1f.c: Likewise.
85825         * math/w_j1l.c: Likewise.
85826         * math/w_jn.c: Likewise.
85827         * math/w_jnf.c: Likewise.
85828         * math/w_log.c: Likewise.
85829         * math/w_logf.c: Likewise.
85830         * math/w_logl.c: Likewise.
85831         * math/w_log10.c: Likewise.
85832         * math/w_log10f.c: Likewise.
85833         * math/w_log10l.c: Likewise.
85834         * math/w_log2.c: Likewise.
85835         * math/w_log2f.c: Likewise.
85836         * math/w_log2l.c: Likewise.
85837         * math/w_pow.c: Likewise.
85838         * math/w_powf.c: Likewise.
85839         * math/w_powl.c: Likewise.
85840         * math/w_remainder.c: Likewise.
85841         * math/w_remainderf.c: Likewise.
85842         * math/w_remainderl.c: Likewise.
85843         * math/w_scalb.c: Likewise.
85844         * math/w_scalbf.c: Likewise.
85845         * math/w_scalbl.c: Likewise.
85846         * math/w_sqrt.c: Likewise.
85847         * math/w_sqrtf.c: Likewise.
85848         * math/w_sqrtl.c: Likewise.
85849         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85850         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85851         used.
85852         * math/math_private.h: Declare __kernel_standard_f.
85853         * math/w_cosh.c: Remove cruft and optimize a bit.
85854         * math/w_coshf.c: Likewise.
85855         * math/w_coshl.c: Likewise.
85856         * math/w_exp2.c: Likewise.
85857         * math/w_exp2f.c: Likewise.
85858         * math/w_exp2l.c: Likewise.
85859         * math/w_hypot.c: Likewise.
85860         * math/w_hypotf.c: Likewise.
85861         * math/w_hypotl.c: Likewise.
85862         * math/w_lgamma.c: Likewise.
85863         * math/w_lgamma_r.c: Likewise.
85864         * math/w_lgammaf.c: Likewise.
85865         * math/w_lgammaf_r.c: Likewise.
85866         * math/w_lgammal.c: Likewise.
85867         * math/w_lgammal_r.c: Likewise.
85868         * math/w_sinh.c: Likewise.
85869         * math/w_sinhf.c: Likewise.
85870         * math/w_sinhl.c: Likewise.
85871         * math/w_tgamma.c: Likewise.
85872         * math/w_tgammaf.c: Likewise.
85873         * math/w_tgammal.c: Likewise.
85874         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85875         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85876         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85877         Minor optimizations.  Pretty printing.  Remove cruft.
85878         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85879         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85880         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85881         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85882         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85883         * sysdeps/i386/fpu/e_asin.S: Likewise.
85884         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85885         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85886         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85887         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85888         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85889         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85890         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85891         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85892         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85893         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85894         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85895         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85896         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85897         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85898         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85899         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85900         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85901         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85902         * sysdeps/i386/fpu/e_log.S: Likewise.
85903         * sysdeps/i386/fpu/e_log10.S: Likewise.
85904         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85905         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85906         * sysdeps/i386/fpu/e_log2.S: Likewise.
85907         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85908         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85909         * sysdeps/i386/fpu/e_logf.S: Likewise.
85910         * sysdeps/i386/fpu/e_logl.S: Likewise.
85911         * sysdeps/i386/fpu/e_pow.S: Likewise.
85912         * sysdeps/i386/fpu/e_powf.S: Likewise.
85913         * sysdeps/i386/fpu/e_powl.S: Likewise.
85914         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85915         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85916         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85917         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85918         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85919         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85920         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85921         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85922         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85923         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85924         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85925         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85926         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85927         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85928         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85929         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85930         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85931         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85932         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85933         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85934         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85935         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85936         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85937         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85938         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85939         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85940         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85941         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85942         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85943         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85944         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85945         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85946         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85947         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85948         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85949         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85950         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85951         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85952         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85953         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85954         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85955         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85956         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85957         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85958         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85959         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85960         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85961         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85962         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85963         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85964         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85965         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85966         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85967         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85968         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85969         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85970         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85971         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85972         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85973         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85974         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85975         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85976         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85978         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85979         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85980         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85981         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85982         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85983         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85984         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85985         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85986         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85987         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85988         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85989         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85990         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85991         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85992         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85993         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85994         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85995         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85996         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85997         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85998         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85999         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
86000         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86001         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86002         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86003         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86004         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86005         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
86006         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86007         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86008         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86009         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86010         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86011         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86012         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86013         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86014         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86015         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86016         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
86017         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86018         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86019         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86020         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
86021         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
86022         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
86023         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
86024         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
86025         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
86026         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
86027         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86028         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86029         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86030         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86031         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
86032         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86033         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
86034         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
86035         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
86036         (__isnanf): Likewise.
86037         (__isinf_ns): Likewise.
86038         (__isinf_nsf): Likewise.
86039         (__finite): Likewise.
86040         (__finitef): Likewise.
86041         (__ieee754_sqrt): Define as macro.
86042         (__ieee754_sqrtf): Define as macro.
86043         (__ieee754_sqrtl): Define as macro.
86044         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
86045         inlined copy.
86046         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
86047         __FINITE_MATH_ONLY__ consistent.
86048         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
86050 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
86052         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
86053         of rawmemchr.
86055         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
86057 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
86059         * po/ja.po: Update from translation team.
86061 2011-10-08  Roland McGrath  <roland@hack.frob.com>
86063         * locale/programs/locarchive.c (prepare_address_space): New function.
86064         (create_archive, enlarge_archive, open_archive): Use it.
86066         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
86067         inside [SHARED], where it is used.
86069         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
86071         * nss/getent.c (netgroup_keys): Remove unused variable.
86072         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86074 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
86076         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
86077         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
86078         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
86079         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
86080         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
86081         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
86082         * math/Makefile (libm-calls): Add s_isinf_ns.
86083         * math/divtc3.c: Use __isinf_nsl instead of isinf.
86084         * math/multc3.c: Likewise.
86085         * math/s_casin.c: Likewise.
86086         * math/s_casinf.c: Likewise.
86087         * math/s_casinl.c: Likewise.
86088         * math/s_ccos.c: Likewise.
86089         * math/s_ccosf.c: Likewise.
86090         * math/s_ccosl.c: Likewise.
86091         * math/s_ctan.c: Likewise.
86092         * math/s_ctanf.c: Likewise.
86093         * math/s_ctanh.c: Likewise.
86094         * math/s_ctanhf.c: Likewise.
86095         * math/s_ctanhl.c: Likewise.
86096         * math/s_ctanl.c: Likewise.
86097         * math/w_fmod.c: Likewise.
86098         * math/w_fmodf.c: Likewise.
86099         * math/w_fmodl.c: Likewise.
86100         * math/w_remainder.c: Likewise.
86101         * math/w_remainderf.c: Likewise.
86102         * math/w_remainderl.c: Likewise.
86103         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
86104         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
86105         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
86106         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
86107         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
86108         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
86109         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
86110         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
86112         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
86113         of the number.
86114         * stdio-common/printf_fphex.c: Likewise.
86115         * stdio-common/printf_size.c: Likewise.
86117         * math/e_exp10.c: Include math_private.h using <...> not "...".
86118         * math/e_exp10f.c: Likewise.
86119         * math/e_exp10l.c: Likewise.
86120         * math/e_exp2l.c: Likewise.
86121         * math/e_j0l.c: Likewise.
86122         * math/e_j1l.c: Likewise.
86123         * math/e_jnl.c: Likewise.
86124         * math/e_lgammal_r.c: Likewise.
86125         * math/e_rem_pio2l.c: Likewise.
86126         * math/e_scalb.c: Likewise.
86127         * math/e_scalbf.c: Likewise.
86128         * math/e_scalbl.c: Likewise.
86129         * math/k_cosl.c: Likewise.
86130         * math/k_sinl.c: Likewise.
86131         * math/k_tanl.c: Likewise.
86132         * math/s_cacoshf.c: Likewise.
86133         * math/s_catan.c: Likewise.
86134         * math/s_catanf.c: Likewise.
86135         * math/s_catanh.c: Likewise.
86136         * math/s_catanhf.c: Likewise.
86137         * math/s_catanhl.c: Likewise.
86138         * math/s_catanl.c: Likewise.
86139         * math/s_ccosh.c: Likewise.
86140         * math/s_ccoshf.c: Likewise.
86141         * math/s_ccoshl.c: Likewise.
86142         * math/s_cexp.c: Likewise.
86143         * math/s_cexpf.c: Likewise.
86144         * math/s_cexpl.c: Likewise.
86145         * math/s_clog.c: Likewise.
86146         * math/s_clog10.c: Likewise.
86147         * math/s_clog10f.c: Likewise.
86148         * math/s_clog10l.c: Likewise.
86149         * math/s_clogf.c: Likewise.
86150         * math/s_clogl.c: Likewise.
86151         * math/s_csin.c: Likewise.
86152         * math/s_csinf.c: Likewise.
86153         * math/s_csinh.c: Likewise.
86154         * math/s_csinhf.c: Likewise.
86155         * math/s_csinhl.c: Likewise.
86156         * math/s_csinl.c: Likewise.
86157         * math/s_csqrt.c: Likewise.
86158         * math/s_csqrtf.c: Likewise.
86159         * math/s_csqrtl.c: Likewise.
86160         * math/s_ctan.c: Likewise.
86161         * math/s_ctanf.c: Likewise.
86162         * math/s_ctanh.c: Likewise.
86163         * math/s_ctanhf.c: Likewise.
86164         * math/s_ctanhl.c: Likewise.
86165         * math/s_ctanl.c: Likewise.
86166         * math/s_ldexp.c: Likewise.
86167         * math/s_ldexpf.c: Likewise.
86168         * math/s_ldexpl.c: Likewise.
86169         * math/s_significand.c: Likewise.
86170         * math/s_significandf.c: Likewise.
86171         * math/s_significandl.c: Likewise.
86172         * math/w_acos.c: Likewise.
86173         * math/w_acosf.c: Likewise.
86174         * math/w_acosh.c: Likewise.
86175         * math/w_acoshf.c: Likewise.
86176         * math/w_acoshl.c: Likewise.
86177         * math/w_acosl.c: Likewise.
86178         * math/w_asin.c: Likewise.
86179         * math/w_asinf.c: Likewise.
86180         * math/w_asinl.c: Likewise.
86181         * math/w_atan2.c: Likewise.
86182         * math/w_atan2f.c: Likewise.
86183         * math/w_atan2l.c: Likewise.
86184         * math/w_atanh.c: Likewise.
86185         * math/w_atanhf.c: Likewise.
86186         * math/w_atanhl.c: Likewise.
86187         * math/w_cosh.c: Likewise.
86188         * math/w_coshf.c: Likewise.
86189         * math/w_coshl.c: Likewise.
86190         * math/w_dremf.c: Likewise.
86191         * math/w_exp10.c: Likewise.
86192         * math/w_exp10f.c: Likewise.
86193         * math/w_exp10l.c: Likewise.
86194         * math/w_exp2.c: Likewise.
86195         * math/w_exp2f.c: Likewise.
86196         * math/w_fmod.c: Likewise.
86197         * math/w_fmodf.c: Likewise.
86198         * math/w_fmodl.c: Likewise.
86199         * math/w_hypot.c: Likewise.
86200         * math/w_hypotf.c: Likewise.
86201         * math/w_hypotl.c: Likewise.
86202         * math/w_j0.c: Likewise.
86203         * math/w_j0f.c: Likewise.
86204         * math/w_j0l.c: Likewise.
86205         * math/w_j1.c: Likewise.
86206         * math/w_j1f.c: Likewise.
86207         * math/w_j1l.c: Likewise.
86208         * math/w_jn.c: Likewise.
86209         * math/w_jnf.c: Likewise.
86210         * math/w_jnl.c: Likewise.
86211         * math/w_lgamma.c: Likewise.
86212         * math/w_lgamma_r.c: Likewise.
86213         * math/w_lgammaf.c: Likewise.
86214         * math/w_lgammaf_r.c: Likewise.
86215         * math/w_lgammal.c: Likewise.
86216         * math/w_lgammal_r.c: Likewise.
86217         * math/w_log.c: Likewise.
86218         * math/w_log10.c: Likewise.
86219         * math/w_log10f.c: Likewise.
86220         * math/w_log10l.c: Likewise.
86221         * math/w_log2.c: Likewise.
86222         * math/w_log2f.c: Likewise.
86223         * math/w_log2l.c: Likewise.
86224         * math/w_logf.c: Likewise.
86225         * math/w_logl.c: Likewise.
86226         * math/w_pow.c: Likewise.
86227         * math/w_powf.c: Likewise.
86228         * math/w_powl.c: Likewise.
86229         * math/w_remainder.c: Likewise.
86230         * math/w_remainderf.c: Likewise.
86231         * math/w_remainderl.c: Likewise.
86232         * math/w_scalb.c: Likewise.
86233         * math/w_scalbf.c: Likewise.
86234         * math/w_scalbl.c: Likewise.
86235         * math/w_sinh.c: Likewise.
86236         * math/w_sinhf.c: Likewise.
86237         * math/w_sinhl.c: Likewise.
86238         * math/w_sqrt.c: Likewise.
86239         * math/w_sqrtf.c: Likewise.
86240         * math/w_sqrtl.c: Likewise.
86241         * math/w_tgamma.c: Likewise.
86242         * math/w_tgammaf.c: Likewise.
86243         * math/w_tgammal.c: Likewise.
86245         * po/ja.po: Update from translation team.
86247 2011-09-29  Andreas Jaeger  <aj@suse.de>
86249         [BZ #13179]
86250         * sunrpc/netname.c (netname2host): Fix logic.
86252         [BZ #6779]
86253         [BZ #6783]
86254         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
86255         correctly.
86256         * math/w_remainder.c (__remainder): Likewise.
86257         * math/w_remainderf.c (__remainderf): Likewise.
86258         * math/libm-test.inc (remainder_test): Add test cases.
86260 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86262         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
86263         sdiv_qrnnd.
86265 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86267         * string/test-memcmp.c: Avoid unncessary #defines.
86268         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86270 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86272         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
86273         Use new sse2 version for core i3 - i7 as it's faster
86274         than sse42 version.
86275         (bit_Prefer_PMINUB_for_stringop): New.
86276         * sysdeps/x86_64/rawmemchr.S: Update.
86277         Replace with faster SSE2 version.
86278         * sysdeps/x86_64/memrchr.S: New file.
86279         * sysdeps/x86_64/memchr.S: Update.
86280         Replace with faster SSE2 version.
86282 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
86284         * elf/dl-load.c (lose): Add cast to avoid warning.
86286 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86288         * po/ca.po: Update from translation team.
86290         * inet/getnetgrent_r.c: Hook up nscd.
86291         * nscd/Makefile (routines): Add nscd_netgroup.
86292         (nscd-modules): Add netgroupcache.
86293         (CFLAGS-netgroupcache.c): Define.
86294         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
86295         (cache_search): Add const to second parameter.
86296         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
86297         INNETGR.
86298         (dbs): Add netgrdb entry.
86299         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
86300         (verify_persistent_db): Handle netgrdb.
86301         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
86302         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
86303         GETFDNETGR.
86304         (netgroup_response_header): Define.
86305         (innetgroup_response_header): Define.
86306         (datahead): Add netgroup_response_header and innetgroup_response_header
86307         elements.
86308         * nscd/nscd.conf: Add entries for netgroup cache.
86309         * nscd/nscd.h (dbtype): Add netgrdb.
86310         (_PATH_NSCD_NETGROUP_DB): Define.
86311         (netgroup_iov_disabled): Declare.
86312         (xmalloc, xcalloc, xrealloc): Move declarations here.
86313         (cache_search): Adjust prototype.
86314         Add netgroup-related prototypes.
86315         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
86316         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
86317         (__nscd_innetgr): Declare.
86318         * nscd/selinux.c (perms): Use access_vector_t as element type and
86319         add netgroup-related initializers.
86320         * nscd/netgroupcache.c: New file.
86321         * nscd/nscd_netgroup.c: New file.
86322         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
86323         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
86324         For four parameters use innetgr.
86325         * nss/nss_files/files-init.c: Add definition and callback for netgr.
86326         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
86327         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
86328         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
86330         * nscd/connections.c (register_traced_file): Don't register file
86331         for disabled databases.
86333 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
86335         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
86337         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
86338         from tree and freeing node.
86340 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
86342         * nss/nsswitch.c (__nss_database_lookup): Handle
86343         nss_parse_service_list out of memory case.
86345 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
86347         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
86348         out of memory case.
86350 2011-10-04  Andreas Schwab  <schwab@redhat.com>
86352         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
86353         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
86354         pass it down.
86355         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
86356         elf_machine_rela, elf_machine_lazy_rel.
86357         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
86358         (ELF_DYNAMIC_DO_REL): Likewise.
86359         (ELF_DYNAMIC_DO_RELA): Likewise.
86360         (ELF_DYNAMIC_RELOCATE): Likewise.
86361         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
86362         to ELF_DYNAMIC_DO_REL.
86363         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
86364         (dl_main): In trace mode always set __RTLD_NOIFUNC.
86365         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
86366         elf_machine_rela.
86367         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
86368         skip_ifunc, don't call ifunc function if non-zero.
86369         (elf_machine_rela): Likewise.
86370         (elf_machine_lazy_rel): Likewise.
86371         (elf_machine_lazy_rela): Likewise.
86372         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
86373         (elf_machine_lazy_rel): Likewise.
86374         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
86375         Likewise.
86376         (elf_machine_lazy_rel): Likewise.
86377         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86378         Likewise.
86379         (elf_machine_lazy_rel): Likewise.
86380         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
86381         (elf_machine_lazy_rel): Likewise.
86382         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
86383         (elf_machine_lazy_rel): Likewise.
86384         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
86385         (elf_machine_lazy_rel): Likewise.
86386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
86387         (elf_machine_lazy_rel): Likewise.
86388         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
86389         (elf_machine_lazy_rel): Likewise.
86390         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
86391         (elf_machine_lazy_rel): Likewise.
86393 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
86395         * nss/nss_files/files-init.c (_nss_files_init): Use static
86396         initialization for all the *_traced_file variables.
86398 2011-09-28  Andreas Schwab  <schwab@redhat.com>
86400         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86402 2011-09-27  Roland McGrath  <roland@hack.frob.com>
86404         [BZ #13226]
86405         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
86407 2011-09-27  Andreas Schwab  <schwab@redhat.com>
86409         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86410         Reread the line before reparsing it.
86412 2011-09-26  Andreas Schwab  <schwab@redhat.com>
86414         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
86416 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
86417             Maxim Kuvyrkov  <maxim@codesourcery.com>
86418             Joseph Myers  <joseph@codesourcery.com>
86420         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
86421         if needed for __stack_chk_guard.
86423 2011-09-19  Roland McGrath  <roland@hack.frob.com>
86425         * sysdeps/posix/spawni.c (script_execute): Always define it.
86426         It will be optimized away if unused.
86427         (maybe_script_execute): New function.
86428         (__spawni): Call it.
86430         * Makerules: Don't include tls.make.
86431         (config-tls): Always set to thread.
86432         * tls.make.c: File removed.
86434 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
86436         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
86437         * config.make.in (CPPFLAGS-config): New substituted variable.
86439 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86441         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
86443         [BZ #13192]
86444         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
86445         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
86447 2011-09-15  Roland McGrath  <roland@hack.frob.com>
86449         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
86450         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
86451         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86452         (CALL_FAIL): Likewise.
86453         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
86454         (CALL_FAIL): Macro removed.
86455         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
86457 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86459         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
86460         for __FINITE_MATH_ONLY__ == 1.
86462 2011-09-15  Andreas Schwab  <schwab@redhat.com>
86464         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
86465         __ieee754_sqrt instead of sqrt.
86466         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
86467         __ieee754_sqrtf instead of sqrtf.
86468         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
86469         __floorf instead of floorf.
86470         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
86471         __floorf, __truncf instead of floorf, truncf.
86473 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
86475         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
86477         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
86478         __extern_always_inline.
86479         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
86480         32-bit.
86482 2011-09-14  Andreas Schwab  <schwab@redhat.com>
86484         * elf/rtld.c (dl_main): Also relocate in dependency order when
86485         doing symbol dependency testing.
86487 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
86489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86490         Always define `refsym'.
86492 2011-09-13  Andreas Schwab  <schwab@redhat.com>
86494         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
86495         (__FD_ELT): Renamed from __FDELT.
86496         * misc/bits/select2.h (__FD_ELT): Likewise.
86497         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
86498         __FD_MASK instead of __FDELT, __FDMASK.
86499         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86500         Likewise.
86501         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86502         Likewise.
86504         * elf/Makefile (gen-ldd): Fix pattern.
86506         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
86507         (init_tls): Likewise.
86509 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
86511         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
86513 2011-09-12  Andreas Schwab  <schwab@redhat.com>
86515         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
86516         `struct cmsghdr *' instead of `void *'.
86517         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
86518         Likewise.
86520 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
86522         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
86523         if non-absolute.
86524         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
86525         ldd_rewrite_script.
86527 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
86529         * configure.in: Remove --with-tls option.
86530         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
86531         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
86532         out in case it is missing.
86533         * sysdeps/ia64/elf/configure.in: Likewise.
86534         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
86535         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
86536         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
86537         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
86538         * sysdeps/sh/elf/configure.in: Likewise.
86539         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
86540         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86541         * sysdeps/x86_64/elf/configure.in: Likewise.
86542         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
86543         * sysdeps/mach/hurd/tls.h: Likewise.
86545         [BZ #13067]
86546         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
86548         [BZ #13090]
86549         * configure.in: Fix use of AC_INIT.
86551         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
86553 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
86555         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
86556         __set_errno.
86557         * malloc/hooks.c: Likewise.
86559         [BZ #11929]
86560         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
86561         variables statically.
86562         (narenas): Initialize.
86563         (list_lock): Initialize.
86564         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
86565         initializtion of main_arena and list_lock.  Small cleanups.
86566         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
86567         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
86568         Add initializers to main_arena and mp_.
86569         (malloc_state): Remove pagesize member.  Change all users to use
86570         GLRO(dl_pagesize).
86572         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86573         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
86574         is always initialized.
86576         * malloc/malloc.c: Removed unused configurations and dead code.
86577         * malloc/arena.c: Likewise.
86578         * malloc/hooks.c: Likewise.
86579         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
86581         * include/tls.h: Removed.  USE___THREAD must always be defined.
86582         * bits/libc-tsd.h: Don't handle !USE___THREAD.
86583         * elf/dl-libc.c: Likewise.
86584         * elf/dl-tsd.c: Likewise.
86585         * include/errno.h: Likewise.
86586         * include/netdb.h: Likewise.
86587         * include/resolv.h: Likewise.
86588         * inet/herrno-loc.c: Likewise.
86589         * inet/herrno.c: Likewise.
86590         * malloc/arena.c: Likewise.
86591         * malloc/hooks.c: Likewise.
86592         * malloc/malloc.c: Likewise.
86593         * resolv/res-state.c: Likewise.
86594         * resolv/res_libc.c: Likewise.
86595         * sysdeps/i386/dl-machine.h: Likewise.
86596         * sysdeps/ia64/dl-machine.h: Likewise.
86597         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
86598         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
86599         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
86600         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
86601         * sysdeps/sh/dl-machine.h: Likewise.
86602         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86603         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86604         * sysdeps/unix/i386/sysdep.S: Likewise.
86605         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86606         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86607         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86611         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86613         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86615         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86616         * sysdeps/x86_64/dl-machine.h: Likewise.
86617         * tls.make.c: Likewise.
86619         * configure.in: Remove --with-__thread option.  Make tests for
86620         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86621         tls_model attribute fail if no support is available.  Remove
86622         USE_IN_LIBIO.
86623         * Makeconfig: Adjust for dropped configure option.  All features are
86624         now mandatory.
86625         * Makerules: Likewise.
86626         * Versions.def: Likewise.
86627         * argp/argp-fmtstream.c: Likewise.
86628         * argp/argp-fmtstream.h: Likewise.
86629         * argp/argp-help.c: Likewise.
86630         * assert/assert.c: Likewise.
86631         * config.h.in: Likewise.
86632         * config.make.in: Likewise.
86633         * configure: Likewise.
86634         * configure.in: Likewise.
86635         * csu/Versions: Likewise.
86636         * csu/init.c: Likewise.
86637         * elf/tst-audit2.c: Likewise.
86638         * elf/tst-tls10.c: Likewise.
86639         * elf/tst-tls10.h: Likewise.
86640         * elf/tst-tls11.c: Likewise.
86641         * elf/tst-tls12.c: Likewise.
86642         * elf/tst-tls14.c: Likewise.
86643         * elf/tst-tlsmod11.c: Likewise.
86644         * elf/tst-tlsmod12.c: Likewise.
86645         * elf/tst-tlsmod13.c: Likewise.
86646         * elf/tst-tlsmod13a.c: Likewise.
86647         * elf/tst-tlsmod14a.c: Likewise.
86648         * elf/tst-tlsmod15b.c: Likewise.
86649         * elf/tst-tlsmod16a.c: Likewise.
86650         * elf/tst-tlsmod16b.c: Likewise.
86651         * elf/tst-tlsmod7.c: Likewise.
86652         * elf/tst-tlsmod8.c: Likewise.
86653         * elf/tst-tlsmod9.c: Likewise.
86654         * gmon/gmon.c: Likewise.
86655         * grp/fgetgrent_r.c: Likewise.
86656         * grp/putgrent.c: Likewise.
86657         * hurd/fopenport.c: Likewise.
86658         * include/libc-symbols.h: Likewise.
86659         * include/tls.h: Likewise.
86660         * intl/gettextP.h: Likewise.
86661         * intl/loadinfo.h: Likewise.
86662         * locale/global-locale.c: Likewise.
86663         * locale/localeinfo.h: Likewise.
86664         * mach/devstream.c: Likewise.
86665         * malloc/arena.c: Likewise.
86666         * malloc/set-freeres.c: Likewise.
86667         * misc/err.c: Likewise.
86668         * misc/getttyent.c: Likewise.
86669         * misc/mntent_r.c: Likewise.
86670         * posix/getopt.c: Likewise.
86671         * posix/wordexp.c: Likewise.
86672         * pwd/fgetpwent_r.c: Likewise.
86673         * resolv/Versions: Likewise.
86674         * resolv/res_hconf.c: Likewise.
86675         * shadow/fgetspent_r.c: Likewise.
86676         * shadow/putspent.c: Likewise.
86677         * stdio-common/printf_fphex.c: Likewise.
86678         * stdio-common/tmpfile.c: Likewise.
86679         * stdlib/abort.c: Likewise.
86680         * stdlib/fmtmsg.c: Likewise.
86681         * sunrpc/auth_unix.c: Likewise.
86682         * sunrpc/clnt_perr.c: Likewise.
86683         * sunrpc/clnt_tcp.c: Likewise.
86684         * sunrpc/clnt_udp.c: Likewise.
86685         * sunrpc/clnt_unix.c: Likewise.
86686         * sunrpc/openchild.c: Likewise.
86687         * sunrpc/svc_simple.c: Likewise.
86688         * sunrpc/svc_tcp.c: Likewise.
86689         * sunrpc/svc_udp.c: Likewise.
86690         * sunrpc/svc_unix.c: Likewise.
86691         * sunrpc/xdr.c: Likewise.
86692         * sunrpc/xdr_array.c: Likewise.
86693         * sunrpc/xdr_rec.c: Likewise.
86694         * sunrpc/xdr_ref.c: Likewise.
86695         * sunrpc/xdr_stdio.c: Likewise.
86697 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86699         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86701 2011-07-03  Andreas Jaeger  <aj@suse.de>
86703         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86704         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86705         regenerate with gen-libm-tests.pl.
86707 2010-05-12  Petr Baudis  <pasky@suse.cz>
86709         [BZ #11589]
86710         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86711         around j0() zero points by switching to j1().
86712         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86713         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86714         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86715         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86717 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86719         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86720         instead of 0.
86721         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86722         instead of 0.
86723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86724         Patch in part by Pavel Roskin <proski@gnu.org>.
86726         [BZ #13138]
86727         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86728         realloc.
86729         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86730         Free memory block if necessary.
86732         [BZ #12847]
86733         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86734         be NULL.  Don't lock in this case.
86736 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86738         * elf/elf.h (ELFOSABI_GNU): New macro.
86739         (ELFOSABI_LINUX): Define to that.
86741 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86743         * string/strncat.c (strncat): Undef the symbol in case it has been
86744         defined in bits/string.h.
86746 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86748         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86750         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86751         link map.
86753 2011-08-17  Andreas Jaeger  <aj@suse.de>
86755         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86757 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86758             Ian Lance Taylor  <iant@google.com>
86760         * math/libm-test.inc (lround_test): New testcase.
86761         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86763 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86765         * Makefile: Remove support for automatic cvs check-ins.
86766         * Makerules: Likewise.
86767         * config.make.in: Likewise.
86768         * configure.in: Likewise.
86769         * intl/Makefile: Likewise.
86770         * locale/Makefile: Likewise.
86771         * po/Makefile: Likewise.
86772         * posix/Makefile: Likewise.
86773         * sysdeps/gnu/Makefile: Likewise.
86774         * sysdeps/mach/hurd/Makefile: Likewise.
86775         * sysdeps/sparc/sparc32/Makefile: Likewise.
86777         [BZ #13118]
86778         * posix/Makefile (bug-regex32-ENV): Define.
86779         Patch by John Stanley <jpsinthemix@verizon.net>.
86781         * misc/Makefile (headers): Add bits/select2.h.
86782         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86783         * misc/bits/select2.h: New file.
86784         * include/bits/select2.h: New file.
86785         * debug/Makefile (routines): Add fdelt_chk.
86786         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86787         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86788         FD_ISSET.
86789         * debug/fdelt_chk.c: New file.
86791         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86792         * wcsmbs/test-wmemcmp.c: Likewise.
86793         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86794         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86796 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86798         * string/Makefile (strop-tests): Add memcmp.
86799         * string/test-wmemcmp.c: New file.
86800         * string/test-memcmp.c: Add wmemcmp support.
86802 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86804         [BZ #13153]
86805         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86806         2011-07-19 change.
86808         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86809         garbage value in a __mach_port_mod_refs call in the cases of the
86810         task-self and thread-self ports.
86812 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86814         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86816 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86818         * elf/dl-load.c (lose): Check for non-null L.
86820 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86822         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86824         * elf/dl-libc.c (dlerror_run): Pass back error code from
86825         dl_catch_error.
86827         [BZ #13123]
86828         * elf/dl-load.c (lose): Free l_origin if it is valid.
86830         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86831         names.
86832         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86833         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86834         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86835         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86836         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86837         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86839 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86841         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86842         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86843         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86844         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86845         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86846         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86847         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86848         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86849         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86850         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86852 2011-08-15  Alan Modra  <amodra@gmail.com>
86854         [BZ #13092]
86855         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86856         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86857         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86858         ppc_mcount to static-only-routines.
86859         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86860         __mcount_internal.
86861         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86862         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86864 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86866         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86867         for finite and infinity parameters.
86869 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86871         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86872         and add nop instructions for throughput optimization.
86873         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86875 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86877         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86878         aligned copy for power7 with vector-scalar instructions.
86879         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86881 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86884         AVX check.
86886 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86888         [BZ #13144]
86889         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86890         last change.
86892 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86894         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86895         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86896         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86897         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86898         clock_gettime.
86900 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86902         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86903         Forgot to demangle the pointer.
86905         * sysdeps/i386/sysdep.h: Define atom_text_section.
86906         * sysdeps/x86_64/sysdep.h: Likewise.
86907         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86908         section with atom_text_section.
86909         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86910         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86911         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86912         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86913         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86915         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86916         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86917         already be defined.  Change to take two parameters and don't assign
86918         result to variable.  Adjust all users.
86919         Define INTERNAL_GETTIME if not already defined.
86920         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86921         call.
86922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86923         HAVE_CLOCK_GETTIME_VSYSCALL.
86924         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86926         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86927         gettimeofday vsyscall, just use time.
86929 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86931         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86932         <errno.h>.
86934 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86936         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86937         syscall on x86-64.
86938         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86939         syscall.
86940         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86941         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86942         syscall if possible.
86944 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86946         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86947         e_ident.  Don't pass to find_mapsXX.
86948         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86950 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86953         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86954         * sysdeps/x86_64/multiarch/strchr.S: Update.
86955         Check bit_slow_BSF bit.
86956         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86957         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86958         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86960 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86962         [BZ #13134]
86963         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86964         before glibc 2.15.
86965         (tryshell): Define.
86966         (__spawni): Change last parameter to be flag.  Test
86967         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86968         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86969         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86970         * posix/spawni.c: Likewise.
86971         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86972         * posix/spawnp.c: Likewise.  Change normal version to use
86973         SPAWN_XFLAGS_USE_PATH.
86974         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86975         SPAWN_XFLAGS_TRY_SHELL.
86977         [BZ #13150]
86978         * posix/glob.h: Remove gcc 1.x support.
86980         [BZ #13068]
86981         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86983 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86986         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86987         strrchr-sse2-bsf
86988         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86989         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86990         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86991         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86992         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86993         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86995 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86997         * sysdeps/x86_64/wcscmp.S: New file.
86999         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
87000         wcscmp-c wcscmp-sse2
87001         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
87002         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
87003         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
87004         * wcsmbs/wcscmp.c: Allow renaming.
87006 2011-09-05  David S. Miller  <davem@davemloft.net>
87008         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
87009         stack slot, rather than the struct return pointer slot.
87010         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
87011         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
87012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
87013         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
87015 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87017         * po/ja.po: Update from translation team.
87019         [BZ #13144]
87020         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
87021         kernel in 64-bit binaries.
87023 2011-09-01  David S. Miller  <davem@davemloft.net>
87025         * elf/elf.h (HWCAP_SPARC_*): Move to..
87026         * sysdeps/sparc/sysdep.h: this new file and add new values.
87027         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
87028         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
87029         _DL_HWCAP_COUNT to 24.
87030         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
87031         entries.
87032         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
87033         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
87034         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
87035         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
87036         instead of magic constants.
87037         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87039 2011-08-31  David S. Miller  <davem@davemloft.net>
87041         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
87042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
87043         Reimplement to do errno handling inline.
87044         (SYSCALL_ERROR_HANDLER): New macro.
87045         (__SYSCALL_STRING): Do not do errno handling in asm.
87046         (__CLONE_SYSCALL_STRING): Delete.
87047         (__INTERNAL_SYSCALL_STRING): Delete.
87048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
87049         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
87050         (PSEUDO): Reimplement to do errno handling inline.
87051         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
87052         (SYSCALL_ERROR_HANDLER): New macro.
87053         (__SYSCALL_STRING): Do not do errno handling in asm.
87054         (__CLONE_SYSCALL_STRING): Delete.
87055         (__INTERNAL_SYSCALL_STRING): Delete.
87056         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
87057         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
87058         i386.
87059         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
87060         (inline_syscall*): Add 'err' argument.
87061         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
87062         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
87063         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
87064         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
87066         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
87067         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
87069 2011-08-30  Andreas Schwab  <schwab@redhat.com>
87071         * elf/rtld.c (dl_main): Relocate objects in dependency order.
87073 2011-08-29  Jiri Olsa <jolsa@redhat.com>
87075         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
87076         directive.
87078 2011-08-24  David S. Miller  <davem@davemloft.net>
87080         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
87082 2011-08-24  Andreas Schwab  <schwab@redhat.com>
87084         * elf/Makefile: Add rules to build and run unload8 test.
87085         * elf/unload8.c: New file.
87086         * elf/unload8mod1.c: New file.
87087         * elf/unload8mod1x.c: New file.
87088         * elf/unload8mod2.c: New file.
87089         * elf/unload8mod3.c: New file.
87091         * elf/dl-close.c (_dl_close_worker): Reset private search list if
87092         it wasn't used.
87094 2011-08-23  David S. Miller  <davem@davemloft.net>
87096         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
87097         subtract stack bias.
87098         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
87099         %sp not %fp in calculations.
87100         (_JMPBUF_UNWINDS_ADJ): Likewise.
87102         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
87103         (aio_suspend): Call it to force an exception region around the
87104         AIO_MISC_WAIT() invocation.
87106 2011-08-23  Andreas Schwab  <schwab@redhat.com>
87108         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
87109         backslash.
87111 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
87113         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
87114         protection macro.
87115         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
87116         and <dl-machine.h>.
87117         (Elf64_FuncDesc): Remove.
87119 2011-08-22  David S. Miller  <davem@davemloft.net>
87121         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
87122         sigaltstack check, add missing cfi directives.
87123         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
87124         missing cfi directives, and sigaltstack handling.
87126 2011-08-16  Andreas Schwab  <schwab@redhat.com>
87128         [BZ #11724]
87129         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
87130         object is seen twice.
87131         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87133         * elf/Makefile (distribute): Add tst-initorder2.c.
87134         (tests): Add tst-initorder2.
87135         (modules-names): Add tst-initorder2a tst-initorder2b
87136         tst-initorder2c tst-initorder2d.  Add rules to build them.
87137         ($(objpfx)tst-initorder2.out): New rule.
87138         * elf/tst-initorder2.c: New file.
87139         * elf/tst-initorder2.exp: New file.
87141 2011-08-22  Andreas Schwab  <schwab@redhat.com>
87143         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
87145         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
87146         dependencies back to end of function.
87148         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87149         $(elfobjdir)/ld.so.
87151 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
87153         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
87154         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
87155         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
87156         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
87157         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
87158         of __vdso_gettimeofday.
87159         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
87160         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
87161         attribute_hidden.
87162         (_libc_vdso_platform_setup): Remove initialization of
87163         __vdso_gettimeofday and __vdso_time.
87165 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87167         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
87168         and fgetc_unlocked.
87169         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
87170         getc_unlocked.
87172         * elf/dl-open.c (add_to_global): Report additions to the global scope
87173         for LD_DEBUG=scopes.
87174         (dl_open_worker): Also print scope of newly loaded dependencies.
87175         (_dl_show_scope): Indicate if there is no scope.
87177         [BZ #13114]
87178         * stdio-common/Makefile (tests): Add bug24.
87179         * stdio-common/bug24.c: New file.
87181 2011-08-19  Andreas Jaeger  <aj@suse.de>
87183         [BZ #13114]
87184         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
87185         non-existant file when using close-on-exec mode.
87187 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87189         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
87190         the very first instruction.
87192         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
87193         the CFI state in the end.
87194         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
87195         inclusion of dl-trampoline.h.
87196         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
87198 2011-08-19  Andreas Schwab  <schwab@redhat.com>
87200         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
87201         expectations for long double.
87203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
87204         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
87206 2011-08-14  David S. Miller  <davem@davemloft.net>
87208         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
87209         artificual limit depends upon the system page size.
87211 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87213         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
87214         * resolv/Makefile: Define CFLAGS-libresolv.
87216 2011-08-17  Andreas Schwab  <schwab@redhat.com>
87218         * nss/makedb.c (compute_tables): Make variables used in nested
87219         function static.
87221 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87223         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
87224         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
87225         if buffer was too small.
87227         * elf/pldd.c (main): Attach to all threads in the process.
87228         Rewrite /proc handling to use *at functions.
87230 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
87232         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
87233         specifies first scope to show.
87234         (dl_open_worker): Update callers.  Move printing scope of new
87235         object to before the relocation.
87236         * elf/rtld.c (dl_main): Update _dl_show_scope call.
87237         * sysdeps/generic/ldsodefs.h: Update declaration.
87239         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
87240         string for the scope number.
87242 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
87244         * nscd/servicescache.c (cache_addserv): Make sure written is always
87245         initialized.
87247 2011-08-14  Roland McGrath  <roland@hack.frob.com>
87249         * sysdeps/i386/i486/bits/atomic.h
87250         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
87251         statement expression, so as to suppress "set but not used" warning.
87252         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
87254         * string/strncat.c (STRNCAT): Use prototype definition.
87256         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
87257         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
87258         -Iprograms here.
87259         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
87260         (localedef-modules): Add localedef.
87261         (locale-modules): Add locale.
87263         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
87264         * elf/rtld.c (dl_main): Invert order of assignment in last change,
87265         to avoid a warning.
87267 2011-08-14  David S. Miller  <davem@davemloft.net>
87269         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
87270         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
87272 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
87274         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
87275         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
87276         * elf/rtld.c (dl_main): Set l_name of vDSO.
87277         Call _dl_show_scope when DL_DEBUG_SCOPES.
87278         (process_dl_debug): Recognize scopes flag and also set it for all.
87279         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
87280         Declare _dl_show_scope.
87282         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
87283         (do_dlopen): Pass caller_dlopen to dl_open.
87284         (__libc_dlopen_mode): Initialize caller_dlopen.
87286         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
87287         of libc.  Make tolower call locale-independent.  Optimize a bit by
87288         using isdigit instead of isalnum.
87289         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
87291 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
87293         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
87294         was a dependency or dynamically loaded.
87296 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
87298         * intl/l10nflist.c: Allow architecture-specific pop function.
87299         * sysdeps/x86_64/l10nflist.c: New file.
87301         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
87302         classification.
87304 2011-08-10  Andreas Schwab  <schwab@redhat.com>
87306         * include/dirent.h: Add libc_hidden_proto for scandirat and
87307         scandirat64.  Don't declare __scandirat64.
87308         * dirent/scandirat.c: Add libc_hidden_def.
87309         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
87310         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
87312 2011-08-10  David S. Miller  <davem@davemloft.net>
87314         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
87315         enum.
87316         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87317         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87318         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87320 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
87322         * Versions.def [libc]: Add GLIBC_2.15.
87323         * dirent/Makefile (routines): Add scandirat and scandirat64.
87324         * dirent/Versions [libc]: Export scandirat and scandirat64 for
87325         GLIBC_2.15.
87326         * dirent/dirent.h: Declare scandirat and scandirat64.
87327         * dirent/scandirat.c: New file.
87328         * dirent/scandirat64.c: New file.
87329         * sysdeps/wordsize-64/scandirat.c: New file.
87330         * sysdeps/wordsize-64/scandirat64.c: New file.
87331         * dirent/opendir.c: Define opendirat.
87332         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
87333         using scandirat.
87334         * dirent/scandir64.c: Adjust for scandir.c change.
87335         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
87336         __scandirat64, and __scandir_cancel_handler.
87337         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
87338         additional parameter and use openat instead of open (outside of ld.so).
87339         Add new __opendir as wrapper around __opendirat.
87340         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
87341         here without requiring old scandirat implementation.
87343 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
87345         * dirent/scandir.c (cancel_handler): Renamed to
87346         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
87347         defined.  Adjust users.
87348         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
87349         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
87351 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
87353         * string/test-string.h (IMPL): Use __STRING to expand name and then
87354         stringify it.
87356         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
87357         of cleanups.
87359 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87361         * string/Makefile: Update.
87362         (strop-tests): Append strncat.
87363         * string/test-wcscmp.c: New file.
87364         New comprehensive test for wcscmp.
87365         * string/test-strcmp.c: Update.
87366         (WIDE): New define.
87368 2011-07-22  Andreas Schwab  <schwab@redhat.com>
87370         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
87371         line.
87373 2011-07-26  Andreas Schwab  <schwab@redhat.com>
87375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87376         encoding to ACE if AI_IDN.
87378 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
87380         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
87381         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
87383 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87385         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
87386         Fix overflow bug in strncat.
87387         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
87389         * string/test-strncat.c: Update.
87390         Add new tests for checking overflow bugs.
87392 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87394         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87395         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
87396         * sysdeps/i386/i686/multiarch/strcat.S: New file.
87397         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
87398         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
87399         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
87400         * sysdeps/i386/i686/multiarch/strncat.S: New file.
87401         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
87402         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
87404         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
87405         (USE_AS_STRCAT): Define.
87406         Add strcat and strncat support.
87407         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87409 2011-07-25  Andreas Schwab  <schwab@redhat.com>
87411         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
87412         __n bigger than INT_MAX+1.
87413         (__strncmp_g): Likewise.
87415 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
87417         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
87418         * libio/stido.h: Likewise.
87420         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
87421         (AF_NFC): Define.
87422         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
87423         (AF_NFC): Define.
87425         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
87426         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87427         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87428         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
87429         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87431         [BZ #13021]
87432         * scripts/test-installation.pl: Don't expect libnss_test1 to be
87433         installed.
87435         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
87436         typo.
87437         (_dl_x86_64_save_sse): Likewise.
87439 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
87441         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
87442         OSXSAVE.
87443         (_dl_x86_64_save_sse): Likewise.
87445         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
87447         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
87449 2011-07-21  Andreas Schwab  <schwab@redhat.com>
87451         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
87452         change.
87453         (_dl_x86_64_save_sse): Use correct AVX check.
87455 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87457         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
87458         bug in strncpy/strncat.
87459         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
87461 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
87463         * string/tester.c (test_strcat): Add tests for different alignments
87464         of source and destination.
87465         (test_strncat): Likewise.
87467 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87469         [BZ #12852]
87470         * posix/glob.c (glob): Check passed in values before using them in
87471         expressions to avoid some overflows.
87472         (glob_in_dir): Likewise.
87474         [BZ #13007]
87475         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
87476         check for AVX enablement so that we don't crash with old kernels and
87477         new hardware.
87478         * elf/tst-audit4.c: Add same checks here.
87479         * elf/tst-audit6.c: Likewise.
87481         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
87483 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
87485         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
87487 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87489         * po/cs.po: Update from translation team.
87490         * po/bg.po: Likewise.
87492 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
87494         * misc/sys/cdefs.h: Add support for const attribute.
87495         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
87496         to gnu_dev_{major,minor,makedev} functions.
87498 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
87500         * intl/dcigettext.c (get_output_charset): Add missing bracket.
87502 2011-07-20  Andreas Schwab  <schwab@redhat.com>
87504         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
87505         strlen results.
87507 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
87510         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
87511         register in order to avoid conflicts with the soft frame pointer
87512         being held in r11 when necessary.
87513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
87514         (INTERNAL_VSYSCALL_NCS): Likewise.
87516 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
87518         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
87519         * elf/dl-fini.c (_dl_fini): Adjust caller.
87520         * elf/dl-close.c (_dl_close_worker): Likewise.
87521         * sysdeps/generic/ldsodefs.h: Adjust declaration.
87523 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87525         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
87526         "aux_cache->nlibs < 0".
87528         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
87529         in the reload-count case.
87531 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87534         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
87535         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
87536         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
87537         * sysdeps/x86_64/multiarch/strcat.S: New file.
87538         * sysdeps/x86_64/multiarch/strncat.S: New file.
87539         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
87540         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
87541         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
87542         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
87543         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
87544         (USE_AS_STRCAT): Define.
87545         Add strcat and strncat support.
87546         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87547         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
87548         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
87549         * string/strncat.c: Update.
87550         (USE_AS_STRNCAT): Define.
87551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87552         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
87553         and i7.
87554         * sysdeps/x86_64/multiarch/init-arch.h
87555         (bit_Prefer_PMINUB_for_stringop): New.
87556         (index_Prefer_PMINUB_for_stringop): Likewise.
87557         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
87558         bit_Prefer_PMINUB_for_stringop.
87560 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87562         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
87563         buffer64.
87564         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
87565         of casting of buffer.
87566         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
87567         buffer32 and buffer64.
87568         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
87569         writes instead of casting of buffer.
87570         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
87571         buffer32.
87572         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
87573         casting of buffer.
87575 2011-07-19  Andreas Schwab  <schwab@redhat.com>
87577         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
87579 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87581         * nscd/nscd.c (termination_handler): Don't do anything for a database
87582         if it has not yet been initialized.
87584 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87586         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87588 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87590         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87592 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87594         * po/nl.po: Update from translation team.
87595         * po/sv.po: Likewise.
87597 2011-07-16  Roland McGrath  <roland@hack.frob.com>
87599         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
87600         now disallowed by GCC.
87602         * configure.in (use-default-link): Default to yes if a test -shared
87603         link meets our qualifications.
87604         * configure: Regenerated.
87606         * config.make.in (output-format): New variable.
87607         * configure.in: Check for ld --print-output-format support.
87608         * configure: Regenerated.
87609         * Makerules ($(common-objpfx)format.lds)
87610         [$(output-format) != unknown]: Just use $(output-format),
87611         instead of the linker-script munging.
87613 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87615         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87616         of $(common-objpfx)shlib.lds.
87617         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87619         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87620         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87622         * configure.in (-z relro check): Adjust test code to add a large
87623         writable data section after it.
87624         * configure: Regenerated.
87626 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87628         * configure.in (-z relro check): Fix test code to make the variable
87629         truly const.
87630         * configure: Regenerated.
87632 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87634         * nscd/nscd.h (struct traced_file): Define.
87635         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87636         elements.  Add traced_files.
87637         (inotify_fd): Declare.
87638         (register_traced_file): Declare.
87639         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87640         (inotify_fd): Export.
87641         (resolv_conf_descr): Remove.
87642         (nscd_init): Move inotify descriptor creation to main.
87643         Don't register files for notification here.
87644         (register_traced_file): New function.
87645         (invalidate_cache): Don't use reset_res to determine whether to call
87646         res_init, go through the list of registered files.
87647         (main_loop_poll): The inotify descriptors are now stored in the
87648         structures for the traced files.
87649         (main_loop_epoll): Likewise.
87650         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87651         to __nss_disable_nscd.
87652         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87653         for a database anymore.  Check the records for all the registered
87654         files instead.
87655         * nss/Makefile (libnss_files-routines): Add files-init.
87656         (libnss_db-routines): Add db-init.
87657         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87658         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87659         * nss/nss_db/db-init.c: New file.
87660         * nss/nss_files/files-init.c: New file.
87661         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87662         __nss_lookup_function.
87663         (__nss_lookup_function): Call nss_load_library.
87664         (nss_load_all_libraries): New function.
87665         (__nss_disable_nscd): Take parameter with callback function for files
87666         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87667         used for the cached services.
87668         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87669         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87670         options for features to all the files in nscd.
87672         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87674 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87676         * csu/elf-init.c (__libc_csu_init): Comment typo.
87678 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87680         * po/pl.po: Update from translation team.
87681         * po/ja.po: Likewise.
87682         * po/ru.po: Likewise.
87683         * po/ko.po: Likewise.
87684         * po/fr.po: Likewise.
87686 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87688         * configure.in (.ctors/.dtors header and trailer check):
87689         Use an empirical test on a built program.
87690         * configure: Regenerated.
87692         * configure.in (-z relro check): Use an empirical test on a built DSO.
87693         Detect, but do not require, on ia64.
87694         * configure: Regenerated.
87696         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87697         Update tests that use readelf to use $READELF instead.
87698         * configure: Regenerated.
87700 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87702         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87703         if the result is not used.
87705 2011-07-05  Andreas Jaeger  <aj@suse.de>
87707         [BZ #9696]
87708         * stdlib/tst-strtod.c: Add testcase.
87710 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87712         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87713         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87714         The latter has a higher limit.  Take additional parameter to pass to
87715         the new function.
87716         (__pathconf): Pass file to __statfs_link_max.
87717         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87718         __statfs_link_max.
87719         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87720         __statfs_link_max.
87722         [BZ #12868]
87723         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87724         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87725         Handle Lustre.
87726         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87727         (__statfs_filesize_max): Likewise.
87728         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87730 2011-07-05  Andreas Jaeger  <aj@suse.de>
87732         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87734 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87736         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87737         `status' variable.
87738         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87739         Likewise.
87741 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87743         * Makefile (strop-tests): Add strncat.
87744         * string/test-strncat.c: New file.
87746 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87748         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87750 2011-06-21  Andreas Jaeger  <aj@suse.de>
87752         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87753         Copy rule from iconvdata/Makefile.
87755 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87757         [BZ #12922]
87758         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87759         but no long options are defined, just return 'W'.
87761 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87763         [BZ #9696]
87764         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87766 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87768         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87769         netgroups to read.
87770         (innetgr): Likewise.
87772 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87774         * config.make.in (install_root): Default to $(DESTDIR).
87776 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87778         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87780 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87782         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87784         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87785         containing directory rather than embedding absolute directory names.
87787         * scripts/check-local-headers.sh: Rewritten using awk.
87788         Match by word, not by line.  Print error messages for matches.
87789         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87791         * Makerules [shlib-lds-flags empty]:
87792         ($(common-objpfx)libc_pic.opts): New target.
87793         ($(common-objpfx)libc_pic.os.clean): New target.
87794         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87796         * config.make.in (OBJCOPY): New variable.
87797         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87798         * configure: Regenerated.
87800         * config.make.in (use-default-link): New variable.
87801         * configure.in (use_default_link): Grok --with-default-link to set it.
87802         * configure: Regenerated.
87803         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87804         (shlib-lds, shlib-lds-flags): Define to empty.
87806         * Makerules (shlib-lds): New variable.
87807         (shlib-lds-flags): New variable.
87808         (build-shlib, build-moduile, build-module-asneeded): Use it.
87809         ($(common-objpfx)libc.so): Use $(shlib-lds).
87810         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87811         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87813         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87814         DT_FLAGS/DT_FLAGS_1 with zero flags.
87816         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87817         linker script munging.
87819 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87821         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87822         as 128-bit value.
87823         * crypt/sha512.c (sha512_process_block): Perform total addition using
87824         128-bit if possible.
87825         (__sha512_finish_ctx): Likewise.
87826         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87827         as 64-bit value.
87828         * crypt/sha256.c (SWAP64): Define.
87829         (sha256_process_block): Perform total addition using 64-bit if
87830         possible.
87831         (__sha256_finish_ctx): Likewise.
87833 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87835         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87836         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87837         * nscd/hstcache.c (cache_addhst): Likewise.
87838         * nscd/grpcache.c (cache_addgr): Likewise.
87839         * nscd/aicache.c (addhstaiX): Likewise.
87840         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87842 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87844         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87845         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87846         * nscd/hstcache.c (cache_addhst): Likewise.
87847         * nscd/grpcache.c (cache_addgr): Likewise.
87848         * nscd/aicache.c (addhstaiX): Likewise.
87850 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87852         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87853         domain only when needed.
87855 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87858         is always restored.
87860 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87862         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87863         are re-adding the entry.
87864         * nscd/servicescache.c (cache_addserv): Likewise.
87866 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87868         * sysdeps/generic/dl-irel.h: fix protection against multiple
87869         inclusions.
87870         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87872 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87874         [BZ #12935]
87875         * malloc/memusage.sh: Fix quoting in message.
87876         * debug/xtrace.sh: Likewise.
87878         * configure.in: Remove support for --experimental-malloc option, make
87879         it the default.
87880         * config.make.in: Likewise.
87881         * malloc/Makefile: Likewise.
87883 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87885         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87886         two-byte characters.
87888 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87890         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87891         AC_CACHE_CHECK invocation.
87892         * configure: Regenerated.
87894         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87896 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87898         [BZ #12350]
87899         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87900         bit from old_res_options.
87902         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87904         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87905         value type for setfct.
87907 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87909         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87910         __gettimeofday instead of gettimeofday.
87912 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87914         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87916 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87918         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87920         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87921         info.
87923 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87926         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87927         strcpy-sse2-unaligned strncpy-sse2-unaligned
87928         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87929         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87930         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87931         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87932         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87933         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87934         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87935         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87936         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87937         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87938         (STRCPY): Support SSE2 and SSSE3 versions.
87940 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87942         [BZ #12874]
87943         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87944         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87945         kernels which artificially limit size of requests.
87947 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87950         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87951         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87952         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87953         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87954         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87955         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87956         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87957         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87958         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87959         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87960         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87961         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87962         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87963         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87965         Enable unaligned load optimization for Intel Core i3, i5 and i7
87966         processors.
87967         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87968         Define.
87969         (index_Fast_Unaligned_Load): Define.
87970         (HAS_FAST_UNALIGNED_LOAD): Define.
87972 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87974         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87976 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87978         [BZ #12907]
87979         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87980         until it is clear that the information is realy needed.
87981         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87983 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87987 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87989         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87990         /sys/devices/system/cpu/online if it is usable.
87992         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87993         reading the information from the /proc filesystem to once a second.
87995 2011-06-21  Andreas Jaeger  <aj@suse.de>
87997         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87998         NULL after inclusion of kernel headers.
88000 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
88002         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
88003         calls to internal_setent.
88005         [BZ #12885]
88006         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
88007         addresses using gethostbyname4_r ignore IPv4 addresses.
88009         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
88010         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
88012         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
88014 2011-06-20  David S. Miller  <davem@davemloft.net>
88016         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
88017         inclusions.
88018         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
88020         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
88021         (elf_irel): Use it.
88022         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
88023         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
88024         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
88025         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
88026         * sysdeps/x86_64/dl-irel.h: Likewise.
88028         * elf/dl-runtime.c: Use elf_ifunc_invoke.
88029         * elf/dl-sym.c: Likewise.
88031 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88033         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
88034         need to dereference resplen2.
88036 2011-06-14  Andreas Schwab  <schwab@redhat.com>
88038         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
88040 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88042         * Makeconfig: Define vardbdir and inst_vardbdir.
88043         * nss/Makefile: Add rules to install db-Makefile.
88045         * nss/nss_db/db-XXX.c: Cleanup.
88047         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
88048         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
88049         GLIBC_PRIVATE.
88050         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
88051         * nss/makedb.c: Implement -g option to specify that value strings
88052         are generated and should not be added to table iterated over for
88053         get*ent calls.
88054         * nss/nss_db/db-initgroups.c: New file.
88056         * nss/getent.c: Add support for initgroups lookups through getgrouplist
88057         interface.
88059         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
88060         (internal_getgrouplist): Adjust to name change.
88061         Update use_initgroups_entry if this is not the first call.
88062         * nss/databases.def: Add initgroups entry.
88064         * nss/makedb.c (compute_tables): Check result of multiple hash table
88065         sizes to minimize maximum chain length.
88067 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
88069         * Versions.def: Add entry for libnss_db.
88070         * shlib-versions: Likewise.
88071         * nss/Makefile: Add rules to build libnss_db.
88072         * nss/Versions: Add libnss_db information.  Organize libnss_files
88073         entries better.
88074         * nss/db-Makefile: Add gshadow support.  Change rules for the new
88075         makedb progra.  Some minor improvements to generate smaller files.
88076         * nss/nss_db/nss_db.h: Move NSS database header data structures to
88077         here from...
88078         * nss/makedb.c: ...here.
88079         Improve database format to be smaller and require less memory at
88080         runtime.
88081         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
88082         db anymore.
88083         * nss/nss_db/db-netgrp.c: Likewise.
88084         * nss/nss_db/db-open.c: Likewise.
88085         * nss/nss_files/flies-XXX.x: Adjust comments.
88086         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
88087         * nss/nss_files/files-grp.c: Likewise.
88088         * nss/nss_files/files-hosts.c: Likewise.
88089         * nss/nss_files/files-network.c: Likewise.
88090         * nss/nss_files/files-proto.c: Likewise.
88091         * nss/nss_files/files-pwd.c: Likewise.
88092         * nss/nss_files/files-rpc.c: Likewise.
88093         * nss/nss_files/files-service.c: Likewise.
88094         * nss/nss_files/files-sgrp.c: Likewise.
88095         * nss/nss_files/files-spwd.c: Likewise.
88096         * nss/nss_db/db-alias.c: Removed.
88097         * nss/nss_db/dummy-db.h: Removed.
88099 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
88101         * nss/makedb.c: Rewritten to not use database library.
88102         * nss/Makefile: Update to build new makedb program.
88104 2011-06-14  Andreas Jaeger  <aj@suse.de>
88106         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
88107         memset declaration.
88109 2011-06-10  Andreas Schwab  <schwab@redhat.com>
88111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
88112         tmpbuf.
88114 2011-06-10  Roland McGrath  <roland@hack.frob.com>
88116         * Makerules (shlib.lds): Fail if the linker script comes out empty.
88117         * elf/Makefile ($(objpfx)ld.so): Likewise.
88119         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
88120         Don't list ld.so twice in dependencies.
88122         * posix/bug-regex31.c: Include <stdlib.h>.
88124         * nscd/hstcache.c (cache_addhst): Remove unused variable.
88126         * nis/nss_compat/compat-spwd.c
88127         (getspent_next_nss_netgr): Remove unused variable.
88128         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
88130         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
88131         nonmembers" output to use the right array.
88133         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
88135         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
88137         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
88138         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
88139         * catgets/gencat.c (read_input_file): Likewise.
88140         * locale/programs/locarchive.c (enlarge_archive): Likewise.
88142         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
88143         variable definition inside #if's controlling its use.
88145         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
88147         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
88149         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
88151         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
88152         unreachable code.
88154         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
88156         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
88157         * configure: Regenerated.
88159         * Makerules: Revert last change.
88160         * elf/Makefile: Likewise.
88162 2011-06-09  Roland McGrath  <roland@hack.frob.com>
88164         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
88165         * elf/Makefile ($(objpfx)librtld.os): Likewise.
88166         (reloc-link): Likewise.
88168 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
88170         * elf/Makefile: Add rules to build pldd.
88171         * elf/pldd.c: New file.
88172         * elf/pldd-xx.c: New file.
88174 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
88176         * version.h: Update for 2.15 development version.
88178 2011-06-07  David S. Miller  <davem@davemloft.net>
88180         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
88181         ifuncs.
88182         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
88183         elf_machine_lazy_rel): Likewise.
88184         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
88185         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
88186         elf_machine_lazy_rel): Likewise.
88187         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
88188         dl_hwcap via passed in argument.
88189         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
88190         Likewise.
88192 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88194         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
88196 2011-06-06  Roland McGrath  <roland@hack.frob.com>
88198         [BZ #12849]
88199         * manual/fdl-1.1.texi: New file, verbatim from:
88200         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
88201         * manual/lgpl-2.1.texi: New file, verbatim from:
88202         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
88203         * manual/Makefile (licenses): New variable, list those new file names.
88204         (texis): Use it.
88205         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
88207         * manual/fdl.texi: File removed.
88208         * manual/lesser.texi: File removed.
88209         * manual/libc.texinfo (Copying, Documentation License):
88210         Use new @include file names, put @appendix directive before @include.
88212 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
88214         [BZ #12841]
88215         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
88216         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
88217         (mq_open): Add __NTH.
88219 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
88221         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88222         Assume Intel Core i3/i5/i7 processor if AVX is available.
88224 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88226         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
88227         typo.
88229 2011-05-31  Andreas Schwab  <schwab@redhat.com>
88231         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
88232         memory.  Use alloca_account.  Fix memory leak when retrying.
88234 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88236         * version.h (RELEASE): Bump for 2.14 release.
88237         * include/features.h (__GLIBC_MINOR__): Bump to 14.
88239         * config.make.in (RANLIB): Remove entry.
88241 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
88243         * po/Makefile (po-sed-cmd): Add ksh to extensions.
88244         (libc.pot): Work around missing support for .ksh extension in xgettext.
88246         [BZ #12684]
88247         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
88248         if both request failed.
88249         (send_dg): In case of server errors clear resplen or *resplen2.
88251         [BZ #12454]
88252         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
88253         when there are multiple maps.
88254         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
88255         (_dl_fini): Remove test here.
88257         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
88259 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
88261         [BZ #12350]
88262         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
88263         bit from old_res_options.
88264         (gaih_inet): Likewise.
88266         [BZ #11099]
88267         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
88268         as signed.
88270         * resolv/res_init.c (res_setoptions): Make the code more compact.
88272         [BZ #11558]
88273         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
88274         set RES_USEVC.
88276         [BZ #11634]
88277         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
88279         * malloc/malloc.h: Mark malloc hook variables as deprecated.
88281         [BZ #11781]
88282         * malloc/malloc.h: Declare malloc hook variables as volatile.
88284         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
88285         in last patch.
88287         [BZ #11799]
88288         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
88289         raise in the comment.
88290         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88291         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88292         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
88294 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
88296         [BZ #12811]
88297         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
88298         grow the buffers more if it already has to be sufficient.
88299         (build_wcs_upper_buffer): Likewise.
88300         * posix/regexec.c (check_matching): Likewise.
88301         (clean_state_log_if_needed): Likewise.
88302         (extend_buffers): Don't enlarge buffers beyond size of the input
88303         buffer.
88304         Patches mostly by Emil Wojak <emil@wojak.eu>.
88305         * posix/bug-regex32.c: New file.
88306         * posix/Makefile (tests): Add bug-regex32.
88308         * locale/findlocale.c (_nl_find_locale): Return right away if
88309         _nl_explode_name failed.
88310         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
88312         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
88314         * debug/xtrace.sh: Unify messages.
88315         * malloc/memusage.sh: Likewise.
88317         [BZ #12813]
88318         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
88319         time symbol from vDSO.  Substitute with vsyscall if not available.
88320         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
88321         __vdso_time.
88323         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
88324         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
88325         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
88326         Add sendmmsg and internal_sendmmsg.
88327         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
88328         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
88329         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
88331         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
88332         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
88333         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
88335 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
88337         [BZ #12813]
88338         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
88339         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
88340         available.
88341         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
88342         __vdso_getcpu.
88344         [BZ #12814]
88345         * iconvdata/Makefile (tests): Add bug-iconv9.
88346         * iconvdata/bug-iconv9.c: New file.
88348 2011-05-27  Andreas Schwab  <schwab@redhat.com>
88350         [BZ #12814]
88351         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
88353 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
88355         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88356         (struct user_regs_struct): Change intcs field back to cs.
88358 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
88360         * po/ja.po: Update from translation team.
88362 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
88364         [BZ #12795]
88365         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
88366         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
88368 2011-05-20  Andreas Schwab  <schwab@redhat.com>
88370         * stdlib/longlong.h: Update from GCC.
88372 2011-05-23  Andreas Schwab  <schwab@redhat.com>
88374         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
88375         parameter name.
88376         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
88377         Add parameter name.
88378         (__sysconf): Pass it down.
88380 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
88382         [BZ #12671]
88383         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
88384         some situations.
88385         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
88386         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
88387         add in in __libc_use_alloca calls.  Adjust callers.
88388         (glob): Use malloc in some situations.
88390         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
88391         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
88392         pltexit.
88394 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
88396         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
88397         and CLOCK_BOOTTIME_ALARM.
88399         [BZ #12782]
88400         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
88401         is returned.
88403         * string/_strerror.c (__strerror_r): Print negative errors as signed
88404         numbers.
88406         [BZ #12777]
88407         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
88408         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
88409         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
88411         * configure.in: Fix typo in redirection and correct removal of test
88412         files in two cases.
88414         [BZ #12788]
88415         * locale/setlocale.c (new_composite_name): Fix test to check for
88416         identical name of all categories.
88418         [BZ #12792]
88419         * libio/filedoalloc.c (local_isatty): New function.
88420         (_IO_file_doallocate): Use local_isatty.
88421         * stdio-common/perror.c (perror): In case a new stream is used
88422         forward the stream error.
88423         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
88424         error flag.
88426 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
88428         [BZ #11884]
88429         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
88430         alloca.
88431         * include/alloca.h (extend_alloca_account): Define.
88433         [BZ #11857]
88434         * posix/regex.h: Fix comments with documentation of user-accessible
88435         fields after compilation and describe correct free'ing of pattern
88436         after re_compile_pattern.
88437         Patch by Reuben Thomas <rrt@sc3d.org>.
88439 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
88441         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
88442         and -mno-altivec to prevent the compiler from using Altivec and/or
88443         VSX instructions when the corresponding registers are not available.
88445 2011-05-19  Andreas Schwab  <schwab@redhat.com>
88447         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
88449 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
88451         * libio/freopen.c (freopen): Use __dup2, not dup2.
88452         * libio/freopen64.c (freopen64): Likewise.
88454 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
88456         [BZ #12775]
88457         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
88458         * math/Makefile (tests): Add test-powl.
88459         (CFLAGS-test-powl.c): Define.
88460         * math/test-powl.c: New file.
88462 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
88464         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
88466 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
88468         [BZ #11837]
88469         * iconvdata/gb18030.c: Update to GB18020-2005.
88471 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
88473         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
88474         RE_SYNTAX_POSIX_AWK): Update to match recent development.
88475         Patch by Aharon Robbins <arnold@skeeve.com>.
88477         [BZ #11892]
88478         * stdlib/putenv.c (putenv): Don't always create copy of the variable
88479         on the stack.
88481         [BZ #11895]
88482         * misc/pselect.c (__pselect): Handle timeout value errors hidden
88483         through underflows.
88485         [BZ #12766]
88486         * misc/error.c (error_at_line): Ensure file_name and old_file_name
88487         point to strings before performing equality test for error_one_per_line
88488         mode.
88490         [BZ #11697]
88491         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
88493         [BZ #11820]
88494         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88495         (struct user_fpregs_struct): Avoid __uint*_t types.
88497         [BZ #6420]
88498         * malloc/mtrace.c (tr_where): Add additional parameter to point to
88499         symbol info.  Use it instead of calling _dl_addr locally.
88500         (lock_and_info): New function.
88501         (tr_freehook): Call lock_and_info and pass symbol info as additional
88502         parameter to tr_where.
88503         (tr_mallochook): Likewise.
88504         (tr_reallochook): Likewise.
88505         (tr_memalignhook): Likewise.
88507         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
88508         used and couldn't be at all thread-safe.
88510 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
88512         * libio/freopen.c (freopen): Don't close old file descriptor
88513         before the new one is opened.  Instead dup the new file descriptor
88514         to the old one after the new stream is created.
88515         * libio/freopen64.c (freopen64): Likewise.
88516         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
88517         * libio/fileops.c (_IO_new_file_close_it): Handle new
88518         _IO_FLAGS2_NOCLOSE flag.
88519         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
88520         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
88521         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
88522         _IO_FLAGS2_NOCLOSE flag.
88523         * include/unistd.h: Add hidden_proto for dup3.
88524         Define __have_dup3.
88525         * io/dup3.c: Define hidden symbol.
88526         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
88528         [BZ #7101]
88529         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
88530         when an incomplete long option is used.
88531         * posix/tst-getopt_long1.c: New file.
88532         * posix/Makefile (tests): Add tst-getopt_long1.
88534         [BZ #10138]
88535         * scripts/config.guess: Update from autoconf-2.68.
88536         * scripts/config.sub: Likewise.
88538         [BZ #10157]
88539         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
88540         tests into ...
88541         (has_cpuclock): ...this.  New function.
88542         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
88543         macro here based on has_cpuclock code.
88545         [BZ #10149]
88546         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88547         First byte (not low byte) is now always NUL.
88548         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
88550         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88551         Use non-cancelable interfaces.
88553         [BZ #9809]
88554         * locale/iso-639.def: Add entry for Sorani.
88556         [BZ #11901]
88557         * include/stdlib.h: Move include protection to the right place.
88558         Define abort_msg_s.  Declare __abort_msg with it.
88559         * stdlib/abort.c (__abort_msg): Adjust type.
88560         * assert/assert.c (__assert_fail_base): New function.  Majority
88561         of code from __assert_fail.  Allocate memory for __abort_msg with
88562         mmap.
88563         (__assert_fail): Now call __assert_fail_base.
88564         * assert/assert-perr.c: Remove bulk of implementation.  Use
88565         __assert_fail_base.
88566         * include/assert.hL Declare __assert_fail_base.
88567         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
88568         mmap.
88569         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
88571 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
88573         [BZ #11952]
88574         [BZ #12453]
88575         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
88576         until all modules are registered in the DTV.
88577         * elf/Makefile: Add rules to build and run tst-tls19.
88578         * elf/tst-tls19.c: New file.
88579         * elf/tst-tls19mod1.c: New file.
88580         * elf/tst-tls19mod2.c: New file.
88581         * elf/tst-tls19mod3.c: New file.
88582         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
88584         [BZ #12083]
88585         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
88586         correctly.
88588         [BZ #12601]
88589         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
88590         two-byte sequence errors.
88591         * iconvdata/Makefile (tests): Add bug-iconv8.
88592         * iconvdata/bug-iconv8.c: New file.
88594         [BZ #12626]
88595         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
88596         buf2 definition.
88598         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
88600         [BZ #12432]
88601         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
88602         (dummy_getcfa): New function.
88603         (init): Get _Unwind_GetCFA address, use dummy if not found.
88604         (backtrace_helper): In recursion check, also check whether CFA changes.
88605         (__backtrace): Completely initialize arg.
88607         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88608         storing incomplete byte sequence in state object.  Avoid testing for
88609         guaranteed too small input if we know there is enough data available.
88611 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88613         * Makeconfig (+link-pie): Indent.
88614         * Rules (binaries-pie): Define if $(have-fpie) and
88615         $(build-shared).
88616         (binaries-shared): Also filter out $(binaries-pie).
88617         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88618         * nscd/Makefile (others-pie): Add nscd.
88619         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88620         ($(objpfx)nscd): Remove command override.
88621         * login/Makefile (others-pie): Add pt_chown.
88622         ($(objpfx)pt_chown): Remove command override.
88623         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88624         remove command overrides.
88626 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88628         * libio/tst_putwc.c: Fix error messages.
88630         [BZ #12724]
88631         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88632         currently writing and seek to current position when not.
88633         * libio/Makefile (tests): Add bug-fclose1.
88634         * libio/bug-fclose1.c: New file.
88636 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88638         [BZ #12511]
88639         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88640         don't set DF_1_NODELETE here.
88641         (do_lookup_x): When entering new entry test for copy relocation
88642         and if necessary set DF_1_NODELETE flag.
88643         * elf/tst-unique4.cc: New file.
88644         * elf/tst-unique4.h: New file.
88645         * elf/tst-unique4lib.cc: New file.
88646         * elf/Makefile: Add rules to build and run tst-unique4.
88647         Patch by Piotr Bury <pbury@goahead.com>.
88649 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88651         [BZ #12052]
88652         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88654         [BZ #12625]
88655         * misc/mntent_r.c (addmntent): Flush the stream after the output
88657         [BZ #12393]
88658         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88659         (is_trusted_path_normalize): Skip initial colon.  Append slash
88660         to empty buffer.  Duplicate is_trusted_path code but allow
88661         constructed patch to be prefix.
88662         (is_dst): Allow $ORIGIN followed by /.
88663         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88664         Correct testing of result of is_trusted_path_normalize
88665         (decompose_rpath): Fix warning.
88667 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88669         [BZ #11257]
88670         * grp/initgroups.c (internal_getgrouplist): When we found the service
88671         list through the initgroups entry in nsswitch.conf do not always
88672         continue on a successful lookup.  Don't always use the
88673         __nss_group_database value if it is set.
88674         * nss/nsswitch.conf (initgroups): Change action for successful db
88675         lookup to continue for compatibility.
88677 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88679         [BZ #11532]
88680         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88681         and CP774 modules.
88682         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88683         and CP774 modules.
88684         * iconvdata/tst-tables.sh: Likewise.
88685         * iconvdata/cp770.c: New file.
88686         * iconvdata/cp771.c: New file.
88687         * iconvdata/cp772.c: New file.
88688         * iconvdata/cp773.c: New file.
88689         * iconvdata/cp774.c: New file.
88690         * iconvdata/testdata/CP770: New file.
88691         * iconvdata/testdata/CP770..UTF8: New file.
88692         * iconvdata/testdata/CP771: New file.
88693         * iconvdata/testdata/CP771..UTF8: New file.
88694         * iconvdata/testdata/CP772: New file.
88695         * iconvdata/testdata/CP772..UTF8: New file.
88696         * iconvdata/testdata/CP773: New file.
88697         * iconvdata/testdata/CP773..UTF8: New file.
88698         * iconvdata/testdata/CP774: New file.
88699         * iconvdata/testdata/CP774..UTF8: New file.
88701         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88702         END CHARMAP line.
88703         * iconvdata/gen-8bit-gap.sh: Likewise.
88704         * iconvdata/gen-8bit.sh: Likewise.
88706         * locale/iso-639.def: Add ary entry.
88708         [BZ #11258]
88709         * locale/C-translit.h.in: Add U20A1 transliteration.
88711         [BZ #12178]
88712         * locale/iso-639.def: Add wae entry.
88713         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88715         [BZ #12545]
88716         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88717         for n.
88719         [BZ #12711]
88720         * locale/C-translit.h.in: Add entry for U20B9.
88721         Patch by pravin.d.s@gmail.com.
88723 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88725         [BZ #12713]
88726         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88727         ENAMETOOLONG use generic getcwd.
88728         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88729         in rtld.  Use *stat64.
88730         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88731         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88732         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88733         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88734         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88735         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88736         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88737         __fstatat64 macros.
88738         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88739         * dirent/rewinddir.c: Add libc_hidden_def.
88740         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88741         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88743         * include/dirent.h (__alloc_dir): Add flags parameter.
88744         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88745         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88746         __alloc_dir.
88747         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88748         from fdopendir if O_CLOEXEC is already set.
88750 2011-03-15  Alan Modra  <amodra@gmail.com>
88752         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88753         l_tls_firstbyte_offset non-zero.  Save padding offset in
88754         l_tls_firstbyte_offset for later use.
88755         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88756         freeing static tls block.
88758 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88760         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88761         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88762         being defined by the kernel headers.
88764 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88766         [BZ #12734]
88767         * resolv/resolv.h: Define RES_NOTLDQUERY.
88768         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88769         no-tld-query and set RES_NOTLDQUERY.
88770         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88771         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88772         modern BIND to search name as TLD unless forbidden.
88774 2011-05-07  Petr Baudis  <pasky@suse.cz>
88775             Ulrich Drepper  <drepper@gmail.com>
88777         [BZ #12393]
88778         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88779         (is_trusted_path): ...to here.
88780         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88781         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88782         using is_trusted_path_normalize() in setuid scripts.
88784 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88786         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88787         __BEGIN/__END_DECLS.
88789 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88791         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88792         NSS_STATUS_NOTFOUND if no record was found.
88794 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88796         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88797         (headers-not-in-tirpc): Remove rpc/netdb.h
88798         * resolv/netdb.h: Revert last change.
88800 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88802         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88803         circular dependency between libgcc.a and libc.a.
88805 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88807         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88808         * nis/Makefile: Don't install rpcsvc/*.
88809         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88810         instead of <rpc/types.h>.
88811         (MAXHOSTNAMELEN): Define.
88813 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88815         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88817 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88819         [BZ #12714]
88820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88821         gethostbyname4_r when IPv6 results are possible.
88823 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88825         [BZ #12723]
88826         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88827         _PC_PIPE_BUF handling.
88829 2011-04-30  Bruno Haible  <bruno@clisp.org>
88831         [BZ #12717]
88832         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88833         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88834         to 'int'.
88835         * inet/getnameinfo.c (getnameinfo): Likewise.
88837 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88839         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88840         to groups setting in database lookup.
88841         * nss/nsswitch.conf: Add initgroups entry.
88843 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88845         [BZ #12685]
88846         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88847         mode string.
88848         Patch by Eric Blake <eblake@redhat.com>.
88850 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88852         * sunrpc/Makefile (need-export-routines): Add svc_run.
88853         (routines): Remove svc_run.
88854         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88855         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88856         * sunrpc/svc_run.c (svc_run): Likewise.
88857         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88859 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88861         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88862         problem in reallocation in last patch.
88864 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88866         * sunrpc/Makefile: Move inclusion of Rules.
88868 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88870         * nss/nss_files/files-initgroups.c: New file.
88871         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88872         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88873         _nss_files_initgroups_dyn.
88875 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88877         * elf/elf.h (R_ARM_IRELATIVE): Define.
88879 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88881         * po/ru.po: Update from translation team.
88883 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88885         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88886         dependencies.
88888 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88890         [BZ #12653]
88891         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88892         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88893         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88894         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88895         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88897 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88899         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88900         differing bytes.
88901         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88902         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88903         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88905 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88907         [BZ #12420]
88908         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88909         storing it.
88910         * stdlib/bug-getcontext.c: New file.
88911         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88913 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88915         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88916         instructions into .machine "z9-109".
88917         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88918         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88920 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88922         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88923         between environment variables and auxiliary vector.
88925 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88927         * Makefile: Add rules to build linkobj/libc.so.
88928         * include/libc-symbols.h: Define libc_hidden_nolink.
88929         * include/rpc/auth.h: Mark functions which are to be hidden.
88930         * include/rpc/auth_des.h: Likewise.
88931         * include/rpc/auth_unix.h: Likewise.
88932         * include/rpc/clnt.h: Likewise.
88933         * include/rpc/des_crypt.h: Likewise.
88934         * include/rpc/key_prot.h: Likewise.
88935         * include/rpc/pmap_clnt.h: Likewise.
88936         * include/rpc/pmap_prot.h: Likewise.
88937         * include/rpc/pmap_rmt.h: Likewise.
88938         * include/rpc/rpc_msg.h: Likewise.
88939         * include/rpc/svc.h: Likewise.
88940         * include/rpc/svc_auth.h: Likewise.
88941         * include/rpc/xdr.h: Likewise.
88942         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88943         * nss/Makefile: Likewise.
88944         * sunrpc/Makefile: Don't install headers.  Build library with normal
88945         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88946         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88947         for the compat linking library.  Remove use of INTDEF/INTUSE.
88948         * sunrpc/auth_none.c: Likewise.
88949         * sunrpc/auth_unix.c: Likewise.
88950         * sunrpc/authdes_prot.c: Likewise.
88951         * sunrpc/authuxprot.c: Likewise.
88952         * sunrpc/clnt_gen.c: Likewise.
88953         * sunrpc/clnt_perr.c: Likewise.
88954         * sunrpc/clnt_raw.c: Likewise.
88955         * sunrpc/clnt_simp.c: Likewise.
88956         * sunrpc/clnt_tcp.c: Likewise.
88957         * sunrpc/clnt_udp.c: Likewise.
88958         * sunrpc/clnt_unix.c: Likewise.
88959         * sunrpc/des_crypt.c: Likewise.
88960         * sunrpc/des_soft.c: Likewise.
88961         * sunrpc/get_myaddr.c: Likewise.
88962         * sunrpc/key_call.c: Likewise.
88963         * sunrpc/key_prot.c: Likewise.
88964         * sunrpc/netname.c: Likewise.
88965         * sunrpc/pm_getmaps.c: Likewise.
88966         * sunrpc/pm_getport.c: Likewise.
88967         * sunrpc/pmap_clnt.c: Likewise.
88968         * sunrpc/pmap_prot.c: Likewise.
88969         * sunrpc/pmap_prot2.c: Likewise.
88970         * sunrpc/pmap_rmt.c: Likewise.
88971         * sunrpc/publickey.c: Likewise.
88972         * sunrpc/rpc_cmsg.c: Likewise.
88973         * sunrpc/rpc_common.c: Likewise.
88974         * sunrpc/rpc_dtable.c: Likewise.
88975         * sunrpc/rpc_prot.c: Likewise.
88976         * sunrpc/rpc_thread.c: Likewise.
88977         * sunrpc/rtime.c: Likewise.
88978         * sunrpc/svc.c: Likewise.
88979         * sunrpc/svc_auth.c: Likewise.
88980         * sunrpc/svc_authux.c: Likewise.
88981         * sunrpc/svc_raw.c: Likewise.
88982         * sunrpc/svc_run.c: Likewise.
88983         * sunrpc/svc_simple.c: Likewise.
88984         * sunrpc/svc_tcp.c: Likewise.
88985         * sunrpc/svc_udp.c: Likewise.
88986         * sunrpc/svc_unix.c: Likewise.
88987         * sunrpc/svcauth_des.c: Likewise.
88988         * sunrpc/xcrypt.c: Likewise.
88989         * sunrpc/xdr.c: Likewise.
88990         * sunrpc/xdr_array.c: Likewise.
88991         * sunrpc/xdr_float.c: Likewise.
88992         * sunrpc/xdr_intXX_t.c: Likewise.
88993         * sunrpc/xdr_mem.c: Likewise.
88994         * sunrpc/xdr_rec.c: Likewise.
88995         * sunrpc/xdr_ref.c: Likewise.
88996         * sunrpc/xdr_sizeof.c: Likewise.
88997         * sunrpc/xdr_stdio.c: Likewise.
88999 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
89001         [BZ #12650]
89002         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
89003         * sysdeps/ia64/dl-tls.h: Likewise.
89004         * sysdeps/powerpc/dl-tls.h: Likewise.
89005         * sysdeps/s390/dl-tls.h: Likewise.
89006         * sysdeps/sh/dl-tls.h: Likewise.
89007         * sysdeps/sparc/dl-tls.h: Likewise.
89008         * sysdeps/x86_64/dl-tls.h: Likewise.
89009         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
89011 2011-03-14  Andreas Schwab  <schwab@redhat.com>
89013         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
89014         rpath element also skip the following colon.
89015         (expand_dynamic_string_token): Add is_path parameter and pass
89016         down to DL_DST_REQUIRED and _dl_dst_substitute.
89017         (decompose_rpath): Call expand_dynamic_string_token with
89018         non-zero is_path.  Ignore empty rpaths.
89019         (_dl_map_object_from_fd): Call expand_dynamic_string_token
89020         with zero is_path.
89022 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
89024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
89025         Make cancelable.
89027 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
89029         [BZ #12655]
89030         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
89031         Patch by Filipe David Manana <fdmanana@apache.org>.
89033 2011-04-07  Andreas Schwab  <schwab@redhat.com>
89035         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
89036         Maintain aligned stack.
89037         (CHECK_RSP): Remove unused macro.
89039 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
89041         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
89042         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
89044 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
89046         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
89048         * include/features.h: Mention __USE_XOPEN2K8 in comment.
89050 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
89052         [BZ #12518]
89053         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
89054         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
89055         * sysdeps/x86_64/memmove.c: New file.
89056         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
89057         (memcpy): Renamed to ...
89058         (__new_memcpy): This.
89059         (memcpy): Provide GLIBC_2_14 memcpy.
89060         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
89061         (memcpy): Provide GLIBC_2_2_5 memcpy.
89063 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89065         [BZ #12631]
89066         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
89068 2011-03-30  Andreas Schwab  <schwab@redhat.com>
89070         * misc/syncfs.c: New file.
89071         * misc/Makefile (routines): Add syncfs.
89072         * posix/unistd.h: Declare syncfs.
89073         * sysdeps/unix/syscalls.list: Add syncfs.
89075 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89077         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
89078         open_by_handle_at.
89079         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89080         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89081         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89082         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89083         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89084         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
89085         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89087 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89089         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
89090         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89091         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
89092         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89093         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89094         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89095         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89097         * io/Makefile: Compile fallocate.c, fallocate64.c, and
89098         sync_file_range.c with -fexceptions.
89099         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
89100         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
89101         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
89102         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
89103         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
89104         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
89105         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
89106         sync_file_range as cancellation point
89107         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
89108         now a wrapper around __call_sync_file_range with cancellation handling.
89109         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
89110         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
89111         function name to __call_sync_file_range.
89112         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
89113         Add call_sync_file_range.
89115 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
89118         bits/timex.h.
89120 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89122         * iconv/iconv.h: Fix typo in comment.
89123         * io/fcntl.h: Likewise.
89124         * libio/stdio.h: Likewise.
89125         * posix/spawn.h: Likewise.
89126         * posix/unistd.h: Likewise.
89127         * stdlib/stdlib.h: Likewise.
89128         * time/time.h: Likewise.
89129         * wcsmbs/wchar.h: Likewise.
89131         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
89132         open_by_handle): Add.
89133         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
89134         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
89135         Augment a few comments.
89136         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89137         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89138         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89139         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89140         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89141         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
89142         open_by_handle.
89144         * io/fcntl.h (AT_EMPTY_PATH): Define.
89146 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
89148         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
89149         * sysdeps/unix/sysv/linux/bits/time.h: New file.
89150         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
89151         to...
89152         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
89153         * Versions.def: Add GLIBC_2.14.
89154         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
89155         Export.
89157 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
89159         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
89160         round counter.
89161         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89163 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
89165         [BZ #12597]
89166         * string/test-strncmp.c (do_page_test): New function.
89167         (check2): Likewise.
89168         (test_main): Call check2.
89169         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
89171 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
89173         [BZ #12587]
89174         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
89175         Handle cache information in CPU leaf 4.
89176         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89178 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
89180         [BZ #12583]
89181         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
89182         character representation.
89183         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
89185 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
89187         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
89188         END(__isnan) to END(__isnanf) to match function entry point/label
89189         EALIGN(__isnanf,...).
89191 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
89193         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
89195 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
89197         [BZ #12510]
89198         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
89199         copy from the symbol referenced in the relocation to initialize the
89200         used variable.
89201         Patch by Piotr Bury <pbury@goahead.com>.
89202         * elf/Makefile: Add rules to build and tst-unique3.
89203         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
89204         * elf/tst-unique3.cc: New file.
89205         * elf/tst-unique3.h: New file.
89206         * elf/tst-unique3lib.cc: New file.
89207         * elf/tst-unique3lib2.cc: New file.
89209         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
89211 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
89213         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
89214         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
89215         to _start.
89217 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
89219         * elf/dl-load.c (_dl_map_object): If we are looking for the first
89220         to-be-loaded object along a path to loader is ld.so.
89222 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89223             Ulrich Drepper  <drepper@gmail.com>
89225         * sysdeps/x86_64/memset.S: After aligning destination, code
89226         branches to different locations depending on the value of
89227         misalignment, when multiarch is enabled. Fix this.
89229 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89231         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
89232         Set _x86_64_preferred_memory_instruction for AMD processsors.
89233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89234         Set bit_Prefer_SSE_for_memop for AMD processors.
89236 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
89238         * libio/fmemopen.c (fmemopen): Optimize a bit.
89240 2011-03-03  Andreas Schwab  <schwab@redhat.com>
89242         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
89244 2011-03-03  Roland McGrath  <roland@redhat.com>
89246         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
89248 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
89250         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
89251         __bzero_ultra1 instead of __memset_ultra1.
89253 2011-02-23  Andreas Schwab  <schwab@redhat.com>
89254             Ulrich Drepper  <drepper@gmail.com>
89256         [BZ #12509]
89257         * include/link.h (struct link_map): Add l_orig_initfini.
89258         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89259         returning unsuccessfully.
89260         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
89261         close of a file loaded at startup, restore the original l_initfini
89262         list.
89263         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
89264         list, store the pointer.
89265         * elf/Makefile ($(objpfx)noload-mem): New rule.
89266         (noload-ENV): Define.
89267         (tests): Add $(objpfx)noload-mem.
89268         * elf/noload.c: Include <memcheck.h>.
89269         (main): Call mtrace.  Close all opened handles.
89271 2011-02-17  Andreas Schwab  <schwab@redhat.com>
89273         [BZ #12454]
89274         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
89275         dependencies are missing.
89277 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89279         Fix __if_freereq crash: Unlike the generic version which uses free,
89280         Hurd needs munmap.
89281         * sysdeps/mach/hurd/ifreq.h: New file.
89283 2011-01-27  Petr Baudis  <pasky@suse.cz>
89284             Ulrich Drepper  <drepper@gmail.com>
89286         [BZ 12445]#
89287         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
89288         to extend_alloca().
89289         * stdio-common/bug23.c: New file.
89290         * stdio-common/Makefile (tests): Add bug23.
89292 2010-09-28  Andreas Schwab  <schwab@redhat.com>
89293             Ulrich Drepper  <drepper@gmail.com>
89295         [BZ #12489]
89296         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
89297         before performing relro protection.  At old place add assertion
89298         to make sure nothing changed.
89300 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
89301             Glauber de Oliveira Costa  <glommer@gmail.com>
89303         * elf/elf.h: Add new ARM TLS relocs.
89305 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
89307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
89308         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
89309         cast from r3.
89310         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
89311         'tests' variable.
89312         * sysdeps/wordsize-64/tst-writev.c: New file.
89314 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
89316         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
89317         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
89318         insns in _dl_start to prevent a TOC reference before relocs are
89319         resolved.
89321 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
89323         [BZ #12469]
89324         * Makeconfig: Remove RANLIB definition.
89325         * Makerules: Don't use RANLIB.
89326         * aclocal.m4: Remove ranlib test.
89327         * configure.in: No need to check for ranlib.
89328         * elf/rtld-Rules: Don't use RANLIB.
89330 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89332         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
89333         protection macro.
89334         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
89335         inclusion protection macro.
89337         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
89338         SIGRTMIN and SIGRTMAX and print information in that case only when
89339         SIGRTMIN is defined.
89341 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
89343         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
89344         arginfo fn returning -1.
89346         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
89347         and thousands string is zero terminated.
89349 2011-02-03  Andreas Schwab  <schwab@redhat.com>
89351         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
89352         sysdeps/unix/sysv/linux/bits/socket.h.
89354 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89356         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
89357         (__CPU_COUNT): Remove old macros.
89358         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
89359         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
89360         (__CPU_ALLOC, __CPU_FREE): Add macros.
89361         (__sched_cpualloc, __sched_cpufree): Add declarations.
89363 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
89365         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
89366         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
89367         * nscd/aicache.c (addhstaiX): Return timeout of added value.
89368         (readdhstai): Return value of addhstaiX call.
89369         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
89370         (addgrbyX): Return value returned by cache_addgr.
89371         (readdgrbyname): Return value returned by addgrbyX.
89372         (readdgrbygid): Likewise.
89373         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
89374         (addpwbyX): Return value returned by cache_addpw.
89375         (readdpwbyname): Return value returned by addhstbyX.
89376         (readdpwbyuid): Likewise.
89377         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
89378         (addservbyX): Return value returned by cache_addserv.
89379         (readdservbyname): Return value returned by addservbyX:
89380         (readdservbyport): Likewise.
89381         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
89382         (addhstbyX): Return value returned by cache_addhst.
89383         (readdhstbyname): Return value returned by addhstbyX.
89384         (readdhstbyaddr): Likewise.
89385         (readdhstbynamev6): Likewise.
89386         (readdhstbyaddrv6): Likewise.
89387         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
89388         (readdinitgroups): Return value returned by addinitgroupsX.
89389         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
89390         (prune_cache): Keep track of timeout value of re-added entries.
89391         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
89392         * nscd/nscd.h: Adjust prototypes of readd* functions.
89394 2011-02-04  Roland McGrath  <roland@redhat.com>
89396         * nis/nis_server.c (nis_servstate): Use the right name for 0.
89397         (nis_stats): Likewise.
89398         * nis/nis_modify.c (nis_modify): Likewise.
89399         * nis/nis_remove.c (nis_remove): Likewise.
89400         * nis/nis_add.c (nis_add): Likewise.
89402         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
89404         * posix/fnmatch_loop.c: Add some consts.
89406         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
89408 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
89410         [BZ #12460]
89411         * config.make.in (config-cflags-novzeroupper): Define.
89412         * configure.in: Substitute libc_cv_cc_novzeroupper.
89413         * elf/Makefile (AVX-CFLAGS): Define.
89414         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
89415         (CFLAGS-tst-auditmod4a.c): Likewise.
89416         (CFLAGS-tst-auditmod4b.c): Likewise.
89417         (CFLAGS-tst-auditmod6b.c): Likewise.
89418         (CFLAGS-tst-auditmod6c.c): Likewise.
89419         (CFLAGS-tst-auditmod7b.c): Likewise.
89420         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
89422 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
89424         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
89425         function to the callback.
89426         Patch partly by Jiri Olsa <jolsa@redhat.com>.
89428 2011-02-02  Andreas Schwab  <schwab@redhat.com>
89430         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
89431         of errno.
89433 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
89435         [BZ #11724]
89436         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
89437         of constructors.
89438         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
89439         of destructors.
89440         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
89442         [BZ #11724]
89443         * elf/Makefile: Add rules to build and run new test.
89444         * elf/tst-initorder.c: New file.
89445         * elf/tst-initorder.exp: New file.
89446         * elf/tst-initordera1.c: New file.
89447         * elf/tst-initordera2.c: New file.
89448         * elf/tst-initordera3.c: New file.
89449         * elf/tst-initordera4.c: New file.
89450         * elf/tst-initorderb1.c: New file.
89451         * elf/tst-initorderb2.c: New file.
89452         * elf/tst-order-a1.c: New file.
89453         * elf/tst-order-a2.c: New file.
89454         * elf/tst-order-a3.c: New file.
89455         * elf/tst-order-a4.c: New file.
89456         * elf/tst-order-b1.c: New file.
89457         * elf/tst-order-b2.c: New file.
89458         * elf/tst-order-main.c: New file.
89459         New test case by George Gensure <werkt0@gmail.com>.
89461 2010-10-01  Andreas Schwab  <schwab@redhat.com>
89463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89464         decoding ACE if AI_CANONIDN.
89466 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
89468         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
89470 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
89472         * version.h (RELEASE): Bump for 2.13 release.
89473         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
89475         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
89477         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
89478         MADV_NOHUGEPAGE.
89479         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
89480         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
89481         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
89482         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
89483         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
89484         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89486         * posix/getconf.c: Update copyright year.
89487         * catgets/gencat.c: Likewise.
89488         * csu/version.c: Likewise.
89489         * debug/catchsegv.sh: Likewise.
89490         * debug/xtrace.sh: Likewise.
89491         * elf/ldconfig.c: Likewise.
89492         * elf/ldd.bash.in: Likewise.
89493         * elf/sprof.c (print_version): Likewise.
89494         * iconv/iconv_prog.c: Likewise.
89495         * iconv/iconvconfig.c: Likewise.
89496         * locale/programs/locale.c: Likewise.
89497         * locale/programs/localedef.c: Likewise.
89498         * malloc/memusage.sh: Likewise.
89499         * malloc/mtrace.pl: Likewise.
89500         * nscd/nscd.c (print_version): Likewise.
89501         * nss/getent.c: Likewise.
89503         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
89504         PF_CAIF, and PF_ALG.
89505         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89507 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
89509         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
89510         (modules-names): Use them.
89511         (ifunc-test-modules, ifunc-pie-tests): Define.
89512         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
89513         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
89514         (test-extras): Likewise.
89515         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
89516         $(compile-command.c).
89517         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
89518         (all-built-dso): Define.
89519         (check-textrel.out, check-execstack.out): Depend on it.
89521         * configure.in: Don't override --enable-multi-arch.
89523 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
89525         [BZ #6812]
89526         * nscd/hstcache.c (tryagain): Define.
89527         (cache_addhst): Return tryagain not notfound for temporary errors.
89528         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
89529         failed.
89531 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
89533         [BZ #10563]
89534         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
89535         to make the syscall.
89536         * sysdeps/unix/sysv/linux/setgroups.c: New file.
89538         [BZ #12378]
89539         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
89540         and fall back to matching as normal character if the string ends before
89541         the matching ']' is found.  This is what POSIX requires.
89542         * posix/testfnm.c: Adjust test result.
89543         * posix/globtest.sh: Adjust test result.  Add new test.
89544         * posix/tst-fnmatch.input: Likewise.
89545         * posix/tst-fnmatch2.c: Add new test.
89547 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
89549         * elf/Makefile (check-execstack): Revert last change.  Depend on
89550         check-execstack.h.
89551         (check-execstack.h): New target.
89552         (generated): Add check-execstack.h.
89553         * elf/check-execstack.c: Include "check-execstack.h".
89554         (main): Revert last change.
89555         (handle_file): Return zero if GNU_STACK is absent and
89556         DEFAULT_STACK_PERMS doesn't include PF_X.
89558 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
89560         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
89561         in child fails because the descriptor is already closed.
89562         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
89563         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
89564         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
89566         [BZ #12397]
89567         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
89568         syscall.
89570         [BZ #10484]
89571         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
89572         temporary buffer used to handle multi lookups locally.
89573         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
89575 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89577         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
89578         loader is ld.so.
89580 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
89582         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
89583         alignment for SSE2.
89585 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89587         [BZ #12394]
89588         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
89589         characters.  When rounding increased number of integer digits recompute
89590         number of groups.
89591         * stdio-common/tst-grouping.c: New file.
89592         * stdio-common/Makefile: Add rules to build and run tst-grouping.
89594 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
89596         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
89597         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
89599         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
89600         void.
89601         * bits/select.h: Likewise.
89603 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89605         * po/ja.po: Update from translation team.
89607 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89609         [BZ #11155]
89610         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89611         implementation just like for lxstat, fxstatat, et al.
89613 2010-12-27  Jim Meyering  <meyering@redhat.com>
89615         [BZ #12348]
89616         * posix/regexec.c (build_trtable): Return failure indication upon
89617         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89619 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89621         [BZ #12201]
89622         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89623         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89624         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89625         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89627         [BZ #12207]
89628         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89630         [BZ #12204]
89631         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89632         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89634 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89636         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89637         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89638         script has SORT_BY_INIT_PRIORITY.
89639         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89640         NO_CTORS_DTORS_SECTIONS is defined.
89641         * elf/soinit.c: Likewise.
89642         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89643         NO_CTORS_DTORS_SECTIONS is defined.
89644         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89645         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89646         * sysdeps/sh/init-first.c: Likewise.
89647         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89649 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89651         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89652         always use the slow path.
89654 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89656         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89657         similar rule which adds the sysdep directories to the header search in
89658         order to pick up the correct platform stackinfo.h.
89659         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89660         perform test if it is, otherwise return successfully without testing.
89661         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89662         DEFAULT_STACK_PERMS define in stackinfo.h.
89663         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89664         defined in stackinfo.h.
89665         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89666         DEFAULT_STACK_PERMS defined in stackinfo.h.
89667         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89668         * sysdeps/ia64/stackinfo.h: Likewise.
89669         * sysdeps/s390/stackinfo.h: Likewise.
89670         * sysdeps/sh/stackinfo.h: Likewise.
89671         * sysdeps/sparc/stackinfo.h: Likewise.
89672         * sysdeps/x86_64/stackinfo.h: Likewise.
89673         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89674         PF_X for powerpc64.  Retain PF_X for powerpc32.
89676 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89678         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89679         accurately.
89680         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89681         GETDENTS_64BIT_ALIGNED.
89683 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89685         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89687 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89689         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89690         _GNU_SOURCE.
89692         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89693         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89694         Remove __restrict.
89695         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89696         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89698 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89700         [BZ #11655]
89701         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89702         are initialized.
89704 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89706         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89708 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89710         * po/it.po: Update from translation team.
89712 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89714         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89715         unused codes.
89717 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89719         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89721 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89723         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89724         specially.
89725         (gaih_getanswer_slice): Likewise.
89727 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89731 2010-05-31  Petr Baudis  <pasky@suse.cz>
89733         [BZ #11149]
89734         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89735         silently even in the chroot mode.
89737 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89739         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89740         last patch a bit.  Pretty printing
89742 2010-05-31  Petr Baudis <pasky@suse.cz>
89744         [BZ #10085]
89745         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89746         initialization of skip_initgroups_dyn.
89748 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89750         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89751         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89753 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89755         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89757 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89759         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89760         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89761         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89762         ($(objpfx)tst-fnmatch-mem): New rule.
89763         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89764         * posix/tst-fnmatch.c (main): Call mtrace.
89766 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89769         Support Intel processor model 6 and model 0x2c.
89771 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89773         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89774           signed comparison.
89776 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89778         [BZ #12205]
89779         * string/test-strncasecmp.c (check_result): New function.
89780         (do_one_test): Use it.
89781         (check1): New function.
89782         (test_main): Use it.
89783         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89784         Support strcasecmp and strncasecmp.
89786 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89788         [BZ #12194]
89789         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89790         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89792 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89794         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89795         IFUNC support.
89796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89797         memset-x86-64.
89798         * sysdeps/x86_64/multiarch/bzero.S: New file.
89799         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89800         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89801         * sysdeps/x86_64/multiarch/memset.S: New file.
89802         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89804         Set bit_Prefer_SSE_for_memop for Intel processors.
89805         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89806         Define.
89807         (index_Prefer_SSE_for_memop): Define.
89808         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89810 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89812         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89813         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89815 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89817         [BZ #12191]
89818         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89819         (__x86_64_raw_data_cache_size_half): Likewise.
89820         (__x86_64_raw_shared_cache_size): Likewise.
89821         (__x86_64_raw_shared_cache_size_half): Likewise.
89823         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89824         (__x86_64_raw_data_cache_size_half): Likewise.
89825         (__x86_64_raw_shared_cache_size): Likewise.
89826         (__x86_64_raw_shared_cache_size_half): Likewise.
89827         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89828         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89829         and __x86_64_raw_shared_cache_size_half.  Round
89830         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89831         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89832         to multiple of 256 bytes.
89834 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89836         [BZ #12167]
89837         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89838         of inacessible symlinks.  Verify result of symlink before returning it.
89839         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89840         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89842 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89844         * math/math.h (isinf): Fix typo in comment.
89846 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89848         * po/da.po: Update from translation team.
89850 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89852         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89853         is added to the list.
89855 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89856             Ulrich Drepper  <drepper@gmail.com>
89858         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89859         the global list here.  Move code to...
89860         (_dl_add_to_namespace_list): ...here.  New function.
89861         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89862         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89863         * elf/dl-load.c (lose): Don't remove the element from the list.
89864         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89865         (_dl_map_object): Likewise.
89867 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89869         [BZ #12159]
89870         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89871         into all bytes of SSE register.
89872         Patch by Richard Li <richardpku@gmail.com>.
89874 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89876         [BZ #12140]
89877         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89878         perturbing.
89880 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89882         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89883         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89884         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89885         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89887         submachine.
89888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89890 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89892         * include/dlfcn.h (__RTLD_SECURE): Define.
89893         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89894         mode & __RTLD_SECURE instead.
89895         (open_path): Rename preloaded parameter to secure.
89896         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89897         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89898         * elf/dl-deps.c (openaux): Likewise.
89899         * elf/rtld.c (struct map_args): Remove is_preloaded.
89900         (map_doit): Don't use it.
89901         (dl_main): Likewise.
89902         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89903         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89905 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89907         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89908         (sysd-rules-targets): Remove duplicates.
89909         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89910         rtld-%.$o dependency.
89912 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89914         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89915         _dl_map_object do it.
89917 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89919         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89920         fast fma builtins, define the macros in the C99 standard.
89921         (FP_FAST_FMAF): Likewise.
89922         (FP_FAST_FMAL): Likewise.
89923         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89925         * bits/mathdef.h: Update copyright year.
89926         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89928 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89930         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89931         builtins, define the macros in the C99 standard.
89932         (FP_FAST_FMAF): Likewise.
89933         (FP_FAST_FMAL): Likewise.
89934         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89935         multiply/add.
89936         (FP_FAST_FMAF): Likewise.
89938 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89940         [BZ #3268]
89941         * math/libm-test.inc (fma_test): Some new testcases.
89942         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89943         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89944         y and infinite z.  Do multiplication by C already in long double.
89945         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89947         y and infinite z.  Do bitwise or of inexact bit into u.d.
89948         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89949         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89950         * sysdeps/i386/fpu/s_fma.S: Removed.
89951         * sysdeps/i386/fpu/s_fmal.S: Removed.
89953 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89955         [BZ #3268]
89956         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89957         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89958         computation is not scheduled after fetestexcept.  Fix value
89959         of minimum denormal long double.
89961 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89963         [BZ #3268]
89964         * math/libm-test.inc (fma_test): Add some more tests.
89965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89966         correctly.
89968 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89970         * scripts/data/localplt-s390-linux-gnu.data: New file.
89971         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89973 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89975         [BZ #3268]
89976         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89977         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89978         instead of dbl-64.
89979         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89980         inlines.
89981         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89983         if one of x and y is very large and the other is subnormal.
89984         * sysdeps/s390/fpu/s_fmaf.c: New file.
89985         * sysdeps/s390/fpu/s_fma.c: New file.
89986         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89987         * sysdeps/powerpc/fpu/s_fma.S: New file.
89988         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89989         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89990         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89992 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89994         [BZ #3268]
89995         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89996         fma tests.
89997         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89998         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89999         * sysdeps/i386/i686/multiarch/s_fma.c: Include
90000         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
90001         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
90002         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
90003         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
90005 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
90007         [BZ #12078]
90008         * posix/regcomp.c (parse_branch): One more memory leak plugged.
90009         * posix/bug-regex31.input: Add test case.
90011 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90013         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
90014         * posix/bug-regex31.input: New file.
90016         [BZ #12078]
90017         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
90018         (parse_sub_exp): Fix last change, use postorder.
90020         * posix/bug-regex31.c: New file.
90021         * posix/Makefile: Add rules to build and run bug-regex31.
90023         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
90025         [BZ #12078]
90026         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
90028         [BZ #12108]
90029         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
90030         to have entries in sys_siglist.
90032         [BZ #12093]
90033         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
90034         be NULL.
90036 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
90038         [BZ #3268]
90039         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
90040         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
90041         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
90042         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
90043         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90044         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
90045         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
90046         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
90047         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
90048         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
90049         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
90050         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
90051         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
90052         * math/ftestexcept.c (fetestexcept): Likewise.
90053         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
90054         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
90055         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
90056         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
90057         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
90058         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
90059         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
90061 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90063         [BZ #12107]
90064         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
90065         newline.
90067 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
90069         * string/bug-strstr1.c: New file.
90070         * string/Makefile: Add rules to build and run bug-strstr1.
90072 2010-10-05  Eric Blake  <eblake@redhat.com>
90074         [BZ #12092]
90075         * string/str-two-way.h (two_way_long_needle): Always clear memory
90076         when skipping input due to the shift table.
90078 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
90080         [BZ #12005]
90081         * malloc/mcheck.c: Handle large requests.
90083         [BZ #12077]
90084         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
90085         for strncmp and strncasecmp.
90086         * string/stratcliff.c: Add tests for strcmp and strncmp.
90087         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
90089 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
90091         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
90092         __set_fpscr.
90094 2010-09-30  Andreas Jaeger  <aj@suse.de>
90096         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
90097         (CGROUP_SUPER_MAGIC): Define.
90098         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90099         Handle btrfs and cgroup file systems.
90100         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
90101         Likewise.
90103 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
90105         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
90106         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
90108 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90110         [BZ #12067]
90111         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
90112         trying to locate the ELF header.
90114 2010-09-27  Andreas Schwab  <schwab@redhat.com>
90116         [BZ #11611]
90117         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
90118         Mask out sign-bit copies when constructing f_fsid.
90120 2010-09-24  Petr Baudis <pasky@suse.cz>
90122         * debug/stack_chk_fail_local.c: Add missing licence exception.
90123         * debug/warning-nop.c: Likewise.
90125 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
90127         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
90128         implementing getdents64 using getdents syscall, set d_type if
90129         __ASSUME_GETDENTS32_D_TYPE.
90131 2010-09-16  Andreas Schwab  <schwab@redhat.com>
90133         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
90134         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
90136 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
90138         [BZ #12037]
90139         * posix/unistd.h: Undo change of feature selection for ftruncate from
90140         2010-01-11.
90142 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
90144         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
90145         detection.
90147 2010-09-20  Andreas Schwab  <schwab@redhat.com>
90149         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
90150         fanotify_mark.
90151         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90153 2010-09-14  Andreas Schwab  <schwab@redhat.com>
90155         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
90156         variables after CHECK_SP call.
90157         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
90159 2010-09-13  Andreas Schwab  <schwab@redhat.com>
90160             Ulrich Drepper  <drepper@redhat.com>
90162         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
90163         re-relocationg ld.so.
90164         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
90165         _dl_init_paths call.
90166         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
90167         here anymore.
90169 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
90171         * resolv/res_init.c (__res_vinit): Count the default server we added.
90173 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
90174             Ulrich Drepper  <drepper@redhat.com>
90176         [BZ #11968]
90177         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90178         (____longjmp_chk): Use %ebx for saving value across system call.
90179         Add unwind info.
90181 2010-09-06  Andreas Schwab  <schwab@redhat.com>
90183         * manual/Makefile: Don't mix pattern rules with normal rules.
90185 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
90187         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
90188         operation.
90189         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
90190         * libio/iofopncook.c (_IO_cookie_init): Likewise.
90191         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
90192         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
90193         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90194         Likewise.
90196 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
90198         [BZ #11979]
90199         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
90200         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
90202 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
90204         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
90205         * sysdeps/x86_64/addmul_1.S: Likewise.
90206         * sysdeps/x86_64/lshift.S: Likewise.
90207         * sysdeps/x86_64/mul_1.S: Likewise.
90208         * sysdeps/x86_64/rshift.S: Likewise.
90209         * sysdeps/x86_64/sub_n.S: Likewise.
90210         * sysdeps/x86_64/submul_1.S: Likewise.
90212 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90214         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
90215         Define __sched_param instead of SCHED_* and sched_param when
90216         <bits/sched.h> is included with __need_schedparam defined.
90217         * bits/sched.h [__need_schedparam]
90218         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
90219         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
90220         (__defined_schedparam): Define to 1.
90221         (__sched_param): New structure, identical to sched_param.
90222         (__need_schedparam): Undefine.
90224 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
90226         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
90227         (epoll_create1): Declare.
90229         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
90231 2010-08-31  Andreas Schwab  <schwab@redhat.com>
90233         [BZ #7066]
90234         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
90235         shifting retval into place.
90237 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
90239         * nis/rpcsvc/nis.h: Update copyright notice.
90240         * nis/rpcsvc/nis.x: Likewise.
90241         * nis/rpcsvc/nis_callback.h: Likewise.
90242         * nis/rpcsvc/nis_callback.x: Likewise.
90243         * nis/rpcsvc/nis_object.x: Likewise.
90244         * nis/rpcsvc/nis_tags.h: Likewise.
90245         * nis/rpcsvc/yp.h: Likewise.
90246         * nis/rpcsvc/yp.x: Likewise.
90247         * nis/rpcsvc/ypupd.h: Likewise.
90248         * nis/yp_xdr.c: Likewise.
90249         * nis/ypupdate_xdr.c: Likewise.
90251         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
90252         mainly the body of pmap_getport.  Add parameters to specify timeouts.
90253         (pmap_getport): Use __libc_rpc_getport.
90254         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90255         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
90256         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
90258 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
90260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
90261         fanotify_mark.
90263 2010-08-27  Roland McGrath  <roland@redhat.com>
90265         * sysdeps/i386/i686/multiarch/Makefile
90266         (CFLAGS-varshift.c): New variable.
90268 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
90270         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
90271         * sysdeps/i386/i686/multiarch/varshift.c: New file.
90273         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
90275         * sysdeps/x86_64/strlen.S: Minimal code improvement.
90277 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
90279         * sysdeps/x86_64/strlen.S: Unroll the loop.
90280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90281         strlen-sse2 strlen-sse2-bsf.
90282         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
90283         __strlen_no_bsf if bit_Slow_BSF is set.
90284         (__strlen_sse42): Removed.
90285         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
90286         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
90288 2010-08-25  Roland McGrath  <roland@redhat.com>
90290         * sysdeps/x86_64/multiarch/varshift.S: File removed.
90291         * sysdeps/x86_64/multiarch/varshift.c: New file.
90292         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
90293         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
90294         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
90295         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
90297 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
90299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90300         strlen-sse2 strlen-sse2-bsf.
90301         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
90302         __strlen_sse2_bsf if bit_Slow_BSF is unset.
90303         (__strlen_sse2): Removed.
90304         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
90305         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
90306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
90307         bit_Slow_BSF for Atom.
90308         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
90309         (index_Slow_BSF): Define.
90310         (HAS_SLOW_BSF): Define.
90312 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
90314         [BZ #10851]
90315         * resolv/res_init.c (__res_vinit): When no server address at all
90316         is given default to loopback.
90318 2010-08-24  Roland McGrath  <roland@redhat.com>
90320         * configure.in: Remove config-name.h generation.
90321         * configure: Regenerated.
90322         * config-name.in: File removed.
90323         * scripts/config-uname.sh: New file.
90324         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
90325         ($(objdir)config-name.h): New target.
90327         * sunrpc/rpc_parse.h: Avoid nested comment.
90329 2010-08-24  Richard Henderson  <rth@redhat.com>
90330             Ulrich Drepper  <drepper@redhat.com>
90331             H.J. Lu  <hongjiu.lu@intel.com>
90333         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
90334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
90335         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
90336         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
90337         _mm_alignr_epi8 with _mm_loadu_si128.
90338         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
90339         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
90340         (__m128i_shift_right): Removed.
90341         * sysdeps/i386/i686/multiarch/varshift.h: New file.
90342         * sysdeps/i386/i686/multiarch/varshift.S: New file.
90343         * sysdeps/x86_64/multiarch/varshift.h: New file.
90344         * sysdeps/x86_64/multiarch/varshift.S: New file.
90346 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
90348         * configure.in: Move assembler checks to before sysdep dir checking.
90350 2010-08-20  Petr Baudis  <pasky@suse.cz>
90352         * LICENSES: Sync the sunrpc license.
90354 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
90356         * sunrpc/auth_des.c: Update copyright notice once again.
90357         * sunrpc/auth_none.c: Likewise.
90358         * sunrpc/auth_unix.c: Likewise.
90359         * sunrpc/authdes_prot.c: Likewise.
90360         * sunrpc/authuxprot.c: Likewise.
90361         * sunrpc/bindrsvprt.c: Likewise.
90362         * sunrpc/clnt_gen.c: Likewise.
90363         * sunrpc/clnt_perr.c: Likewise.
90364         * sunrpc/clnt_raw.c: Likewise.
90365         * sunrpc/clnt_simp.c: Likewise.
90366         * sunrpc/clnt_tcp.c: Likewise.
90367         * sunrpc/clnt_udp.c: Likewise.
90368         * sunrpc/clnt_unix.c: Likewise.
90369         * sunrpc/des_crypt.c: Likewise.
90370         * sunrpc/des_soft.c: Likewise.
90371         * sunrpc/get_myaddr.c: Likewise.
90372         * sunrpc/getrpcport.c: Likewise.
90373         * sunrpc/key_call.c: Likewise.
90374         * sunrpc/key_prot.c: Likewise.
90375         * sunrpc/openchild.c: Likewise.
90376         * sunrpc/pm_getmaps.c: Likewise.
90377         * sunrpc/pm_getport.c: Likewise.
90378         * sunrpc/pmap_clnt.c: Likewise.
90379         * sunrpc/pmap_prot.c: Likewise.
90380         * sunrpc/pmap_prot2.c: Likewise.
90381         * sunrpc/pmap_rmt.c: Likewise.
90382         * sunrpc/rpc/auth.h: Likewise.
90383         * sunrpc/rpc/auth_unix.h: Likewise.
90384         * sunrpc/rpc/clnt.h: Likewise.
90385         * sunrpc/rpc/des_crypt.h: Likewise.
90386         * sunrpc/rpc/key_prot.h: Likewise.
90387         * sunrpc/rpc/netdb.h: Likewise.
90388         * sunrpc/rpc/pmap_clnt.h: Likewise.
90389         * sunrpc/rpc/pmap_prot.h: Likewise.
90390         * sunrpc/rpc/pmap_rmt.h: Likewise.
90391         * sunrpc/rpc/rpc.h: Likewise.
90392         * sunrpc/rpc/rpc_des.h: Likewise.
90393         * sunrpc/rpc/rpc_msg.h: Likewise.
90394         * sunrpc/rpc/svc.h: Likewise.
90395         * sunrpc/rpc/svc_auth.h: Likewise.
90396         * sunrpc/rpc/types.h: Likewise.
90397         * sunrpc/rpc/xdr.h: Likewise.
90398         * sunrpc/rpc_clntout.c: Likewise.
90399         * sunrpc/rpc_cmsg.c: Likewise.
90400         * sunrpc/rpc_common.c: Likewise.
90401         * sunrpc/rpc_cout.c: Likewise.
90402         * sunrpc/rpc_dtable.c: Likewise.
90403         * sunrpc/rpc_hout.c: Likewise.
90404         * sunrpc/rpc_main.c: Likewise.
90405         * sunrpc/rpc_parse.c: Likewise.
90406         * sunrpc/rpc_parse.h: Likewise.
90407         * sunrpc/rpc_prot.c: Likewise.
90408         * sunrpc/rpc_sample.c: Likewise.
90409         * sunrpc/rpc_scan.c: Likewise.
90410         * sunrpc/rpc_scan.h: Likewise.
90411         * sunrpc/rpc_svcout.c: Likewise.
90412         * sunrpc/rpc_tblout.c: Likewise.
90413         * sunrpc/rpc_util.c: Likewise.
90414         * sunrpc/rpc_util.h: Likewise.
90415         * sunrpc/rpcinfo.c: Likewise.
90416         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
90417         * sunrpc/rpcsvc/key_prot.x: Likewise.
90418         * sunrpc/rpcsvc/klm_prot.x: Likewise.
90419         * sunrpc/rpcsvc/mount.x: Likewise.
90420         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
90421         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
90422         * sunrpc/rpcsvc/rex.x: Likewise.
90423         * sunrpc/rpcsvc/rstat.x: Likewise.
90424         * sunrpc/rpcsvc/rusers.x: Likewise.
90425         * sunrpc/rpcsvc/sm_inter.x: Likewise.
90426         * sunrpc/rpcsvc/spray.x: Likewise.
90427         * sunrpc/rpcsvc/yppasswd.x: Likewise.
90428         * sunrpc/rtime.c: Likewise.
90429         * sunrpc/svc.c: Likewise.
90430         * sunrpc/svc_auth.c: Likewise.
90431         * sunrpc/svc_authux.c: Likewise.
90432         * sunrpc/svc_raw.c: Likewise.
90433         * sunrpc/svc_run.c: Likewise.
90434         * sunrpc/svc_simple.c: Likewise.
90435         * sunrpc/svc_tcp.c: Likewise.
90436         * sunrpc/svc_udp.c: Likewise.
90437         * sunrpc/svc_unix.c: Likewise.
90438         * sunrpc/svcauth_des.c: Likewise.
90439         * sunrpc/xcrypt.c: Likewise.
90440         * sunrpc/xdr.c: Likewise.
90441         * sunrpc/xdr_array.c: Likewise.
90442         * sunrpc/xdr_float.c: Likewise.
90443         * sunrpc/xdr_mem.c: Likewise.
90444         * sunrpc/xdr_rec.c: Likewise.
90445         * sunrpc/xdr_ref.c: Likewise.
90446         * sunrpc/xdr_sizeof.c: Likewise.
90447         * sunrpc/xdr_stdio.c: Likewise.
90449         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
90450         handling.
90452 2010-08-19  Andreas Schwab  <schwab@redhat.com>
90454         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
90456 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
90458         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
90459         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
90460         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
90461         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
90462         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
90463         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
90464         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
90465         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
90466         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
90467         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
90468         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
90469         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
90470         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
90471         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
90473 2010-07-26  Anton Blanchard  <anton@samba.org>
90475         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
90476         * malloc/arena.c (heap_trim): Likewise.
90478 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
90480         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
90481         here.  Not...
90482         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
90483         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
90485 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
90487         * sysdeps/i386/elf/Makefile: New file.
90489 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90491         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
90492         from fanotify_init.
90493         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
90494         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90496 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
90498         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
90499         of strncasecmp_l.
90500         * sysdeps/multiarch/strcmp.S: Likewise.
90502 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
90504         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90505         strncase_l-nonascii.
90506         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90507         Add strncase_l-ssse3.
90508         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
90509         * sysdeps/x86_64/strcmp.S: Likewise.
90510         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
90511         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
90512         * sysdeps/x86_64/strncase.S: New file.
90513         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
90514         * sysdeps/x86_64/strncase_l.S: New file.
90515         * string/Makefile (strop-tests): Add strncasecmp.
90516         * string/test-strncasecmp.c: New file.
90518         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
90519         warning.
90521         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
90522         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
90524 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90526         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
90528 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
90530         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
90531         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
90532         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
90534 2010-05-01  Alan Modra  <amodra@gmail.com>
90536         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
90537         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
90538         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
90539         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
90540         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
90541         tidying.  Don't tail-call __sigjmp_save for static lib.
90542         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
90543         save location.
90544         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
90545         (CALL_MCOUNT): Add eh info, and nop after bl.
90546         (TAIL_CALL_SYSCALL_ERROR): New macro.
90547         (PSEUDO_RET): Use it.
90548         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
90549         Correct save location of integer regs and cr.
90550         (_dl_profile_resolve): Correct cr save location.  Delete nops
90551         after bl when SHARED.  Reduce cfi size a little by better
90552         placement of cfi directives.
90553         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
90554         make a stack frame.  Instead use parm save area as a temp.
90555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
90556         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
90557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
90558         Don't make a stack frame for parent, use parm save area.
90559         Increase child stack frame to 112 bytes.  Don't save unused reg,
90560         and adjust reg usage.  Set up cfi on error recovery and
90561         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
90562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
90563         (__makecontext): Add dummy nop after jump to exit.
90564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
90565         Use correct parm save area and cr save, reduce stack frame.
90566         Correct cfi for possible PSEUDO_RET frame setup.
90567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
90568         Branch to local label emitted by PSEUDO_RET rather than
90569         __syscall_error.
90571 2010-08-12  Andreas Schwab  <schwab@redhat.com>
90573         [BZ #11904]
90574         * locale/programs/locale.c (print_assignment): New function.
90575         (show_locale_vars): Use it.
90577 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
90579         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
90580         field.
90581         (struct statfs64): Likewise.
90582         (_STATFS_F_FLAGS): Define.
90583         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
90584         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90585         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
90586         (ST_VALID): Define locally.
90587         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
90588         __statvfs_getflags, use the provided value.
90589         * sysdeps/unix/sysv/linux/kernel-features.h: Define
90590         __ASSUME_STATFS_F_FLAGS.
90592         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
90594         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
90595         Add sys/fanotify.h.
90596         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
90597         fanotify_mask for GLIBC_2.13.
90598         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
90599         fanotify_init and fanotify_mark.
90600         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90601         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
90603         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90604         Add prlimit.
90605         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90606         prlimit64 for GLIBC_2.13.
90607         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90608         prlimit64.
90609         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90610         syscall.
90611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90612         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90613         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90614         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90616         add prlimit alias.
90617         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90619         [BZ #11903]
90620         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90621         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90623         * nss/Makefile: Add rules to build and run tst-nss-test1.
90624         * shlib-versions: Add entry for libnss_test1.
90625         * nss/nss_test1.c: New file.
90626         * nss/tst-nss-test1.c: New file.
90628         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90629         (__nss_configure_lookup): Set appropriate entry in
90630         __nss_configure_lookup to true.
90631         * nss/nsswitch.h: Define enum with indeces of databases in
90632         databases and __nss_database_custom arrays.  Declare
90633         __nss_database_custom.
90634         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90635         to avoid using nscd when custom rules are installed.
90636         * nss/getXXbyYY_r.c: Likewise.
90637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90639         * nss/nss_files/files-parse.c: Whitespace fixes.
90641 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90643         [BZ #11883]
90644         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90645         * posix/fnmatch_loop.c: Likewise.
90647 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90649         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90650         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90651         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90652         * Versions.def [GLIBC_2.13]: Add.
90654 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90656         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90657         Also fail if tpwd after pwuid call is NULL.
90659 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90661         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90662         when converting to ms.
90664 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90666         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90667         EOPNOTSUPP errors with ENOTTY.
90668         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90669         EOPNOTSUPP errors with ENOTTY.
90671 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90673         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90674         Add strcasecmp_l-ssse3.
90675         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90676         strcasecmp.
90677         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90678         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90679         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90681 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90683         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90685         * string/Makefile (strop-tests): Add strcasecmp.
90686         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90687         strcasecmp_l-nonascii.
90688         (gen-as-const-headers): Add locale-defines.sym.
90689         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90690         * sysdeps/x86_64/strcasecmp.S: New file.
90691         * sysdeps/x86_64/strcasecmp_l.S: New file.
90692         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90693         * sysdeps/x86_64/locale-defines.sym: New file.
90694         * string/test-strcasecmp.c: New file.
90696         * string/test-strcasestr.c: Test both ends of the range of characters.
90697         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90699 2010-07-29  Roland McGrath  <roland@redhat.com>
90701         [BZ #11856]
90702         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90704 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90706         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90707         for ld.so.
90709 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90711         * manual/memory.texi (Malloc Tunable Parameters): Document
90712         M_PERTURB.
90714 2010-07-26  Roland McGrath  <roland@redhat.com>
90716         [BZ #11840]
90717         * configure.in (-fgnu89-inline check): Set and substitute
90718         gnu89_inline, not libc_cv_gnu89_inline.
90719         * configure: Regenerated.
90720         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90722 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90724         * string/test-strnlen.c: New file.
90725         * string/Makefile (strop-tests): Add strnlen.
90726         * string/tester.c (test_strnlen): Add a few more test cases.
90727         * string/tst-strlen.c: Better error reporting.
90729         * sysdeps/x86_64/strnlen.S: New file.
90731 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90733         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90734         lower-latency instructions.
90736 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90738         * string/test-strcasestr.c: New file.
90739         * string/test-strstr.c: New file.
90740         * string/Makefile (strop-tests): Add strstr and strcasestr.
90741         * string/str-two-way.h: Don't undefine MAX.
90742         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90744 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90746         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90747         strcasestr-nonascii.
90748         (CFLAGS-strcasestr-nonascii.c): Define.
90749         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90750         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90751         Remove unused attribute.
90753 2010-07-20  Roland McGrath  <roland@redhat.com>
90755         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90756         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90757         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90758         like LD_HWCAP_MASK can disable hwcaps.
90760 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90762         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90764 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90766         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90767         call in strcasestr.
90768         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90769         __strcasestr_sse42_nonascii.
90770         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90771         strcasestr-nonascii.c.
90772         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90774 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90776         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90777         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90778         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90779         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90781 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90783         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90784         fcntl.
90786 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90788         [BZ #11577]
90789         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90790         dl_signal_cerror.
90792 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90794         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90795         _PC_PIPE_BUF using F_GETPIPE_SZ.
90797 2010-07-05  Roland McGrath  <roland@redhat.com>
90799         * manual/arith.texi (Rounding Functions): Fix rint description
90800         implicit in round description.
90802 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90804         * elf/Makefile: Fix linking for a few tests to make recent linker
90805         happy.
90807 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90809         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90810         $(common-objpfx)libc_nonshared.a.
90812 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90814         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90815         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90816         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90817         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90818         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90819         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90820         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90821         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90836         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90837         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90838         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90839         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90840         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90841         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90842         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90843         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90844         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90845         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90846         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90847         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90863 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90865         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90866         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90867         * string/memmove.c (memmove): Renamed to ...
90868         (MEMMOVE): ...this.  Default to memmove.
90869         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90870         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90871         (END_CHK): Define.
90872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90873         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90874         mempcpy-ssse3-back memmove-ssse3-back.
90875         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90876         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90877         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90878         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90879         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90880         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90881         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90882         * sysdeps/x86_64/multiarch/memmove.c: New file.
90883         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90884         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90885         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90886         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90887         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90888         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90889         Define.
90890         (index_Fast_Copy_Backward): Define.
90891         (HAS_ARCH_FEATURE): Define.
90892         (HAS_FAST_REP_STRING): Define.
90893         (HAS_FAST_COPY_BACKWARD): Define.
90895 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90897         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90898         Restore proper fallback handling.
90900 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90902         [BZ #11701]
90903         * posix/group_member.c (__group_member): Correct checking loop.
90905         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90906         OOM in getpwuid_r correctly.  Return error number when the caller
90907         should return, otherwise -1.
90908         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90909         call returning > 0 value.
90910         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90912 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90914         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90915         libc_nonshared.a from targets in modules-names.
90917 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90919         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90920         requires it.
90922 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90924         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90925         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90926         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90927         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90929 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90931         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90933 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90935         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90936         and F_GETPIPE_SZ.
90937         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90939         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90940         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90941         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90942         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90944 2010-06-14  Roland McGrath  <roland@redhat.com>
90946         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90948 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90950         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90951         __REDIRECT followed by __THROW.
90952         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90953         * posix/getopt.h (getopt): Likewise.
90955 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90957         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90958         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90959         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90960         in AT_FLAGS.
90961         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90962         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90964 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90966         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90968 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90970         [BZ #11640]
90971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90972         Properly check family and model.
90974 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90976         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90978 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90980         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90982 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90984         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90985         symbol reference.
90987 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90989         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90990         symbol reference.
90992 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90994         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90995         and internal_recvmmsg.
90996         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90997         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90998         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90999         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
91001         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
91002         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
91003         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
91005 2010-05-20  Andreas Schwab  <schwab@redhat.com>
91007         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
91009 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
91011         POWER7 optimizations.
91012         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
91013         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
91015 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
91017         * version.h: Update for 2.13 development version.
91019 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
91021         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
91022         exceptions.  Return 0.
91024 2010-05-07  Roland McGrath  <roland@redhat.com>
91026         * elf/ldconfig.c (main): Add a const.
91028 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
91030         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
91031         (args_options): Add no-idn option.
91032         (ahosts_keys_int): Add idn_flags to ai_flags.
91033         (parse_option): Handle 'i' option to clear idn_flags.
91035         * malloc/malloc.c (_int_free): Possible race in the most recently
91036         added check.  Only act on the data if no current modification
91037         happened.
91039 See ChangeLog.17 for earlier changes.